wininet: Revert commit 760043c2455a90cd74178d98b7c81bfbfc81793f.
[wine/multimedia.git] / configure
blob8e87acead81e0c8b9bf06811a2c2b8f1355b0682
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.24.
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.24'
563 PACKAGE_STRING='Wine 0.9.24'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #if HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #if HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #if STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # if HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #if HAVE_STRING_H
585 # if !STDC_HEADERS && HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #if HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #if HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #if HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #if HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEXLIB
671 LEX_OUTPUT_ROOT
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 QUARTZFILES
701 GLUT_LIBS
702 GLUT32FILES
703 NASLIBS
704 XML2LIBS
705 XML2INCL
706 XSLTLIBS
707 XSLTINCL
708 HALINCL
709 CURSESLIBS
710 sane_devel
711 SANELIBS
712 SANEINCL
713 gphoto2_devel
714 gphoto2port_devel
715 GPHOTO2LIBS
716 GPHOTO2INCL
717 ICULIBS
718 RESOLVLIBS
719 LCMSLIBS
720 LDAPLIBS
721 FREETYPELIBS
722 FREETYPEINCL
723 ft_devel
724 ft_devel2
725 FONTSSUBDIRS
726 ARTSCCONFIG
727 ARTSLIBS
728 ARTSINCL
729 ESDCONFIG
730 ESDLIBS
731 ESDINCL
732 ALSALIBS
733 AUDIOIOLIBS
734 EXTRACFLAGS
735 BUILTINFLAG
736 DLLEXT
737 DLLFLAGS
738 LDSHARED
739 LDDLLFLAGS
740 LIBEXT
741 IMPLIBEXT
742 LIBWINE_LDFLAGS
743 DLLTOOL
744 DLLWRAP
745 COREFOUNDATIONLIB
746 IOKITLIB
747 DISKARBITRATIONLIB
748 LDEXECFLAGS
749 COREAUDIO
750 CROSSTEST
751 CROSSCC
752 CROSSWINDRES
753 LDPATH
754 CRTLIBS
755 SOCKETLIBS
756 MAIN_BINARY
757 EXTRA_BINARIES
759 LIBDL
760 LIBPOLL
761 DEPENDENCIES
762 LIBOBJS
763 LTLIBOBJS'
764 ac_subst_files='MAKE_RULES
765 MAKE_DLL_RULES
766 MAKE_IMPLIB_RULES
767 MAKE_TEST_RULES
768 MAKE_PROG_RULES'
769 ac_precious_vars='build_alias
770 host_alias
771 target_alias
773 CFLAGS
774 LDFLAGS
775 CPPFLAGS
777 CXXFLAGS
779 XMKMF
780 CPP'
783 # Initialize some variables set by options.
784 ac_init_help=
785 ac_init_version=false
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
788 cache_file=/dev/null
789 exec_prefix=NONE
790 no_create=
791 no_recursion=
792 prefix=NONE
793 program_prefix=NONE
794 program_suffix=NONE
795 program_transform_name=s,x,x,
796 silent=
797 site=
798 srcdir=
799 verbose=
800 x_includes=NONE
801 x_libraries=NONE
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
821 htmldir='${docdir}'
822 dvidir='${docdir}'
823 pdfdir='${docdir}'
824 psdir='${docdir}'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
829 ac_prev=
830 ac_dashdash=
831 for ac_option
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
836 ac_prev=
837 continue
840 case $ac_option in
841 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *) ac_optarg=yes ;;
843 esac
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
849 ac_dashdash=yes ;;
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
852 ac_prev=bindir ;;
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
854 bindir=$ac_optarg ;;
856 -build | --build | --buil | --bui | --bu)
857 ac_prev=build_alias ;;
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
859 build_alias=$ac_optarg ;;
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
863 ac_prev=cache_file ;;
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
866 cache_file=$ac_optarg ;;
868 --config-cache | -C)
869 cache_file=config.cache ;;
871 -datadir | --datadir | --datadi | --datad)
872 ac_prev=datadir ;;
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
874 datadir=$ac_optarg ;;
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
877 | --dataroo | --dataro | --datar)
878 ac_prev=datarootdir ;;
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
881 datarootdir=$ac_optarg ;;
883 -disable-* | --disable-*)
884 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
887 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
888 { (exit 1); exit 1; }; }
889 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
890 eval enable_$ac_feature=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
893 ac_prev=docdir ;;
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 docdir=$ac_optarg ;;
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898 ac_prev=dvidir ;;
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 dvidir=$ac_optarg ;;
902 -enable-* | --enable-*)
903 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
909 eval enable_$ac_feature=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
922 with_gas=yes ;;
924 -help | --help | --hel | --he | -h)
925 ac_init_help=long ;;
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 ac_prev=htmldir ;;
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 | --ht=*)
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 ac_prev=infodir ;;
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
955 ac_prev=libdir ;;
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 libdir=$ac_optarg ;;
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
967 ac_prev=localedir ;;
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 ac_prev=mandir ;;
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 mandir=$ac_optarg ;;
983 -nfp | --nfp | --nf)
984 # Obsolete; use --without-fp.
985 with_fp=no ;;
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
989 no_create=yes ;;
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 no_recursion=yes ;;
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 ac_prev=prefix ;;
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 ac_prev=pdfdir ;;
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1046 ac_prev=psdir ;;
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 psdir=$ac_optarg ;;
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1052 silent=yes ;;
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 ac_prev=sbindir ;;
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 | --sbi=* | --sb=*)
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1063 | --sha | --sh)
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 | --sha=* | --sh=*)
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1072 ac_prev=site ;;
1073 -site=* | --site=* | --sit=*)
1074 site=$ac_optarg ;;
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 ac_prev=srcdir ;;
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 verbose=yes ;;
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1099 -with-* | --with-*)
1100 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1103 { echo "$as_me: error: invalid package name: $ac_package" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_package=`echo $ac_package| sed 's/-/_/g'`
1106 eval with_$ac_package=\$ac_optarg ;;
1108 -without-* | --without-*)
1109 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/-/_/g'`
1115 eval with_$ac_package=no ;;
1117 --x)
1118 # Obsolete; use --with-x.
1119 with_x=yes ;;
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) { echo "$as_me: error: unrecognized option: $ac_option
1136 Try \`$0 --help' for more information." >&2
1137 { (exit 1); exit 1; }; }
1140 *=*)
1141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1144 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1145 { (exit 1); exit 1; }; }
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 esac
1158 done
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 { echo "$as_me: error: missing argument to $ac_option" >&2
1163 { (exit 1); exit 1; }; }
1166 # Be sure to have absolute directory names.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val=\$$ac_var
1173 case $ac_val in
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 esac
1177 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178 { (exit 1); exit 1; }; }
1179 done
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1184 build=$build_alias
1185 host=$host_alias
1186 target=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x; then
1190 if test "x$build_alias" = x; then
1191 cross_compiling=maybe
1192 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1195 cross_compiling=yes
1199 ac_tool_prefix=
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 { echo "$as_me: error: Working directory cannot be determined" >&2
1209 { (exit 1); exit 1; }; }
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 { echo "$as_me: error: pwd does not report name of working directory" >&2
1212 { (exit 1); exit 1; }; }
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$0" ||
1220 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$0" : 'X\(//\)[^/]' \| \
1222 X"$0" : 'X\(//\)$' \| \
1223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1224 echo X"$0" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 s//\1/
1229 /^X\(\/\/\)[^/].*/{
1230 s//\1/
1233 /^X\(\/\/\)$/{
1234 s//\1/
1237 /^X\(\/\).*/{
1238 s//\1/
1241 s/.*/./; q'`
1242 srcdir=$ac_confdir
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 srcdir=..
1246 else
1247 ac_srcdir_defaulted=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1252 { (exit 1); exit 1; }; }
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 ac_abs_confdir=`(
1256 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1257 { (exit 1); exit 1; }; }
1258 pwd)`
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 srcdir=.
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1266 case $srcdir in
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 esac
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1274 done
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1282 cat <<_ACEOF
1283 \`configure' configures Wine 0.9.24 to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1292 Configuration:
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 [PREFIX]
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1338 cat <<\_ACEOF
1340 X features:
1341 --x-includes=DIR X include files are in DIR
1342 --x-libraries=DIR X library files are in DIR
1344 System types:
1345 --build=BUILD configure for building on BUILD [guessed]
1346 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1347 _ACEOF
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive ) echo "Configuration of Wine 0.9.24:";;
1353 esac
1354 cat <<\_ACEOF
1356 Optional Features:
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --disable-win16 do not include Win16 support
1360 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1361 binaries)
1363 Optional Packages:
1364 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1365 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1366 --without-opengl do not use OpenGL
1367 --without-curses do not use curses
1368 --with-wine-tools=<dir> use Wine tools from directory <dir>
1369 --with-x use the X Window System
1371 Some influential environment variables:
1372 CC C compiler command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1375 nonstandard directory <lib dir>
1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1378 CXX C++ compiler command
1379 CXXFLAGS C++ compiler flags
1380 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 CPP C preprocessor
1383 Use these variables to override the choices made by `configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1386 Report bugs to <wine-devel@winehq.org>.
1387 _ACEOF
1388 ac_status=$?
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" || continue
1395 ac_builddir=.
1397 case "$ac_dir" in
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 esac ;;
1407 esac
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1413 case $srcdir in
1414 .) # We are building in place.
1415 ac_srcdir=.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1422 *) # Relative name.
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 esac
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1435 echo &&
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1437 else
1438 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 fi || ac_status=$?
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1441 done
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1446 cat <<\_ACEOF
1447 Wine configure 0.9.24
1448 generated by GNU Autoconf 2.60a
1450 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1451 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1454 _ACEOF
1455 exit
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1461 It was created by Wine $as_me 0.9.24, which was
1462 generated by GNU Autoconf 2.60a. Invocation command line was
1464 $ $0 $@
1466 _ACEOF
1467 exec 5>>config.log
1469 cat <<_ASUNAME
1470 ## --------- ##
1471 ## Platform. ##
1472 ## --------- ##
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 _ASUNAME
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 for as_dir in $PATH
1496 IFS=$as_save_IFS
1497 test -z "$as_dir" && as_dir=.
1498 echo "PATH: $as_dir"
1499 done
1500 IFS=$as_save_IFS
1502 } >&5
1504 cat >&5 <<_ACEOF
1507 ## ----------- ##
1508 ## Core tests. ##
1509 ## ----------- ##
1511 _ACEOF
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_configure_args=
1520 ac_configure_args0=
1521 ac_configure_args1=
1522 ac_must_keep_next=false
1523 for ac_pass in 1 2
1525 for ac_arg
1527 case $ac_arg in
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1531 continue ;;
1532 *\'*)
1533 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 esac
1535 case $ac_pass in
1536 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1538 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1541 else
1542 case $ac_arg in
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 esac
1551 -* ) ac_must_keep_next=true ;;
1552 esac
1554 ac_configure_args="$ac_configure_args '$ac_arg'"
1556 esac
1557 done
1558 done
1559 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1560 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1570 echo
1572 cat <<\_ASBOX
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1576 _ASBOX
1577 echo
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581 eval ac_val=\$$ac_var
1582 case $ac_val in #(
1583 *${as_nl}*)
1584 case $ac_var in #(
1585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 esac
1588 case $ac_var in #(
1589 _ | IFS | as_nl) ;; #(
1590 *) $as_unset $ac_var ;;
1591 esac ;;
1592 esac
1593 done
1594 (set) 2>&1 |
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1597 sed -n \
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 ;; #(
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1604 esac |
1605 sort
1607 echo
1609 cat <<\_ASBOX
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1613 _ASBOX
1614 echo
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1618 case $ac_val in
1619 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 esac
1621 echo "$ac_var='\''$ac_val'\''"
1622 done | sort
1623 echo
1625 if test -n "$ac_subst_files"; then
1626 cat <<\_ASBOX
1627 ## ------------------- ##
1628 ## File substitutions. ##
1629 ## ------------------- ##
1630 _ASBOX
1631 echo
1632 for ac_var in $ac_subst_files
1634 eval ac_val=\$$ac_var
1635 case $ac_val in
1636 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637 esac
1638 echo "$ac_var='\''$ac_val'\''"
1639 done | sort
1640 echo
1643 if test -s confdefs.h; then
1644 cat <<\_ASBOX
1645 ## ----------- ##
1646 ## confdefs.h. ##
1647 ## ----------- ##
1648 _ASBOX
1649 echo
1650 cat confdefs.h
1651 echo
1653 test "$ac_signal" != 0 &&
1654 echo "$as_me: caught signal $ac_signal"
1655 echo "$as_me: exit $exit_status"
1656 } >&5
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 exit $exit_status
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1663 done
1664 ac_signal=0
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 # Predefined preprocessor variables.
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_NAME "$PACKAGE_NAME"
1673 _ACEOF
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1678 _ACEOF
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1683 _ACEOF
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_STRING "$PACKAGE_STRING"
1688 _ACEOF
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693 _ACEOF
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 set x "$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1702 else
1703 set x "$ac_default_prefix/share/config.site" \
1704 "$ac_default_prefix/etc/config.site"
1706 shift
1707 for ac_site_file
1709 if test -r "$ac_site_file"; then
1710 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1711 echo "$as_me: loading site script $ac_site_file" >&6;}
1712 sed 's/^/| /' "$ac_site_file" >&5
1713 . "$ac_site_file"
1715 done
1717 if test -r "$cache_file"; then
1718 # Some versions of bash will fail to source /dev/null (special
1719 # files actually), so we avoid doing that.
1720 if test -f "$cache_file"; then
1721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1722 echo "$as_me: loading cache $cache_file" >&6;}
1723 case $cache_file in
1724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1725 *) . "./$cache_file";;
1726 esac
1728 else
1729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1730 echo "$as_me: creating cache $cache_file" >&6;}
1731 >$cache_file
1734 # Check that the precious variables saved in the cache have kept the same
1735 # value.
1736 ac_cache_corrupted=false
1737 for ac_var in $ac_precious_vars; do
1738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1739 eval ac_new_set=\$ac_env_${ac_var}_set
1740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1741 eval ac_new_val=\$ac_env_${ac_var}_value
1742 case $ac_old_set,$ac_new_set in
1743 set,)
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1745 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1746 ac_cache_corrupted=: ;;
1747 ,set)
1748 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1749 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1750 ac_cache_corrupted=: ;;
1751 ,);;
1753 if test "x$ac_old_val" != "x$ac_new_val"; then
1754 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1756 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1757 echo "$as_me: former value: $ac_old_val" >&2;}
1758 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1759 echo "$as_me: current value: $ac_new_val" >&2;}
1760 ac_cache_corrupted=:
1761 fi;;
1762 esac
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1765 case $ac_new_val in
1766 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1768 esac
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1772 esac
1774 done
1775 if $ac_cache_corrupted; then
1776 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1777 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1779 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1780 { (exit 1); exit 1; }; }
1807 ac_ext=c
1808 ac_cpp='$CPP $CPPFLAGS'
1809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 ac_config_headers="$ac_config_headers include/config.h"
1817 ac_aux_dir=
1818 for ac_dir in tools "$srcdir"/tools; do
1819 if 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/install.sh"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1826 break
1827 elif test -f "$ac_dir/shtool"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1830 break
1832 done
1833 if test -z "$ac_aux_dir"; then
1834 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1835 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1836 { (exit 1); exit 1; }; }
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1850 # Check whether --enable-win16 was given.
1851 if test "${enable_win16+set}" = set; then
1852 enableval=$enable_win16;
1855 # Check whether --enable-win64 was given.
1856 if test "${enable_win64+set}" = set; then
1857 enableval=$enable_win64;
1862 # Check whether --with-opengl was given.
1863 if test "${with_opengl+set}" = set; then
1864 withval=$with_opengl;
1868 # Check whether --with-curses was given.
1869 if test "${with_curses+set}" = set; then
1870 withval=$with_curses;
1874 # Check whether --with-wine-tools was given.
1875 if test "${with_wine_tools+set}" = set; then
1876 withval=$with_wine_tools;
1880 # Make sure we can run config.sub.
1881 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1882 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1883 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1884 { (exit 1); exit 1; }; }
1886 { echo "$as_me:$LINENO: checking build system type" >&5
1887 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1888 if test "${ac_cv_build+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 ac_build_alias=$build_alias
1892 test "x$ac_build_alias" = x &&
1893 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1894 test "x$ac_build_alias" = x &&
1895 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1896 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1897 { (exit 1); exit 1; }; }
1898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1901 { (exit 1); exit 1; }; }
1904 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1905 echo "${ECHO_T}$ac_cv_build" >&6; }
1906 case $ac_cv_build in
1907 *-*-*) ;;
1908 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1909 echo "$as_me: error: invalid value of canonical build" >&2;}
1910 { (exit 1); exit 1; }; };;
1911 esac
1912 build=$ac_cv_build
1913 ac_save_IFS=$IFS; IFS='-'
1914 set x $ac_cv_build
1915 shift
1916 build_cpu=$1
1917 build_vendor=$2
1918 shift; shift
1919 # Remember, the first character of IFS is used to create $*,
1920 # except with old shells:
1921 build_os=$*
1922 IFS=$ac_save_IFS
1923 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1926 { echo "$as_me:$LINENO: checking host system type" >&5
1927 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1928 if test "${ac_cv_host+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else
1931 if test "x$host_alias" = x; then
1932 ac_cv_host=$ac_cv_build
1933 else
1934 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1935 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1936 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1937 { (exit 1); exit 1; }; }
1941 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1942 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 case $ac_cv_host in
1944 *-*-*) ;;
1945 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1946 echo "$as_me: error: invalid value of canonical host" >&2;}
1947 { (exit 1); exit 1; }; };;
1948 esac
1949 host=$ac_cv_host
1950 ac_save_IFS=$IFS; IFS='-'
1951 set x $ac_cv_host
1952 shift
1953 host_cpu=$1
1954 host_vendor=$2
1955 shift; shift
1956 # Remember, the first character of IFS is used to create $*,
1957 # except with old shells:
1958 host_os=$*
1959 IFS=$ac_save_IFS
1960 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 case $host in
1964 x86_64*linux*)
1965 if test "x$enable_win64" != "xyes"
1966 then
1967 test -n "$CC" || CC="gcc -m32"
1968 test -n "$LD" || LD="ld -m elf_i386"
1969 test -n "$AS" || AS="as --32"
1970 host_cpu="i386"
1973 esac
1975 case $host_cpu in
1976 *i[3456789]86*)
1977 if test "x$enable_win16" != "xno"
1978 then
1979 enable_win16="yes"
1982 esac
1984 WIN16_FILES="\$(WIN16_FILES)"
1986 WIN16_INSTALL="\$(WIN16_INSTALL)"
1988 if test "x$enable_win16" != "xyes"
1989 then
1990 WIN16_FILES=""
1991 WIN16_INSTALL=""
1995 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1996 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1997 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1998 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 else
2001 cat >conftest.make <<\_ACEOF
2002 SHELL = /bin/sh
2003 all:
2004 @echo '@@@%%%=$(MAKE)=@@@%%%'
2005 _ACEOF
2006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2008 *@@@%%%=?*=@@@%%%*)
2009 eval ac_cv_prog_make_${ac_make}_set=yes;;
2011 eval ac_cv_prog_make_${ac_make}_set=no;;
2012 esac
2013 rm -f conftest.make
2015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2016 { echo "$as_me:$LINENO: result: yes" >&5
2017 echo "${ECHO_T}yes" >&6; }
2018 SET_MAKE=
2019 else
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2022 SET_MAKE="MAKE=${MAKE-make}"
2025 ac_ext=c
2026 ac_cpp='$CPP $CPPFLAGS'
2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030 if test -n "$ac_tool_prefix"; then
2031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2032 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 else
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC="$CC" # Let the user override the test.
2040 else
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 for as_dir in $PATH
2044 IFS=$as_save_IFS
2045 test -z "$as_dir" && as_dir=.
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2048 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 break 2
2052 done
2053 done
2054 IFS=$as_save_IFS
2058 CC=$ac_cv_prog_CC
2059 if test -n "$CC"; then
2060 { echo "$as_me:$LINENO: result: $CC" >&5
2061 echo "${ECHO_T}$CC" >&6; }
2062 else
2063 { echo "$as_me:$LINENO: result: no" >&5
2064 echo "${ECHO_T}no" >&6; }
2069 if test -z "$ac_cv_prog_CC"; then
2070 ac_ct_CC=$CC
2071 # Extract the first word of "gcc", so it can be a program name with args.
2072 set dummy gcc; ac_word=$2
2073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 else
2078 if test -n "$ac_ct_CC"; then
2079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2080 else
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_ac_ct_CC="gcc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 break 2
2092 done
2093 done
2094 IFS=$as_save_IFS
2098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2099 if test -n "$ac_ct_CC"; then
2100 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101 echo "${ECHO_T}$ac_ct_CC" >&6; }
2102 else
2103 { echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6; }
2107 if test "x$ac_ct_CC" = x; then
2108 CC=""
2109 else
2110 case $cross_compiling:$ac_tool_warned in
2111 yes:)
2112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&5
2115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2116 whose name does not start with the host triplet. If you think this
2117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2118 ac_tool_warned=yes ;;
2119 esac
2120 CC=$ac_ct_CC
2122 else
2123 CC="$ac_cv_prog_CC"
2126 if test -z "$CC"; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}cc; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_CC="${ac_tool_prefix}cc"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2149 done
2150 done
2151 IFS=$as_save_IFS
2155 CC=$ac_cv_prog_CC
2156 if test -n "$CC"; then
2157 { echo "$as_me:$LINENO: result: $CC" >&5
2158 echo "${ECHO_T}$CC" >&6; }
2159 else
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 else
2178 ac_prog_rejected=no
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH
2182 IFS=$as_save_IFS
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2188 continue
2190 ac_cv_prog_CC="cc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2194 done
2195 done
2196 IFS=$as_save_IFS
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2201 shift
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2206 shift
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 CC=$ac_cv_prog_CC
2213 if test -n "$CC"; then
2214 { echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6; }
2216 else
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2225 for ac_prog in cl.exe
2227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231 if test "${ac_cv_prog_CC+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 else
2234 if test -n "$CC"; then
2235 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 else
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2240 IFS=$as_save_IFS
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2244 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 break 2
2248 done
2249 done
2250 IFS=$as_save_IFS
2254 CC=$ac_cv_prog_CC
2255 if test -n "$CC"; then
2256 { echo "$as_me:$LINENO: result: $CC" >&5
2257 echo "${ECHO_T}$CC" >&6; }
2258 else
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2264 test -n "$CC" && break
2265 done
2267 if test -z "$CC"; then
2268 ac_ct_CC=$CC
2269 for ac_prog in cl.exe
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_ac_ct_CC="$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2294 IFS=$as_save_IFS
2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2301 echo "${ECHO_T}$ac_ct_CC" >&6; }
2302 else
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2308 test -n "$ac_ct_CC" && break
2309 done
2311 if test "x$ac_ct_CC" = x; then
2312 CC=""
2313 else
2314 case $cross_compiling:$ac_tool_warned in
2315 yes:)
2316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&5
2319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2320 whose name does not start with the host triplet. If you think this
2321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2322 ac_tool_warned=yes ;;
2323 esac
2324 CC=$ac_ct_CC
2331 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&5
2333 echo "$as_me: error: no acceptable C compiler found in \$PATH
2334 See \`config.log' for more details." >&2;}
2335 { (exit 1); exit 1; }; }
2337 # Provide some information about the compiler.
2338 echo "$as_me:$LINENO: checking for C compiler version" >&5
2339 ac_compiler=`set X $ac_compile; echo $2`
2340 { (ac_try="$ac_compiler --version >&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 --version >&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); }
2360 { (ac_try="$ac_compiler -V >&5"
2361 case "(($ac_try" in
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2364 esac
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler -V >&5") 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2379 main ()
2383 return 0;
2385 _ACEOF
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2390 # of exeext.
2391 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2392 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2395 # List of possible output files, starting from the most likely.
2396 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2397 # only as a last resort. b.out is created by i960 compilers.
2398 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2400 # The IRIX 6 linker writes into existing files which may not be
2401 # executable, retaining their permissions. Remove them first so a
2402 # subsequent execution test works.
2403 ac_rmfiles=
2404 for ac_file in $ac_files
2406 case $ac_file in
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2408 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2409 esac
2410 done
2411 rm -f $ac_rmfiles
2413 if { (ac_try="$ac_link_default"
2414 case "(($ac_try" in
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2417 esac
2418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval "$ac_link_default") 2>&5
2420 ac_status=$?
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; then
2423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2426 # so that the user can short-circuit this test for compilers unknown to
2427 # Autoconf.
2428 for ac_file in $ac_files ''
2430 test -f "$ac_file" || continue
2431 case $ac_file in
2432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2434 [ab].out )
2435 # We found the default executable, but exeext='' is most
2436 # certainly right.
2437 break;;
2438 *.* )
2439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2440 then :; else
2441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2443 # We set ac_cv_exeext here because the later test for it is not
2444 # safe: cross compilers may not add the suffix if given an `-o'
2445 # argument, so we may need to know it at that point already.
2446 # Even if this section looks crufty: it has the advantage of
2447 # actually working.
2448 break;;
2450 break;;
2451 esac
2452 done
2453 test "$ac_cv_exeext" = no && ac_cv_exeext=
2455 else
2456 ac_file=''
2459 { echo "$as_me:$LINENO: result: $ac_file" >&5
2460 echo "${ECHO_T}$ac_file" >&6; }
2461 if test -z "$ac_file"; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: C compiler cannot create executables
2468 See \`config.log' for more details." >&2;}
2469 { (exit 77); exit 77; }; }
2472 ac_exeext=$ac_cv_exeext
2474 # Check that the compiler produces executables we can run. If not, either
2475 # the compiler is broken, or we cross compile.
2476 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2477 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2478 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2479 # If not cross compiling, check that we can run a simple program.
2480 if test "$cross_compiling" != yes; then
2481 if { ac_try='./$ac_file'
2482 { (case "(($ac_try" in
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2485 esac
2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2487 (eval "$ac_try") 2>&5
2488 ac_status=$?
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; }; then
2491 cross_compiling=no
2492 else
2493 if test "$cross_compiling" = maybe; then
2494 cross_compiling=yes
2495 else
2496 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&5
2499 echo "$as_me: error: cannot run C compiled programs.
2500 If you meant to cross compile, use \`--host'.
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2506 { echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6; }
2509 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2510 ac_clean_files=$ac_clean_files_save
2511 # Check that the compiler produces executables we can run. If not, either
2512 # the compiler is broken, or we cross compile.
2513 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2514 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2515 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2516 echo "${ECHO_T}$cross_compiling" >&6; }
2518 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2519 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2520 if { (ac_try="$ac_link"
2521 case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_link") 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2531 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2532 # work properly (i.e., refer to `conftest.exe'), while it won't with
2533 # `rm'.
2534 for ac_file in conftest.exe conftest conftest.*; do
2535 test -f "$ac_file" || continue
2536 case $ac_file in
2537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2538 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2539 break;;
2540 * ) break;;
2541 esac
2542 done
2543 else
2544 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2547 See \`config.log' for more details." >&2;}
2548 { (exit 1); exit 1; }; }
2551 rm -f conftest$ac_cv_exeext
2552 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2553 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2555 rm -f conftest.$ac_ext
2556 EXEEXT=$ac_cv_exeext
2557 ac_exeext=$EXEEXT
2558 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2559 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2560 if test "${ac_cv_objext+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563 cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h. */
2565 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2571 main ()
2575 return 0;
2577 _ACEOF
2578 rm -f conftest.o conftest.obj
2579 if { (ac_try="$ac_compile"
2580 case "(($ac_try" in
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2583 esac
2584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2585 (eval "$ac_compile") 2>&5
2586 ac_status=$?
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; then
2589 for ac_file in conftest.o conftest.obj conftest.*; do
2590 test -f "$ac_file" || continue;
2591 case $ac_file in
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2594 break;;
2595 esac
2596 done
2597 else
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2601 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&5
2603 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2604 See \`config.log' for more details." >&2;}
2605 { (exit 1); exit 1; }; }
2608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2611 echo "${ECHO_T}$ac_cv_objext" >&6; }
2612 OBJEXT=$ac_cv_objext
2613 ac_objext=$OBJEXT
2614 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2615 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 else
2619 cat >conftest.$ac_ext <<_ACEOF
2620 /* confdefs.h. */
2621 _ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2627 main ()
2629 #ifndef __GNUC__
2630 choke me
2631 #endif
2634 return 0;
2636 _ACEOF
2637 rm -f conftest.$ac_objext
2638 if { (ac_try="$ac_compile"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2644 (eval "$ac_compile") 2>conftest.er1
2645 ac_status=$?
2646 grep -v '^ *+' conftest.er1 >conftest.err
2647 rm -f conftest.er1
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_try") 2>&5
2668 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 ac_compiler_gnu=yes
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_compiler_gnu=no
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 else
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2695 ac_cv_prog_cc_g=no
2696 CFLAGS="-g"
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2720 ac_status=$?
2721 grep -v '^ *+' conftest.er1 >conftest.err
2722 rm -f conftest.er1
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
2736 { ac_try='test -s conftest.$ac_objext'
2737 { (case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_try") 2>&5
2743 ac_status=$?
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 CFLAGS=""
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2775 ac_status=$?
2776 grep -v '^ *+' conftest.er1 >conftest.err
2777 rm -f conftest.er1
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
2791 { ac_try='test -s conftest.$ac_objext'
2792 { (case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_try") 2>&5
2798 ac_status=$?
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2802 else
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_c_werror_flag=$ac_save_c_werror_flag
2807 CFLAGS="-g"
2808 cat >conftest.$ac_ext <<_ACEOF
2809 /* confdefs.h. */
2810 _ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2816 main ()
2820 return 0;
2822 _ACEOF
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2825 case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
2847 { ac_try='test -s conftest.$ac_objext'
2848 { (case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851 esac
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_try") 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 ac_cv_prog_cc_g=yes
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 ac_c_werror_flag=$ac_save_c_werror_flag
2874 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2875 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2876 if test "$ac_test_CFLAGS" = set; then
2877 CFLAGS=$ac_save_CFLAGS
2878 elif test $ac_cv_prog_cc_g = yes; then
2879 if test "$GCC" = yes; then
2880 CFLAGS="-g -O2"
2881 else
2882 CFLAGS="-g"
2884 else
2885 if test "$GCC" = yes; then
2886 CFLAGS="-O2"
2887 else
2888 CFLAGS=
2891 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2892 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_cc_c89+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 else
2896 ac_cv_prog_cc_c89=no
2897 ac_save_CC=$CC
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2904 #include <stdarg.h>
2905 #include <stdio.h>
2906 #include <sys/types.h>
2907 #include <sys/stat.h>
2908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2909 struct buf { int x; };
2910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2911 static char *e (p, i)
2912 char **p;
2913 int i;
2915 return p[i];
2917 static char *f (char * (*g) (char **, int), char **p, ...)
2919 char *s;
2920 va_list v;
2921 va_start (v,p);
2922 s = g (p, va_arg (v,int));
2923 va_end (v);
2924 return s;
2927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2928 function prototypes and stuff, but not '\xHH' hex character constants.
2929 These don't provoke an error unfortunately, instead are silently treated
2930 as 'x'. The following induces an error, until -std is added to get
2931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2932 array size at least. It's necessary to write '\x00'==0 to get something
2933 that's true only with -std. */
2934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2936 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2937 inside strings and character constants. */
2938 #define FOO(x) 'x'
2939 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2941 int test (int i, double x);
2942 struct s1 {int (*f) (int a);};
2943 struct s2 {int (*f) (double a);};
2944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2945 int argc;
2946 char **argv;
2948 main ()
2950 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2952 return 0;
2954 _ACEOF
2955 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2956 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2958 CC="$ac_save_CC $ac_arg"
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2967 ac_status=$?
2968 grep -v '^ *+' conftest.er1 >conftest.err
2969 rm -f conftest.er1
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
2983 { ac_try='test -s conftest.$ac_objext'
2984 { (case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_try") 2>&5
2990 ac_status=$?
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2993 ac_cv_prog_cc_c89=$ac_arg
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
3001 rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3003 done
3004 rm -f conftest.$ac_ext
3005 CC=$ac_save_CC
3008 # AC_CACHE_VAL
3009 case "x$ac_cv_prog_cc_c89" in
3011 { echo "$as_me:$LINENO: result: none needed" >&5
3012 echo "${ECHO_T}none needed" >&6; } ;;
3013 xno)
3014 { echo "$as_me:$LINENO: result: unsupported" >&5
3015 echo "${ECHO_T}unsupported" >&6; } ;;
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3020 esac
3023 ac_ext=c
3024 ac_cpp='$CPP $CPPFLAGS'
3025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029 ac_ext=cpp
3030 ac_cpp='$CXXCPP $CPPFLAGS'
3031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3034 if test -z "$CXX"; then
3035 if test -n "$CCC"; then
3036 CXX=$CCC
3037 else
3038 if test -n "$ac_tool_prefix"; then
3039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3045 if test "${ac_cv_prog_CXX+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 else
3048 if test -n "$CXX"; then
3049 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3050 else
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in $PATH
3054 IFS=$as_save_IFS
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 break 2
3062 done
3063 done
3064 IFS=$as_save_IFS
3068 CXX=$ac_cv_prog_CXX
3069 if test -n "$CXX"; then
3070 { echo "$as_me:$LINENO: result: $CXX" >&5
3071 echo "${ECHO_T}$CXX" >&6; }
3072 else
3073 { echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6; }
3078 test -n "$CXX" && break
3079 done
3081 if test -z "$CXX"; then
3082 ac_ct_CXX=$CXX
3083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
3086 set dummy $ac_prog; ac_word=$2
3087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3089 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 else
3092 if test -n "$ac_ct_CXX"; then
3093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CXX="$ac_prog"
3103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 break 2
3106 done
3107 done
3108 IFS=$as_save_IFS
3112 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3113 if test -n "$ac_ct_CXX"; then
3114 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3115 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3116 else
3117 { echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6; }
3122 test -n "$ac_ct_CXX" && break
3123 done
3125 if test "x$ac_ct_CXX" = x; then
3126 CXX="g++"
3127 else
3128 case $cross_compiling:$ac_tool_warned in
3129 yes:)
3130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3131 whose name does not start with the host triplet. If you think this
3132 configuration is useful to you, please write to autoconf@gnu.org." >&5
3133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3134 whose name does not start with the host triplet. If you think this
3135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3136 ac_tool_warned=yes ;;
3137 esac
3138 CXX=$ac_ct_CXX
3144 # Provide some information about the compiler.
3145 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3146 ac_compiler=`set X $ac_compile; echo $2`
3147 { (ac_try="$ac_compiler --version >&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 --version >&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); }
3167 { (ac_try="$ac_compiler -V >&5"
3168 case "(($ac_try" in
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3171 esac
3172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173 (eval "$ac_compiler -V >&5") 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }
3178 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3179 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3180 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3191 main ()
3193 #ifndef __GNUC__
3194 choke me
3195 #endif
3198 return 0;
3200 _ACEOF
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3203 case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206 esac
3207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208 (eval "$ac_compile") 2>conftest.er1
3209 ac_status=$?
3210 grep -v '^ *+' conftest.er1 >conftest.err
3211 rm -f conftest.er1
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
3225 { ac_try='test -s conftest.$ac_objext'
3226 { (case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_try") 2>&5
3232 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_compiler_gnu=yes
3236 else
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 ac_compiler_gnu=no
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3247 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3248 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3249 GXX=`test $ac_compiler_gnu = yes && echo yes`
3250 ac_test_CXXFLAGS=${CXXFLAGS+set}
3251 ac_save_CXXFLAGS=$CXXFLAGS
3252 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3253 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3254 if test "${ac_cv_prog_cxx_g+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 else
3257 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3258 ac_cxx_werror_flag=yes
3259 ac_cv_prog_cxx_g=no
3260 CXXFLAGS="-g"
3261 cat >conftest.$ac_ext <<_ACEOF
3262 /* confdefs.h. */
3263 _ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 main ()
3273 return 0;
3275 _ACEOF
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3278 case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3281 esac
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3284 ac_status=$?
3285 grep -v '^ *+' conftest.er1 >conftest.err
3286 rm -f conftest.er1
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_try") 2>&5
3307 ac_status=$?
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_prog_cxx_g=yes
3311 else
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3315 CXXFLAGS=""
3316 cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h. */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3324 main ()
3328 return 0;
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3333 case "(($ac_try" in
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3336 esac
3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338 (eval "$ac_compile") 2>conftest.er1
3339 ac_status=$?
3340 grep -v '^ *+' conftest.er1 >conftest.err
3341 rm -f conftest.er1
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
3355 { ac_try='test -s conftest.$ac_objext'
3356 { (case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3359 esac
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_try") 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3366 else
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3371 CXXFLAGS="-g"
3372 cat >conftest.$ac_ext <<_ACEOF
3373 /* confdefs.h. */
3374 _ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3380 main ()
3384 return 0;
3386 _ACEOF
3387 rm -f conftest.$ac_objext
3388 if { (ac_try="$ac_compile"
3389 case "(($ac_try" in
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3392 esac
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3395 ac_status=$?
3396 grep -v '^ *+' conftest.er1 >conftest.err
3397 rm -f conftest.er1
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (case "(($ac_try" in
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3415 esac
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_try") 2>&5
3418 ac_status=$?
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_prog_cxx_g=yes
3422 else
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3438 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3439 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3440 if test "$ac_test_CXXFLAGS" = set; then
3441 CXXFLAGS=$ac_save_CXXFLAGS
3442 elif test $ac_cv_prog_cxx_g = yes; then
3443 if test "$GXX" = yes; then
3444 CXXFLAGS="-g -O2"
3445 else
3446 CXXFLAGS="-g"
3448 else
3449 if test "$GXX" = yes; then
3450 CXXFLAGS="-O2"
3451 else
3452 CXXFLAGS=
3455 ac_ext=c
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 if test -n "$ac_tool_prefix"; then
3462 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3463 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469 if test -n "$CPPBIN"; then
3470 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3471 else
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 for as_dir in $PATH
3475 IFS=$as_save_IFS
3476 test -z "$as_dir" && as_dir=.
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 break 2
3483 done
3484 done
3485 IFS=$as_save_IFS
3489 CPPBIN=$ac_cv_prog_CPPBIN
3490 if test -n "$CPPBIN"; then
3491 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3492 echo "${ECHO_T}$CPPBIN" >&6; }
3493 else
3494 { echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6; }
3500 if test -z "$ac_cv_prog_CPPBIN"; then
3501 ac_ct_CPPBIN=$CPPBIN
3502 # Extract the first word of "cpp", so it can be a program name with args.
3503 set dummy cpp; ac_word=$2
3504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3506 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 else
3509 if test -n "$ac_ct_CPPBIN"; then
3510 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3515 IFS=$as_save_IFS
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3519 ac_cv_prog_ac_ct_CPPBIN="cpp"
3520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 break 2
3523 done
3524 done
3525 IFS=$as_save_IFS
3529 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3530 if test -n "$ac_ct_CPPBIN"; then
3531 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3532 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3533 else
3534 { echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6; }
3538 if test "x$ac_ct_CPPBIN" = x; then
3539 CPPBIN="cpp"
3540 else
3541 case $cross_compiling:$ac_tool_warned in
3542 yes:)
3543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&5
3546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3547 whose name does not start with the host triplet. If you think this
3548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3549 ac_tool_warned=yes ;;
3550 esac
3551 CPPBIN=$ac_ct_CPPBIN
3553 else
3554 CPPBIN="$ac_cv_prog_CPPBIN"
3558 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3559 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3560 if test "${wine_cv_toolsdir+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 if test -z "$with_wine_tools"; then
3564 if test "$cross_compiling" = "yes"; then
3565 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3566 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3567 { (exit 1); exit 1; }; }
3568 else
3569 wine_cv_toolsdir="\$(TOPOBJDIR)"
3571 elif test -d "$with_wine_tools/tools/winebuild"; then
3572 case $with_wine_tools in
3573 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3574 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3575 esac
3576 else
3577 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3578 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3579 { (exit 1); exit 1; }; }
3582 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3583 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3584 TOOLSDIR=$wine_cv_toolsdir
3588 ac_ext=c
3589 ac_cpp='$CPP $CPPFLAGS'
3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3594 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3595 # On Suns, sometimes $CPP names a directory.
3596 if test -n "$CPP" && test -d "$CPP"; then
3597 CPP=
3599 if test -z "$CPP"; then
3600 if test "${ac_cv_prog_CPP+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 # Double quotes because CPP needs to be expanded
3604 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3606 ac_preproc_ok=false
3607 for ac_c_preproc_warn_flag in '' yes
3609 # Use a header file that comes with gcc, so configuring glibc
3610 # with a fresh cross-compiler works.
3611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3612 # <limits.h> exists even on freestanding compilers.
3613 # On the NeXT, cc -E runs the code through the compiler's parser,
3614 # not just through cpp. "Syntax error" is here to catch this case.
3615 cat >conftest.$ac_ext <<_ACEOF
3616 /* confdefs.h. */
3617 _ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 #ifdef __STDC__
3622 # include <limits.h>
3623 #else
3624 # include <assert.h>
3625 #endif
3626 Syntax error
3627 _ACEOF
3628 if { (ac_try="$ac_cpp conftest.$ac_ext"
3629 case "(($ac_try" in
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3632 esac
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3635 ac_status=$?
3636 grep -v '^ *+' conftest.er1 >conftest.err
3637 rm -f conftest.er1
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } >/dev/null; then
3641 if test -s conftest.err; then
3642 ac_cpp_err=$ac_c_preproc_warn_flag
3643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3644 else
3645 ac_cpp_err=
3647 else
3648 ac_cpp_err=yes
3650 if test -z "$ac_cpp_err"; then
3652 else
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Broken: fails on valid input.
3657 continue
3660 rm -f conftest.err conftest.$ac_ext
3662 # OK, works on sane cases. Now check whether nonexistent headers
3663 # can be detected and how.
3664 cat >conftest.$ac_ext <<_ACEOF
3665 /* confdefs.h. */
3666 _ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3670 #include <ac_nonexistent.h>
3671 _ACEOF
3672 if { (ac_try="$ac_cpp conftest.$ac_ext"
3673 case "(($ac_try" in
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3676 esac
3677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3679 ac_status=$?
3680 grep -v '^ *+' conftest.er1 >conftest.err
3681 rm -f conftest.er1
3682 cat conftest.err >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } >/dev/null; then
3685 if test -s conftest.err; then
3686 ac_cpp_err=$ac_c_preproc_warn_flag
3687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3688 else
3689 ac_cpp_err=
3691 else
3692 ac_cpp_err=yes
3694 if test -z "$ac_cpp_err"; then
3695 # Broken: success on invalid input.
3696 continue
3697 else
3698 echo "$as_me: failed program was:" >&5
3699 sed 's/^/| /' conftest.$ac_ext >&5
3701 # Passes both tests.
3702 ac_preproc_ok=:
3703 break
3706 rm -f conftest.err conftest.$ac_ext
3708 done
3709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710 rm -f conftest.err conftest.$ac_ext
3711 if $ac_preproc_ok; then
3712 break
3715 done
3716 ac_cv_prog_CPP=$CPP
3719 CPP=$ac_cv_prog_CPP
3720 else
3721 ac_cv_prog_CPP=$CPP
3723 { echo "$as_me:$LINENO: result: $CPP" >&5
3724 echo "${ECHO_T}$CPP" >&6; }
3725 ac_preproc_ok=false
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat >conftest.$ac_ext <<_ACEOF
3735 /* confdefs.h. */
3736 _ACEOF
3737 cat confdefs.h >>conftest.$ac_ext
3738 cat >>conftest.$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 #ifdef __STDC__
3741 # include <limits.h>
3742 #else
3743 # include <assert.h>
3744 #endif
3745 Syntax error
3746 _ACEOF
3747 if { (ac_try="$ac_cpp conftest.$ac_ext"
3748 case "(($ac_try" in
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3751 esac
3752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3754 ac_status=$?
3755 grep -v '^ *+' conftest.er1 >conftest.err
3756 rm -f conftest.er1
3757 cat conftest.err >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } >/dev/null; then
3760 if test -s conftest.err; then
3761 ac_cpp_err=$ac_c_preproc_warn_flag
3762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 else
3764 ac_cpp_err=
3766 else
3767 ac_cpp_err=yes
3769 if test -z "$ac_cpp_err"; then
3771 else
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3775 # Broken: fails on valid input.
3776 continue
3779 rm -f conftest.err conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */
3785 _ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <ac_nonexistent.h>
3790 _ACEOF
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3795 esac
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null; then
3804 if test -s conftest.err; then
3805 ac_cpp_err=$ac_c_preproc_warn_flag
3806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3807 else
3808 ac_cpp_err=
3810 else
3811 ac_cpp_err=yes
3813 if test -z "$ac_cpp_err"; then
3814 # Broken: success on invalid input.
3815 continue
3816 else
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 # Passes both tests.
3821 ac_preproc_ok=:
3822 break
3825 rm -f conftest.err conftest.$ac_ext
3827 done
3828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3829 rm -f conftest.err conftest.$ac_ext
3830 if $ac_preproc_ok; then
3832 else
3833 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log' for more details." >&5
3835 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3836 See \`config.log' for more details." >&2;}
3837 { (exit 1); exit 1; }; }
3840 ac_ext=c
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 { echo "$as_me:$LINENO: checking for X" >&5
3848 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3851 # Check whether --with-x was given.
3852 if test "${with_x+set}" = set; then
3853 withval=$with_x;
3856 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3857 if test "x$with_x" = xno; then
3858 # The user explicitly disabled X.
3859 have_x=disabled
3860 else
3861 case $x_includes,$x_libraries in #(
3862 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3863 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3864 { (exit 1); exit 1; }; };; #(
3865 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 else
3868 # One or both of the vars are not set, and there is no cached value.
3869 ac_x_includes=no ac_x_libraries=no
3870 rm -f -r conftest.dir
3871 if mkdir conftest.dir; then
3872 cd conftest.dir
3873 cat >Imakefile <<'_ACEOF'
3874 incroot:
3875 @echo incroot='${INCROOT}'
3876 usrlibdir:
3877 @echo usrlibdir='${USRLIBDIR}'
3878 libdir:
3879 @echo libdir='${LIBDIR}'
3880 _ACEOF
3881 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3882 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3883 for ac_var in incroot usrlibdir libdir; do
3884 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3885 done
3886 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3887 for ac_extension in a so sl; do
3888 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3889 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3890 ac_im_usrlibdir=$ac_im_libdir; break
3892 done
3893 # Screen out bogus values from the imake configuration. They are
3894 # bogus both because they are the default anyway, and because
3895 # using them would break gcc on systems where it needs fixed includes.
3896 case $ac_im_incroot in
3897 /usr/include) ac_x_includes= ;;
3898 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3899 esac
3900 case $ac_im_usrlibdir in
3901 /usr/lib | /lib) ;;
3902 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3903 esac
3905 cd ..
3906 rm -f -r conftest.dir
3909 # Standard set of common directories for X headers.
3910 # Check X11 before X11Rn because it is often a symlink to the current release.
3911 ac_x_header_dirs='
3912 /usr/X11/include
3913 /usr/X11R6/include
3914 /usr/X11R5/include
3915 /usr/X11R4/include
3917 /usr/include/X11
3918 /usr/include/X11R6
3919 /usr/include/X11R5
3920 /usr/include/X11R4
3922 /usr/local/X11/include
3923 /usr/local/X11R6/include
3924 /usr/local/X11R5/include
3925 /usr/local/X11R4/include
3927 /usr/local/include/X11
3928 /usr/local/include/X11R6
3929 /usr/local/include/X11R5
3930 /usr/local/include/X11R4
3932 /usr/X386/include
3933 /usr/x386/include
3934 /usr/XFree86/include/X11
3936 /usr/include
3937 /usr/local/include
3938 /usr/unsupported/include
3939 /usr/athena/include
3940 /usr/local/x11r5/include
3941 /usr/lpp/Xamples/include
3943 /usr/openwin/include
3944 /usr/openwin/share/include'
3946 if test "$ac_x_includes" = no; then
3947 # Guess where to find include files, by looking for Xlib.h.
3948 # First, try using that file with no special directory specified.
3949 cat >conftest.$ac_ext <<_ACEOF
3950 /* confdefs.h. */
3951 _ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 #include <X11/Xlib.h>
3956 _ACEOF
3957 if { (ac_try="$ac_cpp conftest.$ac_ext"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev/null; then
3970 if test -s conftest.err; then
3971 ac_cpp_err=$ac_c_preproc_warn_flag
3972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3973 else
3974 ac_cpp_err=
3976 else
3977 ac_cpp_err=yes
3979 if test -z "$ac_cpp_err"; then
3980 # We can compile using X headers with no special include directory.
3981 ac_x_includes=
3982 else
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 for ac_dir in $ac_x_header_dirs; do
3987 if test -r "$ac_dir/X11/Xlib.h"; then
3988 ac_x_includes=$ac_dir
3989 break
3991 done
3994 rm -f conftest.err conftest.$ac_ext
3995 fi # $ac_x_includes = no
3997 if test "$ac_x_libraries" = no; then
3998 # Check for the libraries.
3999 # See if we find them without any special options.
4000 # Don't add to $LIBS permanently.
4001 ac_save_LIBS=$LIBS
4002 LIBS="-lX11 $LIBS"
4003 cat >conftest.$ac_ext <<_ACEOF
4004 /* confdefs.h. */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 #include <X11/Xlib.h>
4011 main ()
4013 XrmInitialize ()
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4026 ac_status=$?
4027 grep -v '^ *+' conftest.er1 >conftest.err
4028 rm -f conftest.er1
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4042 { ac_try='test -s conftest$ac_exeext'
4043 { (case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_try") 2>&5
4049 ac_status=$?
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4052 LIBS=$ac_save_LIBS
4053 # We can link X programs with no special library path.
4054 ac_x_libraries=
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 LIBS=$ac_save_LIBS
4060 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4062 # Don't even attempt the hair of trying to link an X program!
4063 for ac_extension in a so sl; do
4064 if test -r "$ac_dir/libX11.$ac_extension"; then
4065 ac_x_libraries=$ac_dir
4066 break 2
4068 done
4069 done
4072 rm -f core conftest.err conftest.$ac_objext \
4073 conftest$ac_exeext conftest.$ac_ext
4074 fi # $ac_x_libraries = no
4076 case $ac_x_includes,$ac_x_libraries in #(
4077 no,* | *,no | *\'*)
4078 # Didn't find X, or a directory has "'" in its name.
4079 ac_cv_have_x="have_x=no";; #(
4081 # Record where we found X for the cache.
4082 ac_cv_have_x="have_x=yes\
4083 ac_x_includes='$ac_x_includes'\
4084 ac_x_libraries='$ac_x_libraries'"
4085 esac
4087 ;; #(
4088 *) have_x=yes;;
4089 esac
4090 eval "$ac_cv_have_x"
4091 fi # $with_x != no
4093 if test "$have_x" != yes; then
4094 { echo "$as_me:$LINENO: result: $have_x" >&5
4095 echo "${ECHO_T}$have_x" >&6; }
4096 no_x=yes
4097 else
4098 # If each of the values was on the command line, it overrides each guess.
4099 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4100 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4101 # Update the cache value to reflect the command line values.
4102 ac_cv_have_x="have_x=yes\
4103 ac_x_includes='$x_includes'\
4104 ac_x_libraries='$x_libraries'"
4105 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4106 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4109 if test "$no_x" = yes; then
4110 # Not all programs may use this symbol, but it does not hurt to define it.
4112 cat >>confdefs.h <<\_ACEOF
4113 #define X_DISPLAY_MISSING 1
4114 _ACEOF
4116 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4117 else
4118 if test -n "$x_includes"; then
4119 X_CFLAGS="$X_CFLAGS -I$x_includes"
4122 # It would also be nice to do this for all -L options, not just this one.
4123 if test -n "$x_libraries"; then
4124 X_LIBS="$X_LIBS -L$x_libraries"
4125 # For Solaris; some versions of Sun CC require a space after -R and
4126 # others require no space. Words are not sufficient . . . .
4127 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4128 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4129 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4130 ac_xsave_c_werror_flag=$ac_c_werror_flag
4131 ac_c_werror_flag=yes
4132 cat >conftest.$ac_ext <<_ACEOF
4133 /* confdefs.h. */
4134 _ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4140 main ()
4144 return 0;
4146 _ACEOF
4147 rm -f conftest.$ac_objext conftest$ac_exeext
4148 if { (ac_try="$ac_link"
4149 case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4152 esac
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154 (eval "$ac_link") 2>conftest.er1
4155 ac_status=$?
4156 grep -v '^ *+' conftest.er1 >conftest.err
4157 rm -f conftest.er1
4158 cat conftest.err >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } &&
4161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4171 { ac_try='test -s conftest$ac_exeext'
4172 { (case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_try") 2>&5
4178 ac_status=$?
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 X_LIBS="$X_LIBS -R$x_libraries"
4184 else
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4188 LIBS="$ac_xsave_LIBS -R $x_libraries"
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4228 { ac_try='test -s conftest$ac_exeext'
4229 { (case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4232 esac
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_try") 2>&5
4235 ac_status=$?
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4238 { echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6; }
4240 X_LIBS="$X_LIBS -R $x_libraries"
4241 else
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 { echo "$as_me:$LINENO: result: neither works" >&5
4246 echo "${ECHO_T}neither works" >&6; }
4249 rm -f core conftest.err conftest.$ac_objext \
4250 conftest$ac_exeext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext \
4254 conftest$ac_exeext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_xsave_c_werror_flag
4256 LIBS=$ac_xsave_LIBS
4259 # Check for system-dependent libraries X programs must link with.
4260 # Do this before checking for the system-independent R6 libraries
4261 # (-lICE), since we may need -lsocket or whatever for X linking.
4263 if test "$ISC" = yes; then
4264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 else
4266 # Martyn Johnson says this is needed for Ultrix, if the X
4267 # libraries were built with DECnet support. And Karl Berry says
4268 # the Alpha needs dnet_stub (dnet does not exist).
4269 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4270 cat >conftest.$ac_ext <<_ACEOF
4271 /* confdefs.h. */
4272 _ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4277 /* Override any GCC internal prototype to avoid an error.
4278 Use char because int might match the return type of a GCC
4279 builtin and then its argument prototype would still apply. */
4280 #ifdef __cplusplus
4281 extern "C"
4282 #endif
4283 char XOpenDisplay ();
4285 main ()
4287 return XOpenDisplay ();
4289 return 0;
4291 _ACEOF
4292 rm -f conftest.$ac_objext conftest$ac_exeext
4293 if { (ac_try="$ac_link"
4294 case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4297 esac
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4300 ac_status=$?
4301 grep -v '^ *+' conftest.er1 >conftest.err
4302 rm -f conftest.er1
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4316 { ac_try='test -s conftest$ac_exeext'
4317 { (case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4323 ac_status=$?
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4327 else
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4332 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4333 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336 ac_check_lib_save_LIBS=$LIBS
4337 LIBS="-ldnet $LIBS"
4338 cat >conftest.$ac_ext <<_ACEOF
4339 /* confdefs.h. */
4340 _ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4345 /* Override any GCC internal prototype to avoid an error.
4346 Use char because int might match the return type of a GCC
4347 builtin and then its argument prototype would still apply. */
4348 #ifdef __cplusplus
4349 extern "C"
4350 #endif
4351 char dnet_ntoa ();
4353 main ()
4355 return dnet_ntoa ();
4357 return 0;
4359 _ACEOF
4360 rm -f conftest.$ac_objext conftest$ac_exeext
4361 if { (ac_try="$ac_link"
4362 case "(($ac_try" in
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4365 esac
4366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4367 (eval "$ac_link") 2>conftest.er1
4368 ac_status=$?
4369 grep -v '^ *+' conftest.er1 >conftest.err
4370 rm -f conftest.er1
4371 cat conftest.err >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_try") 2>&5
4391 ac_status=$?
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4394 ac_cv_lib_dnet_dnet_ntoa=yes
4395 else
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 ac_cv_lib_dnet_dnet_ntoa=no
4402 rm -f core conftest.err conftest.$ac_objext \
4403 conftest$ac_exeext conftest.$ac_ext
4404 LIBS=$ac_check_lib_save_LIBS
4406 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4407 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4408 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4412 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4413 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4414 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4415 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 ac_check_lib_save_LIBS=$LIBS
4419 LIBS="-ldnet_stub $LIBS"
4420 cat >conftest.$ac_ext <<_ACEOF
4421 /* confdefs.h. */
4422 _ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4427 /* Override any GCC internal prototype to avoid an error.
4428 Use char because int might match the return type of a GCC
4429 builtin and then its argument prototype would still apply. */
4430 #ifdef __cplusplus
4431 extern "C"
4432 #endif
4433 char dnet_ntoa ();
4435 main ()
4437 return dnet_ntoa ();
4439 return 0;
4441 _ACEOF
4442 rm -f conftest.$ac_objext conftest$ac_exeext
4443 if { (ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_link") 2>conftest.er1
4450 ac_status=$?
4451 grep -v '^ *+' conftest.er1 >conftest.err
4452 rm -f conftest.er1
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } &&
4456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4466 { ac_try='test -s conftest$ac_exeext'
4467 { (case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4470 esac
4471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4472 (eval "$ac_try") 2>&5
4473 ac_status=$?
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4476 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4477 else
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 ac_cv_lib_dnet_stub_dnet_ntoa=no
4484 rm -f core conftest.err conftest.$ac_objext \
4485 conftest$ac_exeext conftest.$ac_ext
4486 LIBS=$ac_check_lib_save_LIBS
4488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4489 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4490 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4491 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4497 rm -f core conftest.err conftest.$ac_objext \
4498 conftest$ac_exeext conftest.$ac_ext
4499 LIBS="$ac_xsave_LIBS"
4501 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4502 # to get the SysV transport functions.
4503 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # needs -lnsl.
4505 # The nsl library prevents programs from opening the X display
4506 # on Irix 5.2, according to T.E. Dickey.
4507 # The functions gethostbyname, getservbyname, and inet_addr are
4508 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4509 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4510 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4511 if test "${ac_cv_func_gethostbyname+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 else
4514 cat >conftest.$ac_ext <<_ACEOF
4515 /* confdefs.h. */
4516 _ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4522 #define gethostbyname innocuous_gethostbyname
4524 /* System header to define __stub macros and hopefully few prototypes,
4525 which can conflict with char gethostbyname (); below.
4526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4527 <limits.h> exists even on freestanding compilers. */
4529 #ifdef __STDC__
4530 # include <limits.h>
4531 #else
4532 # include <assert.h>
4533 #endif
4535 #undef gethostbyname
4537 /* Override any GCC internal prototype to avoid an error.
4538 Use char because int might match the return type of a GCC
4539 builtin and then its argument prototype would still apply. */
4540 #ifdef __cplusplus
4541 extern "C"
4542 #endif
4543 char gethostbyname ();
4544 /* The GNU C library defines this for functions which it implements
4545 to always fail with ENOSYS. Some functions are actually named
4546 something starting with __ and the normal name is an alias. */
4547 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4548 choke me
4549 #endif
4552 main ()
4554 return gethostbyname ();
4556 return 0;
4558 _ACEOF
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (ac_try="$ac_link"
4561 case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4564 esac
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4567 ac_status=$?
4568 grep -v '^ *+' conftest.er1 >conftest.err
4569 rm -f conftest.er1
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4583 { ac_try='test -s conftest$ac_exeext'
4584 { (case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589 (eval "$ac_try") 2>&5
4590 ac_status=$?
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_cv_func_gethostbyname=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_func_gethostbyname=no
4601 rm -f core conftest.err conftest.$ac_objext \
4602 conftest$ac_exeext conftest.$ac_ext
4604 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4605 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4607 if test $ac_cv_func_gethostbyname = no; then
4608 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4609 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4610 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 else
4613 ac_check_lib_save_LIBS=$LIBS
4614 LIBS="-lnsl $LIBS"
4615 cat >conftest.$ac_ext <<_ACEOF
4616 /* confdefs.h. */
4617 _ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any GCC internal prototype to avoid an error.
4623 Use char because int might match the return type of a GCC
4624 builtin and then its argument prototype would still apply. */
4625 #ifdef __cplusplus
4626 extern "C"
4627 #endif
4628 char gethostbyname ();
4630 main ()
4632 return gethostbyname ();
4634 return 0;
4636 _ACEOF
4637 rm -f conftest.$ac_objext conftest$ac_exeext
4638 if { (ac_try="$ac_link"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4644 (eval "$ac_link") 2>conftest.er1
4645 ac_status=$?
4646 grep -v '^ *+' conftest.er1 >conftest.err
4647 rm -f conftest.er1
4648 cat conftest.err >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4661 { ac_try='test -s conftest$ac_exeext'
4662 { (case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4667 (eval "$ac_try") 2>&5
4668 ac_status=$?
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_lib_nsl_gethostbyname=yes
4672 else
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4676 ac_cv_lib_nsl_gethostbyname=no
4679 rm -f core conftest.err conftest.$ac_objext \
4680 conftest$ac_exeext conftest.$ac_ext
4681 LIBS=$ac_check_lib_save_LIBS
4683 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4684 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4685 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4686 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4689 if test $ac_cv_lib_nsl_gethostbyname = no; then
4690 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4691 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 else
4695 ac_check_lib_save_LIBS=$LIBS
4696 LIBS="-lbsd $LIBS"
4697 cat >conftest.$ac_ext <<_ACEOF
4698 /* confdefs.h. */
4699 _ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4707 #ifdef __cplusplus
4708 extern "C"
4709 #endif
4710 char gethostbyname ();
4712 main ()
4714 return gethostbyname ();
4716 return 0;
4718 _ACEOF
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4727 ac_status=$?
4728 grep -v '^ *+' conftest.er1 >conftest.err
4729 rm -f conftest.er1
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4743 { ac_try='test -s conftest$ac_exeext'
4744 { (case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4749 (eval "$ac_try") 2>&5
4750 ac_status=$?
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_lib_bsd_gethostbyname=yes
4754 else
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 ac_cv_lib_bsd_gethostbyname=no
4761 rm -f core conftest.err conftest.$ac_objext \
4762 conftest$ac_exeext conftest.$ac_ext
4763 LIBS=$ac_check_lib_save_LIBS
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4775 # socket/setsockopt and other routines are undefined under SCO ODT
4776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4777 # on later versions), says Simon Leinen: it contains gethostby*
4778 # variants that don't use the name server (or something). -lsocket
4779 # must be given before -lnsl if both are needed. We assume that
4780 # if connect needs -lnsl, so does gethostbyname.
4781 { echo "$as_me:$LINENO: checking for connect" >&5
4782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4783 if test "${ac_cv_func_connect+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 else
4786 cat >conftest.$ac_ext <<_ACEOF
4787 /* confdefs.h. */
4788 _ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4794 #define connect innocuous_connect
4796 /* System header to define __stub macros and hopefully few prototypes,
4797 which can conflict with char connect (); below.
4798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799 <limits.h> exists even on freestanding compilers. */
4801 #ifdef __STDC__
4802 # include <limits.h>
4803 #else
4804 # include <assert.h>
4805 #endif
4807 #undef connect
4809 /* Override any GCC internal prototype to avoid an error.
4810 Use char because int might match the return type of a GCC
4811 builtin and then its argument prototype would still apply. */
4812 #ifdef __cplusplus
4813 extern "C"
4814 #endif
4815 char connect ();
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined __stub_connect || defined __stub___connect
4820 choke me
4821 #endif
4824 main ()
4826 return connect ();
4828 return 0;
4830 _ACEOF
4831 rm -f conftest.$ac_objext conftest$ac_exeext
4832 if { (ac_try="$ac_link"
4833 case "(($ac_try" in
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4836 esac
4837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4838 (eval "$ac_link") 2>conftest.er1
4839 ac_status=$?
4840 grep -v '^ *+' conftest.er1 >conftest.err
4841 rm -f conftest.er1
4842 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4855 { ac_try='test -s conftest$ac_exeext'
4856 { (case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4859 esac
4860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4861 (eval "$ac_try") 2>&5
4862 ac_status=$?
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4865 ac_cv_func_connect=yes
4866 else
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5
4870 ac_cv_func_connect=no
4873 rm -f core conftest.err conftest.$ac_objext \
4874 conftest$ac_exeext conftest.$ac_ext
4876 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4877 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4879 if test $ac_cv_func_connect = no; then
4880 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4881 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4882 if test "${ac_cv_lib_socket_connect+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 else
4885 ac_check_lib_save_LIBS=$LIBS
4886 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4887 cat >conftest.$ac_ext <<_ACEOF
4888 /* confdefs.h. */
4889 _ACEOF
4890 cat confdefs.h >>conftest.$ac_ext
4891 cat >>conftest.$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4894 /* Override any GCC internal prototype to avoid an error.
4895 Use char because int might match the return type of a GCC
4896 builtin and then its argument prototype would still apply. */
4897 #ifdef __cplusplus
4898 extern "C"
4899 #endif
4900 char connect ();
4902 main ()
4904 return connect ();
4906 return 0;
4908 _ACEOF
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4917 ac_status=$?
4918 grep -v '^ *+' conftest.er1 >conftest.err
4919 rm -f conftest.er1
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4933 { ac_try='test -s conftest$ac_exeext'
4934 { (case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4939 (eval "$ac_try") 2>&5
4940 ac_status=$?
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 ac_cv_lib_socket_connect=yes
4944 else
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_lib_socket_connect=no
4951 rm -f core conftest.err conftest.$ac_objext \
4952 conftest$ac_exeext conftest.$ac_ext
4953 LIBS=$ac_check_lib_save_LIBS
4955 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4956 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4957 if test $ac_cv_lib_socket_connect = yes; then
4958 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4963 # Guillermo Gomez says -lposix is necessary on A/UX.
4964 { echo "$as_me:$LINENO: checking for remove" >&5
4965 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4966 if test "${ac_cv_func_remove+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 else
4969 cat >conftest.$ac_ext <<_ACEOF
4970 /* confdefs.h. */
4971 _ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4975 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4977 #define remove innocuous_remove
4979 /* System header to define __stub macros and hopefully few prototypes,
4980 which can conflict with char remove (); below.
4981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4982 <limits.h> exists even on freestanding compilers. */
4984 #ifdef __STDC__
4985 # include <limits.h>
4986 #else
4987 # include <assert.h>
4988 #endif
4990 #undef remove
4992 /* Override any GCC internal prototype to avoid an error.
4993 Use char because int might match the return type of a GCC
4994 builtin and then its argument prototype would still apply. */
4995 #ifdef __cplusplus
4996 extern "C"
4997 #endif
4998 char remove ();
4999 /* The GNU C library defines this for functions which it implements
5000 to always fail with ENOSYS. Some functions are actually named
5001 something starting with __ and the normal name is an alias. */
5002 #if defined __stub_remove || defined __stub___remove
5003 choke me
5004 #endif
5007 main ()
5009 return remove ();
5011 return 0;
5013 _ACEOF
5014 rm -f conftest.$ac_objext conftest$ac_exeext
5015 if { (ac_try="$ac_link"
5016 case "(($ac_try" in
5017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5019 esac
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_link") 2>conftest.er1
5022 ac_status=$?
5023 grep -v '^ *+' conftest.er1 >conftest.err
5024 rm -f conftest.er1
5025 cat conftest.err >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
5038 { ac_try='test -s conftest$ac_exeext'
5039 { (case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5042 esac
5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044 (eval "$ac_try") 2>&5
5045 ac_status=$?
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_cv_func_remove=yes
5049 else
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_cv_func_remove=no
5056 rm -f core conftest.err conftest.$ac_objext \
5057 conftest$ac_exeext conftest.$ac_ext
5059 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5060 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5062 if test $ac_cv_func_remove = no; then
5063 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5064 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5065 if test "${ac_cv_lib_posix_remove+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 else
5068 ac_check_lib_save_LIBS=$LIBS
5069 LIBS="-lposix $LIBS"
5070 cat >conftest.$ac_ext <<_ACEOF
5071 /* confdefs.h. */
5072 _ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any GCC internal prototype to avoid an error.
5078 Use char because int might match the return type of a GCC
5079 builtin and then its argument prototype would still apply. */
5080 #ifdef __cplusplus
5081 extern "C"
5082 #endif
5083 char remove ();
5085 main ()
5087 return remove ();
5089 return 0;
5091 _ACEOF
5092 rm -f conftest.$ac_objext conftest$ac_exeext
5093 if { (ac_try="$ac_link"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_link") 2>conftest.er1
5100 ac_status=$?
5101 grep -v '^ *+' conftest.er1 >conftest.err
5102 rm -f conftest.er1
5103 cat conftest.err >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
5116 { ac_try='test -s conftest$ac_exeext'
5117 { (case "(($ac_try" in
5118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5120 esac
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_try") 2>&5
5123 ac_status=$?
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; }; then
5126 ac_cv_lib_posix_remove=yes
5127 else
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5131 ac_cv_lib_posix_remove=no
5134 rm -f core conftest.err conftest.$ac_objext \
5135 conftest$ac_exeext conftest.$ac_ext
5136 LIBS=$ac_check_lib_save_LIBS
5138 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5139 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5140 if test $ac_cv_lib_posix_remove = yes; then
5141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5146 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5147 { echo "$as_me:$LINENO: checking for shmat" >&5
5148 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5149 if test "${ac_cv_func_shmat+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 else
5152 cat >conftest.$ac_ext <<_ACEOF
5153 /* confdefs.h. */
5154 _ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5160 #define shmat innocuous_shmat
5162 /* System header to define __stub macros and hopefully few prototypes,
5163 which can conflict with char shmat (); below.
5164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5165 <limits.h> exists even on freestanding compilers. */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5173 #undef shmat
5175 /* Override any GCC internal prototype to avoid an error.
5176 Use char because int might match the return type of a GCC
5177 builtin and then its argument prototype would still apply. */
5178 #ifdef __cplusplus
5179 extern "C"
5180 #endif
5181 char shmat ();
5182 /* The GNU C library defines this for functions which it implements
5183 to always fail with ENOSYS. Some functions are actually named
5184 something starting with __ and the normal name is an alias. */
5185 #if defined __stub_shmat || defined __stub___shmat
5186 choke me
5187 #endif
5190 main ()
5192 return shmat ();
5194 return 0;
5196 _ACEOF
5197 rm -f conftest.$ac_objext conftest$ac_exeext
5198 if { (ac_try="$ac_link"
5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_link") 2>conftest.er1
5205 ac_status=$?
5206 grep -v '^ *+' conftest.er1 >conftest.err
5207 rm -f conftest.er1
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
5221 { ac_try='test -s conftest$ac_exeext'
5222 { (case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_try") 2>&5
5228 ac_status=$?
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; }; then
5231 ac_cv_func_shmat=yes
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 ac_cv_func_shmat=no
5239 rm -f core conftest.err conftest.$ac_objext \
5240 conftest$ac_exeext conftest.$ac_ext
5242 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5243 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5245 if test $ac_cv_func_shmat = no; then
5246 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 ac_check_lib_save_LIBS=$LIBS
5252 LIBS="-lipc $LIBS"
5253 cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h. */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5260 /* Override any GCC internal prototype to avoid an error.
5261 Use char because int might match the return type of a GCC
5262 builtin and then its argument prototype would still apply. */
5263 #ifdef __cplusplus
5264 extern "C"
5265 #endif
5266 char shmat ();
5268 main ()
5270 return shmat ();
5272 return 0;
5274 _ACEOF
5275 rm -f conftest.$ac_objext conftest$ac_exeext
5276 if { (ac_try="$ac_link"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282 (eval "$ac_link") 2>conftest.er1
5283 ac_status=$?
5284 grep -v '^ *+' conftest.er1 >conftest.err
5285 rm -f conftest.er1
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
5299 { ac_try='test -s conftest$ac_exeext'
5300 { (case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5303 esac
5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305 (eval "$ac_try") 2>&5
5306 ac_status=$?
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; }; then
5309 ac_cv_lib_ipc_shmat=yes
5310 else
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5314 ac_cv_lib_ipc_shmat=no
5317 rm -f core conftest.err conftest.$ac_objext \
5318 conftest$ac_exeext conftest.$ac_ext
5319 LIBS=$ac_check_lib_save_LIBS
5321 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5322 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5323 if test $ac_cv_lib_ipc_shmat = yes; then
5324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5330 # Check for libraries that X11R6 Xt/Xaw programs need.
5331 ac_save_LDFLAGS=$LDFLAGS
5332 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5333 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5334 # check for ICE first), but we must link in the order -lSM -lICE or
5335 # we get undefined symbols. So assume we have SM if we have ICE.
5336 # These have to be linked with before -lX11, unlike the other
5337 # libraries we check for below, so use a different variable.
5338 # John Interrante, Karl Berry
5339 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5340 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5341 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 else
5344 ac_check_lib_save_LIBS=$LIBS
5345 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5346 cat >conftest.$ac_ext <<_ACEOF
5347 /* confdefs.h. */
5348 _ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5353 /* Override any GCC internal prototype to avoid an error.
5354 Use char because int might match the return type of a GCC
5355 builtin and then its argument prototype would still apply. */
5356 #ifdef __cplusplus
5357 extern "C"
5358 #endif
5359 char IceConnectionNumber ();
5361 main ()
5363 return IceConnectionNumber ();
5365 return 0;
5367 _ACEOF
5368 rm -f conftest.$ac_objext conftest$ac_exeext
5369 if { (ac_try="$ac_link"
5370 case "(($ac_try" in
5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5373 esac
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_link") 2>conftest.er1
5376 ac_status=$?
5377 grep -v '^ *+' conftest.er1 >conftest.err
5378 rm -f conftest.er1
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
5392 { ac_try='test -s conftest$ac_exeext'
5393 { (case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_try") 2>&5
5399 ac_status=$?
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; }; then
5402 ac_cv_lib_ICE_IceConnectionNumber=yes
5403 else
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 ac_cv_lib_ICE_IceConnectionNumber=no
5410 rm -f core conftest.err conftest.$ac_objext \
5411 conftest$ac_exeext conftest.$ac_ext
5412 LIBS=$ac_check_lib_save_LIBS
5414 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5415 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5416 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5417 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5420 LDFLAGS=$ac_save_LDFLAGS
5424 for ac_prog in flex lex
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy $ac_prog; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LEX+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433 if test -n "$LEX"; then
5434 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LEX="$ac_prog"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 LEX=$ac_cv_prog_LEX
5454 if test -n "$LEX"; then
5455 { echo "$as_me:$LINENO: result: $LEX" >&5
5456 echo "${ECHO_T}$LEX" >&6; }
5457 else
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5463 test -n "$LEX" && break
5464 done
5465 test -n "$LEX" || LEX=":"
5467 if test -z "$LEXLIB"
5468 then
5469 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5470 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5471 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 else
5474 ac_check_lib_save_LIBS=$LIBS
5475 LIBS="-lfl $LIBS"
5476 cat >conftest.$ac_ext <<_ACEOF
5477 /* confdefs.h. */
5478 _ACEOF
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5483 /* Override any GCC internal prototype to avoid an error.
5484 Use char because int might match the return type of a GCC
5485 builtin and then its argument prototype would still apply. */
5486 #ifdef __cplusplus
5487 extern "C"
5488 #endif
5489 char yywrap ();
5491 main ()
5493 return yywrap ();
5495 return 0;
5497 _ACEOF
5498 rm -f conftest.$ac_objext conftest$ac_exeext
5499 if { (ac_try="$ac_link"
5500 case "(($ac_try" in
5501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502 *) ac_try_echo=$ac_try;;
5503 esac
5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505 (eval "$ac_link") 2>conftest.er1
5506 ac_status=$?
5507 grep -v '^ *+' conftest.er1 >conftest.err
5508 rm -f conftest.er1
5509 cat conftest.err >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } &&
5512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5513 { (case "(($ac_try" in
5514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5515 *) ac_try_echo=$ac_try;;
5516 esac
5517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518 (eval "$ac_try") 2>&5
5519 ac_status=$?
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; } &&
5522 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
5529 ac_status=$?
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_cv_lib_fl_yywrap=yes
5533 else
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 ac_cv_lib_fl_yywrap=no
5540 rm -f core conftest.err conftest.$ac_objext \
5541 conftest$ac_exeext conftest.$ac_ext
5542 LIBS=$ac_check_lib_save_LIBS
5544 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5545 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5546 if test $ac_cv_lib_fl_yywrap = yes; then
5547 LEXLIB="-lfl"
5548 else
5549 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5550 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5551 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 else
5554 ac_check_lib_save_LIBS=$LIBS
5555 LIBS="-ll $LIBS"
5556 cat >conftest.$ac_ext <<_ACEOF
5557 /* confdefs.h. */
5558 _ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5563 /* Override any GCC internal prototype to avoid an error.
5564 Use char because int might match the return type of a GCC
5565 builtin and then its argument prototype would still apply. */
5566 #ifdef __cplusplus
5567 extern "C"
5568 #endif
5569 char yywrap ();
5571 main ()
5573 return yywrap ();
5575 return 0;
5577 _ACEOF
5578 rm -f conftest.$ac_objext conftest$ac_exeext
5579 if { (ac_try="$ac_link"
5580 case "(($ac_try" in
5581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5582 *) ac_try_echo=$ac_try;;
5583 esac
5584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5585 (eval "$ac_link") 2>conftest.er1
5586 ac_status=$?
5587 grep -v '^ *+' conftest.er1 >conftest.err
5588 rm -f conftest.er1
5589 cat conftest.err >&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } &&
5592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
5599 ac_status=$?
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; } &&
5602 { ac_try='test -s conftest$ac_exeext'
5603 { (case "(($ac_try" in
5604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5605 *) ac_try_echo=$ac_try;;
5606 esac
5607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5608 (eval "$ac_try") 2>&5
5609 ac_status=$?
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5612 ac_cv_lib_l_yywrap=yes
5613 else
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.$ac_ext >&5
5617 ac_cv_lib_l_yywrap=no
5620 rm -f core conftest.err conftest.$ac_objext \
5621 conftest$ac_exeext conftest.$ac_ext
5622 LIBS=$ac_check_lib_save_LIBS
5624 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5625 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5626 if test $ac_cv_lib_l_yywrap = yes; then
5627 LEXLIB="-ll"
5634 if test "x$LEX" != "x:"; then
5635 { echo "$as_me:$LINENO: checking lex output file root" >&5
5636 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5637 if test "${ac_cv_prog_lex_root+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 else
5640 # The minimal lex program is just a single line: %%. But some broken lexes
5641 # (Solaris, I think it was) want two %% lines, so accommodate them.
5642 cat >conftest.l <<_ACEOF
5645 _ACEOF
5646 { (ac_try="$LEX conftest.l"
5647 case "(($ac_try" in
5648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5649 *) ac_try_echo=$ac_try;;
5650 esac
5651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5652 (eval "$LEX conftest.l") 2>&5
5653 ac_status=$?
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }
5656 if test -f lex.yy.c; then
5657 ac_cv_prog_lex_root=lex.yy
5658 elif test -f lexyy.c; then
5659 ac_cv_prog_lex_root=lexyy
5660 else
5661 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5662 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5663 { (exit 1); exit 1; }; }
5666 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5667 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5668 rm -f conftest.l
5669 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5671 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5672 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5673 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 else
5676 # POSIX says lex can declare yytext either as a pointer or an array; the
5677 # default is implementation-dependent. Figure out which it is, since
5678 # not all implementations provide the %pointer and %array declarations.
5679 ac_cv_prog_lex_yytext_pointer=no
5680 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5681 ac_save_LIBS=$LIBS
5682 LIBS="$LIBS $LEXLIB"
5683 cat >conftest.$ac_ext <<_ACEOF
5684 `cat $LEX_OUTPUT_ROOT.c`
5685 _ACEOF
5686 rm -f conftest.$ac_objext conftest$ac_exeext
5687 if { (ac_try="$ac_link"
5688 case "(($ac_try" in
5689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5690 *) ac_try_echo=$ac_try;;
5691 esac
5692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5693 (eval "$ac_link") 2>conftest.er1
5694 ac_status=$?
5695 grep -v '^ *+' conftest.er1 >conftest.err
5696 rm -f conftest.er1
5697 cat conftest.err >&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } &&
5700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5701 { (case "(($ac_try" in
5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5704 esac
5705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706 (eval "$ac_try") 2>&5
5707 ac_status=$?
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; } &&
5710 { ac_try='test -s conftest$ac_exeext'
5711 { (case "(($ac_try" in
5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5713 *) ac_try_echo=$ac_try;;
5714 esac
5715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5716 (eval "$ac_try") 2>&5
5717 ac_status=$?
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; }; then
5720 ac_cv_prog_lex_yytext_pointer=yes
5721 else
5722 echo "$as_me: failed program was:" >&5
5723 sed 's/^/| /' conftest.$ac_ext >&5
5728 rm -f core conftest.err conftest.$ac_objext \
5729 conftest$ac_exeext conftest.$ac_ext
5730 LIBS=$ac_save_LIBS
5731 rm -f "${LEX_OUTPUT_ROOT}.c"
5734 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5735 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5736 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5738 cat >>confdefs.h <<\_ACEOF
5739 #define YYTEXT_POINTER 1
5740 _ACEOF
5746 for ac_prog in $LEX flex lex
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5752 if test "${ac_cv_prog_XLEX+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 else
5755 if test -n "$XLEX"; then
5756 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5761 IFS=$as_save_IFS
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5765 ac_cv_prog_XLEX="$ac_prog"
5766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 break 2
5769 done
5770 done
5771 IFS=$as_save_IFS
5775 XLEX=$ac_cv_prog_XLEX
5776 if test -n "$XLEX"; then
5777 { echo "$as_me:$LINENO: result: $XLEX" >&5
5778 echo "${ECHO_T}$XLEX" >&6; }
5779 else
5780 { echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6; }
5785 test -n "$XLEX" && break
5786 done
5787 test -n "$XLEX" || XLEX="none"
5789 if test "$XLEX" = "none"
5790 then
5791 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5792 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5793 { (exit 1); exit 1; }; }
5796 for ac_prog in bison
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_BISON+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 else
5805 if test -n "$BISON"; then
5806 ac_cv_prog_BISON="$BISON" # 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_BISON="$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 BISON=$ac_cv_prog_BISON
5826 if test -n "$BISON"; then
5827 { echo "$as_me:$LINENO: result: $BISON" >&5
5828 echo "${ECHO_T}$BISON" >&6; }
5829 else
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5835 test -n "$BISON" && break
5836 done
5837 test -n "$BISON" || BISON="none"
5839 if test "$BISON" = "none"
5840 then
5841 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5842 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5843 { (exit 1); exit 1; }; }
5846 if test -n "$ac_tool_prefix"; then
5847 for ac_prog in gas as
5849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5850 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5853 if test "${ac_cv_prog_AS+set}" = set; then
5854 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 else
5856 if test -n "$AS"; then
5857 ac_cv_prog_AS="$AS" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5862 IFS=$as_save_IFS
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 break 2
5870 done
5871 done
5872 IFS=$as_save_IFS
5876 AS=$ac_cv_prog_AS
5877 if test -n "$AS"; then
5878 { echo "$as_me:$LINENO: result: $AS" >&5
5879 echo "${ECHO_T}$AS" >&6; }
5880 else
5881 { echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6; }
5886 test -n "$AS" && break
5887 done
5889 if test -z "$AS"; then
5890 ac_ct_AS=$AS
5891 for ac_prog in gas as
5893 # Extract the first word of "$ac_prog", so it can be a program name with args.
5894 set dummy $ac_prog; ac_word=$2
5895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5897 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 else
5900 if test -n "$ac_ct_AS"; then
5901 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5902 else
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH
5906 IFS=$as_save_IFS
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_ac_ct_AS="$ac_prog"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 break 2
5914 done
5915 done
5916 IFS=$as_save_IFS
5920 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5921 if test -n "$ac_ct_AS"; then
5922 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5923 echo "${ECHO_T}$ac_ct_AS" >&6; }
5924 else
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 test -n "$ac_ct_AS" && break
5931 done
5933 if test "x$ac_ct_AS" = x; then
5934 AS="as"
5935 else
5936 case $cross_compiling:$ac_tool_warned in
5937 yes:)
5938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&5
5941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5942 whose name does not start with the host triplet. If you think this
5943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5944 ac_tool_warned=yes ;;
5945 esac
5946 AS=$ac_ct_AS
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5952 set dummy ${ac_tool_prefix}ld; ac_word=$2
5953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955 if test "${ac_cv_prog_LD+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 else
5958 if test -n "$LD"; then
5959 ac_cv_prog_LD="$LD" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5968 ac_cv_prog_LD="${ac_tool_prefix}ld"
5969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 break 2
5972 done
5973 done
5974 IFS=$as_save_IFS
5978 LD=$ac_cv_prog_LD
5979 if test -n "$LD"; then
5980 { echo "$as_me:$LINENO: result: $LD" >&5
5981 echo "${ECHO_T}$LD" >&6; }
5982 else
5983 { echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6; }
5989 if test -z "$ac_cv_prog_LD"; then
5990 ac_ct_LD=$LD
5991 # Extract the first word of "ld", so it can be a program name with args.
5992 set dummy ld; ac_word=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 else
5998 if test -n "$ac_ct_LD"; then
5999 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6004 IFS=$as_save_IFS
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_LD="ld"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 break 2
6012 done
6013 done
6014 IFS=$as_save_IFS
6018 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6019 if test -n "$ac_ct_LD"; then
6020 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6021 echo "${ECHO_T}$ac_ct_LD" >&6; }
6022 else
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6027 if test "x$ac_ct_LD" = x; then
6028 LD="ld"
6029 else
6030 case $cross_compiling:$ac_tool_warned in
6031 yes:)
6032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned=yes ;;
6039 esac
6040 LD=$ac_ct_LD
6042 else
6043 LD="$ac_cv_prog_LD"
6046 if test -n "$ac_tool_prefix"; then
6047 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6048 set dummy ${ac_tool_prefix}ar; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_AR+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 else
6054 if test -n "$AR"; then
6055 ac_cv_prog_AR="$AR" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_AR="${ac_tool_prefix}ar"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 AR=$ac_cv_prog_AR
6075 if test -n "$AR"; then
6076 { echo "$as_me:$LINENO: result: $AR" >&5
6077 echo "${ECHO_T}$AR" >&6; }
6078 else
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6085 if test -z "$ac_cv_prog_AR"; then
6086 ac_ct_AR=$AR
6087 # Extract the first word of "ar", so it can be a program name with args.
6088 set dummy ar; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$ac_ct_AR"; then
6095 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_ac_ct_AR="ar"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6115 if test -n "$ac_ct_AR"; then
6116 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6117 echo "${ECHO_T}$ac_ct_AR" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6123 if test "x$ac_ct_AR" = x; then
6124 AR="ar"
6125 else
6126 case $cross_compiling:$ac_tool_warned in
6127 yes:)
6128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6129 whose name does not start with the host triplet. If you think this
6130 configuration is useful to you, please write to autoconf@gnu.org." >&5
6131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6132 whose name does not start with the host triplet. If you think this
6133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 AR=$ac_ct_AR
6138 else
6139 AR="$ac_cv_prog_AR"
6142 if test -n "$ac_tool_prefix"; then
6143 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6144 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6147 if test "${ac_cv_prog_RANLIB+set}" = set; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 else
6150 if test -n "$RANLIB"; then
6151 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 RANLIB=$ac_cv_prog_RANLIB
6171 if test -n "$RANLIB"; then
6172 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6173 echo "${ECHO_T}$RANLIB" >&6; }
6174 else
6175 { echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6; }
6181 if test -z "$ac_cv_prog_RANLIB"; then
6182 ac_ct_RANLIB=$RANLIB
6183 # Extract the first word of "ranlib", so it can be a program name with args.
6184 set dummy ranlib; ac_word=$2
6185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6187 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 else
6190 if test -n "$ac_ct_RANLIB"; then
6191 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_ac_ct_RANLIB="ranlib"
6201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6211 if test -n "$ac_ct_RANLIB"; then
6212 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6213 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6214 else
6215 { echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6; }
6219 if test "x$ac_ct_RANLIB" = x; then
6220 RANLIB=":"
6221 else
6222 case $cross_compiling:$ac_tool_warned in
6223 yes:)
6224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6225 whose name does not start with the host triplet. If you think this
6226 configuration is useful to you, please write to autoconf@gnu.org." >&5
6227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6228 whose name does not start with the host triplet. If you think this
6229 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6230 ac_tool_warned=yes ;;
6231 esac
6232 RANLIB=$ac_ct_RANLIB
6234 else
6235 RANLIB="$ac_cv_prog_RANLIB"
6238 if test -n "$ac_tool_prefix"; then
6239 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6240 set dummy ${ac_tool_prefix}strip; ac_word=$2
6241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6243 if test "${ac_cv_prog_STRIP+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 else
6246 if test -n "$STRIP"; then
6247 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6252 IFS=$as_save_IFS
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6256 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 break 2
6260 done
6261 done
6262 IFS=$as_save_IFS
6266 STRIP=$ac_cv_prog_STRIP
6267 if test -n "$STRIP"; then
6268 { echo "$as_me:$LINENO: result: $STRIP" >&5
6269 echo "${ECHO_T}$STRIP" >&6; }
6270 else
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6277 if test -z "$ac_cv_prog_STRIP"; then
6278 ac_ct_STRIP=$STRIP
6279 # Extract the first word of "strip", so it can be a program name with args.
6280 set dummy strip; ac_word=$2
6281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6283 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 else
6286 if test -n "$ac_ct_STRIP"; then
6287 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6288 else
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in $PATH
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6296 ac_cv_prog_ac_ct_STRIP="strip"
6297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 break 2
6300 done
6301 done
6302 IFS=$as_save_IFS
6306 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6307 if test -n "$ac_ct_STRIP"; then
6308 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6309 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6310 else
6311 { echo "$as_me:$LINENO: result: no" >&5
6312 echo "${ECHO_T}no" >&6; }
6315 if test "x$ac_ct_STRIP" = x; then
6316 STRIP="strip"
6317 else
6318 case $cross_compiling:$ac_tool_warned in
6319 yes:)
6320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6321 whose name does not start with the host triplet. If you think this
6322 configuration is useful to you, please write to autoconf@gnu.org." >&5
6323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6324 whose name does not start with the host triplet. If you think this
6325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6326 ac_tool_warned=yes ;;
6327 esac
6328 STRIP=$ac_ct_STRIP
6330 else
6331 STRIP="$ac_cv_prog_STRIP"
6334 if test -n "$ac_tool_prefix"; then
6335 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}windres; ac_word=$2
6337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6339 if test "${ac_cv_prog_WINDRES+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 else
6342 if test -n "$WINDRES"; then
6343 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6344 else
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 for as_dir in $PATH
6348 IFS=$as_save_IFS
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 break 2
6356 done
6357 done
6358 IFS=$as_save_IFS
6362 WINDRES=$ac_cv_prog_WINDRES
6363 if test -n "$WINDRES"; then
6364 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6365 echo "${ECHO_T}$WINDRES" >&6; }
6366 else
6367 { echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6; }
6373 if test -z "$ac_cv_prog_WINDRES"; then
6374 ac_ct_WINDRES=$WINDRES
6375 # Extract the first word of "windres", so it can be a program name with args.
6376 set dummy windres; ac_word=$2
6377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6379 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 else
6382 if test -n "$ac_ct_WINDRES"; then
6383 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6384 else
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH
6388 IFS=$as_save_IFS
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_ac_ct_WINDRES="windres"
6393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6394 break 2
6396 done
6397 done
6398 IFS=$as_save_IFS
6402 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6403 if test -n "$ac_ct_WINDRES"; then
6404 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6405 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6406 else
6407 { echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6; }
6411 if test "x$ac_ct_WINDRES" = x; then
6412 WINDRES="false"
6413 else
6414 case $cross_compiling:$ac_tool_warned in
6415 yes:)
6416 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6417 whose name does not start with the host triplet. If you think this
6418 configuration is useful to you, please write to autoconf@gnu.org." >&5
6419 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6420 whose name does not start with the host triplet. If you think this
6421 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6422 ac_tool_warned=yes ;;
6423 esac
6424 WINDRES=$ac_ct_WINDRES
6426 else
6427 WINDRES="$ac_cv_prog_WINDRES"
6430 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6431 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6432 LN_S=$as_ln_s
6433 if test "$LN_S" = "ln -s"; then
6434 { echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6; }
6436 else
6437 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6438 echo "${ECHO_T}no, using $LN_S" >&6; }
6441 { echo "$as_me:$LINENO: checking whether ln works" >&5
6442 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6443 rm -f conf$$ conf$$.file
6444 echo >conf$$.file
6445 if ln conf$$.file conf$$ 2>/dev/null; then
6446 LN=ln
6448 { echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6; }
6450 else
6451 LN="cp -p"
6453 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6454 echo "${ECHO_T}no, using $LN" >&6; }
6456 rm -f conf$$ conf$$.file
6457 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6458 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6459 if test "${ac_cv_path_GREP+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 else
6462 # Extract the first word of "grep ggrep" to use in msg output
6463 if test -z "$GREP"; then
6464 set dummy grep ggrep; ac_prog_name=$2
6465 if test "${ac_cv_path_GREP+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 else
6468 ac_path_GREP_found=false
6469 # Loop through the user's path and test for each of PROGNAME-LIST
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6473 IFS=$as_save_IFS
6474 test -z "$as_dir" && as_dir=.
6475 for ac_prog in grep ggrep; do
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6478 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6479 # Check for GNU ac_path_GREP and select it if it is found.
6480 # Check for GNU $ac_path_GREP
6481 case `"$ac_path_GREP" --version 2>&1` in
6482 *GNU*)
6483 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6485 ac_count=0
6486 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6487 while :
6489 cat "conftest.in" "conftest.in" >"conftest.tmp"
6490 mv "conftest.tmp" "conftest.in"
6491 cp "conftest.in" "conftest.nl"
6492 echo 'GREP' >> "conftest.nl"
6493 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6494 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6495 ac_count=`expr $ac_count + 1`
6496 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6497 # Best one so far, save it but keep looking for a better one
6498 ac_cv_path_GREP="$ac_path_GREP"
6499 ac_path_GREP_max=$ac_count
6501 # 10*(2^10) chars as input seems more than enough
6502 test $ac_count -gt 10 && break
6503 done
6504 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6505 esac
6508 $ac_path_GREP_found && break 3
6509 done
6510 done
6512 done
6513 IFS=$as_save_IFS
6518 GREP="$ac_cv_path_GREP"
6519 if test -z "$GREP"; then
6520 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6521 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6522 { (exit 1); exit 1; }; }
6525 else
6526 ac_cv_path_GREP=$GREP
6531 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6532 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6533 GREP="$ac_cv_path_GREP"
6536 { echo "$as_me:$LINENO: checking for egrep" >&5
6537 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6538 if test "${ac_cv_path_EGREP+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 else
6541 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6542 then ac_cv_path_EGREP="$GREP -E"
6543 else
6544 # Extract the first word of "egrep" to use in msg output
6545 if test -z "$EGREP"; then
6546 set dummy egrep; ac_prog_name=$2
6547 if test "${ac_cv_path_EGREP+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 else
6550 ac_path_EGREP_found=false
6551 # Loop through the user's path and test for each of PROGNAME-LIST
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_prog in egrep; do
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6560 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6561 # Check for GNU ac_path_EGREP and select it if it is found.
6562 # Check for GNU $ac_path_EGREP
6563 case `"$ac_path_EGREP" --version 2>&1` in
6564 *GNU*)
6565 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6567 ac_count=0
6568 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6569 while :
6571 cat "conftest.in" "conftest.in" >"conftest.tmp"
6572 mv "conftest.tmp" "conftest.in"
6573 cp "conftest.in" "conftest.nl"
6574 echo 'EGREP' >> "conftest.nl"
6575 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6576 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6577 ac_count=`expr $ac_count + 1`
6578 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6579 # Best one so far, save it but keep looking for a better one
6580 ac_cv_path_EGREP="$ac_path_EGREP"
6581 ac_path_EGREP_max=$ac_count
6583 # 10*(2^10) chars as input seems more than enough
6584 test $ac_count -gt 10 && break
6585 done
6586 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6587 esac
6590 $ac_path_EGREP_found && break 3
6591 done
6592 done
6594 done
6595 IFS=$as_save_IFS
6600 EGREP="$ac_cv_path_EGREP"
6601 if test -z "$EGREP"; then
6602 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6603 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6604 { (exit 1); exit 1; }; }
6607 else
6608 ac_cv_path_EGREP=$EGREP
6614 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6615 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6616 EGREP="$ac_cv_path_EGREP"
6619 # Extract the first word of "ldconfig", so it can be a program name with args.
6620 set dummy ldconfig; ac_word=$2
6621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6623 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 else
6626 case $LDCONFIG in
6627 [\\/]* | ?:[\\/]*)
6628 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in /sbin /usr/sbin $PATH
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6646 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6648 esac
6650 LDCONFIG=$ac_cv_path_LDCONFIG
6651 if test -n "$LDCONFIG"; then
6652 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6653 echo "${ECHO_T}$LDCONFIG" >&6; }
6654 else
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6660 # Find a good install program. We prefer a C program (faster),
6661 # so one script is as good as another. But avoid the broken or
6662 # incompatible versions:
6663 # SysV /etc/install, /usr/sbin/install
6664 # SunOS /usr/etc/install
6665 # IRIX /sbin/install
6666 # AIX /bin/install
6667 # AmigaOS /C/install, which installs bootblocks on floppy discs
6668 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6669 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6670 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6671 # OS/2's system install, which has a completely different semantic
6672 # ./install, which can be erroneously created by make from ./install.sh.
6673 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6674 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6675 if test -z "$INSTALL"; then
6676 if test "${ac_cv_path_install+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 # Account for people who put trailing slashes in PATH elements.
6685 case $as_dir/ in
6686 ./ | .// | /cC/* | \
6687 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6688 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6689 /usr/ucb/* ) ;;
6691 # OSF1 and SCO ODT 3.0 have their own names for install.
6692 # Don't use installbsd from OSF since it installs stuff as root
6693 # by default.
6694 for ac_prog in ginstall scoinst install; do
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6697 if test $ac_prog = install &&
6698 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6699 # AIX install. It has an incompatible calling convention.
6701 elif test $ac_prog = install &&
6702 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6703 # program-specific install script used by HP pwplus--don't use.
6705 else
6706 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6707 break 3
6710 done
6711 done
6713 esac
6714 done
6715 IFS=$as_save_IFS
6719 if test "${ac_cv_path_install+set}" = set; then
6720 INSTALL=$ac_cv_path_install
6721 else
6722 # As a last resort, use the slow shell script. Don't cache a
6723 # value for INSTALL within a source directory, because that will
6724 # break other packages using the cache if that directory is
6725 # removed, or if the value is a relative name.
6726 INSTALL=$ac_install_sh
6729 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6730 echo "${ECHO_T}$INSTALL" >&6; }
6732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6733 # It thinks the first close brace ends the variable substitution.
6734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6738 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6740 case "$INSTALL" in
6741 [\\/$]* | ?:[\\/]* ) ;;
6742 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6743 esac
6745 for ac_prog in lclint lint
6747 # Extract the first word of "$ac_prog", so it can be a program name with args.
6748 set dummy $ac_prog; ac_word=$2
6749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6751 if test "${ac_cv_prog_LINT+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 else
6754 if test -n "$LINT"; then
6755 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_LINT="$ac_prog"
6765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6768 done
6769 done
6770 IFS=$as_save_IFS
6774 LINT=$ac_cv_prog_LINT
6775 if test -n "$LINT"; then
6776 { echo "$as_me:$LINENO: result: $LINT" >&5
6777 echo "${ECHO_T}$LINT" >&6; }
6778 else
6779 { echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6; }
6784 test -n "$LINT" && break
6785 done
6787 if test "$LINT" = "lint"
6788 then
6789 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6794 for ac_prog in fontforge
6796 # Extract the first word of "$ac_prog", so it can be a program name with args.
6797 set dummy $ac_prog; ac_word=$2
6798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6800 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 else
6803 if test -n "$FONTFORGE"; then
6804 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6805 else
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 for as_dir in $PATH
6809 IFS=$as_save_IFS
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6813 ac_cv_prog_FONTFORGE="$ac_prog"
6814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 break 2
6817 done
6818 done
6819 IFS=$as_save_IFS
6823 FONTFORGE=$ac_cv_prog_FONTFORGE
6824 if test -n "$FONTFORGE"; then
6825 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6826 echo "${ECHO_T}$FONTFORGE" >&6; }
6827 else
6828 { echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6; }
6833 test -n "$FONTFORGE" && break
6834 done
6835 test -n "$FONTFORGE" || FONTFORGE="false"
6837 for ac_prog in pkg-config
6839 # Extract the first word of "$ac_prog", so it can be a program name with args.
6840 set dummy $ac_prog; ac_word=$2
6841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6843 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 else
6846 if test -n "$PKG_CONFIG"; then
6847 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6848 else
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 for as_dir in $PATH
6852 IFS=$as_save_IFS
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_prog_PKG_CONFIG="$ac_prog"
6857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 break 2
6860 done
6861 done
6862 IFS=$as_save_IFS
6866 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6867 if test -n "$PKG_CONFIG"; then
6868 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6869 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6870 else
6871 { echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6; }
6876 test -n "$PKG_CONFIG" && break
6877 done
6878 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6881 case $host_cpu in
6882 *i[3456789]86*)
6883 # Extract the first word of "prelink", so it can be a program name with args.
6884 set dummy prelink; ac_word=$2
6885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6887 if test "${ac_cv_path_PRELINK+set}" = set; then
6888 echo $ECHO_N "(cached) $ECHO_C" >&6
6889 else
6890 case $PRELINK in
6891 [\\/]* | ?:[\\/]*)
6892 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 for as_dir in /sbin /usr/sbin $PATH
6898 IFS=$as_save_IFS
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6902 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6904 break 2
6906 done
6907 done
6908 IFS=$as_save_IFS
6910 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6912 esac
6914 PRELINK=$ac_cv_path_PRELINK
6915 if test -n "$PRELINK"; then
6916 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6917 echo "${ECHO_T}$PRELINK" >&6; }
6918 else
6919 { echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6; }
6925 esac
6929 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6930 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6931 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 else
6934 ac_check_lib_save_LIBS=$LIBS
6935 LIBS="-li386 $LIBS"
6936 cat >conftest.$ac_ext <<_ACEOF
6937 /* confdefs.h. */
6938 _ACEOF
6939 cat confdefs.h >>conftest.$ac_ext
6940 cat >>conftest.$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6943 /* Override any GCC internal prototype to avoid an error.
6944 Use char because int might match the return type of a GCC
6945 builtin and then its argument prototype would still apply. */
6946 #ifdef __cplusplus
6947 extern "C"
6948 #endif
6949 char i386_set_ldt ();
6951 main ()
6953 return i386_set_ldt ();
6955 return 0;
6957 _ACEOF
6958 rm -f conftest.$ac_objext conftest$ac_exeext
6959 if { (ac_try="$ac_link"
6960 case "(($ac_try" in
6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6963 esac
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965 (eval "$ac_link") 2>conftest.er1
6966 ac_status=$?
6967 grep -v '^ *+' conftest.er1 >conftest.err
6968 rm -f conftest.er1
6969 cat conftest.err >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } &&
6972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6973 { (case "(($ac_try" in
6974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975 *) ac_try_echo=$ac_try;;
6976 esac
6977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6978 (eval "$ac_try") 2>&5
6979 ac_status=$?
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; } &&
6982 { ac_try='test -s conftest$ac_exeext'
6983 { (case "(($ac_try" in
6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985 *) ac_try_echo=$ac_try;;
6986 esac
6987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6988 (eval "$ac_try") 2>&5
6989 ac_status=$?
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; }; then
6992 ac_cv_lib_i386_i386_set_ldt=yes
6993 else
6994 echo "$as_me: failed program was:" >&5
6995 sed 's/^/| /' conftest.$ac_ext >&5
6997 ac_cv_lib_i386_i386_set_ldt=no
7000 rm -f core conftest.err conftest.$ac_objext \
7001 conftest$ac_exeext conftest.$ac_ext
7002 LIBS=$ac_check_lib_save_LIBS
7004 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7005 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7006 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7007 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_LIBI386 1
7009 _ACEOF
7011 LIBS="-li386 $LIBS"
7016 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7017 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7018 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 else
7021 ac_check_lib_save_LIBS=$LIBS
7022 LIBS="-lossaudio $LIBS"
7023 cat >conftest.$ac_ext <<_ACEOF
7024 /* confdefs.h. */
7025 _ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7030 /* Override any GCC internal prototype to avoid an error.
7031 Use char because int might match the return type of a GCC
7032 builtin and then its argument prototype would still apply. */
7033 #ifdef __cplusplus
7034 extern "C"
7035 #endif
7036 char _oss_ioctl ();
7038 main ()
7040 return _oss_ioctl ();
7042 return 0;
7044 _ACEOF
7045 rm -f conftest.$ac_objext conftest$ac_exeext
7046 if { (ac_try="$ac_link"
7047 case "(($ac_try" in
7048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7049 *) ac_try_echo=$ac_try;;
7050 esac
7051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7052 (eval "$ac_link") 2>conftest.er1
7053 ac_status=$?
7054 grep -v '^ *+' conftest.er1 >conftest.err
7055 rm -f conftest.er1
7056 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7060 { (case "(($ac_try" in
7061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7062 *) ac_try_echo=$ac_try;;
7063 esac
7064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7065 (eval "$ac_try") 2>&5
7066 ac_status=$?
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try='test -s conftest$ac_exeext'
7070 { (case "(($ac_try" in
7071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7072 *) ac_try_echo=$ac_try;;
7073 esac
7074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7075 (eval "$ac_try") 2>&5
7076 ac_status=$?
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7079 ac_cv_lib_ossaudio__oss_ioctl=yes
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_cv_lib_ossaudio__oss_ioctl=no
7087 rm -f core conftest.err conftest.$ac_objext \
7088 conftest$ac_exeext conftest.$ac_ext
7089 LIBS=$ac_check_lib_save_LIBS
7091 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7092 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7093 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define HAVE_LIBOSSAUDIO 1
7096 _ACEOF
7098 LIBS="-lossaudio $LIBS"
7103 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7104 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7105 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 else
7108 ac_check_lib_save_LIBS=$LIBS
7109 LIBS="-lxpg4 $LIBS"
7110 cat >conftest.$ac_ext <<_ACEOF
7111 /* confdefs.h. */
7112 _ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7117 /* Override any GCC internal prototype to avoid an error.
7118 Use char because int might match the return type of a GCC
7119 builtin and then its argument prototype would still apply. */
7120 #ifdef __cplusplus
7121 extern "C"
7122 #endif
7123 char _xpg4_setrunelocale ();
7125 main ()
7127 return _xpg4_setrunelocale ();
7129 return 0;
7131 _ACEOF
7132 rm -f conftest.$ac_objext conftest$ac_exeext
7133 if { (ac_try="$ac_link"
7134 case "(($ac_try" in
7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7136 *) ac_try_echo=$ac_try;;
7137 esac
7138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7139 (eval "$ac_link") 2>conftest.er1
7140 ac_status=$?
7141 grep -v '^ *+' conftest.er1 >conftest.err
7142 rm -f conftest.er1
7143 cat conftest.err >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } &&
7146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7147 { (case "(($ac_try" in
7148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7149 *) ac_try_echo=$ac_try;;
7150 esac
7151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7152 (eval "$ac_try") 2>&5
7153 ac_status=$?
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest$ac_exeext'
7157 { (case "(($ac_try" in
7158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7159 *) ac_try_echo=$ac_try;;
7160 esac
7161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7162 (eval "$ac_try") 2>&5
7163 ac_status=$?
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; }; then
7166 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7167 else
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.$ac_ext >&5
7171 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7174 rm -f core conftest.err conftest.$ac_objext \
7175 conftest$ac_exeext conftest.$ac_ext
7176 LIBS=$ac_check_lib_save_LIBS
7178 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7179 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7180 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7181 cat >>confdefs.h <<_ACEOF
7182 #define HAVE_LIBXPG4 1
7183 _ACEOF
7185 LIBS="-lxpg4 $LIBS"
7189 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7190 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7191 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 else
7194 ac_check_lib_save_LIBS=$LIBS
7195 LIBS="-lpthread $LIBS"
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. */
7203 /* Override any GCC internal prototype to avoid an error.
7204 Use char because int might match the return type of a GCC
7205 builtin and then its argument prototype would still apply. */
7206 #ifdef __cplusplus
7207 extern "C"
7208 #endif
7209 char pthread_create ();
7211 main ()
7213 return pthread_create ();
7215 return 0;
7217 _ACEOF
7218 rm -f conftest.$ac_objext conftest$ac_exeext
7219 if { (ac_try="$ac_link"
7220 case "(($ac_try" in
7221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7222 *) ac_try_echo=$ac_try;;
7223 esac
7224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7225 (eval "$ac_link") 2>conftest.er1
7226 ac_status=$?
7227 grep -v '^ *+' conftest.er1 >conftest.err
7228 rm -f conftest.er1
7229 cat conftest.err >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); } &&
7232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7233 { (case "(($ac_try" in
7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7236 esac
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_try") 2>&5
7239 ac_status=$?
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try='test -s conftest$ac_exeext'
7243 { (case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7246 esac
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_try") 2>&5
7249 ac_status=$?
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); }; }; then
7252 ac_cv_lib_pthread_pthread_create=yes
7253 else
7254 echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.$ac_ext >&5
7257 ac_cv_lib_pthread_pthread_create=no
7260 rm -f core conftest.err conftest.$ac_objext \
7261 conftest$ac_exeext conftest.$ac_ext
7262 LIBS=$ac_check_lib_save_LIBS
7264 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7265 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7266 if test $ac_cv_lib_pthread_pthread_create = yes; then
7267 LIBPTHREAD="-lpthread"
7272 XLIB=""
7274 XFILES=""
7276 OPENGLFILES=""
7278 GLU32FILES=""
7280 OPENGL_LIBS=""
7282 QUARTZFILES=""
7286 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7287 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7288 if test "${ac_cv_header_stdc+set}" = set; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 else
7291 cat >conftest.$ac_ext <<_ACEOF
7292 /* confdefs.h. */
7293 _ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <stdlib.h>
7298 #include <stdarg.h>
7299 #include <string.h>
7300 #include <float.h>
7303 main ()
7307 return 0;
7309 _ACEOF
7310 rm -f conftest.$ac_objext
7311 if { (ac_try="$ac_compile"
7312 case "(($ac_try" in
7313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7314 *) ac_try_echo=$ac_try;;
7315 esac
7316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7317 (eval "$ac_compile") 2>conftest.er1
7318 ac_status=$?
7319 grep -v '^ *+' conftest.er1 >conftest.err
7320 rm -f conftest.er1
7321 cat conftest.err >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7325 { (case "(($ac_try" in
7326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7327 *) ac_try_echo=$ac_try;;
7328 esac
7329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7330 (eval "$ac_try") 2>&5
7331 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; } &&
7334 { ac_try='test -s conftest.$ac_objext'
7335 { (case "(($ac_try" in
7336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7337 *) ac_try_echo=$ac_try;;
7338 esac
7339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7340 (eval "$ac_try") 2>&5
7341 ac_status=$?
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; }; then
7344 ac_cv_header_stdc=yes
7345 else
7346 echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.$ac_ext >&5
7349 ac_cv_header_stdc=no
7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7354 if test $ac_cv_header_stdc = yes; then
7355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7356 cat >conftest.$ac_ext <<_ACEOF
7357 /* confdefs.h. */
7358 _ACEOF
7359 cat confdefs.h >>conftest.$ac_ext
7360 cat >>conftest.$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <string.h>
7364 _ACEOF
7365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7366 $EGREP "memchr" >/dev/null 2>&1; then
7368 else
7369 ac_cv_header_stdc=no
7371 rm -f conftest*
7375 if test $ac_cv_header_stdc = yes; then
7376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7377 cat >conftest.$ac_ext <<_ACEOF
7378 /* confdefs.h. */
7379 _ACEOF
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7383 #include <stdlib.h>
7385 _ACEOF
7386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7387 $EGREP "free" >/dev/null 2>&1; then
7389 else
7390 ac_cv_header_stdc=no
7392 rm -f conftest*
7396 if test $ac_cv_header_stdc = yes; then
7397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7398 if test "$cross_compiling" = yes; then
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 #include <ctype.h>
7408 #include <stdlib.h>
7409 #if ((' ' & 0x0FF) == 0x020)
7410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7412 #else
7413 # define ISLOWER(c) \
7414 (('a' <= (c) && (c) <= 'i') \
7415 || ('j' <= (c) && (c) <= 'r') \
7416 || ('s' <= (c) && (c) <= 'z'))
7417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7418 #endif
7420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422 main ()
7424 int i;
7425 for (i = 0; i < 256; i++)
7426 if (XOR (islower (i), ISLOWER (i))
7427 || toupper (i) != TOUPPER (i))
7428 return 2;
7429 return 0;
7431 _ACEOF
7432 rm -f conftest$ac_exeext
7433 if { (ac_try="$ac_link"
7434 case "(($ac_try" in
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7437 esac
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_link") 2>&5
7440 ac_status=$?
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7443 { (case "(($ac_try" in
7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7445 *) ac_try_echo=$ac_try;;
7446 esac
7447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7448 (eval "$ac_try") 2>&5
7449 ac_status=$?
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); }; }; then
7453 else
7454 echo "$as_me: program exited with status $ac_status" >&5
7455 echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7458 ( exit $ac_status )
7459 ac_cv_header_stdc=no
7461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7467 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7468 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7469 if test $ac_cv_header_stdc = yes; then
7471 cat >>confdefs.h <<\_ACEOF
7472 #define STDC_HEADERS 1
7473 _ACEOF
7477 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7487 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7488 inttypes.h stdint.h unistd.h
7490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 else
7496 cat >conftest.$ac_ext <<_ACEOF
7497 /* confdefs.h. */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 $ac_includes_default
7504 #include <$ac_header>
7505 _ACEOF
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7508 case "(($ac_try" in
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7511 esac
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7521 { (case "(($ac_try" in
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523 *) ac_try_echo=$ac_try;;
7524 esac
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526 (eval "$ac_try") 2>&5
7527 ac_status=$?
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; } &&
7530 { ac_try='test -s conftest.$ac_objext'
7531 { (case "(($ac_try" in
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7534 esac
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_try") 2>&5
7537 ac_status=$?
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; }; then
7540 eval "$as_ac_Header=yes"
7541 else
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 eval "$as_ac_Header=no"
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 ac_res=`eval echo '${'$as_ac_Header'}'`
7551 { echo "$as_me:$LINENO: result: $ac_res" >&5
7552 echo "${ECHO_T}$ac_res" >&6; }
7553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7554 cat >>confdefs.h <<_ACEOF
7555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7556 _ACEOF
7560 done
7670 for ac_header in \
7671 AudioUnit/AudioUnit.h \
7672 Carbon/Carbon.h \
7673 CoreAudio/CoreAudio.h \
7674 IOKit/IOKitLib.h \
7675 alsa/asoundlib.h \
7676 arpa/inet.h \
7677 arpa/nameser.h \
7678 asm/types.h \
7679 capi20.h \
7680 cups/cups.h \
7681 curses.h \
7682 direct.h \
7683 dlfcn.h \
7684 elf.h \
7685 float.h \
7686 fontconfig/fontconfig.h \
7687 getopt.h \
7688 ieeefp.h \
7689 io.h \
7690 jack/jack.h \
7691 jpeglib.h \
7692 lber.h \
7693 lcms.h \
7694 lcms/lcms.h \
7695 ldap.h \
7696 libaudioio.h \
7697 link.h \
7698 linux/cdrom.h \
7699 linux/compiler.h \
7700 linux/hdreg.h \
7701 linux/input.h \
7702 linux/ioctl.h \
7703 linux/joystick.h \
7704 linux/major.h \
7705 linux/param.h \
7706 linux/serial.h \
7707 linux/ucdrom.h \
7708 mach/machine.h \
7709 machine/cpu.h \
7710 machine/limits.h \
7711 machine/soundcard.h \
7712 mntent.h \
7713 ncurses.h \
7714 netdb.h \
7715 netinet/in.h \
7716 netinet/in_systm.h \
7717 netinet/tcp.h \
7718 netinet/tcp_fsm.h \
7719 openssl/err.h \
7720 openssl/ssl.h \
7721 poll.h \
7722 process.h \
7723 pthread.h \
7724 pwd.h \
7725 regex.h \
7726 sched.h \
7727 scsi/scsi.h \
7728 scsi/scsi_ioctl.h \
7729 scsi/sg.h \
7730 soundcard.h \
7731 stdint.h \
7732 strings.h \
7733 sys/asoundlib.h \
7734 sys/cdio.h \
7735 sys/elf32.h \
7736 sys/epoll.h \
7737 sys/errno.h \
7738 sys/event.h \
7739 sys/exec_elf.h \
7740 sys/filio.h \
7741 sys/ioctl.h \
7742 sys/ipc.h \
7743 sys/limits.h \
7744 sys/link.h \
7745 sys/lwp.h \
7746 sys/mman.h \
7747 sys/modem.h \
7748 sys/msg.h \
7749 sys/mtio.h \
7750 sys/param.h \
7751 sys/poll.h \
7752 sys/prctl.h \
7753 sys/ptrace.h \
7754 sys/reg.h \
7755 sys/resource.h \
7756 sys/scsiio.h \
7757 sys/shm.h \
7758 sys/signal.h \
7759 sys/socket.h \
7760 sys/sockio.h \
7761 sys/soundcard.h \
7762 sys/statvfs.h \
7763 sys/strtio.h \
7764 sys/syscall.h \
7765 sys/sysctl.h \
7766 sys/time.h \
7767 sys/times.h \
7768 sys/uio.h \
7769 sys/un.h \
7770 sys/vm86.h \
7771 sys/wait.h \
7772 syscall.h \
7773 termios.h \
7774 unicode/ubidi.h \
7775 unistd.h \
7776 utime.h \
7777 valgrind/memcheck.h
7780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 ac_res=`eval echo '${'$as_ac_Header'}'`
7788 { echo "$as_me:$LINENO: result: $ac_res" >&5
7789 echo "${ECHO_T}$ac_res" >&6; }
7790 else
7791 # Is the header compilable?
7792 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7794 cat >conftest.$ac_ext <<_ACEOF
7795 /* confdefs.h. */
7796 _ACEOF
7797 cat confdefs.h >>conftest.$ac_ext
7798 cat >>conftest.$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7800 $ac_includes_default
7801 #include <$ac_header>
7802 _ACEOF
7803 rm -f conftest.$ac_objext
7804 if { (ac_try="$ac_compile"
7805 case "(($ac_try" in
7806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7807 *) ac_try_echo=$ac_try;;
7808 esac
7809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7810 (eval "$ac_compile") 2>conftest.er1
7811 ac_status=$?
7812 grep -v '^ *+' conftest.er1 >conftest.err
7813 rm -f conftest.er1
7814 cat conftest.err >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7818 { (case "(($ac_try" in
7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7820 *) ac_try_echo=$ac_try;;
7821 esac
7822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7823 (eval "$ac_try") 2>&5
7824 ac_status=$?
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } &&
7827 { ac_try='test -s conftest.$ac_objext'
7828 { (case "(($ac_try" in
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7831 esac
7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7833 (eval "$ac_try") 2>&5
7834 ac_status=$?
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7837 ac_header_compiler=yes
7838 else
7839 echo "$as_me: failed program was:" >&5
7840 sed 's/^/| /' conftest.$ac_ext >&5
7842 ac_header_compiler=no
7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7846 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7847 echo "${ECHO_T}$ac_header_compiler" >&6; }
7849 # Is the header present?
7850 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7852 cat >conftest.$ac_ext <<_ACEOF
7853 /* confdefs.h. */
7854 _ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h. */
7858 #include <$ac_header>
7859 _ACEOF
7860 if { (ac_try="$ac_cpp conftest.$ac_ext"
7861 case "(($ac_try" in
7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7864 esac
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7867 ac_status=$?
7868 grep -v '^ *+' conftest.er1 >conftest.err
7869 rm -f conftest.er1
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } >/dev/null; then
7873 if test -s conftest.err; then
7874 ac_cpp_err=$ac_c_preproc_warn_flag
7875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7876 else
7877 ac_cpp_err=
7879 else
7880 ac_cpp_err=yes
7882 if test -z "$ac_cpp_err"; then
7883 ac_header_preproc=yes
7884 else
7885 echo "$as_me: failed program was:" >&5
7886 sed 's/^/| /' conftest.$ac_ext >&5
7888 ac_header_preproc=no
7891 rm -f conftest.err conftest.$ac_ext
7892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7893 echo "${ECHO_T}$ac_header_preproc" >&6; }
7895 # So? What about this header?
7896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7897 yes:no: )
7898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7902 ac_header_preproc=yes
7904 no:yes:* )
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7917 ( cat <<\_ASBOX
7918 ## ------------------------------------ ##
7919 ## Report this to wine-devel@winehq.org ##
7920 ## ------------------------------------ ##
7921 _ASBOX
7922 ) | sed "s/^/$as_me: WARNING: /" >&2
7924 esac
7925 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 else
7930 eval "$as_ac_Header=\$ac_header_preproc"
7932 ac_res=`eval echo '${'$as_ac_Header'}'`
7933 { echo "$as_me:$LINENO: result: $ac_res" >&5
7934 echo "${ECHO_T}$ac_res" >&6; }
7937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7938 cat >>confdefs.h <<_ACEOF
7939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 _ACEOF
7944 done
7946 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7947 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7948 if test "${ac_cv_header_stat_broken+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 else
7951 cat >conftest.$ac_ext <<_ACEOF
7952 /* confdefs.h. */
7953 _ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7957 #include <sys/types.h>
7958 #include <sys/stat.h>
7960 #if defined S_ISBLK && defined S_IFDIR
7961 # if S_ISBLK (S_IFDIR)
7962 You lose.
7963 # endif
7964 #endif
7966 #if defined S_ISBLK && defined S_IFCHR
7967 # if S_ISBLK (S_IFCHR)
7968 You lose.
7969 # endif
7970 #endif
7972 #if defined S_ISLNK && defined S_IFREG
7973 # if S_ISLNK (S_IFREG)
7974 You lose.
7975 # endif
7976 #endif
7978 #if defined S_ISSOCK && defined S_IFREG
7979 # if S_ISSOCK (S_IFREG)
7980 You lose.
7981 # endif
7982 #endif
7984 _ACEOF
7985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7986 $EGREP "You lose" >/dev/null 2>&1; then
7987 ac_cv_header_stat_broken=yes
7988 else
7989 ac_cv_header_stat_broken=no
7991 rm -f conftest*
7994 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7995 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7996 if test $ac_cv_header_stat_broken = yes; then
7998 cat >>confdefs.h <<\_ACEOF
7999 #define STAT_MACROS_BROKEN 1
8000 _ACEOF
8010 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8017 else
8018 cat >conftest.$ac_ext <<_ACEOF
8019 /* confdefs.h. */
8020 _ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 #include <sys/types.h>
8025 #if HAVE_SYS_PARAM_H
8026 # include <sys/param.h>
8027 #endif
8029 #include <$ac_header>
8030 _ACEOF
8031 rm -f conftest.$ac_objext
8032 if { (ac_try="$ac_compile"
8033 case "(($ac_try" in
8034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8035 *) ac_try_echo=$ac_try;;
8036 esac
8037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8038 (eval "$ac_compile") 2>conftest.er1
8039 ac_status=$?
8040 grep -v '^ *+' conftest.er1 >conftest.err
8041 rm -f conftest.er1
8042 cat conftest.err >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); } &&
8045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8046 { (case "(($ac_try" in
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8049 esac
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_try") 2>&5
8052 ac_status=$?
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest.$ac_objext'
8056 { (case "(($ac_try" in
8057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8058 *) ac_try_echo=$ac_try;;
8059 esac
8060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8061 (eval "$ac_try") 2>&5
8062 ac_status=$?
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8065 eval "$as_ac_Header=yes"
8066 else
8067 echo "$as_me: failed program was:" >&5
8068 sed 's/^/| /' conftest.$ac_ext >&5
8070 eval "$as_ac_Header=no"
8073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8075 ac_res=`eval echo '${'$as_ac_Header'}'`
8076 { echo "$as_me:$LINENO: result: $ac_res" >&5
8077 echo "${ECHO_T}$ac_res" >&6; }
8078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8079 cat >>confdefs.h <<_ACEOF
8080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8081 _ACEOF
8085 done
8094 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
8096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8101 else
8102 cat >conftest.$ac_ext <<_ACEOF
8103 /* confdefs.h. */
8104 _ACEOF
8105 cat confdefs.h >>conftest.$ac_ext
8106 cat >>conftest.$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 #include <sys/types.h>
8109 #if HAVE_SYS_SOCKET_H
8110 # include <sys/socket.h>
8111 #endif
8113 #include <$ac_header>
8114 _ACEOF
8115 rm -f conftest.$ac_objext
8116 if { (ac_try="$ac_compile"
8117 case "(($ac_try" in
8118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8119 *) ac_try_echo=$ac_try;;
8120 esac
8121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8122 (eval "$ac_compile") 2>conftest.er1
8123 ac_status=$?
8124 grep -v '^ *+' conftest.er1 >conftest.err
8125 rm -f conftest.er1
8126 cat conftest.err >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); } &&
8129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8130 { (case "(($ac_try" in
8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8132 *) ac_try_echo=$ac_try;;
8133 esac
8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8135 (eval "$ac_try") 2>&5
8136 ac_status=$?
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try='test -s conftest.$ac_objext'
8140 { (case "(($ac_try" in
8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8142 *) ac_try_echo=$ac_try;;
8143 esac
8144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8145 (eval "$ac_try") 2>&5
8146 ac_status=$?
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then
8149 eval "$as_ac_Header=yes"
8150 else
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.$ac_ext >&5
8154 eval "$as_ac_Header=no"
8157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8159 ac_res=`eval echo '${'$as_ac_Header'}'`
8160 { echo "$as_me:$LINENO: result: $ac_res" >&5
8161 echo "${ECHO_T}$ac_res" >&6; }
8162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8163 cat >>confdefs.h <<_ACEOF
8164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8165 _ACEOF
8169 done
8173 for ac_header in linux/ipx.h
8175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 else
8181 cat >conftest.$ac_ext <<_ACEOF
8182 /* confdefs.h. */
8183 _ACEOF
8184 cat confdefs.h >>conftest.$ac_ext
8185 cat >>conftest.$ac_ext <<_ACEOF
8186 /* end confdefs.h. */
8187 #include <sys/types.h>
8188 #ifdef HAVE_ASM_TYPES_H
8189 # include <asm/types.h>
8190 #endif
8191 #if HAVE_SYS_SOCKET_H
8192 # include <sys/socket.h>
8193 #endif
8195 #include <$ac_header>
8196 _ACEOF
8197 rm -f conftest.$ac_objext
8198 if { (ac_try="$ac_compile"
8199 case "(($ac_try" in
8200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8201 *) ac_try_echo=$ac_try;;
8202 esac
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_compile") 2>conftest.er1
8205 ac_status=$?
8206 grep -v '^ *+' conftest.er1 >conftest.err
8207 rm -f conftest.er1
8208 cat conftest.err >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } &&
8211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8212 { (case "(($ac_try" in
8213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8214 *) ac_try_echo=$ac_try;;
8215 esac
8216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8217 (eval "$ac_try") 2>&5
8218 ac_status=$?
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; } &&
8221 { ac_try='test -s conftest.$ac_objext'
8222 { (case "(($ac_try" in
8223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8224 *) ac_try_echo=$ac_try;;
8225 esac
8226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8227 (eval "$ac_try") 2>&5
8228 ac_status=$?
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; }; then
8231 eval "$as_ac_Header=yes"
8232 else
8233 echo "$as_me: failed program was:" >&5
8234 sed 's/^/| /' conftest.$ac_ext >&5
8236 eval "$as_ac_Header=no"
8239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8241 ac_res=`eval echo '${'$as_ac_Header'}'`
8242 { echo "$as_me:$LINENO: result: $ac_res" >&5
8243 echo "${ECHO_T}$ac_res" >&6; }
8244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8245 cat >>confdefs.h <<_ACEOF
8246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8247 _ACEOF
8251 done
8255 for ac_header in resolv.h
8257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 else
8263 cat >conftest.$ac_ext <<_ACEOF
8264 /* confdefs.h. */
8265 _ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 #include <sys/types.h>
8270 #if HAVE_SYS_SOCKET_H
8271 # include <sys/socket.h>
8272 #endif
8273 #if HAVE_NETINET_IN_H
8274 # include <netinet/in.h>
8275 #endif
8276 #if HAVE_ARPA_NAMESER_H
8277 # include <arpa/nameser.h>
8278 #endif
8280 #include <$ac_header>
8281 _ACEOF
8282 rm -f conftest.$ac_objext
8283 if { (ac_try="$ac_compile"
8284 case "(($ac_try" in
8285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8286 *) ac_try_echo=$ac_try;;
8287 esac
8288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8289 (eval "$ac_compile") 2>conftest.er1
8290 ac_status=$?
8291 grep -v '^ *+' conftest.er1 >conftest.err
8292 rm -f conftest.er1
8293 cat conftest.err >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } &&
8296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8297 { (case "(($ac_try" in
8298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8299 *) ac_try_echo=$ac_try;;
8300 esac
8301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8302 (eval "$ac_try") 2>&5
8303 ac_status=$?
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; } &&
8306 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
8316 eval "$as_ac_Header=yes"
8317 else
8318 echo "$as_me: failed program was:" >&5
8319 sed 's/^/| /' conftest.$ac_ext >&5
8321 eval "$as_ac_Header=no"
8324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8326 ac_res=`eval echo '${'$as_ac_Header'}'`
8327 { echo "$as_me:$LINENO: result: $ac_res" >&5
8328 echo "${ECHO_T}$ac_res" >&6; }
8329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8330 cat >>confdefs.h <<_ACEOF
8331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8332 _ACEOF
8336 done
8340 for ac_header in ucontext.h
8342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8343 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 else
8348 cat >conftest.$ac_ext <<_ACEOF
8349 /* confdefs.h. */
8350 _ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354 #include <signal.h>
8356 #include <$ac_header>
8357 _ACEOF
8358 rm -f conftest.$ac_objext
8359 if { (ac_try="$ac_compile"
8360 case "(($ac_try" in
8361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8362 *) ac_try_echo=$ac_try;;
8363 esac
8364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8365 (eval "$ac_compile") 2>conftest.er1
8366 ac_status=$?
8367 grep -v '^ *+' conftest.er1 >conftest.err
8368 rm -f conftest.er1
8369 cat conftest.err >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } &&
8372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8373 { (case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8376 esac
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_try") 2>&5
8379 ac_status=$?
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; } &&
8382 { ac_try='test -s conftest.$ac_objext'
8383 { (case "(($ac_try" in
8384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8385 *) ac_try_echo=$ac_try;;
8386 esac
8387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8388 (eval "$ac_try") 2>&5
8389 ac_status=$?
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); }; }; then
8392 eval "$as_ac_Header=yes"
8393 else
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 eval "$as_ac_Header=no"
8400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8402 ac_res=`eval echo '${'$as_ac_Header'}'`
8403 { echo "$as_me:$LINENO: result: $ac_res" >&5
8404 echo "${ECHO_T}$ac_res" >&6; }
8405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8406 cat >>confdefs.h <<_ACEOF
8407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8408 _ACEOF
8412 done
8416 for ac_header in pthread_np.h
8418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 else
8424 cat >conftest.$ac_ext <<_ACEOF
8425 /* confdefs.h. */
8426 _ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8430 #ifdef HAVE_PTHREAD_H
8431 #include <pthread.h>
8432 #endif
8434 #include <$ac_header>
8435 _ACEOF
8436 rm -f conftest.$ac_objext
8437 if { (ac_try="$ac_compile"
8438 case "(($ac_try" in
8439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8440 *) ac_try_echo=$ac_try;;
8441 esac
8442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8443 (eval "$ac_compile") 2>conftest.er1
8444 ac_status=$?
8445 grep -v '^ *+' conftest.er1 >conftest.err
8446 rm -f conftest.er1
8447 cat conftest.err >&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); } &&
8450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8451 { (case "(($ac_try" in
8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8453 *) ac_try_echo=$ac_try;;
8454 esac
8455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8456 (eval "$ac_try") 2>&5
8457 ac_status=$?
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; } &&
8460 { ac_try='test -s conftest.$ac_objext'
8461 { (case "(($ac_try" in
8462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8464 esac
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_try") 2>&5
8467 ac_status=$?
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 eval "$as_ac_Header=yes"
8471 else
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.$ac_ext >&5
8475 eval "$as_ac_Header=no"
8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480 ac_res=`eval echo '${'$as_ac_Header'}'`
8481 { echo "$as_me:$LINENO: result: $ac_res" >&5
8482 echo "${ECHO_T}$ac_res" >&6; }
8483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8484 cat >>confdefs.h <<_ACEOF
8485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8486 _ACEOF
8490 done
8494 for ac_header in linux/videodev.h
8496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 else
8502 cat >conftest.$ac_ext <<_ACEOF
8503 /* confdefs.h. */
8504 _ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 #ifdef HAVE_SYS_TIME_H
8509 #include <sys/time.h>
8510 #endif
8511 #include <sys/types.h>
8512 #ifdef HAVE_ASM_TYPES_H
8513 #include <asm/types.h>
8514 #endif
8516 #include <$ac_header>
8517 _ACEOF
8518 rm -f conftest.$ac_objext
8519 if { (ac_try="$ac_compile"
8520 case "(($ac_try" in
8521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8522 *) ac_try_echo=$ac_try;;
8523 esac
8524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8525 (eval "$ac_compile") 2>conftest.er1
8526 ac_status=$?
8527 grep -v '^ *+' conftest.er1 >conftest.err
8528 rm -f conftest.er1
8529 cat conftest.err >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); } &&
8532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8533 { (case "(($ac_try" in
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8536 esac
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_try") 2>&5
8539 ac_status=$?
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
8552 eval "$as_ac_Header=yes"
8553 else
8554 echo "$as_me: failed program was:" >&5
8555 sed 's/^/| /' conftest.$ac_ext >&5
8557 eval "$as_ac_Header=no"
8560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 ac_res=`eval echo '${'$as_ac_Header'}'`
8563 { echo "$as_me:$LINENO: result: $ac_res" >&5
8564 echo "${ECHO_T}$ac_res" >&6; }
8565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8566 cat >>confdefs.h <<_ACEOF
8567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8568 _ACEOF
8572 done
8576 for ac_header in linux/capi.h
8578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 else
8584 cat >conftest.$ac_ext <<_ACEOF
8585 /* confdefs.h. */
8586 _ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8590 #define __user
8592 #include <$ac_header>
8593 _ACEOF
8594 rm -f conftest.$ac_objext
8595 if { (ac_try="$ac_compile"
8596 case "(($ac_try" in
8597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8599 esac
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_compile") 2>conftest.er1
8602 ac_status=$?
8603 grep -v '^ *+' conftest.er1 >conftest.err
8604 rm -f conftest.er1
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8609 { (case "(($ac_try" in
8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611 *) ac_try_echo=$ac_try;;
8612 esac
8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614 (eval "$ac_try") 2>&5
8615 ac_status=$?
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; } &&
8618 { ac_try='test -s conftest.$ac_objext'
8619 { (case "(($ac_try" in
8620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8621 *) ac_try_echo=$ac_try;;
8622 esac
8623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8624 (eval "$ac_try") 2>&5
8625 ac_status=$?
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; }; then
8628 eval "$as_ac_Header=yes"
8629 else
8630 echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.$ac_ext >&5
8633 eval "$as_ac_Header=no"
8636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8638 ac_res=`eval echo '${'$as_ac_Header'}'`
8639 { echo "$as_me:$LINENO: result: $ac_res" >&5
8640 echo "${ECHO_T}$ac_res" >&6; }
8641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8642 cat >>confdefs.h <<_ACEOF
8643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8644 _ACEOF
8648 done
8652 if test "$have_x" = "yes"
8653 then
8654 XLIB="-lXext -lX11"
8655 ac_save_CPPFLAGS="$CPPFLAGS"
8656 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8668 for ac_header in X11/Xlib.h \
8669 X11/XKBlib.h \
8670 X11/Xutil.h \
8671 X11/extensions/shape.h \
8672 X11/extensions/XInput.h \
8673 X11/extensions/XShm.h \
8674 X11/extensions/Xinerama.h \
8675 X11/extensions/Xrandr.h \
8676 X11/extensions/Xrender.h \
8677 X11/extensions/xf86vmode.h
8679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 else
8685 cat >conftest.$ac_ext <<_ACEOF
8686 /* confdefs.h. */
8687 _ACEOF
8688 cat confdefs.h >>conftest.$ac_ext
8689 cat >>conftest.$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8691 #ifdef HAVE_X11_XLIB_H
8692 # include <X11/Xlib.h>
8693 #endif
8694 #ifdef HAVE_X11_XUTIL_H
8695 # include <X11/Xutil.h>
8696 #endif
8698 #include <$ac_header>
8699 _ACEOF
8700 rm -f conftest.$ac_objext
8701 if { (ac_try="$ac_compile"
8702 case "(($ac_try" in
8703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8704 *) ac_try_echo=$ac_try;;
8705 esac
8706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8707 (eval "$ac_compile") 2>conftest.er1
8708 ac_status=$?
8709 grep -v '^ *+' conftest.er1 >conftest.err
8710 rm -f conftest.er1
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } &&
8714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8715 { (case "(($ac_try" in
8716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8717 *) ac_try_echo=$ac_try;;
8718 esac
8719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8720 (eval "$ac_try") 2>&5
8721 ac_status=$?
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; } &&
8724 { ac_try='test -s conftest.$ac_objext'
8725 { (case "(($ac_try" in
8726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8727 *) ac_try_echo=$ac_try;;
8728 esac
8729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8730 (eval "$ac_try") 2>&5
8731 ac_status=$?
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; }; then
8734 eval "$as_ac_Header=yes"
8735 else
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.$ac_ext >&5
8739 eval "$as_ac_Header=no"
8742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8744 ac_res=`eval echo '${'$as_ac_Header'}'`
8745 { echo "$as_me:$LINENO: result: $ac_res" >&5
8746 echo "${ECHO_T}$ac_res" >&6; }
8747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8748 cat >>confdefs.h <<_ACEOF
8749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8750 _ACEOF
8754 done
8757 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8758 then
8759 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8760 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8761 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8762 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 else
8764 ac_check_lib_save_LIBS=$LIBS
8765 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8766 cat >conftest.$ac_ext <<_ACEOF
8767 /* confdefs.h. */
8768 _ACEOF
8769 cat confdefs.h >>conftest.$ac_ext
8770 cat >>conftest.$ac_ext <<_ACEOF
8771 /* end confdefs.h. */
8773 /* Override any GCC internal prototype to avoid an error.
8774 Use char because int might match the return type of a GCC
8775 builtin and then its argument prototype would still apply. */
8776 #ifdef __cplusplus
8777 extern "C"
8778 #endif
8779 char XkbQueryExtension ();
8781 main ()
8783 return XkbQueryExtension ();
8785 return 0;
8787 _ACEOF
8788 rm -f conftest.$ac_objext conftest$ac_exeext
8789 if { (ac_try="$ac_link"
8790 case "(($ac_try" in
8791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8792 *) ac_try_echo=$ac_try;;
8793 esac
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795 (eval "$ac_link") 2>conftest.er1
8796 ac_status=$?
8797 grep -v '^ *+' conftest.er1 >conftest.err
8798 rm -f conftest.er1
8799 cat conftest.err >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8803 { (case "(($ac_try" in
8804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8805 *) ac_try_echo=$ac_try;;
8806 esac
8807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 (eval "$ac_try") 2>&5
8809 ac_status=$?
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }; } &&
8812 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
8819 ac_status=$?
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; }; then
8822 ac_cv_lib_X11_XkbQueryExtension=yes
8823 else
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.$ac_ext >&5
8827 ac_cv_lib_X11_XkbQueryExtension=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 LIBS=$ac_check_lib_save_LIBS
8834 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8835 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8836 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8838 cat >>confdefs.h <<\_ACEOF
8839 #define HAVE_XKB 1
8840 _ACEOF
8846 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8847 then
8848 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8849 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8850 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 else
8853 ac_check_lib_save_LIBS=$LIBS
8854 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8855 cat >conftest.$ac_ext <<_ACEOF
8856 /* confdefs.h. */
8857 _ACEOF
8858 cat confdefs.h >>conftest.$ac_ext
8859 cat >>conftest.$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8862 /* Override any GCC internal prototype to avoid an error.
8863 Use char because int might match the return type of a GCC
8864 builtin and then its argument prototype would still apply. */
8865 #ifdef __cplusplus
8866 extern "C"
8867 #endif
8868 char XShmQueryExtension ();
8870 main ()
8872 return XShmQueryExtension ();
8874 return 0;
8876 _ACEOF
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (ac_try="$ac_link"
8879 case "(($ac_try" in
8880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8881 *) ac_try_echo=$ac_try;;
8882 esac
8883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8884 (eval "$ac_link") 2>conftest.er1
8885 ac_status=$?
8886 grep -v '^ *+' conftest.er1 >conftest.err
8887 rm -f conftest.er1
8888 cat conftest.err >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); } &&
8891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8892 { (case "(($ac_try" in
8893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8894 *) ac_try_echo=$ac_try;;
8895 esac
8896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8897 (eval "$ac_try") 2>&5
8898 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; } &&
8901 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
8908 ac_status=$?
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_lib_Xext_XShmQueryExtension=yes
8912 else
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 ac_cv_lib_Xext_XShmQueryExtension=no
8919 rm -f core conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8921 LIBS=$ac_check_lib_save_LIBS
8923 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8924 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8925 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8927 cat >>confdefs.h <<\_ACEOF
8928 #define HAVE_LIBXXSHM 1
8929 _ACEOF
8935 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8936 then
8937 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8938 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8939 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8940 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 else
8942 ac_check_lib_save_LIBS=$LIBS
8943 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8944 cat >conftest.$ac_ext <<_ACEOF
8945 /* confdefs.h. */
8946 _ACEOF
8947 cat confdefs.h >>conftest.$ac_ext
8948 cat >>conftest.$ac_ext <<_ACEOF
8949 /* end confdefs.h. */
8951 /* Override any GCC internal prototype to avoid an error.
8952 Use char because int might match the return type of a GCC
8953 builtin and then its argument prototype would still apply. */
8954 #ifdef __cplusplus
8955 extern "C"
8956 #endif
8957 char XShapeQueryExtension ();
8959 main ()
8961 return XShapeQueryExtension ();
8963 return 0;
8965 _ACEOF
8966 rm -f conftest.$ac_objext conftest$ac_exeext
8967 if { (ac_try="$ac_link"
8968 case "(($ac_try" in
8969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8970 *) ac_try_echo=$ac_try;;
8971 esac
8972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8973 (eval "$ac_link") 2>conftest.er1
8974 ac_status=$?
8975 grep -v '^ *+' conftest.er1 >conftest.err
8976 rm -f conftest.er1
8977 cat conftest.err >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } &&
8980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8981 { (case "(($ac_try" in
8982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8983 *) ac_try_echo=$ac_try;;
8984 esac
8985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8986 (eval "$ac_try") 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
8997 ac_status=$?
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; }; then
9000 ac_cv_lib_Xext_XShapeQueryExtension=yes
9001 else
9002 echo "$as_me: failed program was:" >&5
9003 sed 's/^/| /' conftest.$ac_ext >&5
9005 ac_cv_lib_Xext_XShapeQueryExtension=no
9008 rm -f core conftest.err conftest.$ac_objext \
9009 conftest$ac_exeext conftest.$ac_ext
9010 LIBS=$ac_check_lib_save_LIBS
9012 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9013 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9014 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9016 cat >>confdefs.h <<\_ACEOF
9017 #define HAVE_LIBXSHAPE 1
9018 _ACEOF
9024 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9025 then
9026 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9027 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9028 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 else
9031 ac_check_lib_save_LIBS=$LIBS
9032 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9033 cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h. */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9043 #ifdef __cplusplus
9044 extern "C"
9045 #endif
9046 char XF86VidModeQueryExtension ();
9048 main ()
9050 return XF86VidModeQueryExtension ();
9052 return 0;
9054 _ACEOF
9055 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (ac_try="$ac_link"
9057 case "(($ac_try" in
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9060 esac
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_link") 2>conftest.er1
9063 ac_status=$?
9064 grep -v '^ *+' conftest.er1 >conftest.err
9065 rm -f conftest.er1
9066 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } &&
9069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9070 { (case "(($ac_try" in
9071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9072 *) ac_try_echo=$ac_try;;
9073 esac
9074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9075 (eval "$ac_try") 2>&5
9076 ac_status=$?
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; } &&
9079 { ac_try='test -s conftest$ac_exeext'
9080 { (case "(($ac_try" in
9081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9082 *) ac_try_echo=$ac_try;;
9083 esac
9084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9085 (eval "$ac_try") 2>&5
9086 ac_status=$?
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; }; then
9089 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9090 else
9091 echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.$ac_ext >&5
9094 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 LIBS=$ac_check_lib_save_LIBS
9101 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9102 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9103 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9105 cat >>confdefs.h <<\_ACEOF
9106 #define HAVE_LIBXXF86VM 1
9107 _ACEOF
9109 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9115 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9116 then
9117 cat >conftest.$ac_ext <<_ACEOF
9118 /* confdefs.h. */
9119 _ACEOF
9120 cat confdefs.h >>conftest.$ac_ext
9121 cat >>conftest.$ac_ext <<_ACEOF
9122 /* end confdefs.h. */
9123 #include <X11/Xlib.h>
9124 #include <X11/extensions/Xrandr.h>
9126 main ()
9128 static typeof(XRRSetScreenConfigAndRate) * func;
9130 return 0;
9132 _ACEOF
9133 rm -f conftest.$ac_objext
9134 if { (ac_try="$ac_compile"
9135 case "(($ac_try" in
9136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9137 *) ac_try_echo=$ac_try;;
9138 esac
9139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9140 (eval "$ac_compile") 2>conftest.er1
9141 ac_status=$?
9142 grep -v '^ *+' conftest.er1 >conftest.err
9143 rm -f conftest.er1
9144 cat conftest.err >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } &&
9147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9148 { (case "(($ac_try" in
9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9150 *) ac_try_echo=$ac_try;;
9151 esac
9152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9153 (eval "$ac_try") 2>&5
9154 ac_status=$?
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); }; } &&
9157 { ac_try='test -s conftest.$ac_objext'
9158 { (case "(($ac_try" in
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9161 esac
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_try") 2>&5
9164 ac_status=$?
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; }; then
9168 cat >>confdefs.h <<\_ACEOF
9169 #define HAVE_LIBXRANDR 1
9170 _ACEOF
9172 else
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.$ac_ext >&5
9179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9182 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9183 then
9184 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9185 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9186 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 else
9189 ac_check_lib_save_LIBS=$LIBS
9190 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9191 cat >conftest.$ac_ext <<_ACEOF
9192 /* confdefs.h. */
9193 _ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9201 #ifdef __cplusplus
9202 extern "C"
9203 #endif
9204 char XRenderSetPictureTransform ();
9206 main ()
9208 return XRenderSetPictureTransform ();
9210 return 0;
9212 _ACEOF
9213 rm -f conftest.$ac_objext conftest$ac_exeext
9214 if { (ac_try="$ac_link"
9215 case "(($ac_try" in
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9218 esac
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_link") 2>conftest.er1
9221 ac_status=$?
9222 grep -v '^ *+' conftest.er1 >conftest.err
9223 rm -f conftest.er1
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9228 { (case "(($ac_try" in
9229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9231 esac
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_try") 2>&5
9234 ac_status=$?
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; } &&
9237 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
9247 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9248 else
9249 echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.$ac_ext >&5
9252 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 LIBS=$ac_check_lib_save_LIBS
9259 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9260 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9261 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9263 cat >>confdefs.h <<\_ACEOF
9264 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9265 _ACEOF
9271 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9272 then
9273 cat >conftest.$ac_ext <<_ACEOF
9274 /* confdefs.h. */
9275 _ACEOF
9276 cat confdefs.h >>conftest.$ac_ext
9277 cat >>conftest.$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9279 #include <X11/Xlib.h>
9280 #include <X11/extensions/Xinerama.h>
9282 main ()
9284 static typeof(XineramaQueryScreens) * func;
9286 return 0;
9288 _ACEOF
9289 rm -f conftest.$ac_objext
9290 if { (ac_try="$ac_compile"
9291 case "(($ac_try" in
9292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9293 *) ac_try_echo=$ac_try;;
9294 esac
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_compile") 2>conftest.er1
9297 ac_status=$?
9298 grep -v '^ *+' conftest.er1 >conftest.err
9299 rm -f conftest.er1
9300 cat conftest.err >&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } &&
9303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9304 { (case "(($ac_try" in
9305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9307 esac
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_try") 2>&5
9310 ac_status=$?
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
9324 cat >>confdefs.h <<\_ACEOF
9325 #define HAVE_LIBXINERAMA 1
9326 _ACEOF
9328 else
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9339 if test "x$with_opengl" != "xno"
9340 then
9345 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 else
9353 cat >conftest.$ac_ext <<_ACEOF
9354 /* confdefs.h. */
9355 _ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 #ifdef HAVE_GL_GLX_H
9360 # include <GL/glx.h>
9361 #endif
9363 #include <$ac_header>
9364 _ACEOF
9365 rm -f conftest.$ac_objext
9366 if { (ac_try="$ac_compile"
9367 case "(($ac_try" in
9368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9369 *) ac_try_echo=$ac_try;;
9370 esac
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9372 (eval "$ac_compile") 2>conftest.er1
9373 ac_status=$?
9374 grep -v '^ *+' conftest.er1 >conftest.err
9375 rm -f conftest.er1
9376 cat conftest.err >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } &&
9379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9380 { (case "(($ac_try" in
9381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9382 *) ac_try_echo=$ac_try;;
9383 esac
9384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9385 (eval "$ac_try") 2>&5
9386 ac_status=$?
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; } &&
9389 { ac_try='test -s conftest.$ac_objext'
9390 { (case "(($ac_try" in
9391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9392 *) ac_try_echo=$ac_try;;
9393 esac
9394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9395 (eval "$ac_try") 2>&5
9396 ac_status=$?
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; }; then
9399 eval "$as_ac_Header=yes"
9400 else
9401 echo "$as_me: failed program was:" >&5
9402 sed 's/^/| /' conftest.$ac_ext >&5
9404 eval "$as_ac_Header=no"
9407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9409 ac_res=`eval echo '${'$as_ac_Header'}'`
9410 { echo "$as_me:$LINENO: result: $ac_res" >&5
9411 echo "${ECHO_T}$ac_res" >&6; }
9412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9413 cat >>confdefs.h <<_ACEOF
9414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9415 _ACEOF
9419 done
9421 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9422 then
9423 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9424 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9425 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 else
9428 cat >conftest.$ac_ext <<_ACEOF
9429 /* confdefs.h. */
9430 _ACEOF
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9434 #include <GL/gl.h>
9436 main ()
9438 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9440 return 0;
9442 _ACEOF
9443 rm -f conftest.$ac_objext
9444 if { (ac_try="$ac_compile"
9445 case "(($ac_try" in
9446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9447 *) ac_try_echo=$ac_try;;
9448 esac
9449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9450 (eval "$ac_compile") 2>conftest.er1
9451 ac_status=$?
9452 grep -v '^ *+' conftest.er1 >conftest.err
9453 rm -f conftest.er1
9454 cat conftest.err >&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } &&
9457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9458 { (case "(($ac_try" in
9459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9460 *) ac_try_echo=$ac_try;;
9461 esac
9462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9463 (eval "$ac_try") 2>&5
9464 ac_status=$?
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); }; } &&
9467 { ac_try='test -s conftest.$ac_objext'
9468 { (case "(($ac_try" in
9469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9470 *) ac_try_echo=$ac_try;;
9471 esac
9472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9473 (eval "$ac_try") 2>&5
9474 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; }; then
9477 wine_cv_opengl_header_version_OK="yes"
9478 else
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9482 wine_cv_opengl_header_version_OK="no"
9486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9489 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9490 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9492 if test "$wine_cv_opengl_header_version_OK" = "yes"
9493 then
9494 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9495 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9496 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9497 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 else
9499 ac_check_lib_save_LIBS=$LIBS
9500 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9501 cat >conftest.$ac_ext <<_ACEOF
9502 /* confdefs.h. */
9503 _ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 char glXCreateContext ();
9516 main ()
9518 return glXCreateContext ();
9520 return 0;
9522 _ACEOF
9523 rm -f conftest.$ac_objext conftest$ac_exeext
9524 if { (ac_try="$ac_link"
9525 case "(($ac_try" in
9526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9527 *) ac_try_echo=$ac_try;;
9528 esac
9529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9530 (eval "$ac_link") 2>conftest.er1
9531 ac_status=$?
9532 grep -v '^ *+' conftest.er1 >conftest.err
9533 rm -f conftest.er1
9534 cat conftest.err >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } &&
9537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9538 { (case "(($ac_try" in
9539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9540 *) ac_try_echo=$ac_try;;
9541 esac
9542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9543 (eval "$ac_try") 2>&5
9544 ac_status=$?
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try='test -s conftest$ac_exeext'
9548 { (case "(($ac_try" in
9549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9550 *) ac_try_echo=$ac_try;;
9551 esac
9552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9553 (eval "$ac_try") 2>&5
9554 ac_status=$?
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; }; then
9557 ac_cv_lib_GL_glXCreateContext=yes
9558 else
9559 echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.$ac_ext >&5
9562 ac_cv_lib_GL_glXCreateContext=no
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 LIBS=$ac_check_lib_save_LIBS
9569 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9570 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9571 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9572 OPENGL_LIBS="-lGL"
9573 OPENGLFILES='$(OPENGLFILES)'
9575 cat >>confdefs.h <<\_ACEOF
9576 #define HAVE_OPENGL 1
9577 _ACEOF
9583 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9584 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9585 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9587 else
9588 ac_check_lib_save_LIBS=$LIBS
9589 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9590 $LIBS"
9591 cat >conftest.$ac_ext <<_ACEOF
9592 /* confdefs.h. */
9593 _ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9601 #ifdef __cplusplus
9602 extern "C"
9603 #endif
9604 char gluLookAt ();
9606 main ()
9608 return gluLookAt ();
9610 return 0;
9612 _ACEOF
9613 rm -f conftest.$ac_objext conftest$ac_exeext
9614 if { (ac_try="$ac_link"
9615 case "(($ac_try" in
9616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9617 *) ac_try_echo=$ac_try;;
9618 esac
9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9620 (eval "$ac_link") 2>conftest.er1
9621 ac_status=$?
9622 grep -v '^ *+' conftest.er1 >conftest.err
9623 rm -f conftest.er1
9624 cat conftest.err >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } &&
9627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9628 { (case "(($ac_try" in
9629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9630 *) ac_try_echo=$ac_try;;
9631 esac
9632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9633 (eval "$ac_try") 2>&5
9634 ac_status=$?
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; } &&
9637 { ac_try='test -s conftest$ac_exeext'
9638 { (case "(($ac_try" in
9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9641 esac
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_try") 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9647 ac_cv_lib_GLU_gluLookAt=yes
9648 else
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.$ac_ext >&5
9652 ac_cv_lib_GLU_gluLookAt=no
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LIBS=$ac_check_lib_save_LIBS
9659 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9660 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9661 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9662 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9663 GLU32FILES='$(GLU32FILES)'
9669 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9670 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9671 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 else
9674 ac_check_lib_save_LIBS=$LIBS
9675 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9676 cat >conftest.$ac_ext <<_ACEOF
9677 /* confdefs.h. */
9678 _ACEOF
9679 cat confdefs.h >>conftest.$ac_ext
9680 cat >>conftest.$ac_ext <<_ACEOF
9681 /* end confdefs.h. */
9683 /* Override any GCC internal prototype to avoid an error.
9684 Use char because int might match the return type of a GCC
9685 builtin and then its argument prototype would still apply. */
9686 #ifdef __cplusplus
9687 extern "C"
9688 #endif
9689 char glutMainLoop ();
9691 main ()
9693 return glutMainLoop ();
9695 return 0;
9697 _ACEOF
9698 rm -f conftest.$ac_objext conftest$ac_exeext
9699 if { (ac_try="$ac_link"
9700 case "(($ac_try" in
9701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9702 *) ac_try_echo=$ac_try;;
9703 esac
9704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9705 (eval "$ac_link") 2>conftest.er1
9706 ac_status=$?
9707 grep -v '^ *+' conftest.er1 >conftest.err
9708 rm -f conftest.er1
9709 cat conftest.err >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } &&
9712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9713 { (case "(($ac_try" in
9714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715 *) ac_try_echo=$ac_try;;
9716 esac
9717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9718 (eval "$ac_try") 2>&5
9719 ac_status=$?
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; } &&
9722 { ac_try='test -s conftest$ac_exeext'
9723 { (case "(($ac_try" in
9724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9725 *) ac_try_echo=$ac_try;;
9726 esac
9727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9728 (eval "$ac_try") 2>&5
9729 ac_status=$?
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9732 ac_cv_lib_glut_glutMainLoop=yes
9733 else
9734 echo "$as_me: failed program was:" >&5
9735 sed 's/^/| /' conftest.$ac_ext >&5
9737 ac_cv_lib_glut_glutMainLoop=no
9740 rm -f core conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LIBS=$ac_check_lib_save_LIBS
9744 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9745 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9746 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9747 GLUT_LIBS="-lglut -lXmu -lXi"
9749 GLUT32FILES='$(GLUT32FILES)'
9753 else
9754 wine_cv_opengl_headers_found="no"
9757 NASLIBS=""
9760 for ac_header in audio/audiolib.h
9762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 ac_res=`eval echo '${'$as_ac_Header'}'`
9770 { echo "$as_me:$LINENO: result: $ac_res" >&5
9771 echo "${ECHO_T}$ac_res" >&6; }
9772 else
9773 # Is the header compilable?
9774 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9776 cat >conftest.$ac_ext <<_ACEOF
9777 /* confdefs.h. */
9778 _ACEOF
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9782 $ac_includes_default
9783 #include <$ac_header>
9784 _ACEOF
9785 rm -f conftest.$ac_objext
9786 if { (ac_try="$ac_compile"
9787 case "(($ac_try" in
9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9789 *) ac_try_echo=$ac_try;;
9790 esac
9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9792 (eval "$ac_compile") 2>conftest.er1
9793 ac_status=$?
9794 grep -v '^ *+' conftest.er1 >conftest.err
9795 rm -f conftest.er1
9796 cat conftest.err >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } &&
9799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9800 { (case "(($ac_try" in
9801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9802 *) ac_try_echo=$ac_try;;
9803 esac
9804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9805 (eval "$ac_try") 2>&5
9806 ac_status=$?
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; } &&
9809 { ac_try='test -s conftest.$ac_objext'
9810 { (case "(($ac_try" in
9811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9812 *) ac_try_echo=$ac_try;;
9813 esac
9814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9815 (eval "$ac_try") 2>&5
9816 ac_status=$?
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 ac_header_compiler=yes
9820 else
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.$ac_ext >&5
9824 ac_header_compiler=no
9827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9828 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9829 echo "${ECHO_T}$ac_header_compiler" >&6; }
9831 # Is the header present?
9832 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9834 cat >conftest.$ac_ext <<_ACEOF
9835 /* confdefs.h. */
9836 _ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9840 #include <$ac_header>
9841 _ACEOF
9842 if { (ac_try="$ac_cpp conftest.$ac_ext"
9843 case "(($ac_try" in
9844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845 *) ac_try_echo=$ac_try;;
9846 esac
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9849 ac_status=$?
9850 grep -v '^ *+' conftest.er1 >conftest.err
9851 rm -f conftest.er1
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } >/dev/null; then
9855 if test -s conftest.err; then
9856 ac_cpp_err=$ac_c_preproc_warn_flag
9857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9858 else
9859 ac_cpp_err=
9861 else
9862 ac_cpp_err=yes
9864 if test -z "$ac_cpp_err"; then
9865 ac_header_preproc=yes
9866 else
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9870 ac_header_preproc=no
9873 rm -f conftest.err conftest.$ac_ext
9874 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9875 echo "${ECHO_T}$ac_header_preproc" >&6; }
9877 # So? What about this header?
9878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9879 yes:no: )
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9884 ac_header_preproc=yes
9886 no:yes:* )
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9899 ( cat <<\_ASBOX
9900 ## ------------------------------------ ##
9901 ## Report this to wine-devel@winehq.org ##
9902 ## ------------------------------------ ##
9903 _ASBOX
9904 ) | sed "s/^/$as_me: WARNING: /" >&2
9906 esac
9907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 else
9912 eval "$as_ac_Header=\$ac_header_preproc"
9914 ac_res=`eval echo '${'$as_ac_Header'}'`
9915 { echo "$as_me:$LINENO: result: $ac_res" >&5
9916 echo "${ECHO_T}$ac_res" >&6; }
9919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9920 cat >>confdefs.h <<_ACEOF
9921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9922 _ACEOF
9924 for ac_header in audio/soundlib.h
9926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 else
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 #include <audio/audiolib.h>
9940 #include <$ac_header>
9941 _ACEOF
9942 rm -f conftest.$ac_objext
9943 if { (ac_try="$ac_compile"
9944 case "(($ac_try" in
9945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9946 *) ac_try_echo=$ac_try;;
9947 esac
9948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9949 (eval "$ac_compile") 2>conftest.er1
9950 ac_status=$?
9951 grep -v '^ *+' conftest.er1 >conftest.err
9952 rm -f conftest.er1
9953 cat conftest.err >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } &&
9956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9957 { (case "(($ac_try" in
9958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9959 *) ac_try_echo=$ac_try;;
9960 esac
9961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9962 (eval "$ac_try") 2>&5
9963 ac_status=$?
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; } &&
9966 { ac_try='test -s conftest.$ac_objext'
9967 { (case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9970 esac
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_try") 2>&5
9973 ac_status=$?
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; }; then
9976 eval "$as_ac_Header=yes"
9977 else
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9981 eval "$as_ac_Header=no"
9984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9986 ac_res=`eval echo '${'$as_ac_Header'}'`
9987 { echo "$as_me:$LINENO: result: $ac_res" >&5
9988 echo "${ECHO_T}$ac_res" >&6; }
9989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9990 cat >>confdefs.h <<_ACEOF
9991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9992 _ACEOF
9996 done
9998 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9999 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10000 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10002 else
10003 ac_check_lib_save_LIBS=$LIBS
10004 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10005 cat >conftest.$ac_ext <<_ACEOF
10006 /* confdefs.h. */
10007 _ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 char AuCreateFlow ();
10020 main ()
10022 return AuCreateFlow ();
10024 return 0;
10026 _ACEOF
10027 rm -f conftest.$ac_objext conftest$ac_exeext
10028 if { (ac_try="$ac_link"
10029 case "(($ac_try" in
10030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10031 *) ac_try_echo=$ac_try;;
10032 esac
10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10034 (eval "$ac_link") 2>conftest.er1
10035 ac_status=$?
10036 grep -v '^ *+' conftest.er1 >conftest.err
10037 rm -f conftest.er1
10038 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10042 { (case "(($ac_try" in
10043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10044 *) ac_try_echo=$ac_try;;
10045 esac
10046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10047 (eval "$ac_try") 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; } &&
10051 { ac_try='test -s conftest$ac_exeext'
10052 { (case "(($ac_try" in
10053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10054 *) ac_try_echo=$ac_try;;
10055 esac
10056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10057 (eval "$ac_try") 2>&5
10058 ac_status=$?
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_cv_lib_audio_AuCreateFlow=yes
10062 else
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.$ac_ext >&5
10066 ac_cv_lib_audio_AuCreateFlow=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 LIBS=$ac_check_lib_save_LIBS
10073 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10074 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10075 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10077 cat >>confdefs.h <<\_ACEOF
10078 #define HAVE_NAS 1
10079 _ACEOF
10081 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10086 done
10089 CPPFLAGS="$ac_save_CPPFLAGS"
10090 XFILES='$(XFILES)'
10091 else
10092 XLIB=""
10093 X_CFLAGS=""
10094 X_LIBS=""
10098 XML2LIBS=""
10100 XML2INCL=""
10102 XSLTLIBS=""
10104 XSLTINCL=""
10106 if test "$PKG_CONFIG" != "false"
10107 then
10108 ac_save_CPPFLAGS="$CPPFLAGS"
10109 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10110 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10111 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10113 for ac_header in libxml/parser.h
10115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 ac_res=`eval echo '${'$as_ac_Header'}'`
10123 { echo "$as_me:$LINENO: result: $ac_res" >&5
10124 echo "${ECHO_T}$ac_res" >&6; }
10125 else
10126 # Is the header compilable?
10127 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10129 cat >conftest.$ac_ext <<_ACEOF
10130 /* confdefs.h. */
10131 _ACEOF
10132 cat confdefs.h >>conftest.$ac_ext
10133 cat >>conftest.$ac_ext <<_ACEOF
10134 /* end confdefs.h. */
10135 $ac_includes_default
10136 #include <$ac_header>
10137 _ACEOF
10138 rm -f conftest.$ac_objext
10139 if { (ac_try="$ac_compile"
10140 case "(($ac_try" in
10141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10142 *) ac_try_echo=$ac_try;;
10143 esac
10144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10145 (eval "$ac_compile") 2>conftest.er1
10146 ac_status=$?
10147 grep -v '^ *+' conftest.er1 >conftest.err
10148 rm -f conftest.er1
10149 cat conftest.err >&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } &&
10152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10153 { (case "(($ac_try" in
10154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10155 *) ac_try_echo=$ac_try;;
10156 esac
10157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10158 (eval "$ac_try") 2>&5
10159 ac_status=$?
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; } &&
10162 { ac_try='test -s conftest.$ac_objext'
10163 { (case "(($ac_try" in
10164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10165 *) ac_try_echo=$ac_try;;
10166 esac
10167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10168 (eval "$ac_try") 2>&5
10169 ac_status=$?
10170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10171 (exit $ac_status); }; }; then
10172 ac_header_compiler=yes
10173 else
10174 echo "$as_me: failed program was:" >&5
10175 sed 's/^/| /' conftest.$ac_ext >&5
10177 ac_header_compiler=no
10180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10181 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10182 echo "${ECHO_T}$ac_header_compiler" >&6; }
10184 # Is the header present?
10185 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10187 cat >conftest.$ac_ext <<_ACEOF
10188 /* confdefs.h. */
10189 _ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10193 #include <$ac_header>
10194 _ACEOF
10195 if { (ac_try="$ac_cpp conftest.$ac_ext"
10196 case "(($ac_try" in
10197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10198 *) ac_try_echo=$ac_try;;
10199 esac
10200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10201 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10202 ac_status=$?
10203 grep -v '^ *+' conftest.er1 >conftest.err
10204 rm -f conftest.er1
10205 cat conftest.err >&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } >/dev/null; then
10208 if test -s conftest.err; then
10209 ac_cpp_err=$ac_c_preproc_warn_flag
10210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10211 else
10212 ac_cpp_err=
10214 else
10215 ac_cpp_err=yes
10217 if test -z "$ac_cpp_err"; then
10218 ac_header_preproc=yes
10219 else
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_header_preproc=no
10226 rm -f conftest.err conftest.$ac_ext
10227 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10228 echo "${ECHO_T}$ac_header_preproc" >&6; }
10230 # So? What about this header?
10231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10232 yes:no: )
10233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10237 ac_header_preproc=yes
10239 no:yes:* )
10240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10252 ( cat <<\_ASBOX
10253 ## ------------------------------------ ##
10254 ## Report this to wine-devel@winehq.org ##
10255 ## ------------------------------------ ##
10256 _ASBOX
10257 ) | sed "s/^/$as_me: WARNING: /" >&2
10259 esac
10260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 eval "$as_ac_Header=\$ac_header_preproc"
10267 ac_res=`eval echo '${'$as_ac_Header'}'`
10268 { echo "$as_me:$LINENO: result: $ac_res" >&5
10269 echo "${ECHO_T}$ac_res" >&6; }
10272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10273 cat >>confdefs.h <<_ACEOF
10274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10275 _ACEOF
10276 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10277 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10278 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 else
10281 ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-lxml2 $ac_xml_libs $LIBS"
10283 cat >conftest.$ac_ext <<_ACEOF
10284 /* confdefs.h. */
10285 _ACEOF
10286 cat confdefs.h >>conftest.$ac_ext
10287 cat >>conftest.$ac_ext <<_ACEOF
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 char xmlParseMemory ();
10298 main ()
10300 return xmlParseMemory ();
10302 return 0;
10304 _ACEOF
10305 rm -f conftest.$ac_objext conftest$ac_exeext
10306 if { (ac_try="$ac_link"
10307 case "(($ac_try" in
10308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10309 *) ac_try_echo=$ac_try;;
10310 esac
10311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10312 (eval "$ac_link") 2>conftest.er1
10313 ac_status=$?
10314 grep -v '^ *+' conftest.er1 >conftest.err
10315 rm -f conftest.er1
10316 cat conftest.err >&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } &&
10319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10320 { (case "(($ac_try" in
10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10322 *) ac_try_echo=$ac_try;;
10323 esac
10324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10325 (eval "$ac_try") 2>&5
10326 ac_status=$?
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try='test -s conftest$ac_exeext'
10330 { (case "(($ac_try" in
10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10332 *) ac_try_echo=$ac_try;;
10333 esac
10334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_try") 2>&5
10336 ac_status=$?
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; }; then
10339 ac_cv_lib_xml2_xmlParseMemory=yes
10340 else
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.$ac_ext >&5
10344 ac_cv_lib_xml2_xmlParseMemory=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_lib_save_LIBS
10351 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10352 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10353 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10355 cat >>confdefs.h <<\_ACEOF
10356 #define HAVE_LIBXML2 1
10357 _ACEOF
10359 XML2LIBS="$ac_xml_libs"
10360 XML2INCL="$ac_xml_cflags"
10363 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10364 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10365 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10366 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 else
10368 ac_check_lib_save_LIBS=$LIBS
10369 LIBS="-lxml2 $ac_xml_libs $LIBS"
10370 cat >conftest.$ac_ext <<_ACEOF
10371 /* confdefs.h. */
10372 _ACEOF
10373 cat confdefs.h >>conftest.$ac_ext
10374 cat >>conftest.$ac_ext <<_ACEOF
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char xmlReadMemory ();
10385 main ()
10387 return xmlReadMemory ();
10389 return 0;
10391 _ACEOF
10392 rm -f conftest.$ac_objext conftest$ac_exeext
10393 if { (ac_try="$ac_link"
10394 case "(($ac_try" in
10395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396 *) ac_try_echo=$ac_try;;
10397 esac
10398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10399 (eval "$ac_link") 2>conftest.er1
10400 ac_status=$?
10401 grep -v '^ *+' conftest.er1 >conftest.err
10402 rm -f conftest.er1
10403 cat conftest.err >&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } &&
10406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10407 { (case "(($ac_try" in
10408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10409 *) ac_try_echo=$ac_try;;
10410 esac
10411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10412 (eval "$ac_try") 2>&5
10413 ac_status=$?
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); }; } &&
10416 { ac_try='test -s conftest$ac_exeext'
10417 { (case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10420 esac
10421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10422 (eval "$ac_try") 2>&5
10423 ac_status=$?
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 ac_cv_lib_xml2_xmlReadMemory=yes
10427 else
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 ac_cv_lib_xml2_xmlReadMemory=no
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_lib_save_LIBS
10438 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10439 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10440 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10442 cat >>confdefs.h <<\_ACEOF
10443 #define HAVE_XMLREADMEMORY 1
10444 _ACEOF
10451 done
10453 CPPFLAGS="$ac_save_CPPFLAGS"
10454 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10455 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10456 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10459 for ac_header in libxslt/pattern.h libxslt/transform.h
10461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10462 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 else
10467 cat >conftest.$ac_ext <<_ACEOF
10468 /* confdefs.h. */
10469 _ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10473 #ifdef HAVE_LIBXSLT_PATTERN_H
10474 # include <libxslt/pattern.h>
10475 #endif
10477 #include <$ac_header>
10478 _ACEOF
10479 rm -f conftest.$ac_objext
10480 if { (ac_try="$ac_compile"
10481 case "(($ac_try" in
10482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10483 *) ac_try_echo=$ac_try;;
10484 esac
10485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10486 (eval "$ac_compile") 2>conftest.er1
10487 ac_status=$?
10488 grep -v '^ *+' conftest.er1 >conftest.err
10489 rm -f conftest.er1
10490 cat conftest.err >&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } &&
10493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10494 { (case "(($ac_try" in
10495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496 *) ac_try_echo=$ac_try;;
10497 esac
10498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10499 (eval "$ac_try") 2>&5
10500 ac_status=$?
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; } &&
10503 { ac_try='test -s conftest.$ac_objext'
10504 { (case "(($ac_try" in
10505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10506 *) ac_try_echo=$ac_try;;
10507 esac
10508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10509 (eval "$ac_try") 2>&5
10510 ac_status=$?
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); }; }; then
10513 eval "$as_ac_Header=yes"
10514 else
10515 echo "$as_me: failed program was:" >&5
10516 sed 's/^/| /' conftest.$ac_ext >&5
10518 eval "$as_ac_Header=no"
10521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10523 ac_res=`eval echo '${'$as_ac_Header'}'`
10524 { echo "$as_me:$LINENO: result: $ac_res" >&5
10525 echo "${ECHO_T}$ac_res" >&6; }
10526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10527 cat >>confdefs.h <<_ACEOF
10528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10529 _ACEOF
10530 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10531 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10532 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 else
10535 ac_check_lib_save_LIBS=$LIBS
10536 LIBS="-lxslt $ac_xslt_libs $LIBS"
10537 cat >conftest.$ac_ext <<_ACEOF
10538 /* confdefs.h. */
10539 _ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10547 #ifdef __cplusplus
10548 extern "C"
10549 #endif
10550 char xsltCompilePattern ();
10552 main ()
10554 return xsltCompilePattern ();
10556 return 0;
10558 _ACEOF
10559 rm -f conftest.$ac_objext conftest$ac_exeext
10560 if { (ac_try="$ac_link"
10561 case "(($ac_try" in
10562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10563 *) ac_try_echo=$ac_try;;
10564 esac
10565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10566 (eval "$ac_link") 2>conftest.er1
10567 ac_status=$?
10568 grep -v '^ *+' conftest.er1 >conftest.err
10569 rm -f conftest.er1
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10574 { (case "(($ac_try" in
10575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10576 *) ac_try_echo=$ac_try;;
10577 esac
10578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10579 (eval "$ac_try") 2>&5
10580 ac_status=$?
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; } &&
10583 { ac_try='test -s conftest$ac_exeext'
10584 { (case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10587 esac
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_try") 2>&5
10590 ac_status=$?
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; }; then
10593 ac_cv_lib_xslt_xsltCompilePattern=yes
10594 else
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10598 ac_cv_lib_xslt_xsltCompilePattern=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_lib_save_LIBS
10605 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10606 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10607 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10609 cat >>confdefs.h <<\_ACEOF
10610 #define HAVE_LIBXSLT 1
10611 _ACEOF
10613 XSLTLIBS="$ac_xslt_libs"
10614 XSLTINCL="$ac_xslt_cflags"
10620 done
10622 CPPFLAGS="$ac_save_CPPFLAGS"
10625 HALINCL=""
10627 if test "$PKG_CONFIG" != "false"
10628 then
10629 ac_save_CPPFLAGS="$CPPFLAGS"
10630 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10631 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10632 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10635 for ac_header in dbus/dbus.h hal/libhal.h
10637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 ac_res=`eval echo '${'$as_ac_Header'}'`
10645 { echo "$as_me:$LINENO: result: $ac_res" >&5
10646 echo "${ECHO_T}$ac_res" >&6; }
10647 else
10648 # Is the header compilable?
10649 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10651 cat >conftest.$ac_ext <<_ACEOF
10652 /* confdefs.h. */
10653 _ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 $ac_includes_default
10658 #include <$ac_header>
10659 _ACEOF
10660 rm -f conftest.$ac_objext
10661 if { (ac_try="$ac_compile"
10662 case "(($ac_try" in
10663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10664 *) ac_try_echo=$ac_try;;
10665 esac
10666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667 (eval "$ac_compile") 2>conftest.er1
10668 ac_status=$?
10669 grep -v '^ *+' conftest.er1 >conftest.err
10670 rm -f conftest.er1
10671 cat conftest.err >&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } &&
10674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10675 { (case "(($ac_try" in
10676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10677 *) ac_try_echo=$ac_try;;
10678 esac
10679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10680 (eval "$ac_try") 2>&5
10681 ac_status=$?
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; } &&
10684 { ac_try='test -s conftest.$ac_objext'
10685 { (case "(($ac_try" in
10686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10687 *) ac_try_echo=$ac_try;;
10688 esac
10689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 (eval "$ac_try") 2>&5
10691 ac_status=$?
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 ac_header_compiler=yes
10695 else
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10699 ac_header_compiler=no
10702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10703 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10704 echo "${ECHO_T}$ac_header_compiler" >&6; }
10706 # Is the header present?
10707 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10709 cat >conftest.$ac_ext <<_ACEOF
10710 /* confdefs.h. */
10711 _ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 #include <$ac_header>
10716 _ACEOF
10717 if { (ac_try="$ac_cpp conftest.$ac_ext"
10718 case "(($ac_try" in
10719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10720 *) ac_try_echo=$ac_try;;
10721 esac
10722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10724 ac_status=$?
10725 grep -v '^ *+' conftest.er1 >conftest.err
10726 rm -f conftest.er1
10727 cat conftest.err >&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); } >/dev/null; then
10730 if test -s conftest.err; then
10731 ac_cpp_err=$ac_c_preproc_warn_flag
10732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10733 else
10734 ac_cpp_err=
10736 else
10737 ac_cpp_err=yes
10739 if test -z "$ac_cpp_err"; then
10740 ac_header_preproc=yes
10741 else
10742 echo "$as_me: failed program was:" >&5
10743 sed 's/^/| /' conftest.$ac_ext >&5
10745 ac_header_preproc=no
10748 rm -f conftest.err conftest.$ac_ext
10749 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10750 echo "${ECHO_T}$ac_header_preproc" >&6; }
10752 # So? What about this header?
10753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10754 yes:no: )
10755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10759 ac_header_preproc=yes
10761 no:yes:* )
10762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10774 ( cat <<\_ASBOX
10775 ## ------------------------------------ ##
10776 ## Report this to wine-devel@winehq.org ##
10777 ## ------------------------------------ ##
10778 _ASBOX
10779 ) | sed "s/^/$as_me: WARNING: /" >&2
10781 esac
10782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787 eval "$as_ac_Header=\$ac_header_preproc"
10789 ac_res=`eval echo '${'$as_ac_Header'}'`
10790 { echo "$as_me:$LINENO: result: $ac_res" >&5
10791 echo "${ECHO_T}$ac_res" >&6; }
10794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10795 cat >>confdefs.h <<_ACEOF
10796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10797 _ACEOF
10801 done
10803 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10804 then
10805 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10806 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10807 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10808 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 else
10810 ac_check_lib_save_LIBS=$LIBS
10811 LIBS="-lhal $LIBS"
10812 cat >conftest.$ac_ext <<_ACEOF
10813 /* confdefs.h. */
10814 _ACEOF
10815 cat confdefs.h >>conftest.$ac_ext
10816 cat >>conftest.$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10822 #ifdef __cplusplus
10823 extern "C"
10824 #endif
10825 char libhal_ctx_new ();
10827 main ()
10829 return libhal_ctx_new ();
10831 return 0;
10833 _ACEOF
10834 rm -f conftest.$ac_objext conftest$ac_exeext
10835 if { (ac_try="$ac_link"
10836 case "(($ac_try" in
10837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10838 *) ac_try_echo=$ac_try;;
10839 esac
10840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10841 (eval "$ac_link") 2>conftest.er1
10842 ac_status=$?
10843 grep -v '^ *+' conftest.er1 >conftest.err
10844 rm -f conftest.er1
10845 cat conftest.err >&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10849 { (case "(($ac_try" in
10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10852 esac
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_try") 2>&5
10855 ac_status=$?
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; } &&
10858 { ac_try='test -s conftest$ac_exeext'
10859 { (case "(($ac_try" in
10860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10861 *) ac_try_echo=$ac_try;;
10862 esac
10863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10864 (eval "$ac_try") 2>&5
10865 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 ac_cv_lib_hal_libhal_ctx_new=yes
10869 else
10870 echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10873 ac_cv_lib_hal_libhal_ctx_new=no
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_lib_save_LIBS
10880 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10881 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10882 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10883 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10884 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10885 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10887 else
10888 ac_check_lib_save_LIBS=$LIBS
10889 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10890 cat >conftest.$ac_ext <<_ACEOF
10891 /* confdefs.h. */
10892 _ACEOF
10893 cat confdefs.h >>conftest.$ac_ext
10894 cat >>conftest.$ac_ext <<_ACEOF
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10900 #ifdef __cplusplus
10901 extern "C"
10902 #endif
10903 char dbus_connection_close ();
10905 main ()
10907 return dbus_connection_close ();
10909 return 0;
10911 _ACEOF
10912 rm -f conftest.$ac_objext conftest$ac_exeext
10913 if { (ac_try="$ac_link"
10914 case "(($ac_try" in
10915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10916 *) ac_try_echo=$ac_try;;
10917 esac
10918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10919 (eval "$ac_link") 2>conftest.er1
10920 ac_status=$?
10921 grep -v '^ *+' conftest.er1 >conftest.err
10922 rm -f conftest.er1
10923 cat conftest.err >&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); } &&
10926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10927 { (case "(($ac_try" in
10928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10929 *) ac_try_echo=$ac_try;;
10930 esac
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_try") 2>&5
10933 ac_status=$?
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; } &&
10936 { ac_try='test -s conftest$ac_exeext'
10937 { (case "(($ac_try" in
10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10939 *) ac_try_echo=$ac_try;;
10940 esac
10941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10942 (eval "$ac_try") 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 ac_cv_lib_dbus_1_dbus_connection_close=yes
10947 else
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.$ac_ext >&5
10951 ac_cv_lib_dbus_1_dbus_connection_close=no
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10959 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10960 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10962 cat >>confdefs.h <<\_ACEOF
10963 #define HAVE_LIBHAL 1
10964 _ACEOF
10966 HALINCL="$ac_hal_cflags"
10972 CPPFLAGS="$ac_save_CPPFLAGS"
10975 CURSESLIBS=""
10976 if test "x$with_curses" != "xno"
10977 then
10978 if test "$ac_cv_header_ncurses_h" = "yes"
10979 then
10980 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10981 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10982 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10984 else
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lncurses $LIBS"
10987 cat >conftest.$ac_ext <<_ACEOF
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char waddch ();
11002 main ()
11004 return waddch ();
11006 return 0;
11008 _ACEOF
11009 rm -f conftest.$ac_objext conftest$ac_exeext
11010 if { (ac_try="$ac_link"
11011 case "(($ac_try" in
11012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11013 *) ac_try_echo=$ac_try;;
11014 esac
11015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11016 (eval "$ac_link") 2>conftest.er1
11017 ac_status=$?
11018 grep -v '^ *+' conftest.er1 >conftest.err
11019 rm -f conftest.er1
11020 cat conftest.err >&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11024 { (case "(($ac_try" in
11025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 *) ac_try_echo=$ac_try;;
11027 esac
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_try") 2>&5
11030 ac_status=$?
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; } &&
11033 { ac_try='test -s conftest$ac_exeext'
11034 { (case "(($ac_try" in
11035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036 *) ac_try_echo=$ac_try;;
11037 esac
11038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11039 (eval "$ac_try") 2>&5
11040 ac_status=$?
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; }; then
11043 ac_cv_lib_ncurses_waddch=yes
11044 else
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.$ac_ext >&5
11048 ac_cv_lib_ncurses_waddch=no
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_lib_save_LIBS
11055 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11056 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11057 if test $ac_cv_lib_ncurses_waddch = yes; then
11059 cat >>confdefs.h <<\_ACEOF
11060 #define HAVE_LIBNCURSES 1
11061 _ACEOF
11063 CURSESLIBS="-lncurses"
11066 elif test "$ac_cv_header_curses_h" = "yes"
11067 then
11068 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11069 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11070 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 else
11073 ac_check_lib_save_LIBS=$LIBS
11074 LIBS="-lcurses $LIBS"
11075 cat >conftest.$ac_ext <<_ACEOF
11076 /* confdefs.h. */
11077 _ACEOF
11078 cat confdefs.h >>conftest.$ac_ext
11079 cat >>conftest.$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char waddch ();
11090 main ()
11092 return waddch ();
11094 return 0;
11096 _ACEOF
11097 rm -f conftest.$ac_objext conftest$ac_exeext
11098 if { (ac_try="$ac_link"
11099 case "(($ac_try" in
11100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11102 esac
11103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_link") 2>conftest.er1
11105 ac_status=$?
11106 grep -v '^ *+' conftest.er1 >conftest.err
11107 rm -f conftest.er1
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
11111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11112 { (case "(($ac_try" in
11113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11114 *) ac_try_echo=$ac_try;;
11115 esac
11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11117 (eval "$ac_try") 2>&5
11118 ac_status=$?
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; } &&
11121 { ac_try='test -s conftest$ac_exeext'
11122 { (case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11125 esac
11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_try") 2>&5
11128 ac_status=$?
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_lib_curses_waddch=yes
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 ac_cv_lib_curses_waddch=no
11139 rm -f core conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11144 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11145 if test $ac_cv_lib_curses_waddch = yes; then
11147 cat >>confdefs.h <<\_ACEOF
11148 #define HAVE_LIBCURSES 1
11149 _ACEOF
11151 CURSESLIBS="-lcurses"
11155 ac_save_LIBS="$LIBS"
11156 LIBS="$LIBS $CURSESLIBS"
11158 for ac_func in mousemask
11160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 else
11166 cat >conftest.$ac_ext <<_ACEOF
11167 /* confdefs.h. */
11168 _ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11174 #define $ac_func innocuous_$ac_func
11176 /* System header to define __stub macros and hopefully few prototypes,
11177 which can conflict with char $ac_func (); below.
11178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11179 <limits.h> exists even on freestanding compilers. */
11181 #ifdef __STDC__
11182 # include <limits.h>
11183 #else
11184 # include <assert.h>
11185 #endif
11187 #undef $ac_func
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char $ac_func ();
11196 /* The GNU C library defines this for functions which it implements
11197 to always fail with ENOSYS. Some functions are actually named
11198 something starting with __ and the normal name is an alias. */
11199 #if defined __stub_$ac_func || defined __stub___$ac_func
11200 choke me
11201 #endif
11204 main ()
11206 return $ac_func ();
11208 return 0;
11210 _ACEOF
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (ac_try="$ac_link"
11213 case "(($ac_try" in
11214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11216 esac
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_link") 2>conftest.er1
11219 ac_status=$?
11220 grep -v '^ *+' conftest.er1 >conftest.err
11221 rm -f conftest.er1
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11226 { (case "(($ac_try" in
11227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11228 *) ac_try_echo=$ac_try;;
11229 esac
11230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11231 (eval "$ac_try") 2>&5
11232 ac_status=$?
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; } &&
11235 { ac_try='test -s conftest$ac_exeext'
11236 { (case "(($ac_try" in
11237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11239 esac
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_try") 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 eval "$as_ac_var=yes"
11246 else
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.$ac_ext >&5
11250 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11256 ac_res=`eval echo '${'$as_ac_var'}'`
11257 { echo "$as_me:$LINENO: result: $ac_res" >&5
11258 echo "${ECHO_T}$ac_res" >&6; }
11259 if test `eval echo '${'$as_ac_var'}'` = yes; then
11260 cat >>confdefs.h <<_ACEOF
11261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11262 _ACEOF
11265 done
11267 LIBS="$ac_save_LIBS"
11271 # Extract the first word of "sane-config", so it can be a program name with args.
11272 set dummy sane-config; ac_word=$2
11273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11275 if test "${ac_cv_prog_sane_devel+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 else
11278 if test -n "$sane_devel"; then
11279 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11280 else
11281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11282 for as_dir in $PATH
11284 IFS=$as_save_IFS
11285 test -z "$as_dir" && as_dir=.
11286 for ac_exec_ext in '' $ac_executable_extensions; do
11287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11288 ac_cv_prog_sane_devel="sane-config"
11289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11290 break 2
11292 done
11293 done
11294 IFS=$as_save_IFS
11296 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11299 sane_devel=$ac_cv_prog_sane_devel
11300 if test -n "$sane_devel"; then
11301 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11302 echo "${ECHO_T}$sane_devel" >&6; }
11303 else
11304 { echo "$as_me:$LINENO: result: no" >&5
11305 echo "${ECHO_T}no" >&6; }
11309 SANELIBS=""
11311 SANEINCL=""
11313 if test "$sane_devel" != "no"
11314 then
11315 SANELIBS="`$sane_devel --libs`"
11316 SANEINCL="`$sane_devel --cflags`"
11317 ac_save_CPPFLAGS="$CPPFLAGS"
11318 ac_save_LIBS="$LIBS"
11319 CPPFLAGS="$CPPFLAGS $SANEINCL"
11320 LIBS="$LIBS $SANELIBS"
11321 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11322 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11323 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11324 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11328 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11329 else
11330 # Is the header compilable?
11331 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11332 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11333 cat >conftest.$ac_ext <<_ACEOF
11334 /* confdefs.h. */
11335 _ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339 $ac_includes_default
11340 #include <sane/sane.h>
11341 _ACEOF
11342 rm -f conftest.$ac_objext
11343 if { (ac_try="$ac_compile"
11344 case "(($ac_try" in
11345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11346 *) ac_try_echo=$ac_try;;
11347 esac
11348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11349 (eval "$ac_compile") 2>conftest.er1
11350 ac_status=$?
11351 grep -v '^ *+' conftest.er1 >conftest.err
11352 rm -f conftest.er1
11353 cat conftest.err >&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } &&
11356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11357 { (case "(($ac_try" in
11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11360 esac
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_try") 2>&5
11363 ac_status=$?
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; } &&
11366 { ac_try='test -s conftest.$ac_objext'
11367 { (case "(($ac_try" in
11368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11369 *) ac_try_echo=$ac_try;;
11370 esac
11371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11372 (eval "$ac_try") 2>&5
11373 ac_status=$?
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 ac_header_compiler=yes
11377 else
11378 echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.$ac_ext >&5
11381 ac_header_compiler=no
11384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11385 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11386 echo "${ECHO_T}$ac_header_compiler" >&6; }
11388 # Is the header present?
11389 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11390 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11391 cat >conftest.$ac_ext <<_ACEOF
11392 /* confdefs.h. */
11393 _ACEOF
11394 cat confdefs.h >>conftest.$ac_ext
11395 cat >>conftest.$ac_ext <<_ACEOF
11396 /* end confdefs.h. */
11397 #include <sane/sane.h>
11398 _ACEOF
11399 if { (ac_try="$ac_cpp conftest.$ac_ext"
11400 case "(($ac_try" in
11401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11402 *) ac_try_echo=$ac_try;;
11403 esac
11404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11406 ac_status=$?
11407 grep -v '^ *+' conftest.er1 >conftest.err
11408 rm -f conftest.er1
11409 cat conftest.err >&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } >/dev/null; then
11412 if test -s conftest.err; then
11413 ac_cpp_err=$ac_c_preproc_warn_flag
11414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11415 else
11416 ac_cpp_err=
11418 else
11419 ac_cpp_err=yes
11421 if test -z "$ac_cpp_err"; then
11422 ac_header_preproc=yes
11423 else
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11427 ac_header_preproc=no
11430 rm -f conftest.err conftest.$ac_ext
11431 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11432 echo "${ECHO_T}$ac_header_preproc" >&6; }
11434 # So? What about this header?
11435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11436 yes:no: )
11437 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11438 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11439 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11440 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11441 ac_header_preproc=yes
11443 no:yes:* )
11444 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11445 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11446 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11447 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11448 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11449 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11450 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11451 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11452 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11453 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11454 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11455 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11456 ( cat <<\_ASBOX
11457 ## ------------------------------------ ##
11458 ## Report this to wine-devel@winehq.org ##
11459 ## ------------------------------------ ##
11460 _ASBOX
11461 ) | sed "s/^/$as_me: WARNING: /" >&2
11463 esac
11464 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11465 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11466 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 else
11469 ac_cv_header_sane_sane_h=$ac_header_preproc
11471 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11472 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11475 if test $ac_cv_header_sane_sane_h = yes; then
11476 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11477 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11478 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lsane $LIBS"
11483 cat >conftest.$ac_ext <<_ACEOF
11484 /* confdefs.h. */
11485 _ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char sane_open ();
11498 main ()
11500 return sane_open ();
11502 return 0;
11504 _ACEOF
11505 rm -f conftest.$ac_objext conftest$ac_exeext
11506 if { (ac_try="$ac_link"
11507 case "(($ac_try" in
11508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11509 *) ac_try_echo=$ac_try;;
11510 esac
11511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11512 (eval "$ac_link") 2>conftest.er1
11513 ac_status=$?
11514 grep -v '^ *+' conftest.er1 >conftest.err
11515 rm -f conftest.er1
11516 cat conftest.err >&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11523 esac
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_try") 2>&5
11526 ac_status=$?
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); }; } &&
11529 { ac_try='test -s conftest$ac_exeext'
11530 { (case "(($ac_try" in
11531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11533 esac
11534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_try") 2>&5
11536 ac_status=$?
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_cv_lib_sane_sane_open=yes
11540 else
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_cv_lib_sane_sane_open=no
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11551 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11552 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11553 if test $ac_cv_lib_sane_sane_open = yes; then
11555 cat >>confdefs.h <<\_ACEOF
11556 #define HAVE_SANE 1
11557 _ACEOF
11559 else
11560 SANELIBS=""
11561 SANEINCL=""
11564 else
11565 SANELIBS=""
11566 SANEINCL=""
11570 LIBS="$ac_save_LIBS"
11571 CPPFLAGS="$ac_save_CPPFLAGS"
11574 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11575 set dummy gphoto2-config; ac_word=$2
11576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11578 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 else
11581 if test -n "$gphoto2_devel"; then
11582 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11583 else
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11587 IFS=$as_save_IFS
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_prog_gphoto2_devel="gphoto2-config"
11592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11593 break 2
11595 done
11596 done
11597 IFS=$as_save_IFS
11599 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11602 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11603 if test -n "$gphoto2_devel"; then
11604 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11605 echo "${ECHO_T}$gphoto2_devel" >&6; }
11606 else
11607 { echo "$as_me:$LINENO: result: no" >&5
11608 echo "${ECHO_T}no" >&6; }
11612 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11613 set dummy gphoto2-port-config; ac_word=$2
11614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11616 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 else
11619 if test -n "$gphoto2port_devel"; then
11620 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11621 else
11622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11623 for as_dir in $PATH
11625 IFS=$as_save_IFS
11626 test -z "$as_dir" && as_dir=.
11627 for ac_exec_ext in '' $ac_executable_extensions; do
11628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11629 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11631 break 2
11633 done
11634 done
11635 IFS=$as_save_IFS
11637 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11640 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11641 if test -n "$gphoto2port_devel"; then
11642 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11643 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11644 else
11645 { echo "$as_me:$LINENO: result: no" >&5
11646 echo "${ECHO_T}no" >&6; }
11650 GPHOTO2LIBS=""
11652 GPHOTO2INCL=""
11654 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11655 then
11656 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11657 GPHOTO2LIBS=""
11658 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11660 case "$i" in
11661 -L/usr/lib|-L/usr/lib64) ;;
11662 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11663 esac
11664 done
11665 ac_save_CPPFLAGS="$CPPFLAGS"
11666 ac_save_LIBS="$LIBS"
11667 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11668 LIBS="$LIBS $GPHOTO2LIBS"
11669 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11670 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11671 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11672 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11676 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11677 else
11678 # Is the header compilable?
11679 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11680 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11681 cat >conftest.$ac_ext <<_ACEOF
11682 /* confdefs.h. */
11683 _ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 $ac_includes_default
11688 #include <gphoto2-camera.h>
11689 _ACEOF
11690 rm -f conftest.$ac_objext
11691 if { (ac_try="$ac_compile"
11692 case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11695 esac
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_compile") 2>conftest.er1
11698 ac_status=$?
11699 grep -v '^ *+' conftest.er1 >conftest.err
11700 rm -f conftest.er1
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11705 { (case "(($ac_try" in
11706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11707 *) ac_try_echo=$ac_try;;
11708 esac
11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11710 (eval "$ac_try") 2>&5
11711 ac_status=$?
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try='test -s conftest.$ac_objext'
11715 { (case "(($ac_try" in
11716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11717 *) ac_try_echo=$ac_try;;
11718 esac
11719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 (eval "$ac_try") 2>&5
11721 ac_status=$?
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }; }; then
11724 ac_header_compiler=yes
11725 else
11726 echo "$as_me: failed program was:" >&5
11727 sed 's/^/| /' conftest.$ac_ext >&5
11729 ac_header_compiler=no
11732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11734 echo "${ECHO_T}$ac_header_compiler" >&6; }
11736 # Is the header present?
11737 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11738 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11739 cat >conftest.$ac_ext <<_ACEOF
11740 /* confdefs.h. */
11741 _ACEOF
11742 cat confdefs.h >>conftest.$ac_ext
11743 cat >>conftest.$ac_ext <<_ACEOF
11744 /* end confdefs.h. */
11745 #include <gphoto2-camera.h>
11746 _ACEOF
11747 if { (ac_try="$ac_cpp conftest.$ac_ext"
11748 case "(($ac_try" in
11749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11750 *) ac_try_echo=$ac_try;;
11751 esac
11752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11754 ac_status=$?
11755 grep -v '^ *+' conftest.er1 >conftest.err
11756 rm -f conftest.er1
11757 cat conftest.err >&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); } >/dev/null; then
11760 if test -s conftest.err; then
11761 ac_cpp_err=$ac_c_preproc_warn_flag
11762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11763 else
11764 ac_cpp_err=
11766 else
11767 ac_cpp_err=yes
11769 if test -z "$ac_cpp_err"; then
11770 ac_header_preproc=yes
11771 else
11772 echo "$as_me: failed program was:" >&5
11773 sed 's/^/| /' conftest.$ac_ext >&5
11775 ac_header_preproc=no
11778 rm -f conftest.err conftest.$ac_ext
11779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11780 echo "${ECHO_T}$ac_header_preproc" >&6; }
11782 # So? What about this header?
11783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11784 yes:no: )
11785 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11786 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11787 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11788 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11789 ac_header_preproc=yes
11791 no:yes:* )
11792 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11793 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11794 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11795 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11796 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11797 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11798 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11799 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11800 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11801 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11802 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11803 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11804 ( cat <<\_ASBOX
11805 ## ------------------------------------ ##
11806 ## Report this to wine-devel@winehq.org ##
11807 ## ------------------------------------ ##
11808 _ASBOX
11809 ) | sed "s/^/$as_me: WARNING: /" >&2
11811 esac
11812 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11813 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11814 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11816 else
11817 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11819 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11820 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11823 if test $ac_cv_header_gphoto2_camera_h = yes; then
11824 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11825 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11826 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 else
11829 ac_check_lib_save_LIBS=$LIBS
11830 LIBS="-lgphoto2 $LIBS"
11831 cat >conftest.$ac_ext <<_ACEOF
11832 /* confdefs.h. */
11833 _ACEOF
11834 cat confdefs.h >>conftest.$ac_ext
11835 cat >>conftest.$ac_ext <<_ACEOF
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11841 #ifdef __cplusplus
11842 extern "C"
11843 #endif
11844 char gp_camera_new ();
11846 main ()
11848 return gp_camera_new ();
11850 return 0;
11852 _ACEOF
11853 rm -f conftest.$ac_objext conftest$ac_exeext
11854 if { (ac_try="$ac_link"
11855 case "(($ac_try" in
11856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11857 *) ac_try_echo=$ac_try;;
11858 esac
11859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11860 (eval "$ac_link") 2>conftest.er1
11861 ac_status=$?
11862 grep -v '^ *+' conftest.er1 >conftest.err
11863 rm -f conftest.er1
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } &&
11867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11868 { (case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11871 esac
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_try") 2>&5
11874 ac_status=$?
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; } &&
11877 { ac_try='test -s conftest$ac_exeext'
11878 { (case "(($ac_try" in
11879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11880 *) ac_try_echo=$ac_try;;
11881 esac
11882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11883 (eval "$ac_try") 2>&5
11884 ac_status=$?
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; }; then
11887 ac_cv_lib_gphoto2_gp_camera_new=yes
11888 else
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11892 ac_cv_lib_gphoto2_gp_camera_new=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11900 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11901 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11903 cat >>confdefs.h <<\_ACEOF
11904 #define HAVE_GPHOTO2 1
11905 _ACEOF
11907 else
11908 GPHOTO2LIBS=""
11909 GPHOTO2INCL=""
11912 else
11913 GPHOTO2LIBS=""
11914 GPHOTO2INCL=""
11918 LIBS="$ac_save_LIBS"
11919 CPPFLAGS="$ac_save_CPPFLAGS"
11922 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11923 then
11924 saved_libs="$LIBS"
11925 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11927 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11928 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11929 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11930 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11931 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11932 cat >conftest.$ac_ext <<_ACEOF
11933 /* confdefs.h. */
11934 _ACEOF
11935 cat confdefs.h >>conftest.$ac_ext
11936 cat >>conftest.$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11938 #include <unicode/ubidi.h>
11940 main ()
11942 ubidi_open()
11944 return 0;
11946 _ACEOF
11947 rm -f conftest.$ac_objext conftest$ac_exeext
11948 if { (ac_try="$ac_link"
11949 case "(($ac_try" in
11950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11951 *) ac_try_echo=$ac_try;;
11952 esac
11953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11954 (eval "$ac_link") 2>conftest.er1
11955 ac_status=$?
11956 grep -v '^ *+' conftest.er1 >conftest.err
11957 rm -f conftest.er1
11958 cat conftest.err >&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } &&
11961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11962 { (case "(($ac_try" in
11963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11964 *) ac_try_echo=$ac_try;;
11965 esac
11966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11967 (eval "$ac_try") 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11982 cat >>confdefs.h <<\_ACEOF
11983 #define HAVE_ICU 1
11984 _ACEOF
11986 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11988 { echo "$as_me:$LINENO: result: yes" >&5
11989 echo "${ECHO_T}yes" >&6; }
11990 else
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.$ac_ext >&5
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 done
12001 LIBS="$saved_libs"
12004 RESOLVLIBS=""
12006 if test "$ac_cv_header_resolv_h" = "yes"
12007 then
12008 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12009 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12010 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 else
12013 ac_check_lib_save_LIBS=$LIBS
12014 LIBS="-lresolv $LIBS"
12015 cat >conftest.$ac_ext <<_ACEOF
12016 /* confdefs.h. */
12017 _ACEOF
12018 cat confdefs.h >>conftest.$ac_ext
12019 cat >>conftest.$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char res_query ();
12030 main ()
12032 return res_query ();
12034 return 0;
12036 _ACEOF
12037 rm -f conftest.$ac_objext conftest$ac_exeext
12038 if { (ac_try="$ac_link"
12039 case "(($ac_try" in
12040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12041 *) ac_try_echo=$ac_try;;
12042 esac
12043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12044 (eval "$ac_link") 2>conftest.er1
12045 ac_status=$?
12046 grep -v '^ *+' conftest.er1 >conftest.err
12047 rm -f conftest.er1
12048 cat conftest.err >&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } &&
12051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12052 { (case "(($ac_try" in
12053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12054 *) ac_try_echo=$ac_try;;
12055 esac
12056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12057 (eval "$ac_try") 2>&5
12058 ac_status=$?
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); }; } &&
12061 { ac_try='test -s conftest$ac_exeext'
12062 { (case "(($ac_try" in
12063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12064 *) ac_try_echo=$ac_try;;
12065 esac
12066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12067 (eval "$ac_try") 2>&5
12068 ac_status=$?
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; }; then
12071 ac_cv_lib_resolv_res_query=yes
12072 else
12073 echo "$as_me: failed program was:" >&5
12074 sed 's/^/| /' conftest.$ac_ext >&5
12076 ac_cv_lib_resolv_res_query=no
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12081 LIBS=$ac_check_lib_save_LIBS
12083 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12084 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12085 if test $ac_cv_lib_resolv_res_query = yes; then
12087 cat >>confdefs.h <<\_ACEOF
12088 #define HAVE_RESOLV 1
12089 _ACEOF
12091 RESOLVLIBS="-lresolv"
12096 LCMSLIBS=""
12098 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12099 then
12100 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12101 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12102 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-llcms $LIBS"
12107 cat >conftest.$ac_ext <<_ACEOF
12108 /* confdefs.h. */
12109 _ACEOF
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char cmsOpenProfileFromFile ();
12122 main ()
12124 return cmsOpenProfileFromFile ();
12126 return 0;
12128 _ACEOF
12129 rm -f conftest.$ac_objext conftest$ac_exeext
12130 if { (ac_try="$ac_link"
12131 case "(($ac_try" in
12132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12133 *) ac_try_echo=$ac_try;;
12134 esac
12135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12136 (eval "$ac_link") 2>conftest.er1
12137 ac_status=$?
12138 grep -v '^ *+' conftest.er1 >conftest.err
12139 rm -f conftest.er1
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12144 { (case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12147 esac
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_try") 2>&5
12150 ac_status=$?
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); }; } &&
12153 { ac_try='test -s conftest$ac_exeext'
12154 { (case "(($ac_try" in
12155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12156 *) ac_try_echo=$ac_try;;
12157 esac
12158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12159 (eval "$ac_try") 2>&5
12160 ac_status=$?
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; }; then
12163 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12164 else
12165 echo "$as_me: failed program was:" >&5
12166 sed 's/^/| /' conftest.$ac_ext >&5
12168 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_lib_save_LIBS
12175 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12176 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12177 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12179 cat >>confdefs.h <<\_ACEOF
12180 #define HAVE_LCMS 1
12181 _ACEOF
12183 LCMSLIBS="-llcms"
12188 LDAPLIBS=""
12190 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12191 then
12192 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12193 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12194 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 ac_check_lib_save_LIBS=$LIBS
12198 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12199 cat >conftest.$ac_ext <<_ACEOF
12200 /* confdefs.h. */
12201 _ACEOF
12202 cat confdefs.h >>conftest.$ac_ext
12203 cat >>conftest.$ac_ext <<_ACEOF
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 #ifdef __cplusplus
12210 extern "C"
12211 #endif
12212 char ldap_initialize ();
12214 main ()
12216 return ldap_initialize ();
12218 return 0;
12220 _ACEOF
12221 rm -f conftest.$ac_objext conftest$ac_exeext
12222 if { (ac_try="$ac_link"
12223 case "(($ac_try" in
12224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12225 *) ac_try_echo=$ac_try;;
12226 esac
12227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12228 (eval "$ac_link") 2>conftest.er1
12229 ac_status=$?
12230 grep -v '^ *+' conftest.er1 >conftest.err
12231 rm -f conftest.er1
12232 cat conftest.err >&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12236 { (case "(($ac_try" in
12237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12238 *) ac_try_echo=$ac_try;;
12239 esac
12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12241 (eval "$ac_try") 2>&5
12242 ac_status=$?
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }; } &&
12245 { ac_try='test -s conftest$ac_exeext'
12246 { (case "(($ac_try" in
12247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12248 *) ac_try_echo=$ac_try;;
12249 esac
12250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12251 (eval "$ac_try") 2>&5
12252 ac_status=$?
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then
12255 ac_cv_lib_ldap_r_ldap_initialize=yes
12256 else
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.$ac_ext >&5
12260 ac_cv_lib_ldap_r_ldap_initialize=no
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_lib_save_LIBS
12267 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12268 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12269 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12270 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12271 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12272 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 else
12275 ac_check_lib_save_LIBS=$LIBS
12276 LIBS="-llber $LIBPTHREAD $LIBS"
12277 cat >conftest.$ac_ext <<_ACEOF
12278 /* confdefs.h. */
12279 _ACEOF
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 #ifdef __cplusplus
12288 extern "C"
12289 #endif
12290 char ber_init ();
12292 main ()
12294 return ber_init ();
12296 return 0;
12298 _ACEOF
12299 rm -f conftest.$ac_objext conftest$ac_exeext
12300 if { (ac_try="$ac_link"
12301 case "(($ac_try" in
12302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12303 *) ac_try_echo=$ac_try;;
12304 esac
12305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12306 (eval "$ac_link") 2>conftest.er1
12307 ac_status=$?
12308 grep -v '^ *+' conftest.er1 >conftest.err
12309 rm -f conftest.er1
12310 cat conftest.err >&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); } &&
12313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12314 { (case "(($ac_try" in
12315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12316 *) ac_try_echo=$ac_try;;
12317 esac
12318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12319 (eval "$ac_try") 2>&5
12320 ac_status=$?
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try='test -s conftest$ac_exeext'
12324 { (case "(($ac_try" in
12325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12326 *) ac_try_echo=$ac_try;;
12327 esac
12328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12329 (eval "$ac_try") 2>&5
12330 ac_status=$?
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12333 ac_cv_lib_lber_ber_init=yes
12334 else
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12338 ac_cv_lib_lber_ber_init=no
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_lib_save_LIBS
12345 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12346 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12347 if test $ac_cv_lib_lber_ber_init = yes; then
12349 cat >>confdefs.h <<\_ACEOF
12350 #define HAVE_LDAP 1
12351 _ACEOF
12353 LDAPLIBS="-lldap_r -llber"
12358 ac_wine_check_funcs_save_LIBS="$LIBS"
12359 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12364 for ac_func in \
12365 ldap_count_references \
12366 ldap_first_reference \
12367 ldap_next_reference \
12368 ldap_parse_reference
12370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12374 echo $ECHO_N "(cached) $ECHO_C" >&6
12375 else
12376 cat >conftest.$ac_ext <<_ACEOF
12377 /* confdefs.h. */
12378 _ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12384 #define $ac_func innocuous_$ac_func
12386 /* System header to define __stub macros and hopefully few prototypes,
12387 which can conflict with char $ac_func (); below.
12388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12389 <limits.h> exists even on freestanding compilers. */
12391 #ifdef __STDC__
12392 # include <limits.h>
12393 #else
12394 # include <assert.h>
12395 #endif
12397 #undef $ac_func
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12402 #ifdef __cplusplus
12403 extern "C"
12404 #endif
12405 char $ac_func ();
12406 /* The GNU C library defines this for functions which it implements
12407 to always fail with ENOSYS. Some functions are actually named
12408 something starting with __ and the normal name is an alias. */
12409 #if defined __stub_$ac_func || defined __stub___$ac_func
12410 choke me
12411 #endif
12414 main ()
12416 return $ac_func ();
12418 return 0;
12420 _ACEOF
12421 rm -f conftest.$ac_objext conftest$ac_exeext
12422 if { (ac_try="$ac_link"
12423 case "(($ac_try" in
12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12426 esac
12427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 (eval "$ac_link") 2>conftest.er1
12429 ac_status=$?
12430 grep -v '^ *+' conftest.er1 >conftest.err
12431 rm -f conftest.er1
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } &&
12435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12436 { (case "(($ac_try" in
12437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12439 esac
12440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12441 (eval "$ac_try") 2>&5
12442 ac_status=$?
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; } &&
12445 { ac_try='test -s conftest$ac_exeext'
12446 { (case "(($ac_try" in
12447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12448 *) ac_try_echo=$ac_try;;
12449 esac
12450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12451 (eval "$ac_try") 2>&5
12452 ac_status=$?
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; }; then
12455 eval "$as_ac_var=yes"
12456 else
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.$ac_ext >&5
12460 eval "$as_ac_var=no"
12463 rm -f core conftest.err conftest.$ac_objext \
12464 conftest$ac_exeext conftest.$ac_ext
12466 ac_res=`eval echo '${'$as_ac_var'}'`
12467 { echo "$as_me:$LINENO: result: $ac_res" >&5
12468 echo "${ECHO_T}$ac_res" >&6; }
12469 if test `eval echo '${'$as_ac_var'}'` = yes; then
12470 cat >>confdefs.h <<_ACEOF
12471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12472 _ACEOF
12475 done
12477 LIBS="$ac_wine_check_funcs_save_LIBS"
12480 FREETYPELIBS=""
12482 FREETYPEINCL=""
12484 # Extract the first word of "freetype-config", so it can be a program name with args.
12485 set dummy freetype-config; ac_word=$2
12486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12488 if test "${ac_cv_prog_ft_devel+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 else
12491 if test -n "$ft_devel"; then
12492 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12493 else
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12497 IFS=$as_save_IFS
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12501 ac_cv_prog_ft_devel="freetype-config"
12502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12503 break 2
12505 done
12506 done
12507 IFS=$as_save_IFS
12509 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12512 ft_devel=$ac_cv_prog_ft_devel
12513 if test -n "$ft_devel"; then
12514 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12515 echo "${ECHO_T}$ft_devel" >&6; }
12516 else
12517 { echo "$as_me:$LINENO: result: no" >&5
12518 echo "${ECHO_T}no" >&6; }
12522 if test "$ft_devel" = "no"
12523 then
12524 # Extract the first word of "freetype2-config", so it can be a program name with args.
12525 set dummy freetype2-config; ac_word=$2
12526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12528 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 else
12531 if test -n "$ft_devel2"; then
12532 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12533 else
12534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535 for as_dir in $PATH
12537 IFS=$as_save_IFS
12538 test -z "$as_dir" && as_dir=.
12539 for ac_exec_ext in '' $ac_executable_extensions; do
12540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12541 ac_cv_prog_ft_devel2="freetype2-config"
12542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12543 break 2
12545 done
12546 done
12547 IFS=$as_save_IFS
12549 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12552 ft_devel2=$ac_cv_prog_ft_devel2
12553 if test -n "$ft_devel2"; then
12554 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12555 echo "${ECHO_T}$ft_devel2" >&6; }
12556 else
12557 { echo "$as_me:$LINENO: result: no" >&5
12558 echo "${ECHO_T}no" >&6; }
12562 if test "$ft_devel2" = "freetype2-config"
12563 then
12564 ft_devel=$ft_devel2
12568 if test "$ft_devel" = "no"
12569 then
12570 wine_cv_msg_freetype=yes
12571 else
12572 FREETYPELIBS=`$ft_devel --libs`
12573 FREETYPEINCL=`$ft_devel --cflags`
12574 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12575 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12576 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 else
12579 ac_check_lib_save_LIBS=$LIBS
12580 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12581 cat >conftest.$ac_ext <<_ACEOF
12582 /* confdefs.h. */
12583 _ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char FT_Init_FreeType ();
12596 main ()
12598 return FT_Init_FreeType ();
12600 return 0;
12602 _ACEOF
12603 rm -f conftest.$ac_objext conftest$ac_exeext
12604 if { (ac_try="$ac_link"
12605 case "(($ac_try" in
12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12607 *) ac_try_echo=$ac_try;;
12608 esac
12609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12610 (eval "$ac_link") 2>conftest.er1
12611 ac_status=$?
12612 grep -v '^ *+' conftest.er1 >conftest.err
12613 rm -f conftest.er1
12614 cat conftest.err >&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } &&
12617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12618 { (case "(($ac_try" in
12619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12620 *) ac_try_echo=$ac_try;;
12621 esac
12622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12623 (eval "$ac_try") 2>&5
12624 ac_status=$?
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; } &&
12627 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
12634 ac_status=$?
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; }; then
12637 ac_cv_lib_freetype_FT_Init_FreeType=yes
12638 else
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.$ac_ext >&5
12642 ac_cv_lib_freetype_FT_Init_FreeType=no
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_lib_save_LIBS
12649 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12650 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12651 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12652 ft_lib=yes
12653 else
12654 ft_lib=no
12657 if test "$ft_lib" = "no"
12658 then
12659 wine_cv_msg_freetype=yes
12660 FREETYPELIBS=""
12661 FREETYPEINCL=""
12662 else
12663 ac_save_CPPFLAGS="$CPPFLAGS"
12664 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12676 for ac_header in ft2build.h \
12677 freetype/freetype.h \
12678 freetype/ftglyph.h \
12679 freetype/tttables.h \
12680 freetype/ftnames.h \
12681 freetype/ftsnames.h \
12682 freetype/ttnameid.h \
12683 freetype/ftoutln.h \
12684 freetype/ftwinfnt.h \
12685 freetype/ftmodapi.h \
12686 freetype/internal/sfnt.h
12688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12692 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 else
12694 cat >conftest.$ac_ext <<_ACEOF
12695 /* confdefs.h. */
12696 _ACEOF
12697 cat confdefs.h >>conftest.$ac_ext
12698 cat >>conftest.$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12700 #if HAVE_FT2BUILD_H
12701 #include <ft2build.h>
12702 #endif
12704 #include <$ac_header>
12705 _ACEOF
12706 rm -f conftest.$ac_objext
12707 if { (ac_try="$ac_compile"
12708 case "(($ac_try" in
12709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12710 *) ac_try_echo=$ac_try;;
12711 esac
12712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12713 (eval "$ac_compile") 2>conftest.er1
12714 ac_status=$?
12715 grep -v '^ *+' conftest.er1 >conftest.err
12716 rm -f conftest.er1
12717 cat conftest.err >&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } &&
12720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12721 { (case "(($ac_try" in
12722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12723 *) ac_try_echo=$ac_try;;
12724 esac
12725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12726 (eval "$ac_try") 2>&5
12727 ac_status=$?
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; } &&
12730 { ac_try='test -s conftest.$ac_objext'
12731 { (case "(($ac_try" in
12732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733 *) ac_try_echo=$ac_try;;
12734 esac
12735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12736 (eval "$ac_try") 2>&5
12737 ac_status=$?
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 eval "$as_ac_Header=yes"
12741 else
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 eval "$as_ac_Header=no"
12748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12750 ac_res=`eval echo '${'$as_ac_Header'}'`
12751 { echo "$as_me:$LINENO: result: $ac_res" >&5
12752 echo "${ECHO_T}$ac_res" >&6; }
12753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12754 cat >>confdefs.h <<_ACEOF
12755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12756 _ACEOF
12760 done
12762 cat >conftest.$ac_ext <<_ACEOF
12763 /* confdefs.h. */
12764 _ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12768 #include <ft2build.h>
12769 #include <freetype/fttrigon.h>
12770 _ACEOF
12771 if { (ac_try="$ac_cpp conftest.$ac_ext"
12772 case "(($ac_try" in
12773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774 *) ac_try_echo=$ac_try;;
12775 esac
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12778 ac_status=$?
12779 grep -v '^ *+' conftest.er1 >conftest.err
12780 rm -f conftest.er1
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } >/dev/null; then
12784 if test -s conftest.err; then
12785 ac_cpp_err=$ac_c_preproc_warn_flag
12786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12787 else
12788 ac_cpp_err=
12790 else
12791 ac_cpp_err=yes
12793 if test -z "$ac_cpp_err"; then
12795 cat >>confdefs.h <<\_ACEOF
12796 #define HAVE_FREETYPE_FTTRIGON_H 1
12797 _ACEOF
12799 wine_cv_fttrigon=yes
12800 else
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12804 wine_cv_fttrigon=no
12807 rm -f conftest.err conftest.$ac_ext
12808 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12809 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12810 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 else
12813 cat >conftest.$ac_ext <<_ACEOF
12814 /* confdefs.h. */
12815 _ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 #include <freetype/ftmodapi.h>
12821 typedef FT_TrueTypeEngineType ac__type_new_;
12823 main ()
12825 if ((ac__type_new_ *) 0)
12826 return 0;
12827 if (sizeof (ac__type_new_))
12828 return 0;
12830 return 0;
12832 _ACEOF
12833 rm -f conftest.$ac_objext
12834 if { (ac_try="$ac_compile"
12835 case "(($ac_try" in
12836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12838 esac
12839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12840 (eval "$ac_compile") 2>conftest.er1
12841 ac_status=$?
12842 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } &&
12847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12848 { (case "(($ac_try" in
12849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12850 *) ac_try_echo=$ac_try;;
12851 esac
12852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12853 (eval "$ac_try") 2>&5
12854 ac_status=$?
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; } &&
12857 { ac_try='test -s conftest.$ac_objext'
12858 { (case "(($ac_try" in
12859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12860 *) ac_try_echo=$ac_try;;
12861 esac
12862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12863 (eval "$ac_try") 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 ac_cv_type_FT_TrueTypeEngineType=yes
12868 else
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.$ac_ext >&5
12872 ac_cv_type_FT_TrueTypeEngineType=no
12875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12878 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12879 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12881 cat >>confdefs.h <<_ACEOF
12882 #define HAVE_FT_TRUETYPEENGINETYPE 1
12883 _ACEOF
12888 ac_save_CFLAGS="$CFLAGS"
12889 CFLAGS="$CFLAGS $FREETYPELIBS"
12891 for ac_func in FT_Load_Sfnt_Table
12893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 cat >conftest.$ac_ext <<_ACEOF
12900 /* confdefs.h. */
12901 _ACEOF
12902 cat confdefs.h >>conftest.$ac_ext
12903 cat >>conftest.$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12907 #define $ac_func innocuous_$ac_func
12909 /* System header to define __stub macros and hopefully few prototypes,
12910 which can conflict with char $ac_func (); below.
12911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12912 <limits.h> exists even on freestanding compilers. */
12914 #ifdef __STDC__
12915 # include <limits.h>
12916 #else
12917 # include <assert.h>
12918 #endif
12920 #undef $ac_func
12922 /* Override any GCC internal prototype to avoid an error.
12923 Use char because int might match the return type of a GCC
12924 builtin and then its argument prototype would still apply. */
12925 #ifdef __cplusplus
12926 extern "C"
12927 #endif
12928 char $ac_func ();
12929 /* The GNU C library defines this for functions which it implements
12930 to always fail with ENOSYS. Some functions are actually named
12931 something starting with __ and the normal name is an alias. */
12932 #if defined __stub_$ac_func || defined __stub___$ac_func
12933 choke me
12934 #endif
12937 main ()
12939 return $ac_func ();
12941 return 0;
12943 _ACEOF
12944 rm -f conftest.$ac_objext conftest$ac_exeext
12945 if { (ac_try="$ac_link"
12946 case "(($ac_try" in
12947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12948 *) ac_try_echo=$ac_try;;
12949 esac
12950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12951 (eval "$ac_link") 2>conftest.er1
12952 ac_status=$?
12953 grep -v '^ *+' conftest.er1 >conftest.err
12954 rm -f conftest.er1
12955 cat conftest.err >&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12959 { (case "(($ac_try" in
12960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12961 *) ac_try_echo=$ac_try;;
12962 esac
12963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12964 (eval "$ac_try") 2>&5
12965 ac_status=$?
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); }; } &&
12968 { ac_try='test -s conftest$ac_exeext'
12969 { (case "(($ac_try" in
12970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12971 *) ac_try_echo=$ac_try;;
12972 esac
12973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12974 (eval "$ac_try") 2>&5
12975 ac_status=$?
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 eval "$as_ac_var=yes"
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 eval "$as_ac_var=no"
12986 rm -f core conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12989 ac_res=`eval echo '${'$as_ac_var'}'`
12990 { echo "$as_me:$LINENO: result: $ac_res" >&5
12991 echo "${ECHO_T}$ac_res" >&6; }
12992 if test `eval echo '${'$as_ac_var'}'` = yes; then
12993 cat >>confdefs.h <<_ACEOF
12994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12995 _ACEOF
12998 done
13000 CFLAGS="$ac_save_CFLAGS"
13001 CPPFLAGS="$ac_save_CPPFLAGS"
13002 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13003 then
13005 cat >>confdefs.h <<\_ACEOF
13006 #define HAVE_FREETYPE 1
13007 _ACEOF
13009 wine_cv_msg_freetype=no
13010 else
13011 FREETYPELIBS=""
13012 FREETYPEINCL=""
13013 wine_cv_msg_freetype=yes
13018 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13019 then
13020 FONTSSUBDIRS="fonts"
13024 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13025 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13026 if test "${ac_cv_c_ppdev+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029 cat >conftest.$ac_ext <<_ACEOF
13030 /* confdefs.h. */
13031 _ACEOF
13032 cat confdefs.h >>conftest.$ac_ext
13033 cat >>conftest.$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 #include <linux/ppdev.h>
13037 main ()
13039 ioctl (1,PPCLAIM,0)
13041 return 0;
13043 _ACEOF
13044 rm -f conftest.$ac_objext
13045 if { (ac_try="$ac_compile"
13046 case "(($ac_try" in
13047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13048 *) ac_try_echo=$ac_try;;
13049 esac
13050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13051 (eval "$ac_compile") 2>conftest.er1
13052 ac_status=$?
13053 grep -v '^ *+' conftest.er1 >conftest.err
13054 rm -f conftest.er1
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13059 { (case "(($ac_try" in
13060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13061 *) ac_try_echo=$ac_try;;
13062 esac
13063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13064 (eval "$ac_try") 2>&5
13065 ac_status=$?
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; } &&
13068 { ac_try='test -s conftest.$ac_objext'
13069 { (case "(($ac_try" in
13070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13071 *) ac_try_echo=$ac_try;;
13072 esac
13073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13074 (eval "$ac_try") 2>&5
13075 ac_status=$?
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; }; then
13078 ac_cv_c_ppdev="yes"
13079 else
13080 echo "$as_me: failed program was:" >&5
13081 sed 's/^/| /' conftest.$ac_ext >&5
13083 ac_cv_c_ppdev="no"
13086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13089 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13090 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13091 if test "$ac_cv_c_ppdev" = "yes"
13092 then
13094 cat >>confdefs.h <<\_ACEOF
13095 #define HAVE_PPDEV 1
13096 _ACEOF
13100 { echo "$as_me:$LINENO: checking for va_copy" >&5
13101 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13102 if test "${ac_cv_c_va_copy+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 else
13105 cat >conftest.$ac_ext <<_ACEOF
13106 /* confdefs.h. */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 #include <stdarg.h>
13113 main ()
13115 va_list ap1, ap2;
13116 va_copy(ap1,ap2);
13119 return 0;
13121 _ACEOF
13122 rm -f conftest.$ac_objext conftest$ac_exeext
13123 if { (ac_try="$ac_link"
13124 case "(($ac_try" in
13125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13126 *) ac_try_echo=$ac_try;;
13127 esac
13128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13129 (eval "$ac_link") 2>conftest.er1
13130 ac_status=$?
13131 grep -v '^ *+' conftest.er1 >conftest.err
13132 rm -f conftest.er1
13133 cat conftest.err >&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13137 { (case "(($ac_try" in
13138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13139 *) ac_try_echo=$ac_try;;
13140 esac
13141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 (eval "$ac_try") 2>&5
13143 ac_status=$?
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; } &&
13146 { ac_try='test -s conftest$ac_exeext'
13147 { (case "(($ac_try" in
13148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13150 esac
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_try") 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; }; then
13156 ac_cv_c_va_copy="yes"
13157 else
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.$ac_ext >&5
13161 ac_cv_c_va_copy="no"
13164 rm -f core conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13168 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13169 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13170 if test "$ac_cv_c_va_copy" = "yes"
13171 then
13173 cat >>confdefs.h <<\_ACEOF
13174 #define HAVE_VA_COPY 1
13175 _ACEOF
13178 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13179 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13180 if test "${ac_cv_c___va_copy+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 else
13183 cat >conftest.$ac_ext <<_ACEOF
13184 /* confdefs.h. */
13185 _ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13189 #include <stdarg.h>
13191 main ()
13193 va_list ap1, ap2;
13194 __va_copy(ap1,ap2);
13197 return 0;
13199 _ACEOF
13200 rm -f conftest.$ac_objext conftest$ac_exeext
13201 if { (ac_try="$ac_link"
13202 case "(($ac_try" in
13203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13204 *) ac_try_echo=$ac_try;;
13205 esac
13206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13207 (eval "$ac_link") 2>conftest.er1
13208 ac_status=$?
13209 grep -v '^ *+' conftest.er1 >conftest.err
13210 rm -f conftest.er1
13211 cat conftest.err >&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } &&
13214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13215 { (case "(($ac_try" in
13216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13217 *) ac_try_echo=$ac_try;;
13218 esac
13219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13220 (eval "$ac_try") 2>&5
13221 ac_status=$?
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try='test -s conftest$ac_exeext'
13225 { (case "(($ac_try" in
13226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227 *) ac_try_echo=$ac_try;;
13228 esac
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_try") 2>&5
13231 ac_status=$?
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_cv_c___va_copy="yes"
13235 else
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13239 ac_cv_c___va_copy="no"
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13246 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13247 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13248 if test "$ac_cv_c___va_copy" = "yes"
13249 then
13251 cat >>confdefs.h <<\_ACEOF
13252 #define HAVE___VA_COPY 1
13253 _ACEOF
13257 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13258 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13259 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 else
13262 cat >conftest.$ac_ext <<_ACEOF
13263 /* confdefs.h. */
13264 _ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 #include <setjmp.h>
13270 main ()
13272 sigjmp_buf buf;
13273 sigsetjmp( buf, 1 );
13274 siglongjmp( buf, 1 );
13276 return 0;
13278 _ACEOF
13279 rm -f conftest.$ac_objext conftest$ac_exeext
13280 if { (ac_try="$ac_link"
13281 case "(($ac_try" in
13282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13283 *) ac_try_echo=$ac_try;;
13284 esac
13285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13286 (eval "$ac_link") 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (case "(($ac_try" in
13295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13296 *) ac_try_echo=$ac_try;;
13297 esac
13298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13299 (eval "$ac_try") 2>&5
13300 ac_status=$?
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); }; } &&
13303 { ac_try='test -s conftest$ac_exeext'
13304 { (case "(($ac_try" in
13305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13307 esac
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_try") 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; }; then
13313 ac_cv_c_sigsetjmp="yes"
13314 else
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_c_sigsetjmp="no"
13321 rm -f core conftest.err conftest.$ac_objext \
13322 conftest$ac_exeext conftest.$ac_ext
13325 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13326 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13327 if test "$ac_cv_c_sigsetjmp" = "yes"
13328 then
13330 cat >>confdefs.h <<\_ACEOF
13331 #define HAVE_SIGSETJMP 1
13332 _ACEOF
13336 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13337 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13338 if test "${ac_cv_type_pthread_rwlock_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_rwlock_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_rwlock_t=yes
13397 else
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13401 ac_cv_type_pthread_rwlock_t=no
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13407 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13408 if test $ac_cv_type_pthread_rwlock_t = yes; then
13410 cat >>confdefs.h <<_ACEOF
13411 #define HAVE_PTHREAD_RWLOCK_T 1
13412 _ACEOF
13416 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13417 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13418 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 else
13421 cat >conftest.$ac_ext <<_ACEOF
13422 /* confdefs.h. */
13423 _ACEOF
13424 cat confdefs.h >>conftest.$ac_ext
13425 cat >>conftest.$ac_ext <<_ACEOF
13426 /* end confdefs.h. */
13427 #define _GNU_SOURCE
13428 #include <pthread.h>
13430 typedef pthread_rwlockattr_t ac__type_new_;
13432 main ()
13434 if ((ac__type_new_ *) 0)
13435 return 0;
13436 if (sizeof (ac__type_new_))
13437 return 0;
13439 return 0;
13441 _ACEOF
13442 rm -f conftest.$ac_objext
13443 if { (ac_try="$ac_compile"
13444 case "(($ac_try" in
13445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446 *) ac_try_echo=$ac_try;;
13447 esac
13448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13449 (eval "$ac_compile") 2>conftest.er1
13450 ac_status=$?
13451 grep -v '^ *+' conftest.er1 >conftest.err
13452 rm -f conftest.er1
13453 cat conftest.err >&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); } &&
13456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13457 { (case "(($ac_try" in
13458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13459 *) ac_try_echo=$ac_try;;
13460 esac
13461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13462 (eval "$ac_try") 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; } &&
13466 { ac_try='test -s conftest.$ac_objext'
13467 { (case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13470 esac
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_try") 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 ac_cv_type_pthread_rwlockattr_t=yes
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 ac_cv_type_pthread_rwlockattr_t=no
13484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13486 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13487 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13488 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13490 cat >>confdefs.h <<_ACEOF
13491 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13492 _ACEOF
13498 ac_wine_check_funcs_save_LIBS="$LIBS"
13499 LIBS="$LIBS $LIBPTHREAD"
13504 for ac_func in \
13505 pthread_attr_get_np \
13506 pthread_getattr_np \
13507 pthread_get_stackaddr_np \
13508 pthread_get_stacksize_np
13510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 else
13516 cat >conftest.$ac_ext <<_ACEOF
13517 /* confdefs.h. */
13518 _ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13524 #define $ac_func innocuous_$ac_func
13526 /* System header to define __stub macros and hopefully few prototypes,
13527 which can conflict with char $ac_func (); below.
13528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13529 <limits.h> exists even on freestanding compilers. */
13531 #ifdef __STDC__
13532 # include <limits.h>
13533 #else
13534 # include <assert.h>
13535 #endif
13537 #undef $ac_func
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 #ifdef __cplusplus
13543 extern "C"
13544 #endif
13545 char $ac_func ();
13546 /* The GNU C library defines this for functions which it implements
13547 to always fail with ENOSYS. Some functions are actually named
13548 something starting with __ and the normal name is an alias. */
13549 #if defined __stub_$ac_func || defined __stub___$ac_func
13550 choke me
13551 #endif
13554 main ()
13556 return $ac_func ();
13558 return 0;
13560 _ACEOF
13561 rm -f conftest.$ac_objext conftest$ac_exeext
13562 if { (ac_try="$ac_link"
13563 case "(($ac_try" in
13564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13565 *) ac_try_echo=$ac_try;;
13566 esac
13567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13568 (eval "$ac_link") 2>conftest.er1
13569 ac_status=$?
13570 grep -v '^ *+' conftest.er1 >conftest.err
13571 rm -f conftest.er1
13572 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13576 { (case "(($ac_try" in
13577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13578 *) ac_try_echo=$ac_try;;
13579 esac
13580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13581 (eval "$ac_try") 2>&5
13582 ac_status=$?
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try='test -s conftest$ac_exeext'
13586 { (case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13589 esac
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_try") 2>&5
13592 ac_status=$?
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 eval "$as_ac_var=yes"
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 eval "$as_ac_var=no"
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13606 ac_res=`eval echo '${'$as_ac_var'}'`
13607 { echo "$as_me:$LINENO: result: $ac_res" >&5
13608 echo "${ECHO_T}$ac_res" >&6; }
13609 if test `eval echo '${'$as_ac_var'}'` = yes; then
13610 cat >>confdefs.h <<_ACEOF
13611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13612 _ACEOF
13615 done
13617 LIBS="$ac_wine_check_funcs_save_LIBS"
13619 # Extract the first word of "artsc-config", so it can be a program name with args.
13620 set dummy artsc-config; ac_word=$2
13621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13623 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 else
13626 case $ARTSCCONFIG in
13627 [\\/]* | ?:[\\/]*)
13628 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13632 for as_dir in $PATH
13634 IFS=$as_save_IFS
13635 test -z "$as_dir" && as_dir=.
13636 for ac_exec_ext in '' $ac_executable_extensions; do
13637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13638 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13640 break 2
13642 done
13643 done
13644 IFS=$as_save_IFS
13647 esac
13649 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13650 if test -n "$ARTSCCONFIG"; then
13651 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13652 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13653 else
13654 { echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6; }
13659 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13660 then
13661 ARTSC_CFLAGS=""
13662 for i in `$ARTSCCONFIG --cflags`
13664 case "$i" in
13665 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13666 esac
13667 done
13668 ARTSC_LIBS=""
13669 for i in `$ARTSCCONFIG --libs`
13671 case "$i" in
13672 -L/usr/lib|-L/usr/lib64) ;;
13673 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13674 esac
13675 done
13676 save_CFLAGS="$CFLAGS"
13677 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13678 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13679 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13680 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13682 else
13683 ac_check_lib_save_LIBS=$LIBS
13684 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13685 cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h. */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13692 /* Override any GCC internal prototype to avoid an error.
13693 Use char because int might match the return type of a GCC
13694 builtin and then its argument prototype would still apply. */
13695 #ifdef __cplusplus
13696 extern "C"
13697 #endif
13698 char arts_init ();
13700 main ()
13702 return arts_init ();
13704 return 0;
13706 _ACEOF
13707 rm -f conftest.$ac_objext conftest$ac_exeext
13708 if { (ac_try="$ac_link"
13709 case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13712 esac
13713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_link") 2>conftest.er1
13715 ac_status=$?
13716 grep -v '^ *+' conftest.er1 >conftest.err
13717 rm -f conftest.er1
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13722 { (case "(($ac_try" in
13723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13724 *) ac_try_echo=$ac_try;;
13725 esac
13726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13727 (eval "$ac_try") 2>&5
13728 ac_status=$?
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); }; } &&
13731 { ac_try='test -s conftest$ac_exeext'
13732 { (case "(($ac_try" in
13733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734 *) ac_try_echo=$ac_try;;
13735 esac
13736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13737 (eval "$ac_try") 2>&5
13738 ac_status=$?
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; }; then
13741 ac_cv_lib_artsc_arts_init=yes
13742 else
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.$ac_ext >&5
13746 ac_cv_lib_artsc_arts_init=no
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 LIBS=$ac_check_lib_save_LIBS
13753 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13754 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13755 if test $ac_cv_lib_artsc_arts_init = yes; then
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 #include <artsc.h>
13764 main ()
13766 arts_stream_t stream;
13768 return 0;
13770 _ACEOF
13771 rm -f conftest.$ac_objext
13772 if { (ac_try="$ac_compile"
13773 case "(($ac_try" in
13774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13775 *) ac_try_echo=$ac_try;;
13776 esac
13777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13778 (eval "$ac_compile") 2>conftest.er1
13779 ac_status=$?
13780 grep -v '^ *+' conftest.er1 >conftest.err
13781 rm -f conftest.er1
13782 cat conftest.err >&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); } &&
13785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13786 { (case "(($ac_try" in
13787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13788 *) ac_try_echo=$ac_try;;
13789 esac
13790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13791 (eval "$ac_try") 2>&5
13792 ac_status=$?
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; } &&
13795 { ac_try='test -s conftest.$ac_objext'
13796 { (case "(($ac_try" in
13797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13798 *) ac_try_echo=$ac_try;;
13799 esac
13800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13801 (eval "$ac_try") 2>&5
13802 ac_status=$?
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 ARTSLIBS=$ARTSC_LIBS
13807 ARTSINCL=$ARTSC_CFLAGS
13810 cat >>confdefs.h <<\_ACEOF
13811 #define HAVE_ARTS 1
13812 _ACEOF
13814 else
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13824 CFLAGS="$save_CFLAGS"
13827 # Extract the first word of "esd-config", so it can be a program name with args.
13828 set dummy esd-config; ac_word=$2
13829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13831 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834 case $ESDCONFIG in
13835 [\\/]* | ?:[\\/]*)
13836 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13840 for as_dir in $PATH
13842 IFS=$as_save_IFS
13843 test -z "$as_dir" && as_dir=.
13844 for ac_exec_ext in '' $ac_executable_extensions; do
13845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13846 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13848 break 2
13850 done
13851 done
13852 IFS=$as_save_IFS
13855 esac
13857 ESDCONFIG=$ac_cv_path_ESDCONFIG
13858 if test -n "$ESDCONFIG"; then
13859 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13860 echo "${ECHO_T}$ESDCONFIG" >&6; }
13861 else
13862 { echo "$as_me:$LINENO: result: no" >&5
13863 echo "${ECHO_T}no" >&6; }
13867 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13868 then
13869 ESD_CFLAGS=""
13870 for i in `$ESDCONFIG --cflags`
13872 case "$i" in
13873 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13874 esac
13875 done
13876 ESD_LIBS=`$ESDCONFIG --libs`
13877 save_CFLAGS="$CFLAGS"
13878 CFLAGS="$CFLAGS $ESD_CFLAGS"
13879 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13880 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13881 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 else
13884 ac_check_lib_save_LIBS=$LIBS
13885 LIBS="-lesd $LIBS"
13886 cat >conftest.$ac_ext <<_ACEOF
13887 /* confdefs.h. */
13888 _ACEOF
13889 cat confdefs.h >>conftest.$ac_ext
13890 cat >>conftest.$ac_ext <<_ACEOF
13891 /* end confdefs.h. */
13893 /* Override any GCC internal prototype to avoid an error.
13894 Use char because int might match the return type of a GCC
13895 builtin and then its argument prototype would still apply. */
13896 #ifdef __cplusplus
13897 extern "C"
13898 #endif
13899 char esd_open_sound ();
13901 main ()
13903 return esd_open_sound ();
13905 return 0;
13907 _ACEOF
13908 rm -f conftest.$ac_objext conftest$ac_exeext
13909 if { (ac_try="$ac_link"
13910 case "(($ac_try" in
13911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13912 *) ac_try_echo=$ac_try;;
13913 esac
13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13915 (eval "$ac_link") 2>conftest.er1
13916 ac_status=$?
13917 grep -v '^ *+' conftest.er1 >conftest.err
13918 rm -f conftest.er1
13919 cat conftest.err >&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } &&
13922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13923 { (case "(($ac_try" in
13924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13925 *) ac_try_echo=$ac_try;;
13926 esac
13927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13928 (eval "$ac_try") 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try='test -s conftest$ac_exeext'
13933 { (case "(($ac_try" in
13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13935 *) ac_try_echo=$ac_try;;
13936 esac
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13938 (eval "$ac_try") 2>&5
13939 ac_status=$?
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; }; then
13942 ac_cv_lib_esd_esd_open_sound=yes
13943 else
13944 echo "$as_me: failed program was:" >&5
13945 sed 's/^/| /' conftest.$ac_ext >&5
13947 ac_cv_lib_esd_esd_open_sound=no
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_lib_save_LIBS
13954 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13955 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13956 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13957 ESDLIBS=$ESD_LIBS
13959 ESDINCL=$ESD_CFLAGS
13962 cat >>confdefs.h <<\_ACEOF
13963 #define HAVE_ESD 1
13964 _ACEOF
13968 CFLAGS="$save_CFLAGS"
13971 ALSALIBS=""
13973 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13974 then
13975 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13976 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13977 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lasound $LIBS"
13982 cat >conftest.$ac_ext <<_ACEOF
13983 /* confdefs.h. */
13984 _ACEOF
13985 cat confdefs.h >>conftest.$ac_ext
13986 cat >>conftest.$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 char snd_pcm_hw_params_get_access ();
13997 main ()
13999 return snd_pcm_hw_params_get_access ();
14001 return 0;
14003 _ACEOF
14004 rm -f conftest.$ac_objext conftest$ac_exeext
14005 if { (ac_try="$ac_link"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14009 esac
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_link") 2>conftest.er1
14012 ac_status=$?
14013 grep -v '^ *+' conftest.er1 >conftest.err
14014 rm -f conftest.er1
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14019 { (case "(($ac_try" in
14020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14021 *) ac_try_echo=$ac_try;;
14022 esac
14023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14024 (eval "$ac_try") 2>&5
14025 ac_status=$?
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; } &&
14028 { ac_try='test -s conftest$ac_exeext'
14029 { (case "(($ac_try" in
14030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14031 *) ac_try_echo=$ac_try;;
14032 esac
14033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14034 (eval "$ac_try") 2>&5
14035 ac_status=$?
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; }; then
14038 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14039 else
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14043 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_lib_save_LIBS
14050 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14051 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14052 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14053 cat >conftest.$ac_ext <<_ACEOF
14054 /* confdefs.h. */
14055 _ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14059 #ifdef HAVE_ALSA_ASOUNDLIB_H
14060 #include <alsa/asoundlib.h>
14061 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14062 #include <sys/asoundlib.h>
14063 #endif
14065 main ()
14067 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14069 return 0;
14071 _ACEOF
14072 rm -f conftest.$ac_objext
14073 if { (ac_try="$ac_compile"
14074 case "(($ac_try" in
14075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14076 *) ac_try_echo=$ac_try;;
14077 esac
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_compile") 2>conftest.er1
14080 ac_status=$?
14081 grep -v '^ *+' conftest.er1 >conftest.err
14082 rm -f conftest.er1
14083 cat conftest.err >&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } &&
14086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14087 { (case "(($ac_try" in
14088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14089 *) ac_try_echo=$ac_try;;
14090 esac
14091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14092 (eval "$ac_try") 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (case "(($ac_try" in
14098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14099 *) ac_try_echo=$ac_try;;
14100 esac
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_try") 2>&5
14103 ac_status=$?
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; }; then
14107 cat >>confdefs.h <<\_ACEOF
14108 #define HAVE_ALSA 1
14109 _ACEOF
14111 ALSALIBS="-lasound"
14112 else
14113 echo "$as_me: failed program was:" >&5
14114 sed 's/^/| /' conftest.$ac_ext >&5
14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14125 AUDIOIOLIBS=""
14127 if test "$ac_cv_header_libaudioio_h" = "yes"
14128 then
14129 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14130 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14131 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 else
14134 ac_check_lib_save_LIBS=$LIBS
14135 LIBS="-laudioio $LIBS"
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14146 #ifdef __cplusplus
14147 extern "C"
14148 #endif
14149 char AudioIOGetVersion ();
14151 main ()
14153 return AudioIOGetVersion ();
14155 return 0;
14157 _ACEOF
14158 rm -f conftest.$ac_objext conftest$ac_exeext
14159 if { (ac_try="$ac_link"
14160 case "(($ac_try" in
14161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162 *) ac_try_echo=$ac_try;;
14163 esac
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_link") 2>conftest.er1
14166 ac_status=$?
14167 grep -v '^ *+' conftest.er1 >conftest.err
14168 rm -f conftest.er1
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14173 { (case "(($ac_try" in
14174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14175 *) ac_try_echo=$ac_try;;
14176 esac
14177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14178 (eval "$ac_try") 2>&5
14179 ac_status=$?
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; } &&
14182 { ac_try='test -s conftest$ac_exeext'
14183 { (case "(($ac_try" in
14184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14185 *) ac_try_echo=$ac_try;;
14186 esac
14187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14188 (eval "$ac_try") 2>&5
14189 ac_status=$?
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_lib_audioio_AudioIOGetVersion=yes
14193 else
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14197 ac_cv_lib_audioio_AudioIOGetVersion=no
14200 rm -f core conftest.err conftest.$ac_objext \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS=$ac_check_lib_save_LIBS
14204 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14205 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14206 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14207 AUDIOIOLIBS="-laudioio"
14209 cat >>confdefs.h <<\_ACEOF
14210 #define HAVE_LIBAUDIOIO 1
14211 _ACEOF
14218 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14219 then
14220 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14221 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14222 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 else
14225 ac_check_lib_save_LIBS=$LIBS
14226 LIBS="-lcapi20 $LIBS"
14227 cat >conftest.$ac_ext <<_ACEOF
14228 /* confdefs.h. */
14229 _ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14237 #ifdef __cplusplus
14238 extern "C"
14239 #endif
14240 char capi20_register ();
14242 main ()
14244 return capi20_register ();
14246 return 0;
14248 _ACEOF
14249 rm -f conftest.$ac_objext conftest$ac_exeext
14250 if { (ac_try="$ac_link"
14251 case "(($ac_try" in
14252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14253 *) ac_try_echo=$ac_try;;
14254 esac
14255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14256 (eval "$ac_link") 2>conftest.er1
14257 ac_status=$?
14258 grep -v '^ *+' conftest.er1 >conftest.err
14259 rm -f conftest.er1
14260 cat conftest.err >&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14264 { (case "(($ac_try" in
14265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14267 esac
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_try") 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest$ac_exeext'
14274 { (case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14277 esac
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_try") 2>&5
14280 ac_status=$?
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14283 ac_cv_lib_capi20_capi20_register=yes
14284 else
14285 echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.$ac_ext >&5
14288 ac_cv_lib_capi20_capi20_register=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 LIBS=$ac_check_lib_save_LIBS
14295 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14296 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14297 if test $ac_cv_lib_capi20_capi20_register = yes; then
14299 cat >>confdefs.h <<\_ACEOF
14300 #define HAVE_CAPI4LINUX 1
14301 _ACEOF
14308 EXTRACFLAGS=""
14310 if test "x${GCC}" = "xyes"
14311 then
14312 EXTRACFLAGS="-Wall -pipe"
14314 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14315 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14316 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 else
14319 if test "$cross_compiling" = yes; then
14320 ac_cv_c_gcc_strength_bug="yes"
14321 else
14322 cat >conftest.$ac_ext <<_ACEOF
14323 /* confdefs.h. */
14324 _ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14329 int L[4] = {0,1,2,3};
14330 int main(void) {
14331 static int Array[3];
14332 unsigned int B = 3;
14333 int i;
14334 for(i=0; i<B; i++) Array[i] = i - 3;
14335 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14336 L[i] = 4;
14338 exit( Array[1] != -2 || L[2] != 3);
14340 _ACEOF
14341 rm -f conftest$ac_exeext
14342 if { (ac_try="$ac_link"
14343 case "(($ac_try" in
14344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14345 *) ac_try_echo=$ac_try;;
14346 esac
14347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14348 (eval "$ac_link") 2>&5
14349 ac_status=$?
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14352 { (case "(($ac_try" in
14353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14354 *) ac_try_echo=$ac_try;;
14355 esac
14356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14357 (eval "$ac_try") 2>&5
14358 ac_status=$?
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14361 ac_cv_c_gcc_strength_bug="no"
14362 else
14363 echo "$as_me: program exited with status $ac_status" >&5
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14367 ( exit $ac_status )
14368 ac_cv_c_gcc_strength_bug="yes"
14370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14375 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14376 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14377 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14378 then
14379 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14383 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14384 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14385 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 else
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -fshort-wchar"
14390 cat >conftest.$ac_ext <<_ACEOF
14391 /* confdefs.h. */
14392 _ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14398 main ()
14402 return 0;
14404 _ACEOF
14405 rm -f conftest.$ac_objext conftest$ac_exeext
14406 if { (ac_try="$ac_link"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14410 esac
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_link") 2>conftest.er1
14413 ac_status=$?
14414 grep -v '^ *+' conftest.er1 >conftest.err
14415 rm -f conftest.er1
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14420 { (case "(($ac_try" in
14421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14422 *) ac_try_echo=$ac_try;;
14423 esac
14424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14425 (eval "$ac_try") 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try='test -s conftest$ac_exeext'
14430 { (case "(($ac_try" in
14431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14432 *) ac_try_echo=$ac_try;;
14433 esac
14434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14435 (eval "$ac_try") 2>&5
14436 ac_status=$?
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; }; then
14439 ac_cv_cflags__fshort_wchar=yes
14440 else
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.$ac_ext >&5
14444 ac_cv_cflags__fshort_wchar=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14452 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14453 if test $ac_cv_cflags__fshort_wchar = yes; then
14455 cat >>confdefs.h <<\_ACEOF
14456 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14457 _ACEOF
14461 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14462 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14463 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 else
14466 ac_wine_try_cflags_saved=$CFLAGS
14467 CFLAGS="$CFLAGS -fno-strict-aliasing"
14468 cat >conftest.$ac_ext <<_ACEOF
14469 /* confdefs.h. */
14470 _ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14476 main ()
14480 return 0;
14482 _ACEOF
14483 rm -f conftest.$ac_objext conftest$ac_exeext
14484 if { (ac_try="$ac_link"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14488 esac
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_link") 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14501 esac
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_try") 2>&5
14504 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try='test -s conftest$ac_exeext'
14508 { (case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14511 esac
14512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14513 (eval "$ac_try") 2>&5
14514 ac_status=$?
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 ac_cv_cflags__fno_strict_aliasing=yes
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_cv_cflags__fno_strict_aliasing=no
14525 rm -f core conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 CFLAGS=$ac_wine_try_cflags_saved
14529 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14530 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14531 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14532 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14535 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14536 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14537 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 else
14540 ac_wine_try_cflags_saved=$CFLAGS
14541 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14542 cat >conftest.$ac_ext <<_ACEOF
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14550 main ()
14554 return 0;
14556 _ACEOF
14557 rm -f conftest.$ac_objext conftest$ac_exeext
14558 if { (ac_try="$ac_link"
14559 case "(($ac_try" in
14560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14562 esac
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_link") 2>conftest.er1
14565 ac_status=$?
14566 grep -v '^ *+' conftest.er1 >conftest.err
14567 rm -f conftest.er1
14568 cat conftest.err >&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } &&
14571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14572 { (case "(($ac_try" in
14573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14574 *) ac_try_echo=$ac_try;;
14575 esac
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_try") 2>&5
14578 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; } &&
14581 { ac_try='test -s conftest$ac_exeext'
14582 { (case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14585 esac
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_try") 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14591 ac_cv_cflags__Wdeclaration_after_statement=yes
14592 else
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14596 ac_cv_cflags__Wdeclaration_after_statement=no
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14601 CFLAGS=$ac_wine_try_cflags_saved
14603 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14604 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14605 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14606 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14609 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14610 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14611 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 else
14614 ac_wine_try_cflags_saved=$CFLAGS
14615 CFLAGS="$CFLAGS -Wwrite-strings"
14616 cat >conftest.$ac_ext <<_ACEOF
14617 /* confdefs.h. */
14618 _ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14624 main ()
14628 return 0;
14630 _ACEOF
14631 rm -f conftest.$ac_objext conftest$ac_exeext
14632 if { (ac_try="$ac_link"
14633 case "(($ac_try" in
14634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14635 *) ac_try_echo=$ac_try;;
14636 esac
14637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14638 (eval "$ac_link") 2>conftest.er1
14639 ac_status=$?
14640 grep -v '^ *+' conftest.er1 >conftest.err
14641 rm -f conftest.er1
14642 cat conftest.err >&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14646 { (case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14649 esac
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_try") 2>&5
14652 ac_status=$?
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try='test -s conftest$ac_exeext'
14656 { (case "(($ac_try" in
14657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14658 *) ac_try_echo=$ac_try;;
14659 esac
14660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14661 (eval "$ac_try") 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_cv_cflags__Wwrite_strings=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 ac_cv_cflags__Wwrite_strings=no
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 CFLAGS=$ac_wine_try_cflags_saved
14677 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14678 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14679 if test $ac_cv_cflags__Wwrite_strings = yes; then
14680 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14684 saved_CFLAGS="$CFLAGS"
14685 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14686 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14687 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14688 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 else
14691 cat >conftest.$ac_ext <<_ACEOF
14692 /* confdefs.h. */
14693 _ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14697 #include <string.h>
14699 main ()
14703 return 0;
14705 _ACEOF
14706 rm -f conftest.$ac_objext
14707 if { (ac_try="$ac_compile"
14708 case "(($ac_try" in
14709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14710 *) ac_try_echo=$ac_try;;
14711 esac
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14713 (eval "$ac_compile") 2>conftest.er1
14714 ac_status=$?
14715 grep -v '^ *+' conftest.er1 >conftest.err
14716 rm -f conftest.er1
14717 cat conftest.err >&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14721 { (case "(($ac_try" in
14722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14723 *) ac_try_echo=$ac_try;;
14724 esac
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_try") 2>&5
14727 ac_status=$?
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; } &&
14730 { ac_try='test -s conftest.$ac_objext'
14731 { (case "(($ac_try" in
14732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14733 *) ac_try_echo=$ac_try;;
14734 esac
14735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14736 (eval "$ac_try") 2>&5
14737 ac_status=$?
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; }; then
14740 ac_cv_c_string_h_warnings=no
14741 else
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14745 ac_cv_c_string_h_warnings=yes
14748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14750 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14751 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14752 CFLAGS="$saved_CFLAGS"
14753 if test "$ac_cv_c_string_h_warnings" = "no"
14754 then
14755 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14758 BUILTINFLAG=""
14760 saved_CFLAGS="$CFLAGS"
14761 CFLAGS="$CFLAGS -Werror"
14762 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14763 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14764 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 else
14767 cat >conftest.$ac_ext <<_ACEOF
14768 /* confdefs.h. */
14769 _ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14775 main ()
14777 int iswlower(unsigned short);
14779 return 0;
14781 _ACEOF
14782 rm -f conftest.$ac_objext
14783 if { (ac_try="$ac_compile"
14784 case "(($ac_try" in
14785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14786 *) ac_try_echo=$ac_try;;
14787 esac
14788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14789 (eval "$ac_compile") 2>conftest.er1
14790 ac_status=$?
14791 grep -v '^ *+' conftest.er1 >conftest.err
14792 rm -f conftest.er1
14793 cat conftest.err >&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); } &&
14796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14797 { (case "(($ac_try" in
14798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14799 *) ac_try_echo=$ac_try;;
14800 esac
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_try") 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (case "(($ac_try" in
14808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14809 *) ac_try_echo=$ac_try;;
14810 esac
14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_try") 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_c_builtin_wchar_ctype=no
14817 else
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14821 ac_cv_c_builtin_wchar_ctype=yes
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14826 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14827 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14828 CFLAGS="$saved_CFLAGS"
14829 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14830 then
14831 BUILTINFLAG="-fno-builtin"
14836 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14837 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14838 if test "${ac_cv_asm_func_def+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 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"); }
14850 main ()
14854 return 0;
14856 _ACEOF
14857 rm -f conftest.$ac_objext conftest$ac_exeext
14858 if { (ac_try="$ac_link"
14859 case "(($ac_try" in
14860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14861 *) ac_try_echo=$ac_try;;
14862 esac
14863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14864 (eval "$ac_link") 2>conftest.er1
14865 ac_status=$?
14866 grep -v '^ *+' conftest.er1 >conftest.err
14867 rm -f conftest.er1
14868 cat conftest.err >&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14872 { (case "(($ac_try" in
14873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874 *) ac_try_echo=$ac_try;;
14875 esac
14876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 (eval "$ac_try") 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try='test -s conftest$ac_exeext'
14882 { (case "(($ac_try" in
14883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14884 *) ac_try_echo=$ac_try;;
14885 esac
14886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14887 (eval "$ac_try") 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_cv_asm_func_def=".def"
14892 else
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14896 cat >conftest.$ac_ext <<_ACEOF
14897 /* confdefs.h. */
14898 _ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14902 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14905 main ()
14909 return 0;
14911 _ACEOF
14912 rm -f conftest.$ac_objext conftest$ac_exeext
14913 if { (ac_try="$ac_link"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14917 esac
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_link") 2>conftest.er1
14920 ac_status=$?
14921 grep -v '^ *+' conftest.er1 >conftest.err
14922 rm -f conftest.er1
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14927 { (case "(($ac_try" in
14928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14929 *) ac_try_echo=$ac_try;;
14930 esac
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_try") 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest$ac_exeext'
14937 { (case "(($ac_try" in
14938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14939 *) ac_try_echo=$ac_try;;
14940 esac
14941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14942 (eval "$ac_try") 2>&5
14943 ac_status=$?
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; }; then
14946 ac_cv_asm_func_def=".type @function"
14947 else
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14951 cat >conftest.$ac_ext <<_ACEOF
14952 /* confdefs.h. */
14953 _ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14960 main ()
14964 return 0;
14966 _ACEOF
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972 esac
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14982 { (case "(($ac_try" in
14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14984 *) ac_try_echo=$ac_try;;
14985 esac
14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_try") 2>&5
14988 ac_status=$?
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
14998 ac_status=$?
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; }; then
15001 ac_cv_asm_func_def=".type 2"
15002 else
15003 echo "$as_me: failed program was:" >&5
15004 sed 's/^/| /' conftest.$ac_ext >&5
15006 ac_cv_asm_func_def="unknown"
15009 rm -f core conftest.err conftest.$ac_objext \
15010 conftest$ac_exeext conftest.$ac_ext
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15021 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15025 case "$ac_cv_asm_func_def" in
15026 ".def")
15027 cat >>confdefs.h <<\_ACEOF
15028 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15029 _ACEOF
15031 ".type @function")
15032 cat >>confdefs.h <<\_ACEOF
15033 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15034 _ACEOF
15036 ".type 2")
15037 cat >>confdefs.h <<\_ACEOF
15038 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15039 _ACEOF
15042 cat >>confdefs.h <<\_ACEOF
15043 #define __ASM_FUNC(name) ""
15044 _ACEOF
15046 esac
15049 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15050 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15051 if test "${ac_cv_c_extern_prefix+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 else
15054 cat >conftest.$ac_ext <<_ACEOF
15055 /* confdefs.h. */
15056 _ACEOF
15057 cat confdefs.h >>conftest.$ac_ext
15058 cat >>conftest.$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15061 extern int ac_test;
15063 main ()
15065 if (ac_test) return 1
15067 return 0;
15069 _ACEOF
15070 rm -f conftest.$ac_objext conftest$ac_exeext
15071 if { (ac_try="$ac_link"
15072 case "(($ac_try" in
15073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15075 esac
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_link") 2>conftest.er1
15078 ac_status=$?
15079 grep -v '^ *+' conftest.er1 >conftest.err
15080 rm -f conftest.er1
15081 cat conftest.err >&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15085 { (case "(($ac_try" in
15086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15087 *) ac_try_echo=$ac_try;;
15088 esac
15089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090 (eval "$ac_try") 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try='test -s conftest$ac_exeext'
15095 { (case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15098 esac
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_try") 2>&5
15101 ac_status=$?
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 ac_cv_c_extern_prefix="yes"
15105 else
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15109 ac_cv_c_extern_prefix="no"
15112 rm -f core conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15115 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15116 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15120 if test "$ac_cv_c_extern_prefix" = "yes"
15121 then
15122 cat >>confdefs.h <<\_ACEOF
15123 #define __ASM_NAME(name) "_" name
15124 _ACEOF
15126 else
15127 cat >>confdefs.h <<\_ACEOF
15128 #define __ASM_NAME(name) name
15129 _ACEOF
15134 DLLEXT=""
15136 DLLFLAGS="-D_REENTRANT"
15138 LDSHARED=""
15140 LDDLLFLAGS=""
15142 LIBEXT="so"
15144 IMPLIBEXT="def"
15146 LIBWINE_LDFLAGS=""
15149 case $host_os in
15150 cygwin*|mingw32*)
15151 if test -n "$ac_tool_prefix"; then
15152 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15153 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15156 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 else
15159 if test -n "$DLLTOOL"; then
15160 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15161 else
15162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15163 for as_dir in $PATH
15165 IFS=$as_save_IFS
15166 test -z "$as_dir" && as_dir=.
15167 for ac_exec_ext in '' $ac_executable_extensions; do
15168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15169 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15171 break 2
15173 done
15174 done
15175 IFS=$as_save_IFS
15179 DLLTOOL=$ac_cv_prog_DLLTOOL
15180 if test -n "$DLLTOOL"; then
15181 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15182 echo "${ECHO_T}$DLLTOOL" >&6; }
15183 else
15184 { echo "$as_me:$LINENO: result: no" >&5
15185 echo "${ECHO_T}no" >&6; }
15190 if test -z "$ac_cv_prog_DLLTOOL"; then
15191 ac_ct_DLLTOOL=$DLLTOOL
15192 # Extract the first word of "dlltool", so it can be a program name with args.
15193 set dummy dlltool; ac_word=$2
15194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15196 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 else
15199 if test -n "$ac_ct_DLLTOOL"; then
15200 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15201 else
15202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15203 for as_dir in $PATH
15205 IFS=$as_save_IFS
15206 test -z "$as_dir" && as_dir=.
15207 for ac_exec_ext in '' $ac_executable_extensions; do
15208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15209 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15211 break 2
15213 done
15214 done
15215 IFS=$as_save_IFS
15219 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15220 if test -n "$ac_ct_DLLTOOL"; then
15221 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15222 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15223 else
15224 { echo "$as_me:$LINENO: result: no" >&5
15225 echo "${ECHO_T}no" >&6; }
15228 if test "x$ac_ct_DLLTOOL" = x; then
15229 DLLTOOL="false"
15230 else
15231 case $cross_compiling:$ac_tool_warned in
15232 yes:)
15233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15234 whose name does not start with the host triplet. If you think this
15235 configuration is useful to you, please write to autoconf@gnu.org." >&5
15236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15237 whose name does not start with the host triplet. If you think this
15238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15239 ac_tool_warned=yes ;;
15240 esac
15241 DLLTOOL=$ac_ct_DLLTOOL
15243 else
15244 DLLTOOL="$ac_cv_prog_DLLTOOL"
15247 if test -n "$ac_tool_prefix"; then
15248 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15249 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15252 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 if test -n "$DLLWRAP"; then
15256 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15257 else
15258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15259 for as_dir in $PATH
15261 IFS=$as_save_IFS
15262 test -z "$as_dir" && as_dir=.
15263 for ac_exec_ext in '' $ac_executable_extensions; do
15264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15265 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15267 break 2
15269 done
15270 done
15271 IFS=$as_save_IFS
15275 DLLWRAP=$ac_cv_prog_DLLWRAP
15276 if test -n "$DLLWRAP"; then
15277 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15278 echo "${ECHO_T}$DLLWRAP" >&6; }
15279 else
15280 { echo "$as_me:$LINENO: result: no" >&5
15281 echo "${ECHO_T}no" >&6; }
15286 if test -z "$ac_cv_prog_DLLWRAP"; then
15287 ac_ct_DLLWRAP=$DLLWRAP
15288 # Extract the first word of "dllwrap", so it can be a program name with args.
15289 set dummy dllwrap; ac_word=$2
15290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15292 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 if test -n "$ac_ct_DLLWRAP"; then
15296 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15297 else
15298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15299 for as_dir in $PATH
15301 IFS=$as_save_IFS
15302 test -z "$as_dir" && as_dir=.
15303 for ac_exec_ext in '' $ac_executable_extensions; do
15304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15305 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15307 break 2
15309 done
15310 done
15311 IFS=$as_save_IFS
15315 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15316 if test -n "$ac_ct_DLLWRAP"; then
15317 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15318 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15319 else
15320 { echo "$as_me:$LINENO: result: no" >&5
15321 echo "${ECHO_T}no" >&6; }
15324 if test "x$ac_ct_DLLWRAP" = x; then
15325 DLLWRAP="false"
15326 else
15327 case $cross_compiling:$ac_tool_warned in
15328 yes:)
15329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15330 whose name does not start with the host triplet. If you think this
15331 configuration is useful to you, please write to autoconf@gnu.org." >&5
15332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15333 whose name does not start with the host triplet. If you think this
15334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15335 ac_tool_warned=yes ;;
15336 esac
15337 DLLWRAP=$ac_ct_DLLWRAP
15339 else
15340 DLLWRAP="$ac_cv_prog_DLLWRAP"
15343 if test "$DLLWRAP" = "false"; then
15344 LIBEXT="a"
15345 else
15346 LIBEXT="dll"
15348 IMPLIBEXT="a"
15349 WIN16_FILES=""
15350 WIN16_INSTALL=""
15352 darwin*|macosx*)
15353 DLLEXT=".so"
15354 LIBEXT="dylib"
15355 DLLFLAGS="$DLLFLAGS -fPIC"
15356 LDDLLFLAGS="-bundle -multiply_defined suppress"
15357 LIBWINE_LDFLAGS="-multiply_defined suppress"
15358 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15359 STRIP="$STRIP -u -r"
15360 COREFOUNDATIONLIB="-framework CoreFoundation"
15362 IOKITLIB="-framework IOKit -framework CoreFoundation"
15364 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15366 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15368 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15369 then
15370 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15373 case $host_cpu in
15374 *powerpc*)
15375 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15376 esac
15377 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15378 then
15379 QUARTZFILES='$(QUARTZFILES)'
15383 DLLFLAGS="$DLLFLAGS -fPIC"
15384 DLLEXT=".so"
15385 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15386 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15387 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15388 echo $ECHO_N "(cached) $ECHO_C" >&6
15389 else
15390 ac_wine_try_cflags_saved=$CFLAGS
15391 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15392 cat >conftest.$ac_ext <<_ACEOF
15393 void myfunc() {}
15394 _ACEOF
15395 rm -f conftest.$ac_objext conftest$ac_exeext
15396 if { (ac_try="$ac_link"
15397 case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15400 esac
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_link") 2>conftest.er1
15403 ac_status=$?
15404 grep -v '^ *+' conftest.er1 >conftest.err
15405 rm -f conftest.er1
15406 cat conftest.err >&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15410 { (case "(($ac_try" in
15411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15413 esac
15414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_try") 2>&5
15416 ac_status=$?
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; } &&
15419 { ac_try='test -s conftest$ac_exeext'
15420 { (case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15423 esac
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_try") 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 ac_cv_c_dll_gnuelf="yes"
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_cv_c_dll_gnuelf="no"
15437 rm -f core conftest.err conftest.$ac_objext \
15438 conftest$ac_exeext conftest.$ac_ext
15439 CFLAGS=$ac_wine_try_cflags_saved
15441 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15442 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15443 if test "$ac_cv_c_dll_gnuelf" = "yes"
15444 then
15445 LDSHARED="\$(CC) -shared"
15446 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15447 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15448 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15449 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 else
15452 ac_wine_try_cflags_saved=$CFLAGS
15453 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15454 cat >conftest.$ac_ext <<_ACEOF
15455 /* confdefs.h. */
15456 _ACEOF
15457 cat confdefs.h >>conftest.$ac_ext
15458 cat >>conftest.$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15462 main ()
15466 return 0;
15468 _ACEOF
15469 rm -f conftest.$ac_objext conftest$ac_exeext
15470 if { (ac_try="$ac_link"
15471 case "(($ac_try" in
15472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15473 *) ac_try_echo=$ac_try;;
15474 esac
15475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15476 (eval "$ac_link") 2>conftest.er1
15477 ac_status=$?
15478 grep -v '^ *+' conftest.er1 >conftest.err
15479 rm -f conftest.er1
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15484 { (case "(($ac_try" in
15485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15486 *) ac_try_echo=$ac_try;;
15487 esac
15488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15489 (eval "$ac_try") 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; } &&
15493 { ac_try='test -s conftest$ac_exeext'
15494 { (case "(($ac_try" in
15495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15496 *) ac_try_echo=$ac_try;;
15497 esac
15498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15499 (eval "$ac_try") 2>&5
15500 ac_status=$?
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; }; then
15503 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15504 else
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15508 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15511 rm -f core conftest.err conftest.$ac_objext \
15512 conftest$ac_exeext conftest.$ac_ext
15513 CFLAGS=$ac_wine_try_cflags_saved
15515 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15516 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15517 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15518 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15519 else
15520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15521 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15522 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+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,-h,confest.so.1"
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__h_confest_so_1=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__h_confest_so_1=no
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15586 CFLAGS=$ac_wine_try_cflags_saved
15588 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15589 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15590 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15591 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15597 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15598 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15599 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 ac_wine_try_cflags_saved=$CFLAGS
15603 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15604 cat >conftest.$ac_ext <<_ACEOF
15605 /* confdefs.h. */
15606 _ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15612 main ()
15616 return 0;
15618 _ACEOF
15619 rm -f conftest.$ac_objext conftest$ac_exeext
15620 if { (ac_try="$ac_link"
15621 case "(($ac_try" in
15622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15623 *) ac_try_echo=$ac_try;;
15624 esac
15625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15626 (eval "$ac_link") 2>conftest.er1
15627 ac_status=$?
15628 grep -v '^ *+' conftest.er1 >conftest.err
15629 rm -f conftest.er1
15630 cat conftest.err >&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15634 { (case "(($ac_try" in
15635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15636 *) ac_try_echo=$ac_try;;
15637 esac
15638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15639 (eval "$ac_try") 2>&5
15640 ac_status=$?
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try='test -s conftest$ac_exeext'
15644 { (case "(($ac_try" in
15645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15646 *) ac_try_echo=$ac_try;;
15647 esac
15648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15649 (eval "$ac_try") 2>&5
15650 ac_status=$?
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15653 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15654 else
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15658 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15661 rm -f core conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext conftest.$ac_ext
15663 CFLAGS=$ac_wine_try_cflags_saved
15665 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15666 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15667 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15668 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15672 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15674 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 else
15677 ac_wine_try_cflags_saved=$CFLAGS
15678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15679 cat >conftest.$ac_ext <<_ACEOF
15680 /* confdefs.h. */
15681 _ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15687 main ()
15691 return 0;
15693 _ACEOF
15694 rm -f conftest.$ac_objext conftest$ac_exeext
15695 if { (ac_try="$ac_link"
15696 case "(($ac_try" in
15697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 *) ac_try_echo=$ac_try;;
15699 esac
15700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 (eval "$ac_link") 2>conftest.er1
15702 ac_status=$?
15703 grep -v '^ *+' conftest.er1 >conftest.err
15704 rm -f conftest.er1
15705 cat conftest.err >&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15709 { (case "(($ac_try" in
15710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15711 *) ac_try_echo=$ac_try;;
15712 esac
15713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15714 (eval "$ac_try") 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest$ac_exeext'
15719 { (case "(($ac_try" in
15720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15721 *) ac_try_echo=$ac_try;;
15722 esac
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15724 (eval "$ac_try") 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15728 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15729 else
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.$ac_ext >&5
15733 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15738 CFLAGS=$ac_wine_try_cflags_saved
15740 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15741 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15742 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15743 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15747 echo '{ global: *; };' >conftest.map
15748 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15749 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15750 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15751 echo $ECHO_N "(cached) $ECHO_C" >&6
15752 else
15753 ac_wine_try_cflags_saved=$CFLAGS
15754 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15755 cat >conftest.$ac_ext <<_ACEOF
15756 /* confdefs.h. */
15757 _ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15763 main ()
15767 return 0;
15769 _ACEOF
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (ac_try="$ac_link"
15772 case "(($ac_try" in
15773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15774 *) ac_try_echo=$ac_try;;
15775 esac
15776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15777 (eval "$ac_link") 2>conftest.er1
15778 ac_status=$?
15779 grep -v '^ *+' conftest.er1 >conftest.err
15780 rm -f conftest.er1
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15785 { (case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15788 esac
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_try") 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest$ac_exeext'
15795 { (case "(($ac_try" in
15796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15797 *) ac_try_echo=$ac_try;;
15798 esac
15799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15800 (eval "$ac_try") 2>&5
15801 ac_status=$?
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15805 else
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15809 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15812 rm -f core conftest.err conftest.$ac_objext \
15813 conftest$ac_exeext conftest.$ac_ext
15814 CFLAGS=$ac_wine_try_cflags_saved
15816 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15817 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15818 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15819 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15822 rm -f conftest.map
15824 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15825 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15826 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+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,--export-dynamic"
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 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15881 else
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15885 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15888 rm -f core conftest.err conftest.$ac_objext \
15889 conftest$ac_exeext conftest.$ac_ext
15890 CFLAGS=$ac_wine_try_cflags_saved
15892 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15893 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15894 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15895 LDEXECFLAGS="-Wl,--export-dynamic"
15900 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15901 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15902 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 else
15906 ac_wine_try_cflags_saved=$CFLAGS
15907 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15908 cat >conftest.$ac_ext <<_ACEOF
15909 /* confdefs.h. */
15910 _ACEOF
15911 cat confdefs.h >>conftest.$ac_ext
15912 cat >>conftest.$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15916 main ()
15920 return 0;
15922 _ACEOF
15923 rm -f conftest.$ac_objext conftest$ac_exeext
15924 if { (ac_try="$ac_link"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15928 esac
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_link") 2>conftest.er1
15931 ac_status=$?
15932 grep -v '^ *+' conftest.er1 >conftest.err
15933 rm -f conftest.er1
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } &&
15937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15938 { (case "(($ac_try" in
15939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15940 *) ac_try_echo=$ac_try;;
15941 esac
15942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15943 (eval "$ac_try") 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; } &&
15947 { ac_try='test -s conftest$ac_exeext'
15948 { (case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15951 esac
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_try") 2>&5
15954 ac_status=$?
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15957 eval "$as_ac_var=yes"
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15962 eval "$as_ac_var=no"
15965 rm -f core conftest.err conftest.$ac_objext \
15966 conftest$ac_exeext conftest.$ac_ext
15967 CFLAGS=$ac_wine_try_cflags_saved
15969 ac_res=`eval echo '${'$as_ac_var'}'`
15970 { echo "$as_me:$LINENO: result: $ac_res" >&5
15971 echo "${ECHO_T}$ac_res" >&6; }
15972 if test `eval echo '${'$as_ac_var'}'` = yes; then
15973 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15977 case $host_cpu in
15978 *i[3456789]86* | x86_64)
15979 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15980 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15981 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 else
15984 ac_wine_try_cflags_saved=$CFLAGS
15985 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15986 cat >conftest.$ac_ext <<_ACEOF
15987 /* confdefs.h. */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15994 main ()
15998 return 0;
16000 _ACEOF
16001 rm -f conftest.$ac_objext conftest$ac_exeext
16002 if { (ac_try="$ac_link"
16003 case "(($ac_try" in
16004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16005 *) ac_try_echo=$ac_try;;
16006 esac
16007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16008 (eval "$ac_link") 2>conftest.er1
16009 ac_status=$?
16010 grep -v '^ *+' conftest.er1 >conftest.err
16011 rm -f conftest.er1
16012 cat conftest.err >&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } &&
16015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16016 { (case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16019 esac
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_try") 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try='test -s conftest$ac_exeext'
16026 { (case "(($ac_try" in
16027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16028 *) ac_try_echo=$ac_try;;
16029 esac
16030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16031 (eval "$ac_try") 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
16036 else
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16045 CFLAGS=$ac_wine_try_cflags_saved
16047 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16048 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16049 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16050 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16054 esac
16056 else
16057 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16058 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16059 if test "${ac_cv_c_dll_unixware+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16062 ac_wine_try_cflags_saved=$CFLAGS
16063 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16064 cat >conftest.$ac_ext <<_ACEOF
16065 void myfunc() {}
16066 _ACEOF
16067 rm -f conftest.$ac_objext conftest$ac_exeext
16068 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
16075 ac_status=$?
16076 grep -v '^ *+' conftest.er1 >conftest.err
16077 rm -f conftest.er1
16078 cat conftest.err >&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16082 { (case "(($ac_try" in
16083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16084 *) ac_try_echo=$ac_try;;
16085 esac
16086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16087 (eval "$ac_try") 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest$ac_exeext'
16092 { (case "(($ac_try" in
16093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16094 *) ac_try_echo=$ac_try;;
16095 esac
16096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16097 (eval "$ac_try") 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; }; then
16101 ac_cv_c_dll_unixware="yes"
16102 else
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16106 ac_cv_c_dll_unixware="no"
16109 rm -f core conftest.err conftest.$ac_objext \
16110 conftest$ac_exeext conftest.$ac_ext
16111 CFLAGS=$ac_wine_try_cflags_saved
16113 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16114 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16115 if test "$ac_cv_c_dll_unixware" = "yes"
16116 then
16117 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16118 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16120 else
16121 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16122 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16123 if test "${ac_cv_c_dll_hpux+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 else
16126 ac_wine_try_cflags_saved=$CFLAGS
16127 CFLAGS="$CFLAGS -shared"
16128 cat >conftest.$ac_ext <<_ACEOF
16129 void myfunc() {}
16130 _ACEOF
16131 rm -f conftest.$ac_objext conftest$ac_exeext
16132 if { (ac_try="$ac_link"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16135 *) ac_try_echo=$ac_try;;
16136 esac
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_link") 2>conftest.er1
16139 ac_status=$?
16140 grep -v '^ *+' conftest.er1 >conftest.err
16141 rm -f conftest.er1
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } &&
16145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16146 { (case "(($ac_try" in
16147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16148 *) ac_try_echo=$ac_try;;
16149 esac
16150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16151 (eval "$ac_try") 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest$ac_exeext'
16156 { (case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16159 esac
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_try") 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; }; then
16165 ac_cv_c_dll_hpux="yes"
16166 else
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16170 ac_cv_c_dll_hpux="no"
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16175 CFLAGS=$ac_wine_try_cflags_saved
16177 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16178 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16179 if test "$ac_cv_c_dll_hpux" = "yes"
16180 then
16181 LIBEXT="sl"
16182 DLLEXT=".sl"
16183 LDDLLFLAGS="-shared -fPIC"
16184 LDSHARED="\$(CC) -shared"
16189 CROSSTEST=""
16191 if test "$cross_compiling" = "no"
16192 then
16193 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16195 # Extract the first word of "$ac_prog", so it can be a program name with args.
16196 set dummy $ac_prog; ac_word=$2
16197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16199 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 if test -n "$CROSSCC"; then
16203 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16204 else
16205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16206 for as_dir in $PATH
16208 IFS=$as_save_IFS
16209 test -z "$as_dir" && as_dir=.
16210 for ac_exec_ext in '' $ac_executable_extensions; do
16211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16212 ac_cv_prog_CROSSCC="$ac_prog"
16213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16214 break 2
16216 done
16217 done
16218 IFS=$as_save_IFS
16222 CROSSCC=$ac_cv_prog_CROSSCC
16223 if test -n "$CROSSCC"; then
16224 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16225 echo "${ECHO_T}$CROSSCC" >&6; }
16226 else
16227 { echo "$as_me:$LINENO: result: no" >&5
16228 echo "${ECHO_T}no" >&6; }
16232 test -n "$CROSSCC" && break
16233 done
16234 test -n "$CROSSCC" || CROSSCC="false"
16236 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16238 # Extract the first word of "$ac_prog", so it can be a program name with args.
16239 set dummy $ac_prog; ac_word=$2
16240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16242 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16244 else
16245 if test -n "$DLLTOOL"; then
16246 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16247 else
16248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16249 for as_dir in $PATH
16251 IFS=$as_save_IFS
16252 test -z "$as_dir" && as_dir=.
16253 for ac_exec_ext in '' $ac_executable_extensions; do
16254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16255 ac_cv_prog_DLLTOOL="$ac_prog"
16256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16257 break 2
16259 done
16260 done
16261 IFS=$as_save_IFS
16265 DLLTOOL=$ac_cv_prog_DLLTOOL
16266 if test -n "$DLLTOOL"; then
16267 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16268 echo "${ECHO_T}$DLLTOOL" >&6; }
16269 else
16270 { echo "$as_me:$LINENO: result: no" >&5
16271 echo "${ECHO_T}no" >&6; }
16275 test -n "$DLLTOOL" && break
16276 done
16277 test -n "$DLLTOOL" || DLLTOOL="false"
16279 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16281 # Extract the first word of "$ac_prog", so it can be a program name with args.
16282 set dummy $ac_prog; ac_word=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 else
16288 if test -n "$CROSSWINDRES"; then
16289 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16290 else
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16294 IFS=$as_save_IFS
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_CROSSWINDRES="$ac_prog"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16300 break 2
16302 done
16303 done
16304 IFS=$as_save_IFS
16308 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16309 if test -n "$CROSSWINDRES"; then
16310 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16311 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16312 else
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16318 test -n "$CROSSWINDRES" && break
16319 done
16320 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16322 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16325 esac
16327 if test "$LIBEXT" = "a"; then
16328 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16329 It is currently not possible to build Wine without shared library
16330 (.so) support to allow transparent switch between .so and .dll files.
16331 If you are using Linux, you will need a newer binutils.
16332 " >&5
16333 echo "$as_me: error: could not find a way to build shared libraries.
16334 It is currently not possible to build Wine without shared library
16335 (.so) support to allow transparent switch between .so and .dll files.
16336 If you are using Linux, you will need a newer binutils.
16337 " >&2;}
16338 { (exit 1); exit 1; }; }
16341 case $build_os in
16342 cygwin*|mingw32*)
16343 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16345 darwin*|macosx*)
16346 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16349 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16351 esac
16353 case $host_os in
16354 mingw32*)
16355 CRTLIBS="-lmsvcrt"
16357 SOCKETLIBS="-lws2_32"
16360 esac
16362 MAIN_BINARY="wine-pthread"
16363 case $host_cpu in
16364 *i[3456789]86*)
16365 case $host_os in
16366 linux* | k*bsd*-gnu)
16367 MAIN_BINARY="wine-glibc"
16369 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16371 esac
16373 esac
16376 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16377 then
16378 # Extract the first word of "ldd", so it can be a program name with args.
16379 set dummy ldd; ac_word=$2
16380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16382 if test "${ac_cv_path_LDD+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 case $LDD in
16386 [\\/]* | ?:[\\/]*)
16387 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16391 as_dummy="/sbin:/usr/sbin:$PATH"
16392 for as_dir in $as_dummy
16394 IFS=$as_save_IFS
16395 test -z "$as_dir" && as_dir=.
16396 for ac_exec_ext in '' $ac_executable_extensions; do
16397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16398 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16400 break 2
16402 done
16403 done
16404 IFS=$as_save_IFS
16406 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16408 esac
16410 LDD=$ac_cv_path_LDD
16411 if test -n "$LDD"; then
16412 { echo "$as_me:$LINENO: result: $LDD" >&5
16413 echo "${ECHO_T}$LDD" >&6; }
16414 else
16415 { echo "$as_me:$LINENO: result: no" >&5
16416 echo "${ECHO_T}no" >&6; }
16420 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16421 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16422 if test "${ac_cv_lib_soname_X11+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 ac_get_soname_save_LIBS=$LIBS
16426 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16427 cat >conftest.$ac_ext <<_ACEOF
16428 /* confdefs.h. */
16429 _ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16434 /* Override any GCC internal prototype to avoid an error.
16435 Use char because int might match the return type of a GCC
16436 builtin and then its argument prototype would still apply. */
16437 #ifdef __cplusplus
16438 extern "C"
16439 #endif
16440 char XCreateWindow ();
16442 main ()
16444 return XCreateWindow ();
16446 return 0;
16448 _ACEOF
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (ac_try="$ac_link"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16454 esac
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_link") 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16464 { (case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16467 esac
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_try") 2>&5
16470 ac_status=$?
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; } &&
16473 { ac_try='test -s conftest$ac_exeext'
16474 { (case "(($ac_try" in
16475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;;
16477 esac
16478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16479 (eval "$ac_try") 2>&5
16480 ac_status=$?
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16483 case "$LIBEXT" in
16484 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'` ;;
16485 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16486 esac
16487 if test "x$ac_cv_lib_soname_X11" = "x"
16488 then
16489 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16491 else
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16498 rm -f core conftest.err conftest.$ac_objext \
16499 conftest$ac_exeext conftest.$ac_ext
16500 LIBS=$ac_get_soname_save_LIBS
16502 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16503 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16504 if test "${ac_cv_lib_soname_X11+set}" = set; then
16506 cat >>confdefs.h <<_ACEOF
16507 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16508 _ACEOF
16512 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16513 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16514 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 else
16517 ac_get_soname_save_LIBS=$LIBS
16518 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16519 cat >conftest.$ac_ext <<_ACEOF
16520 /* confdefs.h. */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16529 #ifdef __cplusplus
16530 extern "C"
16531 #endif
16532 char XextCreateExtension ();
16534 main ()
16536 return XextCreateExtension ();
16538 return 0;
16540 _ACEOF
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (ac_try="$ac_link"
16543 case "(($ac_try" in
16544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16545 *) ac_try_echo=$ac_try;;
16546 esac
16547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16548 (eval "$ac_link") 2>conftest.er1
16549 ac_status=$?
16550 grep -v '^ *+' conftest.er1 >conftest.err
16551 rm -f conftest.er1
16552 cat conftest.err >&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } &&
16555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16556 { (case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16559 esac
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_try") 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; } &&
16565 { ac_try='test -s conftest$ac_exeext'
16566 { (case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16569 esac
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_try") 2>&5
16572 ac_status=$?
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 case "$LIBEXT" in
16576 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'` ;;
16577 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16578 esac
16579 if test "x$ac_cv_lib_soname_Xext" = "x"
16580 then
16581 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16590 rm -f core conftest.err conftest.$ac_objext \
16591 conftest$ac_exeext conftest.$ac_ext
16592 LIBS=$ac_get_soname_save_LIBS
16594 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16595 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16596 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16598 cat >>confdefs.h <<_ACEOF
16599 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16600 _ACEOF
16604 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16605 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16606 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16608 else
16609 ac_get_soname_save_LIBS=$LIBS
16610 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16611 cat >conftest.$ac_ext <<_ACEOF
16612 /* confdefs.h. */
16613 _ACEOF
16614 cat confdefs.h >>conftest.$ac_ext
16615 cat >>conftest.$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16618 /* Override any GCC internal prototype to avoid an error.
16619 Use char because int might match the return type of a GCC
16620 builtin and then its argument prototype would still apply. */
16621 #ifdef __cplusplus
16622 extern "C"
16623 #endif
16624 char XOpenDevice ();
16626 main ()
16628 return XOpenDevice ();
16630 return 0;
16632 _ACEOF
16633 rm -f conftest.$ac_objext conftest$ac_exeext
16634 if { (ac_try="$ac_link"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16638 esac
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_link") 2>conftest.er1
16641 ac_status=$?
16642 grep -v '^ *+' conftest.er1 >conftest.err
16643 rm -f conftest.er1
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } &&
16647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16648 { (case "(($ac_try" in
16649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16650 *) ac_try_echo=$ac_try;;
16651 esac
16652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16653 (eval "$ac_try") 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; } &&
16657 { ac_try='test -s conftest$ac_exeext'
16658 { (case "(($ac_try" in
16659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16661 esac
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_try") 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 case "$LIBEXT" in
16668 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'` ;;
16669 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16670 esac
16671 if test "x$ac_cv_lib_soname_Xi" = "x"
16672 then
16673 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16679 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_get_soname_save_LIBS
16686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16687 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16688 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16690 cat >>confdefs.h <<_ACEOF
16691 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16692 _ACEOF
16696 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16697 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16698 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 else
16701 ac_get_soname_save_LIBS=$LIBS
16702 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16703 cat >conftest.$ac_ext <<_ACEOF
16704 /* confdefs.h. */
16705 _ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16710 /* Override any GCC internal prototype to avoid an error.
16711 Use char because int might match the return type of a GCC
16712 builtin and then its argument prototype would still apply. */
16713 #ifdef __cplusplus
16714 extern "C"
16715 #endif
16716 char XineramaQueryScreens ();
16718 main ()
16720 return XineramaQueryScreens ();
16722 return 0;
16724 _ACEOF
16725 rm -f conftest.$ac_objext conftest$ac_exeext
16726 if { (ac_try="$ac_link"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_link") 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16740 { (case "(($ac_try" in
16741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16742 *) ac_try_echo=$ac_try;;
16743 esac
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_try") 2>&5
16746 ac_status=$?
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try='test -s conftest$ac_exeext'
16750 { (case "(($ac_try" in
16751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16753 esac
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_try") 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 case "$LIBEXT" in
16760 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'` ;;
16761 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16762 esac
16763 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16764 then
16765 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16767 else
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16771 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16774 rm -f core conftest.err conftest.$ac_objext \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_get_soname_save_LIBS
16778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16779 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16780 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16782 cat >>confdefs.h <<_ACEOF
16783 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16784 _ACEOF
16788 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16789 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16790 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 else
16793 ac_get_soname_save_LIBS=$LIBS
16794 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16795 cat >conftest.$ac_ext <<_ACEOF
16796 /* confdefs.h. */
16797 _ACEOF
16798 cat confdefs.h >>conftest.$ac_ext
16799 cat >>conftest.$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16802 /* Override any GCC internal prototype to avoid an error.
16803 Use char because int might match the return type of a GCC
16804 builtin and then its argument prototype would still apply. */
16805 #ifdef __cplusplus
16806 extern "C"
16807 #endif
16808 char XRenderQueryExtension ();
16810 main ()
16812 return XRenderQueryExtension ();
16814 return 0;
16816 _ACEOF
16817 rm -f conftest.$ac_objext conftest$ac_exeext
16818 if { (ac_try="$ac_link"
16819 case "(($ac_try" in
16820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16821 *) ac_try_echo=$ac_try;;
16822 esac
16823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16824 (eval "$ac_link") 2>conftest.er1
16825 ac_status=$?
16826 grep -v '^ *+' conftest.er1 >conftest.err
16827 rm -f conftest.er1
16828 cat conftest.err >&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } &&
16831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16832 { (case "(($ac_try" in
16833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16835 esac
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_try") 2>&5
16838 ac_status=$?
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; } &&
16841 { ac_try='test -s conftest$ac_exeext'
16842 { (case "(($ac_try" in
16843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16844 *) ac_try_echo=$ac_try;;
16845 esac
16846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16847 (eval "$ac_try") 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 case "$LIBEXT" in
16852 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'` ;;
16853 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16854 esac
16855 if test "x$ac_cv_lib_soname_Xrender" = "x"
16856 then
16857 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16859 else
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16863 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16868 LIBS=$ac_get_soname_save_LIBS
16870 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16871 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16872 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16874 cat >>confdefs.h <<_ACEOF
16875 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16876 _ACEOF
16880 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16881 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16882 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 else
16885 ac_get_soname_save_LIBS=$LIBS
16886 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16894 /* Override any GCC internal prototype to avoid an error.
16895 Use char because int might match the return type of a GCC
16896 builtin and then its argument prototype would still apply. */
16897 #ifdef __cplusplus
16898 extern "C"
16899 #endif
16900 char XRRQueryExtension ();
16902 main ()
16904 return XRRQueryExtension ();
16906 return 0;
16908 _ACEOF
16909 rm -f conftest.$ac_objext conftest$ac_exeext
16910 if { (ac_try="$ac_link"
16911 case "(($ac_try" in
16912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16914 esac
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_link") 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16924 { (case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16927 esac
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_try") 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; } &&
16933 { ac_try='test -s conftest$ac_exeext'
16934 { (case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_try") 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 case "$LIBEXT" in
16944 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'` ;;
16945 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16946 esac
16947 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16948 then
16949 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16951 else
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16955 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16958 rm -f core conftest.err conftest.$ac_objext \
16959 conftest$ac_exeext conftest.$ac_ext
16960 LIBS=$ac_get_soname_save_LIBS
16962 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16963 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16964 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16966 cat >>confdefs.h <<_ACEOF
16967 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16968 _ACEOF
16972 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16973 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16974 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16975 echo $ECHO_N "(cached) $ECHO_C" >&6
16976 else
16977 ac_get_soname_save_LIBS=$LIBS
16978 LIBS="-lfreetype $X_LIBS $LIBS"
16979 cat >conftest.$ac_ext <<_ACEOF
16980 /* confdefs.h. */
16981 _ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16986 /* Override any GCC internal prototype to avoid an error.
16987 Use char because int might match the return type of a GCC
16988 builtin and then its argument prototype would still apply. */
16989 #ifdef __cplusplus
16990 extern "C"
16991 #endif
16992 char FT_Init_FreeType ();
16994 main ()
16996 return FT_Init_FreeType ();
16998 return 0;
17000 _ACEOF
17001 rm -f conftest.$ac_objext conftest$ac_exeext
17002 if { (ac_try="$ac_link"
17003 case "(($ac_try" in
17004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17005 *) ac_try_echo=$ac_try;;
17006 esac
17007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17008 (eval "$ac_link") 2>conftest.er1
17009 ac_status=$?
17010 grep -v '^ *+' conftest.er1 >conftest.err
17011 rm -f conftest.er1
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17016 { (case "(($ac_try" in
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17019 esac
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_try") 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try='test -s conftest$ac_exeext'
17026 { (case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17028 *) ac_try_echo=$ac_try;;
17029 esac
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_try") 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 case "$LIBEXT" in
17036 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'` ;;
17037 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17038 esac
17039 if test "x$ac_cv_lib_soname_freetype" = "x"
17040 then
17041 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17043 else
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17047 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17050 rm -f core conftest.err conftest.$ac_objext \
17051 conftest$ac_exeext conftest.$ac_ext
17052 LIBS=$ac_get_soname_save_LIBS
17054 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17055 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17056 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17058 cat >>confdefs.h <<_ACEOF
17059 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17060 _ACEOF
17064 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17065 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17066 if test "${ac_cv_lib_soname_GL+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 ac_get_soname_save_LIBS=$LIBS
17070 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17081 #ifdef __cplusplus
17082 extern "C"
17083 #endif
17084 char glXQueryExtension ();
17086 main ()
17088 return glXQueryExtension ();
17090 return 0;
17092 _ACEOF
17093 rm -f conftest.$ac_objext conftest$ac_exeext
17094 if { (ac_try="$ac_link"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_link") 2>conftest.er1
17101 ac_status=$?
17102 grep -v '^ *+' conftest.er1 >conftest.err
17103 rm -f conftest.er1
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } &&
17107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17108 { (case "(($ac_try" in
17109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17110 *) ac_try_echo=$ac_try;;
17111 esac
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_try") 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try='test -s conftest$ac_exeext'
17118 { (case "(($ac_try" in
17119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17120 *) ac_try_echo=$ac_try;;
17121 esac
17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17123 (eval "$ac_try") 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17127 case "$LIBEXT" in
17128 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'` ;;
17129 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17130 esac
17131 if test "x$ac_cv_lib_soname_GL" = "x"
17132 then
17133 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17135 else
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17139 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 LIBS=$ac_get_soname_save_LIBS
17146 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17147 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17148 if test "${ac_cv_lib_soname_GL+set}" = set; then
17150 cat >>confdefs.h <<_ACEOF
17151 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17152 _ACEOF
17156 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17157 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17158 if test "${ac_cv_lib_soname_hal+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 else
17161 ac_get_soname_save_LIBS=$LIBS
17162 LIBS="-lhal $LIBS"
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17170 /* Override any GCC internal prototype to avoid an error.
17171 Use char because int might match the return type of a GCC
17172 builtin and then its argument prototype would still apply. */
17173 #ifdef __cplusplus
17174 extern "C"
17175 #endif
17176 char libhal_ctx_new ();
17178 main ()
17180 return libhal_ctx_new ();
17182 return 0;
17184 _ACEOF
17185 rm -f conftest.$ac_objext conftest$ac_exeext
17186 if { (ac_try="$ac_link"
17187 case "(($ac_try" in
17188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17189 *) ac_try_echo=$ac_try;;
17190 esac
17191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17192 (eval "$ac_link") 2>conftest.er1
17193 ac_status=$?
17194 grep -v '^ *+' conftest.er1 >conftest.err
17195 rm -f conftest.er1
17196 cat conftest.err >&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } &&
17199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17200 { (case "(($ac_try" in
17201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17203 esac
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_try") 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; } &&
17209 { ac_try='test -s conftest$ac_exeext'
17210 { (case "(($ac_try" in
17211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17212 *) ac_try_echo=$ac_try;;
17213 esac
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215 (eval "$ac_try") 2>&5
17216 ac_status=$?
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 case "$LIBEXT" in
17220 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'` ;;
17221 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17222 esac
17223 if test "x$ac_cv_lib_soname_hal" = "x"
17224 then
17225 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17227 else
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17231 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17234 rm -f core conftest.err conftest.$ac_objext \
17235 conftest$ac_exeext conftest.$ac_ext
17236 LIBS=$ac_get_soname_save_LIBS
17238 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17239 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17240 if test "${ac_cv_lib_soname_hal+set}" = set; then
17242 cat >>confdefs.h <<_ACEOF
17243 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17244 _ACEOF
17248 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17249 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17250 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17251 echo $ECHO_N "(cached) $ECHO_C" >&6
17252 else
17253 ac_get_soname_save_LIBS=$LIBS
17254 LIBS="-ltxc_dxtn $LIBS"
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17262 /* Override any GCC internal prototype to avoid an error.
17263 Use char because int might match the return type of a GCC
17264 builtin and then its argument prototype would still apply. */
17265 #ifdef __cplusplus
17266 extern "C"
17267 #endif
17268 char fetch_2d_texel_rgba_dxt1 ();
17270 main ()
17272 return fetch_2d_texel_rgba_dxt1 ();
17274 return 0;
17276 _ACEOF
17277 rm -f conftest.$ac_objext conftest$ac_exeext
17278 if { (ac_try="$ac_link"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17282 esac
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_link") 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } &&
17291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17292 { (case "(($ac_try" in
17293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17295 esac
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_try") 2>&5
17298 ac_status=$?
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; } &&
17301 { ac_try='test -s conftest$ac_exeext'
17302 { (case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17305 esac
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_try") 2>&5
17308 ac_status=$?
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 case "$LIBEXT" in
17312 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'` ;;
17313 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'` ;;
17314 esac
17315 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17316 then
17317 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17319 else
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17323 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17326 rm -f core conftest.err conftest.$ac_objext \
17327 conftest$ac_exeext conftest.$ac_ext
17328 LIBS=$ac_get_soname_save_LIBS
17330 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17331 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17332 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17334 cat >>confdefs.h <<_ACEOF
17335 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17336 _ACEOF
17340 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17341 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17342 if test "${ac_cv_lib_soname_cups+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 else
17345 ac_get_soname_save_LIBS=$LIBS
17346 LIBS="-lcups $LIBS"
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17354 /* Override any GCC internal prototype to avoid an error.
17355 Use char because int might match the return type of a GCC
17356 builtin and then its argument prototype would still apply. */
17357 #ifdef __cplusplus
17358 extern "C"
17359 #endif
17360 char cupsGetDefault ();
17362 main ()
17364 return cupsGetDefault ();
17366 return 0;
17368 _ACEOF
17369 rm -f conftest.$ac_objext conftest$ac_exeext
17370 if { (ac_try="$ac_link"
17371 case "(($ac_try" in
17372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17373 *) ac_try_echo=$ac_try;;
17374 esac
17375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17376 (eval "$ac_link") 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17387 esac
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_try") 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try='test -s conftest$ac_exeext'
17394 { (case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_try") 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; }; then
17403 case "$LIBEXT" in
17404 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'` ;;
17405 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17406 esac
17407 if test "x$ac_cv_lib_soname_cups" = "x"
17408 then
17409 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17418 rm -f core conftest.err conftest.$ac_objext \
17419 conftest$ac_exeext conftest.$ac_ext
17420 LIBS=$ac_get_soname_save_LIBS
17422 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17423 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17424 if test "${ac_cv_lib_soname_cups+set}" = set; then
17426 cat >>confdefs.h <<_ACEOF
17427 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17428 _ACEOF
17432 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17433 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17434 if test "${ac_cv_lib_soname_jack+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437 ac_get_soname_save_LIBS=$LIBS
17438 LIBS="-ljack $LIBS"
17439 cat >conftest.$ac_ext <<_ACEOF
17440 /* confdefs.h. */
17441 _ACEOF
17442 cat confdefs.h >>conftest.$ac_ext
17443 cat >>conftest.$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17446 /* Override any GCC internal prototype to avoid an error.
17447 Use char because int might match the return type of a GCC
17448 builtin and then its argument prototype would still apply. */
17449 #ifdef __cplusplus
17450 extern "C"
17451 #endif
17452 char jack_client_new ();
17454 main ()
17456 return jack_client_new ();
17458 return 0;
17460 _ACEOF
17461 rm -f conftest.$ac_objext conftest$ac_exeext
17462 if { (ac_try="$ac_link"
17463 case "(($ac_try" in
17464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17465 *) ac_try_echo=$ac_try;;
17466 esac
17467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17468 (eval "$ac_link") 2>conftest.er1
17469 ac_status=$?
17470 grep -v '^ *+' conftest.er1 >conftest.err
17471 rm -f conftest.er1
17472 cat conftest.err >&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); } &&
17475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17476 { (case "(($ac_try" in
17477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17478 *) ac_try_echo=$ac_try;;
17479 esac
17480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17481 (eval "$ac_try") 2>&5
17482 ac_status=$?
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try='test -s conftest$ac_exeext'
17486 { (case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17489 esac
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_try") 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17495 case "$LIBEXT" in
17496 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'` ;;
17497 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17498 esac
17499 if test "x$ac_cv_lib_soname_jack" = "x"
17500 then
17501 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17507 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17510 rm -f core conftest.err conftest.$ac_objext \
17511 conftest$ac_exeext conftest.$ac_ext
17512 LIBS=$ac_get_soname_save_LIBS
17514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17515 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17516 if test "${ac_cv_lib_soname_jack+set}" = set; then
17518 cat >>confdefs.h <<_ACEOF
17519 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17520 _ACEOF
17524 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17525 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17526 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 ac_get_soname_save_LIBS=$LIBS
17530 LIBS="-lfontconfig $LIBS"
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17538 /* Override any GCC internal prototype to avoid an error.
17539 Use char because int might match the return type of a GCC
17540 builtin and then its argument prototype would still apply. */
17541 #ifdef __cplusplus
17542 extern "C"
17543 #endif
17544 char FcInit ();
17546 main ()
17548 return FcInit ();
17550 return 0;
17552 _ACEOF
17553 rm -f conftest.$ac_objext conftest$ac_exeext
17554 if { (ac_try="$ac_link"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17558 esac
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_link") 2>conftest.er1
17561 ac_status=$?
17562 grep -v '^ *+' conftest.er1 >conftest.err
17563 rm -f conftest.er1
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17568 { (case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17571 esac
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_try") 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; } &&
17577 { ac_try='test -s conftest$ac_exeext'
17578 { (case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17581 esac
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_try") 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 case "$LIBEXT" in
17588 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'` ;;
17589 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17590 esac
17591 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17592 then
17593 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17604 LIBS=$ac_get_soname_save_LIBS
17606 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17607 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17608 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17612 _ACEOF
17616 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17617 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17618 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 else
17621 ac_get_soname_save_LIBS=$LIBS
17622 LIBS="-lssl $LIBS"
17623 cat >conftest.$ac_ext <<_ACEOF
17624 /* confdefs.h. */
17625 _ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17630 /* Override any GCC internal prototype to avoid an error.
17631 Use char because int might match the return type of a GCC
17632 builtin and then its argument prototype would still apply. */
17633 #ifdef __cplusplus
17634 extern "C"
17635 #endif
17636 char SSL_library_init ();
17638 main ()
17640 return SSL_library_init ();
17642 return 0;
17644 _ACEOF
17645 rm -f conftest.$ac_objext conftest$ac_exeext
17646 if { (ac_try="$ac_link"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17650 esac
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_link") 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17660 { (case "(($ac_try" in
17661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17663 esac
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_try") 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest$ac_exeext'
17670 { (case "(($ac_try" in
17671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17672 *) ac_try_echo=$ac_try;;
17673 esac
17674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675 (eval "$ac_try") 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 case "$LIBEXT" in
17680 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'` ;;
17681 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17682 esac
17683 if test "x$ac_cv_lib_soname_ssl" = "x"
17684 then
17685 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17687 else
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17694 rm -f core conftest.err conftest.$ac_objext \
17695 conftest$ac_exeext conftest.$ac_ext
17696 LIBS=$ac_get_soname_save_LIBS
17698 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17699 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17700 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17702 cat >>confdefs.h <<_ACEOF
17703 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17704 _ACEOF
17708 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17709 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17710 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17712 else
17713 ac_get_soname_save_LIBS=$LIBS
17714 LIBS="-lcrypto $LIBS"
17715 cat >conftest.$ac_ext <<_ACEOF
17716 /* confdefs.h. */
17717 _ACEOF
17718 cat confdefs.h >>conftest.$ac_ext
17719 cat >>conftest.$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17722 /* Override any GCC internal prototype to avoid an error.
17723 Use char because int might match the return type of a GCC
17724 builtin and then its argument prototype would still apply. */
17725 #ifdef __cplusplus
17726 extern "C"
17727 #endif
17728 char BIO_new_socket ();
17730 main ()
17732 return BIO_new_socket ();
17734 return 0;
17736 _ACEOF
17737 rm -f conftest.$ac_objext conftest$ac_exeext
17738 if { (ac_try="$ac_link"
17739 case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17742 esac
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_link") 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17752 { (case "(($ac_try" in
17753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17754 *) ac_try_echo=$ac_try;;
17755 esac
17756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17757 (eval "$ac_try") 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; } &&
17761 { ac_try='test -s conftest$ac_exeext'
17762 { (case "(($ac_try" in
17763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17764 *) ac_try_echo=$ac_try;;
17765 esac
17766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 (eval "$ac_try") 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 case "$LIBEXT" in
17772 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'` ;;
17773 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17774 esac
17775 if test "x$ac_cv_lib_soname_crypto" = "x"
17776 then
17777 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17779 else
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17783 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17786 rm -f core conftest.err conftest.$ac_objext \
17787 conftest$ac_exeext conftest.$ac_ext
17788 LIBS=$ac_get_soname_save_LIBS
17790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17791 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17792 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17794 cat >>confdefs.h <<_ACEOF
17795 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17796 _ACEOF
17800 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17801 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17802 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 else
17805 ac_get_soname_save_LIBS=$LIBS
17806 LIBS="-lncurses $LIBS"
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17814 /* Override any GCC internal prototype to avoid an error.
17815 Use char because int might match the return type of a GCC
17816 builtin and then its argument prototype would still apply. */
17817 #ifdef __cplusplus
17818 extern "C"
17819 #endif
17820 char waddch ();
17822 main ()
17824 return waddch ();
17826 return 0;
17828 _ACEOF
17829 rm -f conftest.$ac_objext conftest$ac_exeext
17830 if { (ac_try="$ac_link"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17834 esac
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_link") 2>conftest.er1
17837 ac_status=$?
17838 grep -v '^ *+' conftest.er1 >conftest.err
17839 rm -f conftest.er1
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } &&
17843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17844 { (case "(($ac_try" in
17845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17846 *) ac_try_echo=$ac_try;;
17847 esac
17848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17849 (eval "$ac_try") 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; } &&
17853 { ac_try='test -s conftest$ac_exeext'
17854 { (case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17857 esac
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_try") 2>&5
17860 ac_status=$?
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 case "$LIBEXT" in
17864 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'` ;;
17865 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17866 esac
17867 if test "x$ac_cv_lib_soname_ncurses" = "x"
17868 then
17869 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17875 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17878 rm -f core conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext conftest.$ac_ext
17880 LIBS=$ac_get_soname_save_LIBS
17882 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17883 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17884 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17886 cat >>confdefs.h <<_ACEOF
17887 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17888 _ACEOF
17892 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17893 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17894 if test "${ac_cv_lib_soname_curses+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17896 else
17897 ac_get_soname_save_LIBS=$LIBS
17898 LIBS="-lcurses $LIBS"
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17906 /* Override any GCC internal prototype to avoid an error.
17907 Use char because int might match the return type of a GCC
17908 builtin and then its argument prototype would still apply. */
17909 #ifdef __cplusplus
17910 extern "C"
17911 #endif
17912 char waddch ();
17914 main ()
17916 return waddch ();
17918 return 0;
17920 _ACEOF
17921 rm -f conftest.$ac_objext conftest$ac_exeext
17922 if { (ac_try="$ac_link"
17923 case "(($ac_try" in
17924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17925 *) ac_try_echo=$ac_try;;
17926 esac
17927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17928 (eval "$ac_link") 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17936 { (case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17939 esac
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_try") 2>&5
17942 ac_status=$?
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try='test -s conftest$ac_exeext'
17946 { (case "(($ac_try" in
17947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948 *) ac_try_echo=$ac_try;;
17949 esac
17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17951 (eval "$ac_try") 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 case "$LIBEXT" in
17956 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'` ;;
17957 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17958 esac
17959 if test "x$ac_cv_lib_soname_curses" = "x"
17960 then
17961 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17963 else
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5
17967 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17970 rm -f core conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext conftest.$ac_ext
17972 LIBS=$ac_get_soname_save_LIBS
17974 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17975 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17976 if test "${ac_cv_lib_soname_curses+set}" = set; then
17978 cat >>confdefs.h <<_ACEOF
17979 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17980 _ACEOF
17984 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17985 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17986 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17988 else
17989 ac_get_soname_save_LIBS=$LIBS
17990 LIBS="-ljpeg $LIBS"
17991 cat >conftest.$ac_ext <<_ACEOF
17992 /* confdefs.h. */
17993 _ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17998 /* Override any GCC internal prototype to avoid an error.
17999 Use char because int might match the return type of a GCC
18000 builtin and then its argument prototype would still apply. */
18001 #ifdef __cplusplus
18002 extern "C"
18003 #endif
18004 char jpeg_start_decompress ();
18006 main ()
18008 return jpeg_start_decompress ();
18010 return 0;
18012 _ACEOF
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (ac_try="$ac_link"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18018 esac
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_link") 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18028 { (case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_try") 2>&5
18034 ac_status=$?
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } &&
18037 { ac_try='test -s conftest$ac_exeext'
18038 { (case "(($ac_try" in
18039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18040 *) ac_try_echo=$ac_try;;
18041 esac
18042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18043 (eval "$ac_try") 2>&5
18044 ac_status=$?
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18047 case "$LIBEXT" in
18048 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'` ;;
18049 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18050 esac
18051 if test "x$ac_cv_lib_soname_jpeg" = "x"
18052 then
18053 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18055 else
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18062 rm -f core conftest.err conftest.$ac_objext \
18063 conftest$ac_exeext conftest.$ac_ext
18064 LIBS=$ac_get_soname_save_LIBS
18066 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18067 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18068 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18070 cat >>confdefs.h <<_ACEOF
18071 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18072 _ACEOF
18076 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18077 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18078 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18079 echo $ECHO_N "(cached) $ECHO_C" >&6
18080 else
18081 ac_get_soname_save_LIBS=$LIBS
18082 LIBS="-lcapi20 $LIBS"
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18090 /* Override any GCC internal prototype to avoid an error.
18091 Use char because int might match the return type of a GCC
18092 builtin and then its argument prototype would still apply. */
18093 #ifdef __cplusplus
18094 extern "C"
18095 #endif
18096 char capi20_isinstalled ();
18098 main ()
18100 return capi20_isinstalled ();
18102 return 0;
18104 _ACEOF
18105 rm -f conftest.$ac_objext conftest$ac_exeext
18106 if { (ac_try="$ac_link"
18107 case "(($ac_try" in
18108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18109 *) ac_try_echo=$ac_try;;
18110 esac
18111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18112 (eval "$ac_link") 2>conftest.er1
18113 ac_status=$?
18114 grep -v '^ *+' conftest.er1 >conftest.err
18115 rm -f conftest.er1
18116 cat conftest.err >&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18120 { (case "(($ac_try" in
18121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18122 *) ac_try_echo=$ac_try;;
18123 esac
18124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18125 (eval "$ac_try") 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try='test -s conftest$ac_exeext'
18130 { (case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18133 esac
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_try") 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 case "$LIBEXT" in
18140 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'` ;;
18141 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18142 esac
18143 if test "x$ac_cv_lib_soname_capi20" = "x"
18144 then
18145 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18147 else
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18154 rm -f core conftest.err conftest.$ac_objext \
18155 conftest$ac_exeext conftest.$ac_ext
18156 LIBS=$ac_get_soname_save_LIBS
18158 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18159 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18160 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18162 cat >>confdefs.h <<_ACEOF
18163 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18164 _ACEOF
18241 for ac_func in \
18242 _pclose \
18243 _popen \
18244 _snprintf \
18245 _spawnvp \
18246 _stricmp \
18247 _strnicmp \
18248 _vsnprintf \
18249 asctime_r \
18250 chsize \
18251 clone \
18252 connect \
18253 dlopen \
18254 epoll_create \
18255 ffs \
18256 finite \
18257 fork \
18258 fpclass \
18259 fstatfs \
18260 fstatvfs \
18261 ftruncate \
18262 futimes \
18263 futimesat \
18264 getaddrinfo \
18265 gethostbyname \
18266 getnameinfo \
18267 getnetbyname \
18268 getopt_long \
18269 getpagesize \
18270 getprotobyname \
18271 getprotobynumber \
18272 getpwuid \
18273 getservbyport \
18274 gettid \
18275 gettimeofday \
18276 getuid \
18277 inet_aton \
18278 inet_network \
18279 kqueue \
18280 lstat \
18281 memmove \
18282 mmap \
18283 pclose \
18284 poll \
18285 popen \
18286 prctl \
18287 pread \
18288 pwrite \
18289 readlink \
18290 rfork \
18291 sched_yield \
18292 select \
18293 sendmsg \
18294 setrlimit \
18295 settimeofday \
18296 sigaltstack \
18297 sigprocmask \
18298 snprintf \
18299 spawnvp \
18300 statfs \
18301 statvfs \
18302 strcasecmp \
18303 strerror \
18304 strncasecmp \
18305 tcgetattr \
18306 timegm \
18307 usleep \
18308 vsnprintf \
18309 wait4 \
18310 waitpid \
18313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18318 else
18319 cat >conftest.$ac_ext <<_ACEOF
18320 /* confdefs.h. */
18321 _ACEOF
18322 cat confdefs.h >>conftest.$ac_ext
18323 cat >>conftest.$ac_ext <<_ACEOF
18324 /* end confdefs.h. */
18325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18327 #define $ac_func innocuous_$ac_func
18329 /* System header to define __stub macros and hopefully few prototypes,
18330 which can conflict with char $ac_func (); below.
18331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18332 <limits.h> exists even on freestanding compilers. */
18334 #ifdef __STDC__
18335 # include <limits.h>
18336 #else
18337 # include <assert.h>
18338 #endif
18340 #undef $ac_func
18342 /* Override any GCC internal prototype to avoid an error.
18343 Use char because int might match the return type of a GCC
18344 builtin and then its argument prototype would still apply. */
18345 #ifdef __cplusplus
18346 extern "C"
18347 #endif
18348 char $ac_func ();
18349 /* The GNU C library defines this for functions which it implements
18350 to always fail with ENOSYS. Some functions are actually named
18351 something starting with __ and the normal name is an alias. */
18352 #if defined __stub_$ac_func || defined __stub___$ac_func
18353 choke me
18354 #endif
18357 main ()
18359 return $ac_func ();
18361 return 0;
18363 _ACEOF
18364 rm -f conftest.$ac_objext conftest$ac_exeext
18365 if { (ac_try="$ac_link"
18366 case "(($ac_try" in
18367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18368 *) ac_try_echo=$ac_try;;
18369 esac
18370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18371 (eval "$ac_link") 2>conftest.er1
18372 ac_status=$?
18373 grep -v '^ *+' conftest.er1 >conftest.err
18374 rm -f conftest.er1
18375 cat conftest.err >&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
18385 ac_status=$?
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest$ac_exeext'
18389 { (case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18392 esac
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_try") 2>&5
18395 ac_status=$?
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 eval "$as_ac_var=yes"
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 eval "$as_ac_var=no"
18406 rm -f core conftest.err conftest.$ac_objext \
18407 conftest$ac_exeext conftest.$ac_ext
18409 ac_res=`eval echo '${'$as_ac_var'}'`
18410 { echo "$as_me:$LINENO: result: $ac_res" >&5
18411 echo "${ECHO_T}$ac_res" >&6; }
18412 if test `eval echo '${'$as_ac_var'}'` = yes; then
18413 cat >>confdefs.h <<_ACEOF
18414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18415 _ACEOF
18418 done
18421 if test "$ac_cv_func_dlopen" = no
18422 then
18423 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 else
18428 ac_check_lib_save_LIBS=$LIBS
18429 LIBS="-ldl $LIBS"
18430 cat >conftest.$ac_ext <<_ACEOF
18431 /* confdefs.h. */
18432 _ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18437 /* Override any GCC internal prototype to avoid an error.
18438 Use char because int might match the return type of a GCC
18439 builtin and then its argument prototype would still apply. */
18440 #ifdef __cplusplus
18441 extern "C"
18442 #endif
18443 char dlopen ();
18445 main ()
18447 return dlopen ();
18449 return 0;
18451 _ACEOF
18452 rm -f conftest.$ac_objext conftest$ac_exeext
18453 if { (ac_try="$ac_link"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457 esac
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_link") 2>conftest.er1
18460 ac_status=$?
18461 grep -v '^ *+' conftest.er1 >conftest.err
18462 rm -f conftest.er1
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18467 { (case "(($ac_try" in
18468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18470 esac
18471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18472 (eval "$ac_try") 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try='test -s conftest$ac_exeext'
18477 { (case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_try") 2>&5
18483 ac_status=$?
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; }; then
18486 ac_cv_lib_dl_dlopen=yes
18487 else
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.$ac_ext >&5
18491 ac_cv_lib_dl_dlopen=no
18494 rm -f core conftest.err conftest.$ac_objext \
18495 conftest$ac_exeext conftest.$ac_ext
18496 LIBS=$ac_check_lib_save_LIBS
18498 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18499 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18500 if test $ac_cv_lib_dl_dlopen = yes; then
18501 cat >>confdefs.h <<\_ACEOF
18502 #define HAVE_DLOPEN 1
18503 _ACEOF
18504 LIBDL="-ldl"
18509 ac_wine_check_funcs_save_LIBS="$LIBS"
18510 LIBS="$LIBS $LIBDL"
18512 for ac_func in dladdr
18514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18515 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18517 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18528 #define $ac_func innocuous_$ac_func
18530 /* System header to define __stub macros and hopefully few prototypes,
18531 which can conflict with char $ac_func (); below.
18532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18533 <limits.h> exists even on freestanding compilers. */
18535 #ifdef __STDC__
18536 # include <limits.h>
18537 #else
18538 # include <assert.h>
18539 #endif
18541 #undef $ac_func
18543 /* Override any GCC internal prototype to avoid an error.
18544 Use char because int might match the return type of a GCC
18545 builtin and then its argument prototype would still apply. */
18546 #ifdef __cplusplus
18547 extern "C"
18548 #endif
18549 char $ac_func ();
18550 /* The GNU C library defines this for functions which it implements
18551 to always fail with ENOSYS. Some functions are actually named
18552 something starting with __ and the normal name is an alias. */
18553 #if defined __stub_$ac_func || defined __stub___$ac_func
18554 choke me
18555 #endif
18558 main ()
18560 return $ac_func ();
18562 return 0;
18564 _ACEOF
18565 rm -f conftest.$ac_objext conftest$ac_exeext
18566 if { (ac_try="$ac_link"
18567 case "(($ac_try" in
18568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18569 *) ac_try_echo=$ac_try;;
18570 esac
18571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18572 (eval "$ac_link") 2>conftest.er1
18573 ac_status=$?
18574 grep -v '^ *+' conftest.er1 >conftest.err
18575 rm -f conftest.er1
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18580 { (case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18583 esac
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_try") 2>&5
18586 ac_status=$?
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; } &&
18589 { ac_try='test -s conftest$ac_exeext'
18590 { (case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18593 esac
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_try") 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 eval "$as_ac_var=yes"
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18604 eval "$as_ac_var=no"
18607 rm -f core conftest.err conftest.$ac_objext \
18608 conftest$ac_exeext conftest.$ac_ext
18610 ac_res=`eval echo '${'$as_ac_var'}'`
18611 { echo "$as_me:$LINENO: result: $ac_res" >&5
18612 echo "${ECHO_T}$ac_res" >&6; }
18613 if test `eval echo '${'$as_ac_var'}'` = yes; then
18614 cat >>confdefs.h <<_ACEOF
18615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18616 _ACEOF
18619 done
18621 LIBS="$ac_wine_check_funcs_save_LIBS"
18623 if test "$ac_cv_func_poll" = no
18624 then
18625 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18626 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18627 if test "${ac_cv_lib_poll_poll+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 else
18630 ac_check_lib_save_LIBS=$LIBS
18631 LIBS="-lpoll $LIBS"
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18639 /* Override any GCC internal prototype to avoid an error.
18640 Use char because int might match the return type of a GCC
18641 builtin and then its argument prototype would still apply. */
18642 #ifdef __cplusplus
18643 extern "C"
18644 #endif
18645 char poll ();
18647 main ()
18649 return poll ();
18651 return 0;
18653 _ACEOF
18654 rm -f conftest.$ac_objext conftest$ac_exeext
18655 if { (ac_try="$ac_link"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18659 esac
18660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_link") 2>conftest.er1
18662 ac_status=$?
18663 grep -v '^ *+' conftest.er1 >conftest.err
18664 rm -f conftest.er1
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18669 { (case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18672 esac
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_try") 2>&5
18675 ac_status=$?
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; } &&
18678 { ac_try='test -s conftest$ac_exeext'
18679 { (case "(($ac_try" in
18680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18681 *) ac_try_echo=$ac_try;;
18682 esac
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684 (eval "$ac_try") 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_cv_lib_poll_poll=yes
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_lib_poll_poll=no
18696 rm -f core conftest.err conftest.$ac_objext \
18697 conftest$ac_exeext conftest.$ac_ext
18698 LIBS=$ac_check_lib_save_LIBS
18700 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18701 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18702 if test $ac_cv_lib_poll_poll = yes; then
18703 cat >>confdefs.h <<\_ACEOF
18704 #define HAVE_POLL 1
18705 _ACEOF
18706 LIBPOLL="-lpoll"
18712 if test "$ac_cv_func_gethostbyname" = no
18713 then
18715 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18716 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18717 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 else
18720 ac_check_lib_save_LIBS=$LIBS
18721 LIBS="-lnsl $LIBS"
18722 cat >conftest.$ac_ext <<_ACEOF
18723 /* confdefs.h. */
18724 _ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18729 /* Override any GCC internal prototype to avoid an error.
18730 Use char because int might match the return type of a GCC
18731 builtin and then its argument prototype would still apply. */
18732 #ifdef __cplusplus
18733 extern "C"
18734 #endif
18735 char gethostbyname ();
18737 main ()
18739 return gethostbyname ();
18741 return 0;
18743 _ACEOF
18744 rm -f conftest.$ac_objext conftest$ac_exeext
18745 if { (ac_try="$ac_link"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18749 esac
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_link") 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18759 { (case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18762 esac
18763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_try") 2>&5
18765 ac_status=$?
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try='test -s conftest$ac_exeext'
18769 { (case "(($ac_try" in
18770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18771 *) ac_try_echo=$ac_try;;
18772 esac
18773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18774 (eval "$ac_try") 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; }; then
18778 ac_cv_lib_nsl_gethostbyname=yes
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 ac_cv_lib_nsl_gethostbyname=no
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18790 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18791 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18792 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_LIBNSL 1
18795 _ACEOF
18797 LIBS="-lnsl $LIBS"
18803 if test "$ac_cv_func_connect" = no
18804 then
18806 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18807 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18808 if test "${ac_cv_lib_socket_connect+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18810 else
18811 ac_check_lib_save_LIBS=$LIBS
18812 LIBS="-lsocket $LIBS"
18813 cat >conftest.$ac_ext <<_ACEOF
18814 /* confdefs.h. */
18815 _ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18820 /* Override any GCC internal prototype to avoid an error.
18821 Use char because int might match the return type of a GCC
18822 builtin and then its argument prototype would still apply. */
18823 #ifdef __cplusplus
18824 extern "C"
18825 #endif
18826 char connect ();
18828 main ()
18830 return connect ();
18832 return 0;
18834 _ACEOF
18835 rm -f conftest.$ac_objext conftest$ac_exeext
18836 if { (ac_try="$ac_link"
18837 case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18840 esac
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_link") 2>conftest.er1
18843 ac_status=$?
18844 grep -v '^ *+' conftest.er1 >conftest.err
18845 rm -f conftest.er1
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } &&
18849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18850 { (case "(($ac_try" in
18851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18852 *) ac_try_echo=$ac_try;;
18853 esac
18854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18855 (eval "$ac_try") 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest$ac_exeext'
18860 { (case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18863 esac
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_try") 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 ac_cv_lib_socket_connect=yes
18870 else
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18874 ac_cv_lib_socket_connect=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18879 LIBS=$ac_check_lib_save_LIBS
18881 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18882 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18883 if test $ac_cv_lib_socket_connect = yes; then
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_LIBSOCKET 1
18886 _ACEOF
18888 LIBS="-lsocket $LIBS"
18894 if test "$ac_cv_func_inet_aton" = no
18895 then
18897 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18898 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18899 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902 ac_check_lib_save_LIBS=$LIBS
18903 LIBS="-lresolv $LIBS"
18904 cat >conftest.$ac_ext <<_ACEOF
18905 /* confdefs.h. */
18906 _ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18911 /* Override any GCC internal prototype to avoid an error.
18912 Use char because int might match the return type of a GCC
18913 builtin and then its argument prototype would still apply. */
18914 #ifdef __cplusplus
18915 extern "C"
18916 #endif
18917 char inet_aton ();
18919 main ()
18921 return inet_aton ();
18923 return 0;
18925 _ACEOF
18926 rm -f conftest.$ac_objext conftest$ac_exeext
18927 if { (ac_try="$ac_link"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_link") 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18941 { (case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18944 esac
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_try") 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try='test -s conftest$ac_exeext'
18951 { (case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18954 esac
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_try") 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_lib_resolv_inet_aton=yes
18961 else
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.$ac_ext >&5
18965 ac_cv_lib_resolv_inet_aton=no
18968 rm -f core conftest.err conftest.$ac_objext \
18969 conftest$ac_exeext conftest.$ac_ext
18970 LIBS=$ac_check_lib_save_LIBS
18972 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18973 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18974 if test $ac_cv_lib_resolv_inet_aton = yes; then
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_LIBRESOLV 1
18977 _ACEOF
18979 LIBS="-lresolv $LIBS"
18986 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18987 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18988 if test "${ac_cv_c_const+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 else
18991 cat >conftest.$ac_ext <<_ACEOF
18992 /* confdefs.h. */
18993 _ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18999 main ()
19001 /* FIXME: Include the comments suggested by Paul. */
19002 #ifndef __cplusplus
19003 /* Ultrix mips cc rejects this. */
19004 typedef int charset[2];
19005 const charset x;
19006 /* SunOS 4.1.1 cc rejects this. */
19007 char const *const *ccp;
19008 char **p;
19009 /* NEC SVR4.0.2 mips cc rejects this. */
19010 struct point {int x, y;};
19011 static struct point const zero = {0,0};
19012 /* AIX XL C 1.02.0.0 rejects this.
19013 It does not let you subtract one const X* pointer from another in
19014 an arm of an if-expression whose if-part is not a constant
19015 expression */
19016 const char *g = "string";
19017 ccp = &g + (g ? g-g : 0);
19018 /* HPUX 7.0 cc rejects these. */
19019 ++ccp;
19020 p = (char**) ccp;
19021 ccp = (char const *const *) p;
19022 { /* SCO 3.2v4 cc rejects this. */
19023 char *t;
19024 char const *s = 0 ? (char *) 0 : (char const *) 0;
19026 *t++ = 0;
19027 if (s) return 0;
19029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19030 int x[] = {25, 17};
19031 const int *foo = &x[0];
19032 ++foo;
19034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19035 typedef const int *iptr;
19036 iptr p = 0;
19037 ++p;
19039 { /* AIX XL C 1.02.0.0 rejects this saying
19040 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19041 struct s { int j; const int *ap[3]; };
19042 struct s *b; b->j = 5;
19044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19045 const int foo = 10;
19046 if (!foo) return 0;
19048 return !x[0] && !zero.x;
19049 #endif
19052 return 0;
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } &&
19069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19070 { (case "(($ac_try" in
19071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19072 *) ac_try_echo=$ac_try;;
19073 esac
19074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19075 (eval "$ac_try") 2>&5
19076 ac_status=$?
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; } &&
19079 { ac_try='test -s conftest.$ac_objext'
19080 { (case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19083 esac
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_try") 2>&5
19086 ac_status=$?
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; }; then
19089 ac_cv_c_const=yes
19090 else
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19094 ac_cv_c_const=no
19097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19099 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19100 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19101 if test $ac_cv_c_const = no; then
19103 cat >>confdefs.h <<\_ACEOF
19104 #define const
19105 _ACEOF
19109 { echo "$as_me:$LINENO: checking for inline" >&5
19110 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19111 if test "${ac_cv_c_inline+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114 ac_cv_c_inline=no
19115 for ac_kw in inline __inline__ __inline; do
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #ifndef __cplusplus
19123 typedef int foo_t;
19124 static $ac_kw foo_t static_foo () {return 0; }
19125 $ac_kw foo_t foo () {return 0; }
19126 #endif
19128 _ACEOF
19129 rm -f conftest.$ac_objext
19130 if { (ac_try="$ac_compile"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19134 esac
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compile") 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19144 { (case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19147 esac
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_try") 2>&5
19150 ac_status=$?
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; } &&
19153 { ac_try='test -s conftest.$ac_objext'
19154 { (case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_try") 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_cv_c_inline=$ac_kw
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19172 test "$ac_cv_c_inline" != no && break
19173 done
19176 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19177 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19180 case $ac_cv_c_inline in
19181 inline | yes) ;;
19183 case $ac_cv_c_inline in
19184 no) ac_val=;;
19185 *) ac_val=$ac_cv_c_inline;;
19186 esac
19187 cat >>confdefs.h <<_ACEOF
19188 #ifndef __cplusplus
19189 #define inline $ac_val
19190 #endif
19191 _ACEOF
19193 esac
19195 { echo "$as_me:$LINENO: checking for mode_t" >&5
19196 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19197 if test "${ac_cv_type_mode_t+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef mode_t ac__type_new_;
19209 main ()
19211 if ((ac__type_new_ *) 0)
19212 return 0;
19213 if (sizeof (ac__type_new_))
19214 return 0;
19216 return 0;
19218 _ACEOF
19219 rm -f conftest.$ac_objext
19220 if { (ac_try="$ac_compile"
19221 case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19224 esac
19225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_compile") 2>conftest.er1
19227 ac_status=$?
19228 grep -v '^ *+' conftest.er1 >conftest.err
19229 rm -f conftest.er1
19230 cat conftest.err >&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19234 { (case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236 *) ac_try_echo=$ac_try;;
19237 esac
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_try") 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try='test -s conftest.$ac_objext'
19244 { (case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19247 esac
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_try") 2>&5
19250 ac_status=$?
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 ac_cv_type_mode_t=yes
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 ac_cv_type_mode_t=no
19261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19264 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19265 if test $ac_cv_type_mode_t = yes; then
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_MODE_T 1
19269 _ACEOF
19273 { echo "$as_me:$LINENO: checking for off_t" >&5
19274 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19275 if test "${ac_cv_type_off_t+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19277 else
19278 cat >conftest.$ac_ext <<_ACEOF
19279 /* confdefs.h. */
19280 _ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19285 typedef off_t ac__type_new_;
19287 main ()
19289 if ((ac__type_new_ *) 0)
19290 return 0;
19291 if (sizeof (ac__type_new_))
19292 return 0;
19294 return 0;
19296 _ACEOF
19297 rm -f conftest.$ac_objext
19298 if { (ac_try="$ac_compile"
19299 case "(($ac_try" in
19300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19301 *) ac_try_echo=$ac_try;;
19302 esac
19303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19304 (eval "$ac_compile") 2>conftest.er1
19305 ac_status=$?
19306 grep -v '^ *+' conftest.er1 >conftest.err
19307 rm -f conftest.er1
19308 cat conftest.err >&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19312 { (case "(($ac_try" in
19313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19314 *) ac_try_echo=$ac_try;;
19315 esac
19316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19317 (eval "$ac_try") 2>&5
19318 ac_status=$?
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try='test -s conftest.$ac_objext'
19322 { (case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 *) ac_try_echo=$ac_try;;
19325 esac
19326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_try") 2>&5
19328 ac_status=$?
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; }; then
19331 ac_cv_type_off_t=yes
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_type_off_t=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19341 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19342 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19343 if test $ac_cv_type_off_t = yes; then
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_OFF_T 1
19347 _ACEOF
19351 { echo "$as_me:$LINENO: checking for pid_t" >&5
19352 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19353 if test "${ac_cv_type_pid_t+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 else
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19363 typedef pid_t ac__type_new_;
19365 main ()
19367 if ((ac__type_new_ *) 0)
19368 return 0;
19369 if (sizeof (ac__type_new_))
19370 return 0;
19372 return 0;
19374 _ACEOF
19375 rm -f conftest.$ac_objext
19376 if { (ac_try="$ac_compile"
19377 case "(($ac_try" in
19378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19379 *) ac_try_echo=$ac_try;;
19380 esac
19381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19382 (eval "$ac_compile") 2>conftest.er1
19383 ac_status=$?
19384 grep -v '^ *+' conftest.er1 >conftest.err
19385 rm -f conftest.er1
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19390 { (case "(($ac_try" in
19391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19392 *) ac_try_echo=$ac_try;;
19393 esac
19394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19395 (eval "$ac_try") 2>&5
19396 ac_status=$?
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; } &&
19399 { ac_try='test -s conftest.$ac_objext'
19400 { (case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_try") 2>&5
19406 ac_status=$?
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 ac_cv_type_pid_t=yes
19410 else
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.$ac_ext >&5
19414 ac_cv_type_pid_t=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19420 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19421 if test $ac_cv_type_pid_t = yes; then
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_PID_T 1
19425 _ACEOF
19429 { echo "$as_me:$LINENO: checking for size_t" >&5
19430 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19431 if test "${ac_cv_type_size_t+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434 cat >conftest.$ac_ext <<_ACEOF
19435 /* confdefs.h. */
19436 _ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 $ac_includes_default
19441 typedef size_t ac__type_new_;
19443 main ()
19445 if ((ac__type_new_ *) 0)
19446 return 0;
19447 if (sizeof (ac__type_new_))
19448 return 0;
19450 return 0;
19452 _ACEOF
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19457 *) ac_try_echo=$ac_try;;
19458 esac
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19461 ac_status=$?
19462 grep -v '^ *+' conftest.er1 >conftest.err
19463 rm -f conftest.er1
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19468 { (case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_try") 2>&5
19474 ac_status=$?
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; } &&
19477 { ac_try='test -s conftest.$ac_objext'
19478 { (case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19481 esac
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_try") 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 ac_cv_type_size_t=yes
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 ac_cv_type_size_t=no
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19498 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19499 if test $ac_cv_type_size_t = yes; then
19501 cat >>confdefs.h <<_ACEOF
19502 #define HAVE_SIZE_T 1
19503 _ACEOF
19507 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19508 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19509 if test "${ac_cv_type_ssize_t+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19512 cat >conftest.$ac_ext <<_ACEOF
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 typedef ssize_t ac__type_new_;
19521 main ()
19523 if ((ac__type_new_ *) 0)
19524 return 0;
19525 if (sizeof (ac__type_new_))
19526 return 0;
19528 return 0;
19530 _ACEOF
19531 rm -f conftest.$ac_objext
19532 if { (ac_try="$ac_compile"
19533 case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19536 esac
19537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_compile") 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } &&
19545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19546 { (case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19549 esac
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_try") 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try='test -s conftest.$ac_objext'
19556 { (case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19559 esac
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_try") 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_type_ssize_t=yes
19566 else
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 ac_cv_type_ssize_t=no
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19575 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19576 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19577 if test $ac_cv_type_ssize_t = yes; then
19579 cat >>confdefs.h <<_ACEOF
19580 #define HAVE_SSIZE_T 1
19581 _ACEOF
19585 { echo "$as_me:$LINENO: checking for long long" >&5
19586 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19587 if test "${ac_cv_type_long_long+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 else
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 typedef long long ac__type_new_;
19599 main ()
19601 if ((ac__type_new_ *) 0)
19602 return 0;
19603 if (sizeof (ac__type_new_))
19604 return 0;
19606 return 0;
19608 _ACEOF
19609 rm -f conftest.$ac_objext
19610 if { (ac_try="$ac_compile"
19611 case "(($ac_try" in
19612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19613 *) ac_try_echo=$ac_try;;
19614 esac
19615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19616 (eval "$ac_compile") 2>conftest.er1
19617 ac_status=$?
19618 grep -v '^ *+' conftest.er1 >conftest.err
19619 rm -f conftest.er1
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19624 { (case "(($ac_try" in
19625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19626 *) ac_try_echo=$ac_try;;
19627 esac
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_try") 2>&5
19630 ac_status=$?
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try='test -s conftest.$ac_objext'
19634 { (case "(($ac_try" in
19635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19636 *) ac_try_echo=$ac_try;;
19637 esac
19638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19639 (eval "$ac_try") 2>&5
19640 ac_status=$?
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; }; then
19643 ac_cv_type_long_long=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_cv_type_long_long=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19653 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19654 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19655 if test $ac_cv_type_long_long = yes; then
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_LONG_LONG 1
19659 _ACEOF
19663 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19664 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19665 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19667 else
19668 cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h. */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 $ac_includes_default
19675 typedef fsblkcnt_t ac__type_new_;
19677 main ()
19679 if ((ac__type_new_ *) 0)
19680 return 0;
19681 if (sizeof (ac__type_new_))
19682 return 0;
19684 return 0;
19686 _ACEOF
19687 rm -f conftest.$ac_objext
19688 if { (ac_try="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19692 esac
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19695 ac_status=$?
19696 grep -v '^ *+' conftest.er1 >conftest.err
19697 rm -f conftest.er1
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19702 { (case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_try") 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; } &&
19711 { ac_try='test -s conftest.$ac_objext'
19712 { (case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19715 esac
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_try") 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 ac_cv_type_fsblkcnt_t=yes
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 ac_cv_type_fsblkcnt_t=no
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19731 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19732 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19733 if test $ac_cv_type_fsblkcnt_t = yes; then
19735 cat >>confdefs.h <<_ACEOF
19736 #define HAVE_FSBLKCNT_T 1
19737 _ACEOF
19741 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19742 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19743 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 else
19746 cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h. */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 typedef fsfilcnt_t ac__type_new_;
19755 main ()
19757 if ((ac__type_new_ *) 0)
19758 return 0;
19759 if (sizeof (ac__type_new_))
19760 return 0;
19762 return 0;
19764 _ACEOF
19765 rm -f conftest.$ac_objext
19766 if { (ac_try="$ac_compile"
19767 case "(($ac_try" in
19768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19770 esac
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_compile") 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19780 { (case "(($ac_try" in
19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19783 esac
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_try") 2>&5
19786 ac_status=$?
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; } &&
19789 { ac_try='test -s conftest.$ac_objext'
19790 { (case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19793 esac
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_try") 2>&5
19796 ac_status=$?
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_cv_type_fsfilcnt_t=yes
19800 else
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_cv_type_fsfilcnt_t=no
19807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19810 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19811 if test $ac_cv_type_fsfilcnt_t = yes; then
19813 cat >>confdefs.h <<_ACEOF
19814 #define HAVE_FSFILCNT_T 1
19815 _ACEOF
19820 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19821 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19822 if test "${ac_cv_type_sigset_t+set}" = set; then
19823 echo $ECHO_N "(cached) $ECHO_C" >&6
19824 else
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #include <signal.h>
19833 typedef sigset_t ac__type_new_;
19835 main ()
19837 if ((ac__type_new_ *) 0)
19838 return 0;
19839 if (sizeof (ac__type_new_))
19840 return 0;
19842 return 0;
19844 _ACEOF
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19850 esac
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19853 ac_status=$?
19854 grep -v '^ *+' conftest.er1 >conftest.err
19855 rm -f conftest.er1
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19863 esac
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_try") 2>&5
19866 ac_status=$?
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; } &&
19869 { ac_try='test -s conftest.$ac_objext'
19870 { (case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_try") 2>&5
19876 ac_status=$?
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_cv_type_sigset_t=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 ac_cv_type_sigset_t=no
19887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19890 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19891 if test $ac_cv_type_sigset_t = yes; then
19893 cat >>confdefs.h <<_ACEOF
19894 #define HAVE_SIGSET_T 1
19895 _ACEOF
19900 { echo "$as_me:$LINENO: checking for request_sense" >&5
19901 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19902 if test "${ac_cv_type_request_sense+set}" = set; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 else
19905 cat >conftest.$ac_ext <<_ACEOF
19906 /* confdefs.h. */
19907 _ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 #include <linux/cdrom.h>
19913 typedef request_sense ac__type_new_;
19915 main ()
19917 if ((ac__type_new_ *) 0)
19918 return 0;
19919 if (sizeof (ac__type_new_))
19920 return 0;
19922 return 0;
19924 _ACEOF
19925 rm -f conftest.$ac_objext
19926 if { (ac_try="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19940 { (case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19943 esac
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_try") 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; } &&
19949 { ac_try='test -s conftest.$ac_objext'
19950 { (case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19953 esac
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_try") 2>&5
19956 ac_status=$?
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 ac_cv_type_request_sense=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 ac_cv_type_request_sense=no
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19970 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19971 if test $ac_cv_type_request_sense = yes; then
19973 cat >>confdefs.h <<_ACEOF
19974 #define HAVE_REQUEST_SENSE 1
19975 _ACEOF
19981 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19982 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19983 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 else
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 #ifdef HAVE_LINUX_INPUT_H
19993 #include <linux/input.h>
19994 #endif
19997 main ()
19999 static struct ff_effect ac_aggr;
20000 if (ac_aggr.direction)
20001 return 0;
20003 return 0;
20005 _ACEOF
20006 rm -f conftest.$ac_objext
20007 if { (ac_try="$ac_compile"
20008 case "(($ac_try" in
20009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20010 *) ac_try_echo=$ac_try;;
20011 esac
20012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20013 (eval "$ac_compile") 2>conftest.er1
20014 ac_status=$?
20015 grep -v '^ *+' conftest.er1 >conftest.err
20016 rm -f conftest.er1
20017 cat conftest.err >&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } &&
20020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20021 { (case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20024 esac
20025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_try") 2>&5
20027 ac_status=$?
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try='test -s conftest.$ac_objext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_member_struct_ff_effect_direction=yes
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 cat >conftest.$ac_ext <<_ACEOF
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 #ifdef HAVE_LINUX_INPUT_H
20052 #include <linux/input.h>
20053 #endif
20056 main ()
20058 static struct ff_effect ac_aggr;
20059 if (sizeof ac_aggr.direction)
20060 return 0;
20062 return 0;
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } &&
20079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20080 { (case "(($ac_try" in
20081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20083 esac
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_try") 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20093 esac
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_try") 2>&5
20096 ac_status=$?
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_cv_member_struct_ff_effect_direction=yes
20100 else
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.$ac_ext >&5
20104 ac_cv_member_struct_ff_effect_direction=no
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20113 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20114 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20116 cat >>confdefs.h <<_ACEOF
20117 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20118 _ACEOF
20124 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20125 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20126 if test "${wine_cv_have_sigaddset+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 else
20129 cat >conftest.$ac_ext <<_ACEOF
20130 /* confdefs.h. */
20131 _ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 #include <signal.h>
20137 main ()
20139 sigset_t set; sigaddset(&set,SIGTERM);
20141 return 0;
20143 _ACEOF
20144 rm -f conftest.$ac_objext conftest$ac_exeext
20145 if { (ac_try="$ac_link"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20149 esac
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_link") 2>conftest.er1
20152 ac_status=$?
20153 grep -v '^ *+' conftest.er1 >conftest.err
20154 rm -f conftest.er1
20155 cat conftest.err >&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } &&
20158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20159 { (case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20162 esac
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_try") 2>&5
20165 ac_status=$?
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; } &&
20168 { ac_try='test -s conftest$ac_exeext'
20169 { (case "(($ac_try" in
20170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20171 *) ac_try_echo=$ac_try;;
20172 esac
20173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20174 (eval "$ac_try") 2>&5
20175 ac_status=$?
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; }; then
20178 wine_cv_have_sigaddset=yes
20179 else
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.$ac_ext >&5
20183 wine_cv_have_sigaddset=no
20186 rm -f core conftest.err conftest.$ac_objext \
20187 conftest$ac_exeext conftest.$ac_ext
20189 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20190 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20191 if test "$wine_cv_have_sigaddset" = "yes"
20192 then
20194 cat >>confdefs.h <<\_ACEOF
20195 #define HAVE_SIGADDSET 1
20196 _ACEOF
20201 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20202 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20203 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20204 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 else
20206 cat >conftest.$ac_ext <<_ACEOF
20207 /* confdefs.h. */
20208 _ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20213 #include <netdb.h>
20216 main ()
20219 char *name=NULL;
20220 struct hostent he;
20221 struct hostent *result;
20222 char *buf=NULL;
20223 int bufsize=0;
20224 int res,errnr;
20225 char *addr=NULL;
20226 int addrlen=0;
20227 int addrtype=0;
20228 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20229 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20232 return 0;
20234 _ACEOF
20235 rm -f conftest.$ac_objext conftest$ac_exeext
20236 if { (ac_try="$ac_link"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20240 esac
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_link") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } &&
20249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest$ac_exeext'
20260 { (case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20263 esac
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_try") 2>&5
20266 ac_status=$?
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 wine_cv_linux_gethostbyname_r_6=yes
20270 else
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 wine_cv_linux_gethostbyname_r_6=no
20278 rm -f core conftest.err conftest.$ac_objext \
20279 conftest$ac_exeext conftest.$ac_ext
20282 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20283 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20284 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20285 then
20287 cat >>confdefs.h <<\_ACEOF
20288 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20289 _ACEOF
20293 if test "$ac_cv_header_linux_joystick_h" = "yes"
20294 then
20295 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20296 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20297 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 else
20300 cat >conftest.$ac_ext <<_ACEOF
20301 /* confdefs.h. */
20302 _ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20307 #include <sys/ioctl.h>
20308 #include <linux/joystick.h>
20310 struct js_event blub;
20311 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20312 #error "no 2.2 header"
20313 #endif
20316 main ()
20318 /*empty*/
20320 return 0;
20322 _ACEOF
20323 rm -f conftest.$ac_objext
20324 if { (ac_try="$ac_compile"
20325 case "(($ac_try" in
20326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20328 esac
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_compile") 2>conftest.er1
20331 ac_status=$?
20332 grep -v '^ *+' conftest.er1 >conftest.err
20333 rm -f conftest.er1
20334 cat conftest.err >&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } &&
20337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20338 { (case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20341 esac
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_try") 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; } &&
20347 { ac_try='test -s conftest.$ac_objext'
20348 { (case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20351 esac
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_try") 2>&5
20354 ac_status=$?
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 wine_cv_linux_joystick_22_api=yes
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 wine_cv_linux_joystick_22_api=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20368 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20369 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20370 if test "$wine_cv_linux_joystick_22_api" = "yes"
20371 then
20373 cat >>confdefs.h <<\_ACEOF
20374 #define HAVE_LINUX_22_JOYSTICK_API 1
20375 _ACEOF
20381 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20382 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20383 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6
20385 else
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 #include <sys/types.h>
20393 #ifdef HAVE_SYS_PARAM_H
20394 # include <sys/param.h>
20395 #endif
20396 #ifdef HAVE_SYS_MOUNT_H
20397 # include <sys/mount.h>
20398 #endif
20399 #ifdef HAVE_SYS_VFS_H
20400 # include <sys/vfs.h>
20401 #endif
20402 #ifdef HAVE_SYS_STATFS_H
20403 # include <sys/statfs.h>
20404 #endif
20407 main ()
20409 static struct statfs ac_aggr;
20410 if (ac_aggr.f_bfree)
20411 return 0;
20413 return 0;
20415 _ACEOF
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20421 esac
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20424 ac_status=$?
20425 grep -v '^ *+' conftest.er1 >conftest.err
20426 rm -f conftest.er1
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } &&
20430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20431 { (case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20434 esac
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_try") 2>&5
20437 ac_status=$?
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; } &&
20440 { ac_try='test -s conftest.$ac_objext'
20441 { (case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20444 esac
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_try") 2>&5
20447 ac_status=$?
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; }; then
20450 ac_cv_member_struct_statfs_f_bfree=yes
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 cat >conftest.$ac_ext <<_ACEOF
20456 /* confdefs.h. */
20457 _ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 #include <sys/types.h>
20462 #ifdef HAVE_SYS_PARAM_H
20463 # include <sys/param.h>
20464 #endif
20465 #ifdef HAVE_SYS_MOUNT_H
20466 # include <sys/mount.h>
20467 #endif
20468 #ifdef HAVE_SYS_VFS_H
20469 # include <sys/vfs.h>
20470 #endif
20471 #ifdef HAVE_SYS_STATFS_H
20472 # include <sys/statfs.h>
20473 #endif
20476 main ()
20478 static struct statfs ac_aggr;
20479 if (sizeof ac_aggr.f_bfree)
20480 return 0;
20482 return 0;
20484 _ACEOF
20485 rm -f conftest.$ac_objext
20486 if { (ac_try="$ac_compile"
20487 case "(($ac_try" in
20488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20489 *) ac_try_echo=$ac_try;;
20490 esac
20491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20492 (eval "$ac_compile") 2>conftest.er1
20493 ac_status=$?
20494 grep -v '^ *+' conftest.er1 >conftest.err
20495 rm -f conftest.er1
20496 cat conftest.err >&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20500 { (case "(($ac_try" in
20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20503 esac
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_try") 2>&5
20506 ac_status=$?
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }; } &&
20509 { ac_try='test -s conftest.$ac_objext'
20510 { (case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_try") 2>&5
20516 ac_status=$?
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 ac_cv_member_struct_statfs_f_bfree=yes
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20524 ac_cv_member_struct_statfs_f_bfree=no
20527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20532 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20533 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20534 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20536 cat >>confdefs.h <<_ACEOF
20537 #define HAVE_STRUCT_STATFS_F_BFREE 1
20538 _ACEOF
20542 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20543 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20544 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20545 echo $ECHO_N "(cached) $ECHO_C" >&6
20546 else
20547 cat >conftest.$ac_ext <<_ACEOF
20548 /* confdefs.h. */
20549 _ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 #include <sys/types.h>
20554 #ifdef HAVE_SYS_PARAM_H
20555 # include <sys/param.h>
20556 #endif
20557 #ifdef HAVE_SYS_MOUNT_H
20558 # include <sys/mount.h>
20559 #endif
20560 #ifdef HAVE_SYS_VFS_H
20561 # include <sys/vfs.h>
20562 #endif
20563 #ifdef HAVE_SYS_STATFS_H
20564 # include <sys/statfs.h>
20565 #endif
20568 main ()
20570 static struct statfs ac_aggr;
20571 if (ac_aggr.f_bavail)
20572 return 0;
20574 return 0;
20576 _ACEOF
20577 rm -f conftest.$ac_objext
20578 if { (ac_try="$ac_compile"
20579 case "(($ac_try" in
20580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20581 *) ac_try_echo=$ac_try;;
20582 esac
20583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20584 (eval "$ac_compile") 2>conftest.er1
20585 ac_status=$?
20586 grep -v '^ *+' conftest.er1 >conftest.err
20587 rm -f conftest.er1
20588 cat conftest.err >&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } &&
20591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20592 { (case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_try") 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try='test -s conftest.$ac_objext'
20602 { (case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20605 esac
20606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_try") 2>&5
20608 ac_status=$?
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; }; then
20611 ac_cv_member_struct_statfs_f_bavail=yes
20612 else
20613 echo "$as_me: failed program was:" >&5
20614 sed 's/^/| /' conftest.$ac_ext >&5
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 #include <sys/types.h>
20623 #ifdef HAVE_SYS_PARAM_H
20624 # include <sys/param.h>
20625 #endif
20626 #ifdef HAVE_SYS_MOUNT_H
20627 # include <sys/mount.h>
20628 #endif
20629 #ifdef HAVE_SYS_VFS_H
20630 # include <sys/vfs.h>
20631 #endif
20632 #ifdef HAVE_SYS_STATFS_H
20633 # include <sys/statfs.h>
20634 #endif
20637 main ()
20639 static struct statfs ac_aggr;
20640 if (sizeof ac_aggr.f_bavail)
20641 return 0;
20643 return 0;
20645 _ACEOF
20646 rm -f conftest.$ac_objext
20647 if { (ac_try="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20651 esac
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20654 ac_status=$?
20655 grep -v '^ *+' conftest.er1 >conftest.err
20656 rm -f conftest.er1
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } &&
20660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20661 { (case "(($ac_try" in
20662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20663 *) ac_try_echo=$ac_try;;
20664 esac
20665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20666 (eval "$ac_try") 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest.$ac_objext'
20671 { (case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20674 esac
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_try") 2>&5
20677 ac_status=$?
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20680 ac_cv_member_struct_statfs_f_bavail=yes
20681 else
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20685 ac_cv_member_struct_statfs_f_bavail=no
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20694 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20695 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20697 cat >>confdefs.h <<_ACEOF
20698 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20699 _ACEOF
20703 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20704 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20705 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 else
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 #include <sys/types.h>
20715 #ifdef HAVE_SYS_PARAM_H
20716 # include <sys/param.h>
20717 #endif
20718 #ifdef HAVE_SYS_MOUNT_H
20719 # include <sys/mount.h>
20720 #endif
20721 #ifdef HAVE_SYS_VFS_H
20722 # include <sys/vfs.h>
20723 #endif
20724 #ifdef HAVE_SYS_STATFS_H
20725 # include <sys/statfs.h>
20726 #endif
20729 main ()
20731 static struct statfs ac_aggr;
20732 if (ac_aggr.f_frsize)
20733 return 0;
20735 return 0;
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (ac_try="$ac_compile"
20740 case "(($ac_try" in
20741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20742 *) ac_try_echo=$ac_try;;
20743 esac
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_compile") 2>conftest.er1
20746 ac_status=$?
20747 grep -v '^ *+' conftest.er1 >conftest.err
20748 rm -f conftest.er1
20749 cat conftest.err >&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } &&
20752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20753 { (case "(($ac_try" in
20754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20756 esac
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_try") 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (case "(($ac_try" in
20764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20766 esac
20767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768 (eval "$ac_try") 2>&5
20769 ac_status=$?
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; }; then
20772 ac_cv_member_struct_statfs_f_frsize=yes
20773 else
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20777 cat >conftest.$ac_ext <<_ACEOF
20778 /* confdefs.h. */
20779 _ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783 #include <sys/types.h>
20784 #ifdef HAVE_SYS_PARAM_H
20785 # include <sys/param.h>
20786 #endif
20787 #ifdef HAVE_SYS_MOUNT_H
20788 # include <sys/mount.h>
20789 #endif
20790 #ifdef HAVE_SYS_VFS_H
20791 # include <sys/vfs.h>
20792 #endif
20793 #ifdef HAVE_SYS_STATFS_H
20794 # include <sys/statfs.h>
20795 #endif
20798 main ()
20800 static struct statfs ac_aggr;
20801 if (sizeof ac_aggr.f_frsize)
20802 return 0;
20804 return 0;
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (ac_try="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20812 esac
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20815 ac_status=$?
20816 grep -v '^ *+' conftest.er1 >conftest.err
20817 rm -f conftest.er1
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20822 { (case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_try") 2>&5
20828 ac_status=$?
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; } &&
20831 { ac_try='test -s conftest.$ac_objext'
20832 { (case "(($ac_try" in
20833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834 *) ac_try_echo=$ac_try;;
20835 esac
20836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20837 (eval "$ac_try") 2>&5
20838 ac_status=$?
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); }; }; then
20841 ac_cv_member_struct_statfs_f_frsize=yes
20842 else
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
20846 ac_cv_member_struct_statfs_f_frsize=no
20849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20856 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20858 cat >>confdefs.h <<_ACEOF
20859 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20860 _ACEOF
20864 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20865 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20866 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20868 else
20869 cat >conftest.$ac_ext <<_ACEOF
20870 /* confdefs.h. */
20871 _ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 #include <sys/types.h>
20876 #ifdef HAVE_SYS_PARAM_H
20877 # include <sys/param.h>
20878 #endif
20879 #ifdef HAVE_SYS_MOUNT_H
20880 # include <sys/mount.h>
20881 #endif
20882 #ifdef HAVE_SYS_VFS_H
20883 # include <sys/vfs.h>
20884 #endif
20885 #ifdef HAVE_SYS_STATFS_H
20886 # include <sys/statfs.h>
20887 #endif
20890 main ()
20892 static struct statfs ac_aggr;
20893 if (ac_aggr.f_ffree)
20894 return 0;
20896 return 0;
20898 _ACEOF
20899 rm -f conftest.$ac_objext
20900 if { (ac_try="$ac_compile"
20901 case "(($ac_try" in
20902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20904 esac
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_compile") 2>conftest.er1
20907 ac_status=$?
20908 grep -v '^ *+' conftest.er1 >conftest.err
20909 rm -f conftest.er1
20910 cat conftest.err >&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } &&
20913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20914 { (case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20917 esac
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_try") 2>&5
20920 ac_status=$?
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try='test -s conftest.$ac_objext'
20924 { (case "(($ac_try" in
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20927 esac
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_try") 2>&5
20930 ac_status=$?
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 ac_cv_member_struct_statfs_f_ffree=yes
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 cat >conftest.$ac_ext <<_ACEOF
20939 /* confdefs.h. */
20940 _ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 #include <sys/types.h>
20945 #ifdef HAVE_SYS_PARAM_H
20946 # include <sys/param.h>
20947 #endif
20948 #ifdef HAVE_SYS_MOUNT_H
20949 # include <sys/mount.h>
20950 #endif
20951 #ifdef HAVE_SYS_VFS_H
20952 # include <sys/vfs.h>
20953 #endif
20954 #ifdef HAVE_SYS_STATFS_H
20955 # include <sys/statfs.h>
20956 #endif
20959 main ()
20961 static struct statfs ac_aggr;
20962 if (sizeof ac_aggr.f_ffree)
20963 return 0;
20965 return 0;
20967 _ACEOF
20968 rm -f conftest.$ac_objext
20969 if { (ac_try="$ac_compile"
20970 case "(($ac_try" in
20971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972 *) ac_try_echo=$ac_try;;
20973 esac
20974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20975 (eval "$ac_compile") 2>conftest.er1
20976 ac_status=$?
20977 grep -v '^ *+' conftest.er1 >conftest.err
20978 rm -f conftest.er1
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } &&
20982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20983 { (case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986 esac
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_try") 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try='test -s conftest.$ac_objext'
20993 { (case "(($ac_try" in
20994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20995 *) ac_try_echo=$ac_try;;
20996 esac
20997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20998 (eval "$ac_try") 2>&5
20999 ac_status=$?
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; }; then
21002 ac_cv_member_struct_statfs_f_ffree=yes
21003 else
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ac_cv_member_struct_statfs_f_ffree=no
21010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21016 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21017 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE_STRUCT_STATFS_F_FFREE 1
21021 _ACEOF
21025 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21026 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21027 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 else
21030 cat >conftest.$ac_ext <<_ACEOF
21031 /* confdefs.h. */
21032 _ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <sys/types.h>
21037 #ifdef HAVE_SYS_PARAM_H
21038 # include <sys/param.h>
21039 #endif
21040 #ifdef HAVE_SYS_MOUNT_H
21041 # include <sys/mount.h>
21042 #endif
21043 #ifdef HAVE_SYS_VFS_H
21044 # include <sys/vfs.h>
21045 #endif
21046 #ifdef HAVE_SYS_STATFS_H
21047 # include <sys/statfs.h>
21048 #endif
21051 main ()
21053 static struct statfs ac_aggr;
21054 if (ac_aggr.f_favail)
21055 return 0;
21057 return 0;
21059 _ACEOF
21060 rm -f conftest.$ac_objext
21061 if { (ac_try="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21065 esac
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21068 ac_status=$?
21069 grep -v '^ *+' conftest.er1 >conftest.err
21070 rm -f conftest.er1
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } &&
21074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21075 { (case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_try") 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; } &&
21084 { ac_try='test -s conftest.$ac_objext'
21085 { (case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21088 esac
21089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_try") 2>&5
21091 ac_status=$?
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 ac_cv_member_struct_statfs_f_favail=yes
21095 else
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 #include <sys/types.h>
21106 #ifdef HAVE_SYS_PARAM_H
21107 # include <sys/param.h>
21108 #endif
21109 #ifdef HAVE_SYS_MOUNT_H
21110 # include <sys/mount.h>
21111 #endif
21112 #ifdef HAVE_SYS_VFS_H
21113 # include <sys/vfs.h>
21114 #endif
21115 #ifdef HAVE_SYS_STATFS_H
21116 # include <sys/statfs.h>
21117 #endif
21120 main ()
21122 static struct statfs ac_aggr;
21123 if (sizeof ac_aggr.f_favail)
21124 return 0;
21126 return 0;
21128 _ACEOF
21129 rm -f conftest.$ac_objext
21130 if { (ac_try="$ac_compile"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21134 esac
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_compile") 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21144 { (case "(($ac_try" in
21145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21146 *) ac_try_echo=$ac_try;;
21147 esac
21148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21149 (eval "$ac_try") 2>&5
21150 ac_status=$?
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; } &&
21153 { ac_try='test -s conftest.$ac_objext'
21154 { (case "(($ac_try" in
21155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156 *) ac_try_echo=$ac_try;;
21157 esac
21158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21159 (eval "$ac_try") 2>&5
21160 ac_status=$?
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 ac_cv_member_struct_statfs_f_favail=yes
21164 else
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.$ac_ext >&5
21168 ac_cv_member_struct_statfs_f_favail=no
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21177 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21178 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21180 cat >>confdefs.h <<_ACEOF
21181 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21182 _ACEOF
21186 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21187 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21188 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 #include <sys/types.h>
21198 #ifdef HAVE_SYS_PARAM_H
21199 # include <sys/param.h>
21200 #endif
21201 #ifdef HAVE_SYS_MOUNT_H
21202 # include <sys/mount.h>
21203 #endif
21204 #ifdef HAVE_SYS_VFS_H
21205 # include <sys/vfs.h>
21206 #endif
21207 #ifdef HAVE_SYS_STATFS_H
21208 # include <sys/statfs.h>
21209 #endif
21212 main ()
21214 static struct statfs ac_aggr;
21215 if (ac_aggr.f_namelen)
21216 return 0;
21218 return 0;
21220 _ACEOF
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21226 esac
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21236 { (case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21239 esac
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_try") 2>&5
21242 ac_status=$?
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try='test -s conftest.$ac_objext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21249 esac
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21252 ac_status=$?
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_member_struct_statfs_f_namelen=yes
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21260 cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h. */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 #include <sys/types.h>
21267 #ifdef HAVE_SYS_PARAM_H
21268 # include <sys/param.h>
21269 #endif
21270 #ifdef HAVE_SYS_MOUNT_H
21271 # include <sys/mount.h>
21272 #endif
21273 #ifdef HAVE_SYS_VFS_H
21274 # include <sys/vfs.h>
21275 #endif
21276 #ifdef HAVE_SYS_STATFS_H
21277 # include <sys/statfs.h>
21278 #endif
21281 main ()
21283 static struct statfs ac_aggr;
21284 if (sizeof ac_aggr.f_namelen)
21285 return 0;
21287 return 0;
21289 _ACEOF
21290 rm -f conftest.$ac_objext
21291 if { (ac_try="$ac_compile"
21292 case "(($ac_try" in
21293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294 *) ac_try_echo=$ac_try;;
21295 esac
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_compile") 2>conftest.er1
21298 ac_status=$?
21299 grep -v '^ *+' conftest.er1 >conftest.err
21300 rm -f conftest.er1
21301 cat conftest.err >&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } &&
21304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21305 { (case "(($ac_try" in
21306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21307 *) ac_try_echo=$ac_try;;
21308 esac
21309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21310 (eval "$ac_try") 2>&5
21311 ac_status=$?
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try='test -s conftest.$ac_objext'
21315 { (case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21318 esac
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_try") 2>&5
21321 ac_status=$?
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); }; }; then
21324 ac_cv_member_struct_statfs_f_namelen=yes
21325 else
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21329 ac_cv_member_struct_statfs_f_namelen=no
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21337 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21338 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21339 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21341 cat >>confdefs.h <<_ACEOF
21342 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21343 _ACEOF
21349 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21350 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21351 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21352 echo $ECHO_N "(cached) $ECHO_C" >&6
21353 else
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 #ifdef HAVE_SYS_STATVFS_H
21361 #include <sys/statvfs.h>
21362 #endif
21365 main ()
21367 static struct statvfs ac_aggr;
21368 if (ac_aggr.f_blocks)
21369 return 0;
21371 return 0;
21373 _ACEOF
21374 rm -f conftest.$ac_objext
21375 if { (ac_try="$ac_compile"
21376 case "(($ac_try" in
21377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21378 *) ac_try_echo=$ac_try;;
21379 esac
21380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_compile") 2>conftest.er1
21382 ac_status=$?
21383 grep -v '^ *+' conftest.er1 >conftest.err
21384 rm -f conftest.er1
21385 cat conftest.err >&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); } &&
21388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21389 { (case "(($ac_try" in
21390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21391 *) ac_try_echo=$ac_try;;
21392 esac
21393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21394 (eval "$ac_try") 2>&5
21395 ac_status=$?
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; } &&
21398 { ac_try='test -s conftest.$ac_objext'
21399 { (case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21402 esac
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_try") 2>&5
21405 ac_status=$?
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; }; then
21408 ac_cv_member_struct_statvfs_f_blocks=yes
21409 else
21410 echo "$as_me: failed program was:" >&5
21411 sed 's/^/| /' conftest.$ac_ext >&5
21413 cat >conftest.$ac_ext <<_ACEOF
21414 /* confdefs.h. */
21415 _ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 #ifdef HAVE_SYS_STATVFS_H
21420 #include <sys/statvfs.h>
21421 #endif
21424 main ()
21426 static struct statvfs ac_aggr;
21427 if (sizeof ac_aggr.f_blocks)
21428 return 0;
21430 return 0;
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (ac_try="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21438 esac
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; } &&
21457 { ac_try='test -s conftest.$ac_objext'
21458 { (case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21461 esac
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_try") 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 ac_cv_member_struct_statvfs_f_blocks=yes
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 ac_cv_member_struct_statvfs_f_blocks=no
21475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21481 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21482 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21484 cat >>confdefs.h <<_ACEOF
21485 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21486 _ACEOF
21492 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21493 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21494 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21495 echo $ECHO_N "(cached) $ECHO_C" >&6
21496 else
21497 cat >conftest.$ac_ext <<_ACEOF
21498 /* confdefs.h. */
21499 _ACEOF
21500 cat confdefs.h >>conftest.$ac_ext
21501 cat >>conftest.$ac_ext <<_ACEOF
21502 /* end confdefs.h. */
21503 #include <sys/types.h>
21504 #ifdef HAVE_SYS_SOCKET_H
21505 # include <sys/socket.h>
21506 #endif
21507 #ifdef HAVE_SYS_UN_H
21508 # include <sys/un.h>
21509 #endif
21512 main ()
21514 static struct msghdr ac_aggr;
21515 if (ac_aggr.msg_accrights)
21516 return 0;
21518 return 0;
21520 _ACEOF
21521 rm -f conftest.$ac_objext
21522 if { (ac_try="$ac_compile"
21523 case "(($ac_try" in
21524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21525 *) ac_try_echo=$ac_try;;
21526 esac
21527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21528 (eval "$ac_compile") 2>conftest.er1
21529 ac_status=$?
21530 grep -v '^ *+' conftest.er1 >conftest.err
21531 rm -f conftest.er1
21532 cat conftest.err >&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21536 { (case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21539 esac
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_try") 2>&5
21542 ac_status=$?
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; } &&
21545 { ac_try='test -s conftest.$ac_objext'
21546 { (case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21549 esac
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_try") 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 ac_cv_member_struct_msghdr_msg_accrights=yes
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21560 cat >conftest.$ac_ext <<_ACEOF
21561 /* confdefs.h. */
21562 _ACEOF
21563 cat confdefs.h >>conftest.$ac_ext
21564 cat >>conftest.$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 #include <sys/types.h>
21567 #ifdef HAVE_SYS_SOCKET_H
21568 # include <sys/socket.h>
21569 #endif
21570 #ifdef HAVE_SYS_UN_H
21571 # include <sys/un.h>
21572 #endif
21575 main ()
21577 static struct msghdr ac_aggr;
21578 if (sizeof ac_aggr.msg_accrights)
21579 return 0;
21581 return 0;
21583 _ACEOF
21584 rm -f conftest.$ac_objext
21585 if { (ac_try="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;;
21589 esac
21590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21592 ac_status=$?
21593 grep -v '^ *+' conftest.er1 >conftest.err
21594 rm -f conftest.er1
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21599 { (case "(($ac_try" in
21600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21602 esac
21603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_try") 2>&5
21605 ac_status=$?
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; } &&
21608 { ac_try='test -s conftest.$ac_objext'
21609 { (case "(($ac_try" in
21610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21611 *) ac_try_echo=$ac_try;;
21612 esac
21613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614 (eval "$ac_try") 2>&5
21615 ac_status=$?
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_member_struct_msghdr_msg_accrights=yes
21619 else
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21623 ac_cv_member_struct_msghdr_msg_accrights=no
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21632 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21633 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21635 cat >>confdefs.h <<_ACEOF
21636 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21637 _ACEOF
21641 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21642 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21643 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21645 else
21646 cat >conftest.$ac_ext <<_ACEOF
21647 /* confdefs.h. */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 #include <sys/types.h>
21653 #ifdef HAVE_SYS_SOCKET_H
21654 # include <sys/socket.h>
21655 #endif
21656 #ifdef HAVE_SYS_UN_H
21657 # include <sys/un.h>
21658 #endif
21661 main ()
21663 static struct sockaddr ac_aggr;
21664 if (ac_aggr.sa_len)
21665 return 0;
21667 return 0;
21669 _ACEOF
21670 rm -f conftest.$ac_objext
21671 if { (ac_try="$ac_compile"
21672 case "(($ac_try" in
21673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21674 *) ac_try_echo=$ac_try;;
21675 esac
21676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21677 (eval "$ac_compile") 2>conftest.er1
21678 ac_status=$?
21679 grep -v '^ *+' conftest.er1 >conftest.err
21680 rm -f conftest.er1
21681 cat conftest.err >&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } &&
21684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21685 { (case "(($ac_try" in
21686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21687 *) ac_try_echo=$ac_try;;
21688 esac
21689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21690 (eval "$ac_try") 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try='test -s conftest.$ac_objext'
21695 { (case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21698 esac
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_member_struct_sockaddr_sa_len=yes
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 #include <sys/types.h>
21716 #ifdef HAVE_SYS_SOCKET_H
21717 # include <sys/socket.h>
21718 #endif
21719 #ifdef HAVE_SYS_UN_H
21720 # include <sys/un.h>
21721 #endif
21724 main ()
21726 static struct sockaddr ac_aggr;
21727 if (sizeof ac_aggr.sa_len)
21728 return 0;
21730 return 0;
21732 _ACEOF
21733 rm -f conftest.$ac_objext
21734 if { (ac_try="$ac_compile"
21735 case "(($ac_try" in
21736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21737 *) ac_try_echo=$ac_try;;
21738 esac
21739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21740 (eval "$ac_compile") 2>conftest.er1
21741 ac_status=$?
21742 grep -v '^ *+' conftest.er1 >conftest.err
21743 rm -f conftest.er1
21744 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } &&
21747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21748 { (case "(($ac_try" in
21749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21750 *) ac_try_echo=$ac_try;;
21751 esac
21752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21753 (eval "$ac_try") 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21761 esac
21762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21763 (eval "$ac_try") 2>&5
21764 ac_status=$?
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21767 ac_cv_member_struct_sockaddr_sa_len=yes
21768 else
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21772 ac_cv_member_struct_sockaddr_sa_len=no
21775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21781 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21782 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21784 cat >>confdefs.h <<_ACEOF
21785 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21786 _ACEOF
21790 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21791 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21792 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21794 else
21795 cat >conftest.$ac_ext <<_ACEOF
21796 /* confdefs.h. */
21797 _ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 #include <sys/types.h>
21802 #ifdef HAVE_SYS_SOCKET_H
21803 # include <sys/socket.h>
21804 #endif
21805 #ifdef HAVE_SYS_UN_H
21806 # include <sys/un.h>
21807 #endif
21810 main ()
21812 static struct sockaddr_un ac_aggr;
21813 if (ac_aggr.sun_len)
21814 return 0;
21816 return 0;
21818 _ACEOF
21819 rm -f conftest.$ac_objext
21820 if { (ac_try="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21824 esac
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21827 ac_status=$?
21828 grep -v '^ *+' conftest.er1 >conftest.err
21829 rm -f conftest.er1
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } &&
21833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21834 { (case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;;
21837 esac
21838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21839 (eval "$ac_try") 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try='test -s conftest.$ac_objext'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21847 esac
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_member_struct_sockaddr_un_sun_len=yes
21854 else
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 cat >conftest.$ac_ext <<_ACEOF
21859 /* confdefs.h. */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 #include <sys/types.h>
21865 #ifdef HAVE_SYS_SOCKET_H
21866 # include <sys/socket.h>
21867 #endif
21868 #ifdef HAVE_SYS_UN_H
21869 # include <sys/un.h>
21870 #endif
21873 main ()
21875 static struct sockaddr_un ac_aggr;
21876 if (sizeof ac_aggr.sun_len)
21877 return 0;
21879 return 0;
21881 _ACEOF
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21887 esac
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } &&
21896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21897 { (case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899 *) ac_try_echo=$ac_try;;
21900 esac
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_try") 2>&5
21903 ac_status=$?
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21916 ac_cv_member_struct_sockaddr_un_sun_len=yes
21917 else
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21921 ac_cv_member_struct_sockaddr_un_sun_len=no
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21930 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21931 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21933 cat >>confdefs.h <<_ACEOF
21934 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21935 _ACEOF
21941 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21942 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21943 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21945 else
21946 cat >conftest.$ac_ext <<_ACEOF
21947 /* confdefs.h. */
21948 _ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952 #include <sys/types.h>
21953 #ifdef HAVE_SCSI_SG_H
21954 #include <scsi/sg.h>
21955 #endif
21958 main ()
21960 static scsireq_t ac_aggr;
21961 if (ac_aggr.cmd)
21962 return 0;
21964 return 0;
21966 _ACEOF
21967 rm -f conftest.$ac_objext
21968 if { (ac_try="$ac_compile"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21972 esac
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_compile") 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21982 { (case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_try") 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; } &&
21991 { ac_try='test -s conftest.$ac_objext'
21992 { (case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21995 esac
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_try") 2>&5
21998 ac_status=$?
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22001 ac_cv_member_scsireq_t_cmd=yes
22002 else
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 #include <sys/types.h>
22013 #ifdef HAVE_SCSI_SG_H
22014 #include <scsi/sg.h>
22015 #endif
22018 main ()
22020 static scsireq_t ac_aggr;
22021 if (sizeof ac_aggr.cmd)
22022 return 0;
22024 return 0;
22026 _ACEOF
22027 rm -f conftest.$ac_objext
22028 if { (ac_try="$ac_compile"
22029 case "(($ac_try" in
22030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22031 *) ac_try_echo=$ac_try;;
22032 esac
22033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22034 (eval "$ac_compile") 2>conftest.er1
22035 ac_status=$?
22036 grep -v '^ *+' conftest.er1 >conftest.err
22037 rm -f conftest.er1
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } &&
22041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22042 { (case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22045 esac
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_try") 2>&5
22048 ac_status=$?
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; } &&
22051 { ac_try='test -s conftest.$ac_objext'
22052 { (case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22055 esac
22056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_try") 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_member_scsireq_t_cmd=yes
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22066 ac_cv_member_scsireq_t_cmd=no
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22075 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22076 if test $ac_cv_member_scsireq_t_cmd = yes; then
22078 cat >>confdefs.h <<_ACEOF
22079 #define HAVE_SCSIREQ_T_CMD 1
22080 _ACEOF
22084 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22085 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22086 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089 cat >conftest.$ac_ext <<_ACEOF
22090 /* confdefs.h. */
22091 _ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095 #include <sys/types.h>
22096 #ifdef HAVE_SCSI_SG_H
22097 #include <scsi/sg.h>
22098 #endif
22101 main ()
22103 static sg_io_hdr_t ac_aggr;
22104 if (ac_aggr.interface_id)
22105 return 0;
22107 return 0;
22109 _ACEOF
22110 rm -f conftest.$ac_objext
22111 if { (ac_try="$ac_compile"
22112 case "(($ac_try" in
22113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22114 *) ac_try_echo=$ac_try;;
22115 esac
22116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22117 (eval "$ac_compile") 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22125 { (case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22128 esac
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_try") 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest.$ac_objext'
22135 { (case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_try") 2>&5
22141 ac_status=$?
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; }; then
22144 ac_cv_member_sg_io_hdr_t_interface_id=yes
22145 else
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22149 cat >conftest.$ac_ext <<_ACEOF
22150 /* confdefs.h. */
22151 _ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 #include <sys/types.h>
22156 #ifdef HAVE_SCSI_SG_H
22157 #include <scsi/sg.h>
22158 #endif
22161 main ()
22163 static sg_io_hdr_t ac_aggr;
22164 if (sizeof ac_aggr.interface_id)
22165 return 0;
22167 return 0;
22169 _ACEOF
22170 rm -f conftest.$ac_objext
22171 if { (ac_try="$ac_compile"
22172 case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22175 esac
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_compile") 2>conftest.er1
22178 ac_status=$?
22179 grep -v '^ *+' conftest.er1 >conftest.err
22180 rm -f conftest.er1
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } &&
22184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (case "(($ac_try" in
22196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22197 *) ac_try_echo=$ac_try;;
22198 esac
22199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22200 (eval "$ac_try") 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 ac_cv_member_sg_io_hdr_t_interface_id=yes
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 ac_cv_member_sg_io_hdr_t_interface_id=no
22212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22218 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22219 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22221 cat >>confdefs.h <<_ACEOF
22222 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22223 _ACEOF
22229 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22230 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22231 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22233 else
22234 cat >conftest.$ac_ext <<_ACEOF
22235 /* confdefs.h. */
22236 _ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 #include <signal.h>
22243 main ()
22245 static siginfo_t ac_aggr;
22246 if (ac_aggr.si_fd)
22247 return 0;
22249 return 0;
22251 _ACEOF
22252 rm -f conftest.$ac_objext
22253 if { (ac_try="$ac_compile"
22254 case "(($ac_try" in
22255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22256 *) ac_try_echo=$ac_try;;
22257 esac
22258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22259 (eval "$ac_compile") 2>conftest.er1
22260 ac_status=$?
22261 grep -v '^ *+' conftest.er1 >conftest.err
22262 rm -f conftest.er1
22263 cat conftest.err >&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } &&
22266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22267 { (case "(($ac_try" in
22268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22269 *) ac_try_echo=$ac_try;;
22270 esac
22271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22272 (eval "$ac_try") 2>&5
22273 ac_status=$?
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; } &&
22276 { ac_try='test -s conftest.$ac_objext'
22277 { (case "(($ac_try" in
22278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22279 *) ac_try_echo=$ac_try;;
22280 esac
22281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22282 (eval "$ac_try") 2>&5
22283 ac_status=$?
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_member_siginfo_t_si_fd=yes
22287 else
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22291 cat >conftest.$ac_ext <<_ACEOF
22292 /* confdefs.h. */
22293 _ACEOF
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 #include <signal.h>
22300 main ()
22302 static siginfo_t ac_aggr;
22303 if (sizeof ac_aggr.si_fd)
22304 return 0;
22306 return 0;
22308 _ACEOF
22309 rm -f conftest.$ac_objext
22310 if { (ac_try="$ac_compile"
22311 case "(($ac_try" in
22312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22313 *) ac_try_echo=$ac_try;;
22314 esac
22315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22316 (eval "$ac_compile") 2>conftest.er1
22317 ac_status=$?
22318 grep -v '^ *+' conftest.er1 >conftest.err
22319 rm -f conftest.er1
22320 cat conftest.err >&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22324 { (case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22327 esac
22328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22329 (eval "$ac_try") 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22343 ac_cv_member_siginfo_t_si_fd=yes
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22348 ac_cv_member_siginfo_t_si_fd=no
22351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22356 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22357 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22358 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22360 cat >>confdefs.h <<_ACEOF
22361 #define HAVE_SIGINFO_T_SI_FD 1
22362 _ACEOF
22368 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22369 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22370 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22372 else
22373 cat >conftest.$ac_ext <<_ACEOF
22374 /* confdefs.h. */
22375 _ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 #include <sys/types.h>
22380 #ifdef HAVE_SYS_MTIO_H
22381 #include <sys/mtio.h>
22382 #endif
22385 main ()
22387 static struct mtget ac_aggr;
22388 if (ac_aggr.mt_blksiz)
22389 return 0;
22391 return 0;
22393 _ACEOF
22394 rm -f conftest.$ac_objext
22395 if { (ac_try="$ac_compile"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22399 esac
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_compile") 2>conftest.er1
22402 ac_status=$?
22403 grep -v '^ *+' conftest.er1 >conftest.err
22404 rm -f conftest.er1
22405 cat conftest.err >&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); } &&
22408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22409 { (case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22412 esac
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_try") 2>&5
22415 ac_status=$?
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); }; } &&
22418 { ac_try='test -s conftest.$ac_objext'
22419 { (case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22422 esac
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_try") 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 ac_cv_member_struct_mtget_mt_blksiz=yes
22429 else
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22433 cat >conftest.$ac_ext <<_ACEOF
22434 /* confdefs.h. */
22435 _ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 #include <sys/types.h>
22440 #ifdef HAVE_SYS_MTIO_H
22441 #include <sys/mtio.h>
22442 #endif
22445 main ()
22447 static struct mtget ac_aggr;
22448 if (sizeof ac_aggr.mt_blksiz)
22449 return 0;
22451 return 0;
22453 _ACEOF
22454 rm -f conftest.$ac_objext
22455 if { (ac_try="$ac_compile"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22459 esac
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_compile") 2>conftest.er1
22462 ac_status=$?
22463 grep -v '^ *+' conftest.er1 >conftest.err
22464 rm -f conftest.er1
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22469 { (case "(($ac_try" in
22470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22471 *) ac_try_echo=$ac_try;;
22472 esac
22473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22474 (eval "$ac_try") 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try='test -s conftest.$ac_objext'
22479 { (case "(($ac_try" in
22480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22481 *) ac_try_echo=$ac_try;;
22482 esac
22483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22484 (eval "$ac_try") 2>&5
22485 ac_status=$?
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 ac_cv_member_struct_mtget_mt_blksiz=yes
22489 else
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22493 ac_cv_member_struct_mtget_mt_blksiz=no
22496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22501 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22502 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22503 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22505 cat >>confdefs.h <<_ACEOF
22506 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22507 _ACEOF
22511 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22512 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22513 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22515 else
22516 cat >conftest.$ac_ext <<_ACEOF
22517 /* confdefs.h. */
22518 _ACEOF
22519 cat confdefs.h >>conftest.$ac_ext
22520 cat >>conftest.$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22522 #include <sys/types.h>
22523 #ifdef HAVE_SYS_MTIO_H
22524 #include <sys/mtio.h>
22525 #endif
22528 main ()
22530 static struct mtget ac_aggr;
22531 if (ac_aggr.mt_gstat)
22532 return 0;
22534 return 0;
22536 _ACEOF
22537 rm -f conftest.$ac_objext
22538 if { (ac_try="$ac_compile"
22539 case "(($ac_try" in
22540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22541 *) ac_try_echo=$ac_try;;
22542 esac
22543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22544 (eval "$ac_compile") 2>conftest.er1
22545 ac_status=$?
22546 grep -v '^ *+' conftest.er1 >conftest.err
22547 rm -f conftest.er1
22548 cat conftest.err >&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } &&
22551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22552 { (case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22555 esac
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_try") 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; } &&
22561 { ac_try='test -s conftest.$ac_objext'
22562 { (case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22565 esac
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_try") 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 ac_cv_member_struct_mtget_mt_gstat=yes
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <sys/types.h>
22583 #ifdef HAVE_SYS_MTIO_H
22584 #include <sys/mtio.h>
22585 #endif
22588 main ()
22590 static struct mtget ac_aggr;
22591 if (sizeof ac_aggr.mt_gstat)
22592 return 0;
22594 return 0;
22596 _ACEOF
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22612 { (case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_try") 2>&5
22618 ac_status=$?
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; } &&
22621 { ac_try='test -s conftest.$ac_objext'
22622 { (case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22625 esac
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_try") 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 ac_cv_member_struct_mtget_mt_gstat=yes
22632 else
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22636 ac_cv_member_struct_mtget_mt_gstat=no
22639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22644 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22645 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22646 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22648 cat >>confdefs.h <<_ACEOF
22649 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22650 _ACEOF
22654 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22655 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22656 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22657 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 else
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <sys/types.h>
22666 #ifdef HAVE_SYS_MTIO_H
22667 #include <sys/mtio.h>
22668 #endif
22671 main ()
22673 static struct mtget ac_aggr;
22674 if (ac_aggr.mt_blkno)
22675 return 0;
22677 return 0;
22679 _ACEOF
22680 rm -f conftest.$ac_objext
22681 if { (ac_try="$ac_compile"
22682 case "(($ac_try" in
22683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22684 *) ac_try_echo=$ac_try;;
22685 esac
22686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22687 (eval "$ac_compile") 2>conftest.er1
22688 ac_status=$?
22689 grep -v '^ *+' conftest.er1 >conftest.err
22690 rm -f conftest.er1
22691 cat conftest.err >&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } &&
22694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22695 { (case "(($ac_try" in
22696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22698 esac
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_try") 2>&5
22701 ac_status=$?
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; } &&
22704 { ac_try='test -s conftest.$ac_objext'
22705 { (case "(($ac_try" in
22706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707 *) ac_try_echo=$ac_try;;
22708 esac
22709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710 (eval "$ac_try") 2>&5
22711 ac_status=$?
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; }; then
22714 ac_cv_member_struct_mtget_mt_blkno=yes
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22719 cat >conftest.$ac_ext <<_ACEOF
22720 /* confdefs.h. */
22721 _ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 #include <sys/types.h>
22726 #ifdef HAVE_SYS_MTIO_H
22727 #include <sys/mtio.h>
22728 #endif
22731 main ()
22733 static struct mtget ac_aggr;
22734 if (sizeof ac_aggr.mt_blkno)
22735 return 0;
22737 return 0;
22739 _ACEOF
22740 rm -f conftest.$ac_objext
22741 if { (ac_try="$ac_compile"
22742 case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22745 esac
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_compile") 2>conftest.er1
22748 ac_status=$?
22749 grep -v '^ *+' conftest.er1 >conftest.err
22750 rm -f conftest.er1
22751 cat conftest.err >&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22755 { (case "(($ac_try" in
22756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22757 *) ac_try_echo=$ac_try;;
22758 esac
22759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22760 (eval "$ac_try") 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try='test -s conftest.$ac_objext'
22765 { (case "(($ac_try" in
22766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22767 *) ac_try_echo=$ac_try;;
22768 esac
22769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22770 (eval "$ac_try") 2>&5
22771 ac_status=$?
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 ac_cv_member_struct_mtget_mt_blkno=yes
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22779 ac_cv_member_struct_mtget_mt_blkno=no
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22788 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22789 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22791 cat >>confdefs.h <<_ACEOF
22792 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22793 _ACEOF
22799 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22800 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22801 if test "${ac_cv_member_struct_option_name+set}" = set; then
22802 echo $ECHO_N "(cached) $ECHO_C" >&6
22803 else
22804 cat >conftest.$ac_ext <<_ACEOF
22805 /* confdefs.h. */
22806 _ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 #ifdef HAVE_GETOPT_H
22811 #include <getopt.h>
22812 #endif
22815 main ()
22817 static struct option ac_aggr;
22818 if (ac_aggr.name)
22819 return 0;
22821 return 0;
22823 _ACEOF
22824 rm -f conftest.$ac_objext
22825 if { (ac_try="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22829 esac
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } &&
22838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22839 { (case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22842 esac
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_try") 2>&5
22845 ac_status=$?
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; } &&
22848 { ac_try='test -s conftest.$ac_objext'
22849 { (case "(($ac_try" in
22850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22851 *) ac_try_echo=$ac_try;;
22852 esac
22853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22854 (eval "$ac_try") 2>&5
22855 ac_status=$?
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 ac_cv_member_struct_option_name=yes
22859 else
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22863 cat >conftest.$ac_ext <<_ACEOF
22864 /* confdefs.h. */
22865 _ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22869 #ifdef HAVE_GETOPT_H
22870 #include <getopt.h>
22871 #endif
22874 main ()
22876 static struct option ac_aggr;
22877 if (sizeof ac_aggr.name)
22878 return 0;
22880 return 0;
22882 _ACEOF
22883 rm -f conftest.$ac_objext
22884 if { (ac_try="$ac_compile"
22885 case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22888 esac
22889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22890 (eval "$ac_compile") 2>conftest.er1
22891 ac_status=$?
22892 grep -v '^ *+' conftest.er1 >conftest.err
22893 rm -f conftest.er1
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22898 { (case "(($ac_try" in
22899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22900 *) ac_try_echo=$ac_try;;
22901 esac
22902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_try") 2>&5
22904 ac_status=$?
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); }; } &&
22907 { ac_try='test -s conftest.$ac_objext'
22908 { (case "(($ac_try" in
22909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22910 *) ac_try_echo=$ac_try;;
22911 esac
22912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22913 (eval "$ac_try") 2>&5
22914 ac_status=$?
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_cv_member_struct_option_name=yes
22918 else
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22922 ac_cv_member_struct_option_name=no
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22931 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22932 if test $ac_cv_member_struct_option_name = yes; then
22934 cat >>confdefs.h <<_ACEOF
22935 #define HAVE_STRUCT_OPTION_NAME 1
22936 _ACEOF
22942 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22943 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22944 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22945 echo $ECHO_N "(cached) $ECHO_C" >&6
22946 else
22947 cat >conftest.$ac_ext <<_ACEOF
22948 /* confdefs.h. */
22949 _ACEOF
22950 cat confdefs.h >>conftest.$ac_ext
22951 cat >>conftest.$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22953 $ac_includes_default
22955 main ()
22957 static struct stat ac_aggr;
22958 if (ac_aggr.st_blocks)
22959 return 0;
22961 return 0;
22963 _ACEOF
22964 rm -f conftest.$ac_objext
22965 if { (ac_try="$ac_compile"
22966 case "(($ac_try" in
22967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22968 *) ac_try_echo=$ac_try;;
22969 esac
22970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971 (eval "$ac_compile") 2>conftest.er1
22972 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22979 { (case "(($ac_try" in
22980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22982 esac
22983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_try") 2>&5
22985 ac_status=$?
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; } &&
22988 { ac_try='test -s conftest.$ac_objext'
22989 { (case "(($ac_try" in
22990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22991 *) ac_try_echo=$ac_try;;
22992 esac
22993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22994 (eval "$ac_try") 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_cv_member_struct_stat_st_blocks=yes
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23003 cat >conftest.$ac_ext <<_ACEOF
23004 /* confdefs.h. */
23005 _ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 $ac_includes_default
23011 main ()
23013 static struct stat ac_aggr;
23014 if (sizeof ac_aggr.st_blocks)
23015 return 0;
23017 return 0;
23019 _ACEOF
23020 rm -f conftest.$ac_objext
23021 if { (ac_try="$ac_compile"
23022 case "(($ac_try" in
23023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23024 *) ac_try_echo=$ac_try;;
23025 esac
23026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23027 (eval "$ac_compile") 2>conftest.er1
23028 ac_status=$?
23029 grep -v '^ *+' conftest.er1 >conftest.err
23030 rm -f conftest.er1
23031 cat conftest.err >&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23035 { (case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_try") 2>&5
23041 ac_status=$?
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; } &&
23044 { ac_try='test -s conftest.$ac_objext'
23045 { (case "(($ac_try" in
23046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23047 *) ac_try_echo=$ac_try;;
23048 esac
23049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23050 (eval "$ac_try") 2>&5
23051 ac_status=$?
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; }; then
23054 ac_cv_member_struct_stat_st_blocks=yes
23055 else
23056 echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 ac_cv_member_struct_stat_st_blocks=no
23062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23067 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23068 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23069 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23071 cat >>confdefs.h <<_ACEOF
23072 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23073 _ACEOF
23079 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23080 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23081 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23083 else
23084 cat >conftest.$ac_ext <<_ACEOF
23085 /* confdefs.h. */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 #ifdef HAVE_SYS_TYPES_H
23091 #include <sys/types.h>
23092 #endif
23093 #ifdef HAVE_NETINET_IN_H
23094 #include <netinet/in.h>
23095 #endif
23098 main ()
23100 static struct sockaddr_in6 ac_aggr;
23101 if (ac_aggr.sin6_scope_id)
23102 return 0;
23104 return 0;
23106 _ACEOF
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23115 ac_status=$?
23116 grep -v '^ *+' conftest.er1 >conftest.err
23117 rm -f conftest.er1
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } &&
23121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23122 { (case "(($ac_try" in
23123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23124 *) ac_try_echo=$ac_try;;
23125 esac
23126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23127 (eval "$ac_try") 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; } &&
23131 { ac_try='test -s conftest.$ac_objext'
23132 { (case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23135 esac
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_try") 2>&5
23138 ac_status=$?
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); }; }; then
23141 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23142 else
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #ifdef HAVE_SYS_TYPES_H
23153 #include <sys/types.h>
23154 #endif
23155 #ifdef HAVE_NETINET_IN_H
23156 #include <netinet/in.h>
23157 #endif
23160 main ()
23162 static struct sockaddr_in6 ac_aggr;
23163 if (sizeof ac_aggr.sin6_scope_id)
23164 return 0;
23166 return 0;
23168 _ACEOF
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23174 esac
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23177 ac_status=$?
23178 grep -v '^ *+' conftest.er1 >conftest.err
23179 rm -f conftest.er1
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } &&
23183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23184 { (case "(($ac_try" in
23185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23186 *) ac_try_echo=$ac_try;;
23187 esac
23188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23189 (eval "$ac_try") 2>&5
23190 ac_status=$?
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try='test -s conftest.$ac_objext'
23194 { (case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23197 esac
23198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_try") 2>&5
23200 ac_status=$?
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23204 else
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.$ac_ext >&5
23208 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23216 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23217 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23218 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23220 cat >>confdefs.h <<_ACEOF
23221 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23222 _ACEOF
23228 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23229 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23230 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23231 echo $ECHO_N "(cached) $ECHO_C" >&6
23232 else
23233 cat >conftest.$ac_ext <<_ACEOF
23234 /* confdefs.h. */
23235 _ACEOF
23236 cat confdefs.h >>conftest.$ac_ext
23237 cat >>conftest.$ac_ext <<_ACEOF
23238 /* end confdefs.h. */
23239 #ifdef HAVE_SYS_TYPES_H
23240 #include <sys/types.h>
23241 #endif
23242 #ifdef HAVE_NETINET_IN_H
23243 # include <netinet/in.h>
23244 #endif
23245 #ifdef HAVE_ARPA_NAMESER_H
23246 # include <arpa/nameser.h>
23247 #endif
23250 main ()
23252 static ns_msg ac_aggr;
23253 if (ac_aggr._msg_ptr)
23254 return 0;
23256 return 0;
23258 _ACEOF
23259 rm -f conftest.$ac_objext
23260 if { (ac_try="$ac_compile"
23261 case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23264 esac
23265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_compile") 2>conftest.er1
23267 ac_status=$?
23268 grep -v '^ *+' conftest.er1 >conftest.err
23269 rm -f conftest.er1
23270 cat conftest.err >&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); } &&
23273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
23283 { ac_try='test -s conftest.$ac_objext'
23284 { (case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_try") 2>&5
23290 ac_status=$?
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; }; then
23293 ac_cv_member_ns_msg__msg_ptr=yes
23294 else
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.$ac_ext >&5
23298 cat >conftest.$ac_ext <<_ACEOF
23299 /* confdefs.h. */
23300 _ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 #ifdef HAVE_SYS_TYPES_H
23305 #include <sys/types.h>
23306 #endif
23307 #ifdef HAVE_NETINET_IN_H
23308 # include <netinet/in.h>
23309 #endif
23310 #ifdef HAVE_ARPA_NAMESER_H
23311 # include <arpa/nameser.h>
23312 #endif
23315 main ()
23317 static ns_msg ac_aggr;
23318 if (sizeof ac_aggr._msg_ptr)
23319 return 0;
23321 return 0;
23323 _ACEOF
23324 rm -f conftest.$ac_objext
23325 if { (ac_try="$ac_compile"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23329 esac
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_compile") 2>conftest.er1
23332 ac_status=$?
23333 grep -v '^ *+' conftest.er1 >conftest.err
23334 rm -f conftest.er1
23335 cat conftest.err >&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); } &&
23338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23339 { (case "(($ac_try" in
23340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23341 *) ac_try_echo=$ac_try;;
23342 esac
23343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23344 (eval "$ac_try") 2>&5
23345 ac_status=$?
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; } &&
23348 { ac_try='test -s conftest.$ac_objext'
23349 { (case "(($ac_try" in
23350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23351 *) ac_try_echo=$ac_try;;
23352 esac
23353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23354 (eval "$ac_try") 2>&5
23355 ac_status=$?
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; }; then
23358 ac_cv_member_ns_msg__msg_ptr=yes
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23363 ac_cv_member_ns_msg__msg_ptr=no
23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23372 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23373 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23375 cat >>confdefs.h <<_ACEOF
23376 #define HAVE_NS_MSG__MSG_PTR 1
23377 _ACEOF
23383 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23384 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23385 if test "${ac_cv_have_timezone+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 timezone = 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_timezone="yes"
23438 else
23439 echo "$as_me: failed program was:" >&5
23440 sed 's/^/| /' conftest.$ac_ext >&5
23442 ac_cv_have_timezone="no"
23445 rm -f core conftest.err conftest.$ac_objext \
23446 conftest$ac_exeext conftest.$ac_ext
23448 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23449 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23450 if test "$ac_cv_have_timezone" = "yes"
23451 then
23453 cat >>confdefs.h <<\_ACEOF
23454 #define HAVE_TIMEZONE 1
23455 _ACEOF
23458 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23459 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23460 if test "${ac_cv_have_daylight+set}" = set; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 else
23463 cat >conftest.$ac_ext <<_ACEOF
23464 /* confdefs.h. */
23465 _ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23469 #include <time.h>
23471 main ()
23473 daylight = 1
23475 return 0;
23477 _ACEOF
23478 rm -f conftest.$ac_objext conftest$ac_exeext
23479 if { (ac_try="$ac_link"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23483 esac
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_link") 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23493 { (case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23496 esac
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_try") 2>&5
23499 ac_status=$?
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; } &&
23502 { ac_try='test -s conftest$ac_exeext'
23503 { (case "(($ac_try" in
23504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23505 *) ac_try_echo=$ac_try;;
23506 esac
23507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23508 (eval "$ac_try") 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; }; then
23512 ac_cv_have_daylight="yes"
23513 else
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23517 ac_cv_have_daylight="no"
23520 rm -f core conftest.err conftest.$ac_objext \
23521 conftest$ac_exeext conftest.$ac_ext
23523 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23524 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23525 if test "$ac_cv_have_daylight" = "yes"
23526 then
23528 cat >>confdefs.h <<\_ACEOF
23529 #define HAVE_DAYLIGHT 1
23530 _ACEOF
23535 case $host_cpu in
23536 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23537 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23538 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23539 echo $ECHO_N "(cached) $ECHO_C" >&6
23540 else
23541 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h. */
23543 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 #ifndef __i386__
23549 #endif
23550 _ACEOF
23551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23552 $EGREP "yes" >/dev/null 2>&1; then
23553 ac_cv_cpp_def___i386__=yes
23554 else
23555 ac_cv_cpp_def___i386__=no
23557 rm -f conftest*
23560 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23561 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23562 if test $ac_cv_cpp_def___i386__ = yes; then
23563 CFLAGS="$CFLAGS -D__i386__"
23564 LINTFLAGS="$LINTFLAGS -D__i386__"
23567 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23568 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23569 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 else
23572 cat >conftest.$ac_ext <<_ACEOF
23573 /* confdefs.h. */
23574 _ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23578 #ifndef __x86_64__
23580 #endif
23581 _ACEOF
23582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23583 $EGREP "yes" >/dev/null 2>&1; then
23584 ac_cv_cpp_def___x86_64__=yes
23585 else
23586 ac_cv_cpp_def___x86_64__=no
23588 rm -f conftest*
23591 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23592 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23593 if test $ac_cv_cpp_def___x86_64__ = yes; then
23594 CFLAGS="$CFLAGS -D__x86_64__"
23595 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23598 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23599 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23600 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 else
23603 cat >conftest.$ac_ext <<_ACEOF
23604 /* confdefs.h. */
23605 _ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23609 #ifndef __ALPHA__
23611 #endif
23612 _ACEOF
23613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23614 $EGREP "yes" >/dev/null 2>&1; then
23615 ac_cv_cpp_def___ALPHA__=yes
23616 else
23617 ac_cv_cpp_def___ALPHA__=no
23619 rm -f conftest*
23622 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23623 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23624 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23625 CFLAGS="$CFLAGS -D__ALPHA__"
23626 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23629 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23630 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23631 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23632 echo $ECHO_N "(cached) $ECHO_C" >&6
23633 else
23634 cat >conftest.$ac_ext <<_ACEOF
23635 /* confdefs.h. */
23636 _ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23640 #ifndef __sparc__
23642 #endif
23643 _ACEOF
23644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23645 $EGREP "yes" >/dev/null 2>&1; then
23646 ac_cv_cpp_def___sparc__=yes
23647 else
23648 ac_cv_cpp_def___sparc__=no
23650 rm -f conftest*
23653 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23654 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23655 if test $ac_cv_cpp_def___sparc__ = yes; then
23656 CFLAGS="$CFLAGS -D__sparc__"
23657 LINTFLAGS="$LINTFLAGS -D__sparc__"
23660 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23661 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23662 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23664 else
23665 cat >conftest.$ac_ext <<_ACEOF
23666 /* confdefs.h. */
23667 _ACEOF
23668 cat confdefs.h >>conftest.$ac_ext
23669 cat >>conftest.$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 #ifndef __powerpc__
23673 #endif
23674 _ACEOF
23675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23676 $EGREP "yes" >/dev/null 2>&1; then
23677 ac_cv_cpp_def___powerpc__=yes
23678 else
23679 ac_cv_cpp_def___powerpc__=no
23681 rm -f conftest*
23684 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23685 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23686 if test $ac_cv_cpp_def___powerpc__ = yes; then
23687 CFLAGS="$CFLAGS -D__powerpc__"
23688 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23691 esac
23693 case $host_vendor in
23694 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23695 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23696 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23698 else
23699 cat >conftest.$ac_ext <<_ACEOF
23700 /* confdefs.h. */
23701 _ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #ifndef __sun__
23707 #endif
23708 _ACEOF
23709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23710 $EGREP "yes" >/dev/null 2>&1; then
23711 ac_cv_cpp_def___sun__=yes
23712 else
23713 ac_cv_cpp_def___sun__=no
23715 rm -f conftest*
23718 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23719 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23720 if test $ac_cv_cpp_def___sun__ = yes; then
23721 CFLAGS="$CFLAGS -D__sun__"
23722 LINTFLAGS="$LINTFLAGS -D__sun__"
23725 esac
23728 DEPENDENCIES="### Dependencies:
23730 .INIT: Makefile
23731 .BEGIN: Makefile
23732 Makefile: dummy
23733 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23735 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23736 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23737 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23738 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23744 ac_config_commands="$ac_config_commands include/stamp-h"
23747 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23749 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23751 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23753 ac_config_commands="$ac_config_commands dlls/user/resources"
23755 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23757 ac_config_commands="$ac_config_commands include/wine"
23760 MAKE_RULES=Make.rules
23763 MAKE_DLL_RULES=dlls/Makedll.rules
23766 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23769 MAKE_TEST_RULES=dlls/Maketest.rules
23772 MAKE_PROG_RULES=programs/Makeprog.rules
23775 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/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"
23778 cat >confcache <<\_ACEOF
23779 # This file is a shell script that caches the results of configure
23780 # tests run on this system so they can be shared between configure
23781 # scripts and configure runs, see configure's option --config-cache.
23782 # It is not useful on other systems. If it contains results you don't
23783 # want to keep, you may remove or edit it.
23785 # config.status only pays attention to the cache file if you give it
23786 # the --recheck option to rerun configure.
23788 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23790 # following values.
23792 _ACEOF
23794 # The following way of writing the cache mishandles newlines in values,
23795 # but we know of no workaround that is simple, portable, and efficient.
23796 # So, we kill variables containing newlines.
23797 # Ultrix sh set writes to stderr and can't be redirected directly,
23798 # and sets the high bit in the cache file unless we assign to the vars.
23800 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23801 eval ac_val=\$$ac_var
23802 case $ac_val in #(
23803 *${as_nl}*)
23804 case $ac_var in #(
23805 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23807 esac
23808 case $ac_var in #(
23809 _ | IFS | as_nl) ;; #(
23810 *) $as_unset $ac_var ;;
23811 esac ;;
23812 esac
23813 done
23815 (set) 2>&1 |
23816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23817 *${as_nl}ac_space=\ *)
23818 # `set' does not quote correctly, so add quotes (double-quote
23819 # substitution turns \\\\ into \\, and sed turns \\ into \).
23820 sed -n \
23821 "s/'/'\\\\''/g;
23822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23823 ;; #(
23825 # `set' quotes correctly as required by POSIX, so do not add quotes.
23826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23828 esac |
23829 sort
23831 sed '
23832 /^ac_cv_env_/b end
23833 t clear
23834 :clear
23835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23836 t end
23837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23838 :end' >>confcache
23839 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23840 if test -w "$cache_file"; then
23841 test "x$cache_file" != "x/dev/null" &&
23842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23843 echo "$as_me: updating cache $cache_file" >&6;}
23844 cat confcache >$cache_file
23845 else
23846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23850 rm -f confcache
23852 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23853 # Let make expand exec_prefix.
23854 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23856 DEFS=-DHAVE_CONFIG_H
23858 ac_libobjs=
23859 ac_ltlibobjs=
23860 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23861 # 1. Remove the extension, and $U if already installed.
23862 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23863 ac_i=`echo "$ac_i" | sed "$ac_script"`
23864 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23865 # will be set to the directory where LIBOBJS objects are built.
23866 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23867 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23868 done
23869 LIBOBJS=$ac_libobjs
23871 LTLIBOBJS=$ac_ltlibobjs
23875 : ${CONFIG_STATUS=./config.status}
23876 ac_clean_files_save=$ac_clean_files
23877 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23878 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23879 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23880 cat >$CONFIG_STATUS <<_ACEOF
23881 #! $SHELL
23882 # Generated by $as_me.
23883 # Run this file to recreate the current configuration.
23884 # Compiler output produced by configure, useful for debugging
23885 # configure, is in config.log if it exists.
23887 debug=false
23888 ac_cs_recheck=false
23889 ac_cs_silent=false
23890 SHELL=\${CONFIG_SHELL-$SHELL}
23891 _ACEOF
23893 cat >>$CONFIG_STATUS <<\_ACEOF
23894 ## --------------------- ##
23895 ## M4sh Initialization. ##
23896 ## --------------------- ##
23898 # Be Bourne compatible
23899 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23900 emulate sh
23901 NULLCMD=:
23902 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23903 # is contrary to our usage. Disable this feature.
23904 alias -g '${1+"$@"}'='"$@"'
23905 setopt NO_GLOB_SUBST
23906 else
23907 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23909 BIN_SH=xpg4; export BIN_SH # for Tru64
23910 DUALCASE=1; export DUALCASE # for MKS sh
23913 # PATH needs CR
23914 # Avoid depending upon Character Ranges.
23915 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23916 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23917 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23918 as_cr_digits='0123456789'
23919 as_cr_alnum=$as_cr_Letters$as_cr_digits
23921 # The user is always right.
23922 if test "${PATH_SEPARATOR+set}" != set; then
23923 echo "#! /bin/sh" >conf$$.sh
23924 echo "exit 0" >>conf$$.sh
23925 chmod +x conf$$.sh
23926 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23927 PATH_SEPARATOR=';'
23928 else
23929 PATH_SEPARATOR=:
23931 rm -f conf$$.sh
23934 # Support unset when possible.
23935 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23936 as_unset=unset
23937 else
23938 as_unset=false
23942 # IFS
23943 # We need space, tab and new line, in precisely that order. Quoting is
23944 # there to prevent editors from complaining about space-tab.
23945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23946 # splitting by setting IFS to empty value.)
23947 as_nl='
23949 IFS=" "" $as_nl"
23951 # Find who we are. Look in the path if we contain no directory separator.
23952 case $0 in
23953 *[\\/]* ) as_myself=$0 ;;
23954 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23955 for as_dir in $PATH
23957 IFS=$as_save_IFS
23958 test -z "$as_dir" && as_dir=.
23959 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23960 done
23961 IFS=$as_save_IFS
23964 esac
23965 # We did not find ourselves, most probably we were run as `sh COMMAND'
23966 # in which case we are not to be found in the path.
23967 if test "x$as_myself" = x; then
23968 as_myself=$0
23970 if test ! -f "$as_myself"; then
23971 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23972 { (exit 1); exit 1; }
23975 # Work around bugs in pre-3.0 UWIN ksh.
23976 for as_var in ENV MAIL MAILPATH
23977 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23978 done
23979 PS1='$ '
23980 PS2='> '
23981 PS4='+ '
23983 # NLS nuisances.
23984 for as_var in \
23985 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23986 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23987 LC_TELEPHONE LC_TIME
23989 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23990 eval $as_var=C; export $as_var
23991 else
23992 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23994 done
23996 # Required to use basename.
23997 if expr a : '\(a\)' >/dev/null 2>&1 &&
23998 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23999 as_expr=expr
24000 else
24001 as_expr=false
24004 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24005 as_basename=basename
24006 else
24007 as_basename=false
24011 # Name of the executable.
24012 as_me=`$as_basename -- "$0" ||
24013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24014 X"$0" : 'X\(//\)$' \| \
24015 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24016 echo X/"$0" |
24017 sed '/^.*\/\([^/][^/]*\)\/*$/{
24018 s//\1/
24021 /^X\/\(\/\/\)$/{
24022 s//\1/
24025 /^X\/\(\/\).*/{
24026 s//\1/
24029 s/.*/./; q'`
24031 # CDPATH.
24032 $as_unset CDPATH
24036 as_lineno_1=$LINENO
24037 as_lineno_2=$LINENO
24038 test "x$as_lineno_1" != "x$as_lineno_2" &&
24039 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24041 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24042 # uniformly replaced by the line number. The first 'sed' inserts a
24043 # line-number line after each line using $LINENO; the second 'sed'
24044 # does the real work. The second script uses 'N' to pair each
24045 # line-number line with the line containing $LINENO, and appends
24046 # trailing '-' during substitution so that $LINENO is not a special
24047 # case at line end.
24048 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24049 # scripts with optimization help from Paolo Bonzini. Blame Lee
24050 # E. McMahon (1931-1989) for sed's syntax. :-)
24051 sed -n '
24053 /[$]LINENO/=
24054 ' <$as_myself |
24055 sed '
24056 s/[$]LINENO.*/&-/
24057 t lineno
24059 :lineno
24061 :loop
24062 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24063 t loop
24064 s/-\n.*//
24065 ' >$as_me.lineno &&
24066 chmod +x "$as_me.lineno" ||
24067 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24068 { (exit 1); exit 1; }; }
24070 # Don't try to exec as it changes $[0], causing all sort of problems
24071 # (the dirname of $[0] is not the place where we might find the
24072 # original and so on. Autoconf is especially sensitive to this).
24073 . "./$as_me.lineno"
24074 # Exit status is that of the last command.
24075 exit
24079 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24080 as_dirname=dirname
24081 else
24082 as_dirname=false
24085 ECHO_C= ECHO_N= ECHO_T=
24086 case `echo -n x` in
24087 -n*)
24088 case `echo 'x\c'` in
24089 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24090 *) ECHO_C='\c';;
24091 esac;;
24093 ECHO_N='-n';;
24094 esac
24096 if expr a : '\(a\)' >/dev/null 2>&1 &&
24097 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24098 as_expr=expr
24099 else
24100 as_expr=false
24103 rm -f conf$$ conf$$.exe conf$$.file
24104 if test -d conf$$.dir; then
24105 rm -f conf$$.dir/conf$$.file
24106 else
24107 rm -f conf$$.dir
24108 mkdir conf$$.dir
24110 echo >conf$$.file
24111 if ln -s conf$$.file conf$$ 2>/dev/null; then
24112 as_ln_s='ln -s'
24113 # ... but there are two gotchas:
24114 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24115 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24116 # In both cases, we have to default to `cp -p'.
24117 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24118 as_ln_s='cp -p'
24119 elif ln conf$$.file conf$$ 2>/dev/null; then
24120 as_ln_s=ln
24121 else
24122 as_ln_s='cp -p'
24124 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24125 rmdir conf$$.dir 2>/dev/null
24127 if mkdir -p . 2>/dev/null; then
24128 as_mkdir_p=:
24129 else
24130 test -d ./-p && rmdir ./-p
24131 as_mkdir_p=false
24134 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24135 # systems may use methods other than mode bits to determine executability.
24136 cat >conf$$.file <<_ASEOF
24137 #! /bin/sh
24138 exit 0
24139 _ASEOF
24140 chmod +x conf$$.file
24141 if test -x conf$$.file >/dev/null 2>&1; then
24142 as_executable_p="test -x"
24143 else
24144 as_executable_p=:
24146 rm -f conf$$.file
24148 # Sed expression to map a string onto a valid CPP name.
24149 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24151 # Sed expression to map a string onto a valid variable name.
24152 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24155 exec 6>&1
24157 # Save the log message, to keep $[0] and so on meaningful, and to
24158 # report actual input values of CONFIG_FILES etc. instead of their
24159 # values after options handling.
24160 ac_log="
24161 This file was extended by Wine $as_me 0.9.24, which was
24162 generated by GNU Autoconf 2.60a. Invocation command line was
24164 CONFIG_FILES = $CONFIG_FILES
24165 CONFIG_HEADERS = $CONFIG_HEADERS
24166 CONFIG_LINKS = $CONFIG_LINKS
24167 CONFIG_COMMANDS = $CONFIG_COMMANDS
24168 $ $0 $@
24170 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24173 _ACEOF
24175 cat >>$CONFIG_STATUS <<_ACEOF
24176 # Files that config.status was made for.
24177 config_files="$ac_config_files"
24178 config_headers="$ac_config_headers"
24179 config_commands="$ac_config_commands"
24181 _ACEOF
24183 cat >>$CONFIG_STATUS <<\_ACEOF
24184 ac_cs_usage="\
24185 \`$as_me' instantiates files from templates according to the
24186 current configuration.
24188 Usage: $0 [OPTIONS] [FILE]...
24190 -h, --help print this help, then exit
24191 -V, --version print version number and configuration settings, then exit
24192 -q, --quiet do not print progress messages
24193 -d, --debug don't remove temporary files
24194 --recheck update $as_me by reconfiguring in the same conditions
24195 --file=FILE[:TEMPLATE]
24196 instantiate the configuration file FILE
24197 --header=FILE[:TEMPLATE]
24198 instantiate the configuration header FILE
24200 Configuration files:
24201 $config_files
24203 Configuration headers:
24204 $config_headers
24206 Configuration commands:
24207 $config_commands
24209 Report bugs to <bug-autoconf@gnu.org>."
24211 _ACEOF
24212 cat >>$CONFIG_STATUS <<_ACEOF
24213 ac_cs_version="\\
24214 Wine config.status 0.9.24
24215 configured by $0, generated by GNU Autoconf 2.60a,
24216 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24218 Copyright (C) 2006 Free Software Foundation, Inc.
24219 This config.status script is free software; the Free Software Foundation
24220 gives unlimited permission to copy, distribute and modify it."
24222 ac_pwd='$ac_pwd'
24223 srcdir='$srcdir'
24224 INSTALL='$INSTALL'
24225 _ACEOF
24227 cat >>$CONFIG_STATUS <<\_ACEOF
24228 # If no file are specified by the user, then we need to provide default
24229 # value. By we need to know if files were specified by the user.
24230 ac_need_defaults=:
24231 while test $# != 0
24233 case $1 in
24234 --*=*)
24235 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24236 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24237 ac_shift=:
24240 ac_option=$1
24241 ac_optarg=$2
24242 ac_shift=shift
24244 esac
24246 case $ac_option in
24247 # Handling of the options.
24248 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24249 ac_cs_recheck=: ;;
24250 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24251 echo "$ac_cs_version"; exit ;;
24252 --debug | --debu | --deb | --de | --d | -d )
24253 debug=: ;;
24254 --file | --fil | --fi | --f )
24255 $ac_shift
24256 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24257 ac_need_defaults=false;;
24258 --header | --heade | --head | --hea )
24259 $ac_shift
24260 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24261 ac_need_defaults=false;;
24262 --he | --h)
24263 # Conflict between --help and --header
24264 { echo "$as_me: error: ambiguous option: $1
24265 Try \`$0 --help' for more information." >&2
24266 { (exit 1); exit 1; }; };;
24267 --help | --hel | -h )
24268 echo "$ac_cs_usage"; exit ;;
24269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24270 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24271 ac_cs_silent=: ;;
24273 # This is an error.
24274 -*) { echo "$as_me: error: unrecognized option: $1
24275 Try \`$0 --help' for more information." >&2
24276 { (exit 1); exit 1; }; } ;;
24278 *) ac_config_targets="$ac_config_targets $1"
24279 ac_need_defaults=false ;;
24281 esac
24282 shift
24283 done
24285 ac_configure_extra_args=
24287 if $ac_cs_silent; then
24288 exec 6>/dev/null
24289 ac_configure_extra_args="$ac_configure_extra_args --silent"
24292 _ACEOF
24293 cat >>$CONFIG_STATUS <<_ACEOF
24294 if \$ac_cs_recheck; then
24295 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24296 CONFIG_SHELL=$SHELL
24297 export CONFIG_SHELL
24298 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24301 _ACEOF
24302 cat >>$CONFIG_STATUS <<\_ACEOF
24303 exec 5>>config.log
24305 echo
24306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24307 ## Running $as_me. ##
24308 _ASBOX
24309 echo "$ac_log"
24310 } >&5
24312 _ACEOF
24313 cat >>$CONFIG_STATUS <<_ACEOF
24314 _ACEOF
24316 cat >>$CONFIG_STATUS <<\_ACEOF
24318 # Handling of arguments.
24319 for ac_config_target in $ac_config_targets
24321 case $ac_config_target in
24322 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24323 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24324 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24325 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24326 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24327 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24328 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24329 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24330 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24331 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24332 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24333 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24334 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24336 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24337 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24338 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24339 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24340 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24341 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24342 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24343 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24344 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24345 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24346 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24347 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24348 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24349 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24350 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24351 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24352 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24353 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24354 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24355 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24356 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24357 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24358 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24359 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24360 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24361 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24362 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24363 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24364 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24365 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24366 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24367 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24368 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24369 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24370 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24371 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24372 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24373 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24374 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24375 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24376 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24377 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24378 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24379 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24380 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24381 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24382 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24383 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24384 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24385 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24386 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24387 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24388 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24389 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24390 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24391 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24392 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24393 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24394 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24395 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24396 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24397 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24398 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24399 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24400 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24401 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24402 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24403 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24404 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24405 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24406 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24407 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24408 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24409 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24410 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24411 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24412 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24413 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24414 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24415 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24416 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24417 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24418 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24419 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24420 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24421 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24422 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24423 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24424 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24425 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24426 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24427 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24428 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24429 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24430 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24431 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24432 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24433 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24434 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24435 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24436 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24437 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24438 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24439 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24440 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24441 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24442 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24443 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24444 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24445 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24446 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24447 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24448 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24449 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24450 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24451 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24452 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24453 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24454 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24455 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24456 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24457 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24458 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24459 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24460 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24461 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24462 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24463 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24464 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24465 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24466 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24467 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24468 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24469 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24470 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24471 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24472 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24473 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24474 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24475 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24476 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24477 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24478 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24479 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24480 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24481 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24482 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24483 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24484 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24485 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24486 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24487 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24488 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24489 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24490 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24491 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24492 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24493 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24494 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24495 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24496 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24497 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24498 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24499 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24500 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24501 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24502 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24503 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24504 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24505 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24506 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24507 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24508 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24509 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24510 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24511 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24512 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24513 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24514 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24515 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24516 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24517 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24518 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24519 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24520 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24521 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24522 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24523 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24524 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24525 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24526 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24527 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24528 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24529 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24530 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24531 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24532 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24533 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24534 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24535 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24536 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24537 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24538 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24539 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24540 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24541 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24542 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24543 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24544 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24545 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24546 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24547 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24548 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24549 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24550 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24551 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24552 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24553 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24554 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24555 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24556 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24557 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24558 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24559 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24560 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24561 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24562 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24563 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24564 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24565 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24566 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24567 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24568 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24569 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24570 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24571 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24572 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24573 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24574 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24575 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24576 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24577 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24578 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24579 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24580 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24581 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24582 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24583 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24584 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24585 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24586 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24587 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24588 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24589 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24590 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24591 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24592 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24593 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24594 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24595 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24596 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24597 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24598 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24599 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24600 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24601 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24602 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24603 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24604 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24605 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24606 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24607 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24608 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24609 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24610 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24611 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24612 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24613 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24614 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24615 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24616 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24617 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24618 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24619 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24620 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24621 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24622 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24623 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24624 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24625 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24626 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24627 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24628 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24629 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24630 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24631 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24632 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24633 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24634 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24635 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24636 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24637 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24638 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24639 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24640 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24641 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24642 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24643 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24645 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24646 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24647 { (exit 1); exit 1; }; };;
24648 esac
24649 done
24652 # If the user did not use the arguments to specify the items to instantiate,
24653 # then the envvar interface is used. Set only those that are not.
24654 # We use the long form for the default assignment because of an extremely
24655 # bizarre bug on SunOS 4.1.3.
24656 if $ac_need_defaults; then
24657 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24658 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24659 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24662 # Have a temporary directory for convenience. Make it in the build tree
24663 # simply because there is no reason against having it here, and in addition,
24664 # creating and moving files from /tmp can sometimes cause problems.
24665 # Hook for its removal unless debugging.
24666 # Note that there is a small window in which the directory will not be cleaned:
24667 # after its creation but before its name has been assigned to `$tmp'.
24668 $debug ||
24670 tmp=
24671 trap 'exit_status=$?
24672 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24674 trap '{ (exit 1); exit 1; }' 1 2 13 15
24676 # Create a (secure) tmp directory for tmp files.
24679 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24680 test -n "$tmp" && test -d "$tmp"
24681 } ||
24683 tmp=./conf$$-$RANDOM
24684 (umask 077 && mkdir "$tmp")
24685 } ||
24687 echo "$me: cannot create a temporary directory in ." >&2
24688 { (exit 1); exit 1; }
24692 # Set up the sed scripts for CONFIG_FILES section.
24695 # No need to generate the scripts if there are no CONFIG_FILES.
24696 # This happens for instance when ./config.status config.h
24697 if test -n "$CONFIG_FILES"; then
24699 _ACEOF
24701 # Create sed commands to just substitute file output variables.
24703 # Remaining file output variables are in a fragment that also has non-file
24704 # output varibles.
24708 ac_delim='%!_!# '
24709 for ac_last_try in false false false false false :; do
24710 cat >conf$$subs.sed <<_ACEOF
24711 SHELL!$SHELL$ac_delim
24712 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24713 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24714 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24715 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24716 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24717 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24718 exec_prefix!$exec_prefix$ac_delim
24719 prefix!$prefix$ac_delim
24720 program_transform_name!$program_transform_name$ac_delim
24721 bindir!$bindir$ac_delim
24722 sbindir!$sbindir$ac_delim
24723 libexecdir!$libexecdir$ac_delim
24724 datarootdir!$datarootdir$ac_delim
24725 datadir!$datadir$ac_delim
24726 sysconfdir!$sysconfdir$ac_delim
24727 sharedstatedir!$sharedstatedir$ac_delim
24728 localstatedir!$localstatedir$ac_delim
24729 includedir!$includedir$ac_delim
24730 oldincludedir!$oldincludedir$ac_delim
24731 docdir!$docdir$ac_delim
24732 infodir!$infodir$ac_delim
24733 htmldir!$htmldir$ac_delim
24734 dvidir!$dvidir$ac_delim
24735 pdfdir!$pdfdir$ac_delim
24736 psdir!$psdir$ac_delim
24737 libdir!$libdir$ac_delim
24738 localedir!$localedir$ac_delim
24739 mandir!$mandir$ac_delim
24740 DEFS!$DEFS$ac_delim
24741 ECHO_C!$ECHO_C$ac_delim
24742 ECHO_N!$ECHO_N$ac_delim
24743 ECHO_T!$ECHO_T$ac_delim
24744 LIBS!$LIBS$ac_delim
24745 build_alias!$build_alias$ac_delim
24746 host_alias!$host_alias$ac_delim
24747 target_alias!$target_alias$ac_delim
24748 build!$build$ac_delim
24749 build_cpu!$build_cpu$ac_delim
24750 build_vendor!$build_vendor$ac_delim
24751 build_os!$build_os$ac_delim
24752 host!$host$ac_delim
24753 host_cpu!$host_cpu$ac_delim
24754 host_vendor!$host_vendor$ac_delim
24755 host_os!$host_os$ac_delim
24756 WIN16_FILES!$WIN16_FILES$ac_delim
24757 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24758 SET_MAKE!$SET_MAKE$ac_delim
24759 CC!$CC$ac_delim
24760 CFLAGS!$CFLAGS$ac_delim
24761 LDFLAGS!$LDFLAGS$ac_delim
24762 CPPFLAGS!$CPPFLAGS$ac_delim
24763 ac_ct_CC!$ac_ct_CC$ac_delim
24764 EXEEXT!$EXEEXT$ac_delim
24765 OBJEXT!$OBJEXT$ac_delim
24766 CXX!$CXX$ac_delim
24767 CXXFLAGS!$CXXFLAGS$ac_delim
24768 ac_ct_CXX!$ac_ct_CXX$ac_delim
24769 CPPBIN!$CPPBIN$ac_delim
24770 TOOLSDIR!$TOOLSDIR$ac_delim
24771 XMKMF!$XMKMF$ac_delim
24772 CPP!$CPP$ac_delim
24773 X_CFLAGS!$X_CFLAGS$ac_delim
24774 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24775 X_LIBS!$X_LIBS$ac_delim
24776 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24777 LEX!$LEX$ac_delim
24778 LEXLIB!$LEXLIB$ac_delim
24779 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24780 XLEX!$XLEX$ac_delim
24781 BISON!$BISON$ac_delim
24782 AS!$AS$ac_delim
24783 ac_ct_AS!$ac_ct_AS$ac_delim
24784 LD!$LD$ac_delim
24785 AR!$AR$ac_delim
24786 RANLIB!$RANLIB$ac_delim
24787 STRIP!$STRIP$ac_delim
24788 WINDRES!$WINDRES$ac_delim
24789 LN_S!$LN_S$ac_delim
24790 LN!$LN$ac_delim
24791 GREP!$GREP$ac_delim
24792 EGREP!$EGREP$ac_delim
24793 _ACEOF
24795 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24796 break
24797 elif $ac_last_try; then
24798 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24799 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24800 { (exit 1); exit 1; }; }
24801 else
24802 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24804 done
24806 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24807 if test -n "$ac_eof"; then
24808 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24809 ac_eof=`expr $ac_eof + 1`
24812 cat >>$CONFIG_STATUS <<_ACEOF
24813 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24815 /^[ ]*@MAKE_RULES@[ ]*$/{
24816 r $MAKE_RULES
24819 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24820 r $MAKE_DLL_RULES
24823 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24824 r $MAKE_IMPLIB_RULES
24827 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24828 r $MAKE_TEST_RULES
24831 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24832 r $MAKE_PROG_RULES
24835 _ACEOF
24836 sed '
24837 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24838 s/^/s,@/; s/!/@,|#_!!_#|/
24841 s/'"$ac_delim"'$/,g/; t
24842 s/$/\\/; p
24843 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24844 ' >>$CONFIG_STATUS <conf$$subs.sed
24845 rm -f conf$$subs.sed
24846 cat >>$CONFIG_STATUS <<_ACEOF
24847 CEOF$ac_eof
24848 _ACEOF
24851 ac_delim='%!_!# '
24852 for ac_last_try in false false false false false :; do
24853 cat >conf$$subs.sed <<_ACEOF
24854 LDCONFIG!$LDCONFIG$ac_delim
24855 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24856 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24857 INSTALL_DATA!$INSTALL_DATA$ac_delim
24858 LINT!$LINT$ac_delim
24859 LINTFLAGS!$LINTFLAGS$ac_delim
24860 FONTFORGE!$FONTFORGE$ac_delim
24861 PKG_CONFIG!$PKG_CONFIG$ac_delim
24862 PRELINK!$PRELINK$ac_delim
24863 LIBPTHREAD!$LIBPTHREAD$ac_delim
24864 XLIB!$XLIB$ac_delim
24865 XFILES!$XFILES$ac_delim
24866 OPENGLFILES!$OPENGLFILES$ac_delim
24867 GLU32FILES!$GLU32FILES$ac_delim
24868 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24869 QUARTZFILES!$QUARTZFILES$ac_delim
24870 GLUT_LIBS!$GLUT_LIBS$ac_delim
24871 GLUT32FILES!$GLUT32FILES$ac_delim
24872 NASLIBS!$NASLIBS$ac_delim
24873 XML2LIBS!$XML2LIBS$ac_delim
24874 XML2INCL!$XML2INCL$ac_delim
24875 XSLTLIBS!$XSLTLIBS$ac_delim
24876 XSLTINCL!$XSLTINCL$ac_delim
24877 HALINCL!$HALINCL$ac_delim
24878 CURSESLIBS!$CURSESLIBS$ac_delim
24879 sane_devel!$sane_devel$ac_delim
24880 SANELIBS!$SANELIBS$ac_delim
24881 SANEINCL!$SANEINCL$ac_delim
24882 gphoto2_devel!$gphoto2_devel$ac_delim
24883 gphoto2port_devel!$gphoto2port_devel$ac_delim
24884 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24885 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24886 ICULIBS!$ICULIBS$ac_delim
24887 RESOLVLIBS!$RESOLVLIBS$ac_delim
24888 LCMSLIBS!$LCMSLIBS$ac_delim
24889 LDAPLIBS!$LDAPLIBS$ac_delim
24890 FREETYPELIBS!$FREETYPELIBS$ac_delim
24891 FREETYPEINCL!$FREETYPEINCL$ac_delim
24892 ft_devel!$ft_devel$ac_delim
24893 ft_devel2!$ft_devel2$ac_delim
24894 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24895 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24896 ARTSLIBS!$ARTSLIBS$ac_delim
24897 ARTSINCL!$ARTSINCL$ac_delim
24898 ESDCONFIG!$ESDCONFIG$ac_delim
24899 ESDLIBS!$ESDLIBS$ac_delim
24900 ESDINCL!$ESDINCL$ac_delim
24901 ALSALIBS!$ALSALIBS$ac_delim
24902 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24903 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24904 BUILTINFLAG!$BUILTINFLAG$ac_delim
24905 DLLEXT!$DLLEXT$ac_delim
24906 DLLFLAGS!$DLLFLAGS$ac_delim
24907 LDSHARED!$LDSHARED$ac_delim
24908 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24909 LIBEXT!$LIBEXT$ac_delim
24910 IMPLIBEXT!$IMPLIBEXT$ac_delim
24911 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24912 DLLTOOL!$DLLTOOL$ac_delim
24913 DLLWRAP!$DLLWRAP$ac_delim
24914 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24915 IOKITLIB!$IOKITLIB$ac_delim
24916 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24917 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24918 COREAUDIO!$COREAUDIO$ac_delim
24919 CROSSTEST!$CROSSTEST$ac_delim
24920 CROSSCC!$CROSSCC$ac_delim
24921 CROSSWINDRES!$CROSSWINDRES$ac_delim
24922 LDPATH!$LDPATH$ac_delim
24923 CRTLIBS!$CRTLIBS$ac_delim
24924 SOCKETLIBS!$SOCKETLIBS$ac_delim
24925 MAIN_BINARY!$MAIN_BINARY$ac_delim
24926 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24927 LDD!$LDD$ac_delim
24928 LIBDL!$LIBDL$ac_delim
24929 LIBPOLL!$LIBPOLL$ac_delim
24930 DEPENDENCIES!$DEPENDENCIES$ac_delim
24931 LIBOBJS!$LIBOBJS$ac_delim
24932 LTLIBOBJS!$LTLIBOBJS$ac_delim
24933 _ACEOF
24935 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
24936 break
24937 elif $ac_last_try; then
24938 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24939 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24940 { (exit 1); exit 1; }; }
24941 else
24942 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24944 done
24946 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24947 if test -n "$ac_eof"; then
24948 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24949 ac_eof=`expr $ac_eof + 1`
24952 cat >>$CONFIG_STATUS <<_ACEOF
24953 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24955 _ACEOF
24956 sed '
24957 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24958 s/^/s,@/; s/!/@,|#_!!_#|/
24961 s/'"$ac_delim"'$/,g/; t
24962 s/$/\\/; p
24963 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24964 ' >>$CONFIG_STATUS <conf$$subs.sed
24965 rm -f conf$$subs.sed
24966 cat >>$CONFIG_STATUS <<_ACEOF
24967 :end
24968 s/|#_!!_#|//g
24969 CEOF$ac_eof
24970 _ACEOF
24973 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24974 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24975 # trailing colons and then remove the whole line if VPATH becomes empty
24976 # (actually we leave an empty line to preserve line numbers).
24977 if test "x$srcdir" = x.; then
24978 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24979 s/:*\$(srcdir):*/:/
24980 s/:*\${srcdir}:*/:/
24981 s/:*@srcdir@:*/:/
24982 s/^\([^=]*=[ ]*\):*/\1/
24983 s/:*$//
24984 s/^[^=]*=[ ]*$//
24988 cat >>$CONFIG_STATUS <<\_ACEOF
24989 fi # test -n "$CONFIG_FILES"
24992 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24994 case $ac_tag in
24995 :[FHLC]) ac_mode=$ac_tag; continue;;
24996 esac
24997 case $ac_mode$ac_tag in
24998 :[FHL]*:*);;
24999 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25000 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25001 { (exit 1); exit 1; }; };;
25002 :[FH]-) ac_tag=-:-;;
25003 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25004 esac
25005 ac_save_IFS=$IFS
25006 IFS=:
25007 set x $ac_tag
25008 IFS=$ac_save_IFS
25009 shift
25010 ac_file=$1
25011 shift
25013 case $ac_mode in
25014 :L) ac_source=$1;;
25015 :[FH])
25016 ac_file_inputs=
25017 for ac_f
25019 case $ac_f in
25020 -) ac_f="$tmp/stdin";;
25021 *) # Look for the file first in the build tree, then in the source tree
25022 # (if the path is not absolute). The absolute path cannot be DOS-style,
25023 # because $ac_f cannot contain `:'.
25024 test -f "$ac_f" ||
25025 case $ac_f in
25026 [\\/$]*) false;;
25027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25028 esac ||
25029 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25030 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25031 { (exit 1); exit 1; }; };;
25032 esac
25033 ac_file_inputs="$ac_file_inputs $ac_f"
25034 done
25036 # Let's still pretend it is `configure' which instantiates (i.e., don't
25037 # use $as_me), people would be surprised to read:
25038 # /* config.h. Generated by config.status. */
25039 configure_input="Generated from "`IFS=:
25040 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25041 if test x"$ac_file" != x-; then
25042 configure_input="$ac_file. $configure_input"
25043 { echo "$as_me:$LINENO: creating $ac_file" >&5
25044 echo "$as_me: creating $ac_file" >&6;}
25047 case $ac_tag in
25048 *:-:* | *:-) cat >"$tmp/stdin";;
25049 esac
25051 esac
25053 ac_dir=`$as_dirname -- "$ac_file" ||
25054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25055 X"$ac_file" : 'X\(//\)[^/]' \| \
25056 X"$ac_file" : 'X\(//\)$' \| \
25057 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25058 echo X"$ac_file" |
25059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25060 s//\1/
25063 /^X\(\/\/\)[^/].*/{
25064 s//\1/
25067 /^X\(\/\/\)$/{
25068 s//\1/
25071 /^X\(\/\).*/{
25072 s//\1/
25075 s/.*/./; q'`
25076 { as_dir="$ac_dir"
25077 case $as_dir in #(
25078 -*) as_dir=./$as_dir;;
25079 esac
25080 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25081 as_dirs=
25082 while :; do
25083 case $as_dir in #(
25084 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25085 *) as_qdir=$as_dir;;
25086 esac
25087 as_dirs="'$as_qdir' $as_dirs"
25088 as_dir=`$as_dirname -- "$as_dir" ||
25089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25090 X"$as_dir" : 'X\(//\)[^/]' \| \
25091 X"$as_dir" : 'X\(//\)$' \| \
25092 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25093 echo X"$as_dir" |
25094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25095 s//\1/
25098 /^X\(\/\/\)[^/].*/{
25099 s//\1/
25102 /^X\(\/\/\)$/{
25103 s//\1/
25106 /^X\(\/\).*/{
25107 s//\1/
25110 s/.*/./; q'`
25111 test -d "$as_dir" && break
25112 done
25113 test -z "$as_dirs" || eval "mkdir $as_dirs"
25114 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25115 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25116 { (exit 1); exit 1; }; }; }
25117 ac_builddir=.
25119 case "$ac_dir" in
25120 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25122 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25123 # A ".." for each directory in $ac_dir_suffix.
25124 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25125 case $ac_top_builddir_sub in
25126 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25127 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25128 esac ;;
25129 esac
25130 ac_abs_top_builddir=$ac_pwd
25131 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25132 # for backward compatibility:
25133 ac_top_builddir=$ac_top_build_prefix
25135 case $srcdir in
25136 .) # We are building in place.
25137 ac_srcdir=.
25138 ac_top_srcdir=$ac_top_builddir_sub
25139 ac_abs_top_srcdir=$ac_pwd ;;
25140 [\\/]* | ?:[\\/]* ) # Absolute name.
25141 ac_srcdir=$srcdir$ac_dir_suffix;
25142 ac_top_srcdir=$srcdir
25143 ac_abs_top_srcdir=$srcdir ;;
25144 *) # Relative name.
25145 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25146 ac_top_srcdir=$ac_top_build_prefix$srcdir
25147 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25148 esac
25149 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25152 case $ac_mode in
25155 # CONFIG_FILE
25158 case $INSTALL in
25159 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25160 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25161 esac
25162 _ACEOF
25164 cat >>$CONFIG_STATUS <<\_ACEOF
25165 # If the template does not know about datarootdir, expand it.
25166 # FIXME: This hack should be removed a few years after 2.60.
25167 ac_datarootdir_hack=; ac_datarootdir_seen=
25169 case `sed -n '/datarootdir/ {
25173 /@datadir@/p
25174 /@docdir@/p
25175 /@infodir@/p
25176 /@localedir@/p
25177 /@mandir@/p
25178 ' $ac_file_inputs` in
25179 *datarootdir*) ac_datarootdir_seen=yes;;
25180 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25181 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25182 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25183 _ACEOF
25184 cat >>$CONFIG_STATUS <<_ACEOF
25185 ac_datarootdir_hack='
25186 s&@datadir@&$datadir&g
25187 s&@docdir@&$docdir&g
25188 s&@infodir@&$infodir&g
25189 s&@localedir@&$localedir&g
25190 s&@mandir@&$mandir&g
25191 s&\\\${datarootdir}&$datarootdir&g' ;;
25192 esac
25193 _ACEOF
25195 # Neutralize VPATH when `$srcdir' = `.'.
25196 # Shell code in configure.ac might set extrasub.
25197 # FIXME: do we really want to maintain this feature?
25198 cat >>$CONFIG_STATUS <<_ACEOF
25199 sed "$ac_vpsub
25200 $extrasub
25201 _ACEOF
25202 cat >>$CONFIG_STATUS <<\_ACEOF
25204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25205 s&@configure_input@&$configure_input&;t t
25206 s&@top_builddir@&$ac_top_builddir_sub&;t t
25207 s&@srcdir@&$ac_srcdir&;t t
25208 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25209 s&@top_srcdir@&$ac_top_srcdir&;t t
25210 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25211 s&@builddir@&$ac_builddir&;t t
25212 s&@abs_builddir@&$ac_abs_builddir&;t t
25213 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25214 s&@INSTALL@&$ac_INSTALL&;t t
25215 $ac_datarootdir_hack
25216 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25218 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25219 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25220 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25221 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25222 which seems to be undefined. Please make sure it is defined." >&5
25223 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25224 which seems to be undefined. Please make sure it is defined." >&2;}
25226 rm -f "$tmp/stdin"
25227 case $ac_file in
25228 -) cat "$tmp/out"; rm -f "$tmp/out";;
25229 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25230 esac
25234 # CONFIG_HEADER
25236 _ACEOF
25238 # Transform confdefs.h into a sed script `conftest.defines', that
25239 # substitutes the proper values into config.h.in to produce config.h.
25240 rm -f conftest.defines conftest.tail
25241 # First, append a space to every undef/define line, to ease matching.
25242 echo 's/$/ /' >conftest.defines
25243 # Then, protect against being on the right side of a sed subst, or in
25244 # an unquoted here document, in config.status. If some macros were
25245 # called several times there might be several #defines for the same
25246 # symbol, which is useless. But do not sort them, since the last
25247 # AC_DEFINE must be honored.
25248 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25249 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25250 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25251 # PARAMS is the parameter list in the macro definition--in most cases, it's
25252 # just an empty string.
25253 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25254 ac_dB='\\)[ (].*,\\1define\\2'
25255 ac_dC=' '
25256 ac_dD=' ,'
25258 uniq confdefs.h |
25259 sed -n '
25260 t rset
25261 :rset
25262 s/^[ ]*#[ ]*define[ ][ ]*//
25263 t ok
25266 s/[\\&,]/\\&/g
25267 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25268 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25269 ' >>conftest.defines
25271 # Remove the space that was appended to ease matching.
25272 # Then replace #undef with comments. This is necessary, for
25273 # example, in the case of _POSIX_SOURCE, which is predefined and required
25274 # on some systems where configure will not decide to define it.
25275 # (The regexp can be short, since the line contains either #define or #undef.)
25276 echo 's/ $//
25277 s,^[ #]*u.*,/* & */,' >>conftest.defines
25279 # Break up conftest.defines:
25280 ac_max_sed_lines=50
25282 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25283 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25284 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25285 # et cetera.
25286 ac_in='$ac_file_inputs'
25287 ac_out='"$tmp/out1"'
25288 ac_nxt='"$tmp/out2"'
25290 while :
25292 # Write a here document:
25293 cat >>$CONFIG_STATUS <<_ACEOF
25294 # First, check the format of the line:
25295 cat >"\$tmp/defines.sed" <<\\CEOF
25296 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25297 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25299 :def
25300 _ACEOF
25301 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25302 echo 'CEOF
25303 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25304 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25305 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25306 grep . conftest.tail >/dev/null || break
25307 rm -f conftest.defines
25308 mv conftest.tail conftest.defines
25309 done
25310 rm -f conftest.defines conftest.tail
25312 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25313 cat >>$CONFIG_STATUS <<\_ACEOF
25314 if test x"$ac_file" != x-; then
25315 echo "/* $configure_input */" >"$tmp/config.h"
25316 cat "$ac_result" >>"$tmp/config.h"
25317 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25318 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25319 echo "$as_me: $ac_file is unchanged" >&6;}
25320 else
25321 rm -f $ac_file
25322 mv "$tmp/config.h" $ac_file
25324 else
25325 echo "/* $configure_input */"
25326 cat "$ac_result"
25328 rm -f "$tmp/out12"
25331 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25332 echo "$as_me: executing $ac_file commands" >&6;}
25334 esac
25337 case $ac_file$ac_mode in
25338 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25339 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25340 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25341 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25342 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25343 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25344 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25345 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25346 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25347 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25348 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25349 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25350 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25352 esac
25353 done # for ac_tag
25356 { (exit 0); exit 0; }
25357 _ACEOF
25358 chmod +x $CONFIG_STATUS
25359 ac_clean_files=$ac_clean_files_save
25362 # configure is writing to config.log, and then calls config.status.
25363 # config.status does its own redirection, appending to config.log.
25364 # Unfortunately, on DOS this fails, as config.log is still kept open
25365 # by configure, so config.status won't be able to write to it; its
25366 # output is simply discarded. So we exec the FD to /dev/null,
25367 # effectively closing config.log, so it can be properly (re)opened and
25368 # appended to by config.status. When coming back to configure, we
25369 # need to make the FD available again.
25370 if test "$no_create" != yes; then
25371 ac_cs_success=:
25372 ac_config_status_args=
25373 test "$silent" = yes &&
25374 ac_config_status_args="$ac_config_status_args --quiet"
25375 exec 5>/dev/null
25376 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25377 exec 5>>config.log
25378 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25379 # would make configure fail if this is the last instruction.
25380 $ac_cs_success || { (exit 1); exit 1; }
25385 if test "$no_create" = "yes"
25386 then
25387 exit 0
25390 if test "$verbose" = "yes"
25391 then
25392 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25393 then
25394 echo >&2
25395 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25396 echo "$as_me: libcapi20 development files not found." >&6;}
25397 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25398 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25401 if test "$ac_cv_header_cups_cups_h" != "yes"
25402 then
25403 echo >&2
25404 { echo "$as_me:$LINENO: libcups development files not found." >&5
25405 echo "$as_me: libcups development files not found." >&6;}
25406 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25407 echo "$as_me: Wine will be built without CUPS support." >&6;}
25411 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25412 then
25413 echo >&2
25414 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25415 echo "$as_me: libgphoto2 development files not found." >&6;}
25416 if test "$ac_cv_header_sane_sane_h" = "yes"
25417 then
25418 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25419 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25420 else
25421 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25422 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25426 if test "$ac_cv_header_hal_libhal_h" != "yes"
25427 then
25428 echo >&2
25429 { echo "$as_me:$LINENO: libhal development files not found." >&5
25430 echo "$as_me: libhal development files not found." >&6;}
25431 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25432 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25435 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25436 then
25437 echo >&2
25438 { echo "$as_me:$LINENO: libicu development files not found." >&5
25439 echo "$as_me: libicu development files not found." >&6;}
25440 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25441 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25444 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25445 then
25446 echo >&2
25447 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25448 echo "$as_me: liblcms development files not found." >&6;}
25449 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25450 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25453 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25454 then
25455 echo >&2
25456 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25457 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25458 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25459 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25462 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25463 then
25464 echo >&2
25465 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25466 echo "$as_me: lib(n)curses development files not found." >&6;}
25467 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25468 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25471 if test "$ac_cv_header_sane_sane_h" != "yes"
25472 then
25473 echo >&2
25474 { echo "$as_me:$LINENO: libsane development files not found." >&5
25475 echo "$as_me: libsane development files not found." >&6;}
25476 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25477 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25480 if test "$have_x" = "yes"
25481 then
25482 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25483 then
25484 echo >&2
25485 { echo "$as_me:$LINENO: libxext development files not found." >&5
25486 echo "$as_me: libxext development files not found." >&6;}
25487 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25488 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25491 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25492 then
25493 echo >&2
25494 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25495 echo "$as_me: libXrandr development files not found." >&6;}
25496 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25497 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25500 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25501 then
25502 echo >&2
25503 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25504 echo "$as_me: libXrender development files not found." >&6;}
25505 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25506 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25509 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25510 then
25511 echo >&2
25512 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25513 echo "$as_me: libXxf86vm development files not found." >&6;}
25514 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25515 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25519 if test "$ac_cv_header_libxml_parser_h" != "yes"
25520 then
25521 echo >&2
25522 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25523 echo "$as_me: libxml2 development files not found." >&6;}
25524 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25525 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25528 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25529 then
25530 echo >&2
25531 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25532 echo "$as_me: libxslt development files not found." >&6;}
25533 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25534 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25539 if test "$have_x" = "no"
25540 then
25541 echo >&2
25542 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25543 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25544 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25545 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25546 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25547 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25548 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25549 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25552 if test -z "$OPENGLFILES"
25553 then
25554 echo >&2
25555 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25556 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25557 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25558 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25559 if test "$wine_cv_opengl_headers_found" = "no"
25560 then
25561 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25562 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25564 if test "$wine_cv_opengl_header_version_OK" = "no"
25565 then
25566 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25567 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25568 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25569 then
25570 if test -f /usr/X11R6/lib/libGL.a
25571 then
25572 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25573 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25574 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25575 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25576 else
25577 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25578 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25583 if test "$wine_cv_msg_freetype" = "yes"
25584 then
25585 echo >&2
25586 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25587 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25588 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25589 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25590 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25591 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25592 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25593 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25596 if test -z "$FONTSSUBDIRS"
25597 then
25598 echo >&2
25599 if test "$FONTFORGE" = "false"
25600 then
25601 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25602 echo "$as_me: WARNING: FontForge is missing." >&2;}
25603 else
25604 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25605 echo "$as_me: WARNING: FreeType is missing." >&2;}
25607 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25608 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25611 if test -z "$ALSALIBS" -a \
25612 -z "$ARTSC_LIBS" -a \
25613 -z "$AUDIOIOLIBS" -a \
25614 -z "$NASLIBS" -a \
25615 -z "$ESD_LIBS" -a \
25616 -z "$ac_cv_lib_soname_jack" -a \
25617 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25618 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25619 "$ac_cv_header_soundcard_h" != "yes"
25620 then
25621 echo >&2
25622 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25623 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25624 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25625 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25626 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25627 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25630 echo
25631 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25632 echo