d3d: Don't crash when SetRenderTarget() is called with a NULL pSurface.
[wine/multimedia.git] / configure
blob254ec3bb3869cf4b26bc343429fd5bda114748a9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.18.
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.18'
563 PACKAGE_STRING='Wine 0.9.18'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #if HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #if HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #if STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # if HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #if HAVE_STRING_H
585 # if !STDC_HEADERS && HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #if HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #if HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #if HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #if HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEXLIB
671 LEX_OUTPUT_ROOT
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 GLUT_LIBS
701 GLUT32FILES
702 NASLIBS
703 XML2LIBS
704 XML2INCL
705 XSLTLIBS
706 XSLTINCL
707 HALINCL
708 CURSESLIBS
709 sane_devel
710 SANELIBS
711 SANEINCL
712 gphoto2_devel
713 gphoto2port_devel
714 GPHOTO2LIBS
715 GPHOTO2INCL
716 ICULIBS
717 RESOLVLIBS
718 LCMSLIBS
719 LDAPLIBS
720 FREETYPELIBS
721 FREETYPEINCL
722 ft_devel
723 ft_devel2
724 FONTSSUBDIRS
725 ARTSCCONFIG
726 ARTSLIBS
727 ARTSINCL
728 ESDCONFIG
729 ESDLIBS
730 ESDINCL
731 ALSALIBS
732 AUDIOIOLIBS
733 EXTRACFLAGS
734 BUILTINFLAG
735 DLLEXT
736 DLLFLAGS
737 DLLIBS
738 LDSHARED
739 LDDLLFLAGS
740 LIBEXT
741 IMPLIBEXT
742 DLLTOOL
743 DLLWRAP
744 LDEXECFLAGS
745 LDEXERPATH
746 LDDLLRPATH
747 COREFOUNDATIONLIB
748 IOKITLIB
749 COREAUDIO
750 CROSSTEST
751 CROSSCC
752 CROSSWINDRES
753 LDPATH
754 CRTLIBS
755 SOCKETLIBS
756 MAIN_BINARY
757 EXTRA_BINARIES
759 LIBOBJS
760 LTLIBOBJS'
761 ac_subst_files='MAKE_RULES
762 MAKE_DLL_RULES
763 MAKE_IMPLIB_RULES
764 MAKE_TEST_RULES
765 MAKE_PROG_RULES'
766 ac_precious_vars='build_alias
767 host_alias
768 target_alias
770 CFLAGS
771 LDFLAGS
772 CPPFLAGS
774 CXXFLAGS
776 XMKMF
777 CPP'
780 # Initialize some variables set by options.
781 ac_init_help=
782 ac_init_version=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
826 ac_prev=
827 ac_dashdash=
828 for ac_option
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
833 ac_prev=
834 continue
837 case $ac_option in
838 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 *) ac_optarg=yes ;;
840 esac
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
846 ac_dashdash=yes ;;
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 ac_prev=bindir ;;
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 bindir=$ac_optarg ;;
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
865 --config-cache | -C)
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
869 ac_prev=datadir ;;
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_$ac_feature=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
890 ac_prev=docdir ;;
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 docdir=$ac_optarg ;;
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 ac_prev=dvidir ;;
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 dvidir=$ac_optarg ;;
899 -enable-* | --enable-*)
900 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_$ac_feature=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
919 with_gas=yes ;;
921 -help | --help | --hel | --he | -h)
922 ac_init_help=long ;;
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 ac_prev=htmldir ;;
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 | --ht=*)
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 ac_prev=infodir ;;
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
952 ac_prev=libdir ;;
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
954 libdir=$ac_optarg ;;
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
964 ac_prev=localedir ;;
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 ac_prev=mandir ;;
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978 mandir=$ac_optarg ;;
980 -nfp | --nfp | --nf)
981 # Obsolete; use --without-fp.
982 with_fp=no ;;
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
986 no_create=yes ;;
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990 no_recursion=yes ;;
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 ac_prev=prefix ;;
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 ac_prev=pdfdir ;;
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1043 ac_prev=psdir ;;
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045 psdir=$ac_optarg ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1049 silent=yes ;;
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 ac_prev=sbindir ;;
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 | --sbi=* | --sb=*)
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1060 | --sha | --sh)
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 | --sha=* | --sh=*)
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1069 ac_prev=site ;;
1070 -site=* | --site=* | --sit=*)
1071 site=$ac_optarg ;;
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 ac_prev=srcdir ;;
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091 verbose=yes ;;
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1096 -with-* | --with-*)
1097 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_$ac_package=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_$ac_package=no ;;
1114 --x)
1115 # Obsolete; use --with-x.
1116 with_x=yes ;;
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1137 *=*)
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1154 esac
1155 done
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 case $ac_val in
1171 [\\/$]* | ?:[\\/]* ) continue;;
1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1173 esac
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1176 done
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1181 build=$build_alias
1182 host=$host_alias
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1192 cross_compiling=yes
1196 ac_tool_prefix=
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1199 test "$silent" = yes && exec 6>/dev/null
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di=`ls -di .` &&
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1221 echo X"$0" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 s//\1/
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1230 /^X\(\/\/\)$/{
1231 s//\1/
1234 /^X\(\/\).*/{
1235 s//\1/
1238 s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 srcdir=..
1243 else
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1255 pwd)`
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 srcdir=.
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1263 case $srcdir in
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 esac
1266 for ac_var in $ac_precious_vars; do
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_${ac_var}_value=\$${ac_var}
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271 done
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1279 cat <<_ACEOF
1280 \`configure' configures Wine 0.9.18 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1289 Configuration:
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 [PREFIX]
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1333 _ACEOF
1335 cat <<\_ACEOF
1337 X features:
1338 --x-includes=DIR X include files are in DIR
1339 --x-libraries=DIR X library files are in DIR
1341 System types:
1342 --build=BUILD configure for building on BUILD [guessed]
1343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1344 _ACEOF
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of Wine 0.9.18:";;
1350 esac
1351 cat <<\_ACEOF
1353 Optional Features:
1354 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1355 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1358 binaries)
1360 Optional Packages:
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1378 CPP C preprocessor
1380 Use these variables to override the choices made by `configure' or to help
1381 it to find libraries and programs with nonstandard names/locations.
1383 Report bugs to <wine-devel@winehq.org>.
1384 _ACEOF
1385 ac_status=$?
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d "$ac_dir" || continue
1392 ac_builddir=.
1394 case "$ac_dir" in
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 esac ;;
1404 esac
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1410 case $srcdir in
1411 .) # We are building in place.
1412 ac_srcdir=.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1419 *) # Relative name.
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 esac
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1429 echo &&
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1434 else
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 fi || ac_status=$?
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1438 done
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1443 cat <<\_ACEOF
1444 Wine configure 0.9.18
1445 generated by GNU Autoconf 2.60a
1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1451 _ACEOF
1452 exit
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.18, which was
1459 generated by GNU Autoconf 2.60a. Invocation command line was
1461 $ $0 $@
1463 _ACEOF
1464 exec 5>>config.log
1466 cat <<_ASUNAME
1467 ## --------- ##
1468 ## Platform. ##
1469 ## --------- ##
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1488 _ASUNAME
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 for as_dir in $PATH
1493 IFS=$as_save_IFS
1494 test -z "$as_dir" && as_dir=.
1495 echo "PATH: $as_dir"
1496 done
1497 IFS=$as_save_IFS
1499 } >&5
1501 cat >&5 <<_ACEOF
1504 ## ----------- ##
1505 ## Core tests. ##
1506 ## ----------- ##
1508 _ACEOF
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1516 ac_configure_args=
1517 ac_configure_args0=
1518 ac_configure_args1=
1519 ac_must_keep_next=false
1520 for ac_pass in 1 2
1522 for ac_arg
1524 case $ac_arg in
1525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1527 | -silent | --silent | --silen | --sile | --sil)
1528 continue ;;
1529 *\'*)
1530 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1531 esac
1532 case $ac_pass in
1533 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1535 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1536 if test $ac_must_keep_next = true; then
1537 ac_must_keep_next=false # Got value, back to normal.
1538 else
1539 case $ac_arg in
1540 *=* | --config-cache | -C | -disable-* | --disable-* \
1541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1543 | -with-* | --with-* | -without-* | --without-* | --x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1546 esac
1548 -* ) ac_must_keep_next=true ;;
1549 esac
1551 ac_configure_args="$ac_configure_args '$ac_arg'"
1553 esac
1554 done
1555 done
1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1567 echo
1569 cat <<\_ASBOX
1570 ## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##
1573 _ASBOX
1574 echo
1575 # The following way of writing the cache mishandles newlines in values,
1577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1578 eval ac_val=\$$ac_var
1579 case $ac_val in #(
1580 *${as_nl}*)
1581 case $ac_var in #(
1582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1584 esac
1585 case $ac_var in #(
1586 _ | IFS | as_nl) ;; #(
1587 *) $as_unset $ac_var ;;
1588 esac ;;
1589 esac
1590 done
1591 (set) 2>&1 |
1592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1594 sed -n \
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1597 ;; #(
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1601 esac |
1602 sort
1604 echo
1606 cat <<\_ASBOX
1607 ## ----------------- ##
1608 ## Output variables. ##
1609 ## ----------------- ##
1610 _ASBOX
1611 echo
1612 for ac_var in $ac_subst_vars
1614 eval ac_val=\$$ac_var
1615 case $ac_val in
1616 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 esac
1618 echo "$ac_var='\''$ac_val'\''"
1619 done | sort
1620 echo
1622 if test -n "$ac_subst_files"; then
1623 cat <<\_ASBOX
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1627 _ASBOX
1628 echo
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1640 if test -s confdefs.h; then
1641 cat <<\_ASBOX
1642 ## ----------- ##
1643 ## confdefs.h. ##
1644 ## ----------- ##
1645 _ASBOX
1646 echo
1647 cat confdefs.h
1648 echo
1650 test "$ac_signal" != 0 &&
1651 echo "$as_me: caught signal $ac_signal"
1652 echo "$as_me: exit $exit_status"
1653 } >&5
1654 rm -f core *.core core.conftest.* &&
1655 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1656 exit $exit_status
1658 for ac_signal in 1 2 13 15; do
1659 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1660 done
1661 ac_signal=0
1663 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1664 rm -f -r conftest* confdefs.h
1666 # Predefined preprocessor variables.
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 _ACEOF
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 _ACEOF
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 _ACEOF
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1690 _ACEOF
1693 # Let the site file select an alternate cache file if it wants to.
1694 # Prefer explicitly selected file to automatically selected ones.
1695 if test -n "$CONFIG_SITE"; then
1696 set x "$CONFIG_SITE"
1697 elif test "x$prefix" != xNONE; then
1698 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1699 else
1700 set x "$ac_default_prefix/share/config.site" \
1701 "$ac_default_prefix/etc/config.site"
1703 shift
1704 for ac_site_file
1706 if test -r "$ac_site_file"; then
1707 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1710 . "$ac_site_file"
1712 done
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 echo "$as_me: loading cache $cache_file" >&6;}
1720 case $cache_file in
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1723 esac
1725 else
1726 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 echo "$as_me: creating cache $cache_file" >&6;}
1728 >$cache_file
1731 # Check that the precious variables saved in the cache have kept the same
1732 # value.
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1740 set,)
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1744 ,set)
1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1748 ,);;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1754 echo "$as_me: former value: $ac_old_val" >&2;}
1755 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1756 echo "$as_me: current value: $ac_new_val" >&2;}
1757 ac_cache_corrupted=:
1758 fi;;
1759 esac
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1762 case $ac_new_val in
1763 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg=$ac_var=$ac_new_val ;;
1765 esac
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1769 esac
1771 done
1772 if $ac_cache_corrupted; then
1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1777 { (exit 1); exit 1; }; }
1804 ac_ext=c
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1812 ac_config_headers="$ac_config_headers include/config.h"
1814 ac_aux_dir=
1815 for ac_dir in tools "$srcdir"/tools; do
1816 if test -f "$ac_dir/install-sh"; then
1817 ac_aux_dir=$ac_dir
1818 ac_install_sh="$ac_aux_dir/install-sh -c"
1819 break
1820 elif test -f "$ac_dir/install.sh"; then
1821 ac_aux_dir=$ac_dir
1822 ac_install_sh="$ac_aux_dir/install.sh -c"
1823 break
1824 elif test -f "$ac_dir/shtool"; then
1825 ac_aux_dir=$ac_dir
1826 ac_install_sh="$ac_aux_dir/shtool install -c"
1827 break
1829 done
1830 if test -z "$ac_aux_dir"; then
1831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1832 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # These three variables are undocumented and unsupported,
1837 # and are intended to be withdrawn in a future Autoconf release.
1838 # They can cause serious problems if a builder's source tree is in a directory
1839 # whose full name contains unusual characters.
1840 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1841 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1842 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Check whether --enable-win16 was given.
1848 if test "${enable_win16+set}" = set; then
1849 enableval=$enable_win16;
1852 # Check whether --enable-win64 was given.
1853 if test "${enable_win64+set}" = set; then
1854 enableval=$enable_win64;
1859 # Check whether --with-opengl was given.
1860 if test "${with_opengl+set}" = set; then
1861 withval=$with_opengl;
1865 # Check whether --with-curses was given.
1866 if test "${with_curses+set}" = set; then
1867 withval=$with_curses;
1871 # Check whether --with-wine-tools was given.
1872 if test "${with_wine_tools+set}" = set; then
1873 withval=$with_wine_tools;
1877 # Make sure we can run config.sub.
1878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1879 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1880 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1881 { (exit 1); exit 1; }; }
1883 { echo "$as_me:$LINENO: checking build system type" >&5
1884 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1885 if test "${ac_cv_build+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 ac_build_alias=$build_alias
1889 test "x$ac_build_alias" = x &&
1890 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1891 test "x$ac_build_alias" = x &&
1892 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1893 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1894 { (exit 1); exit 1; }; }
1895 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1896 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1898 { (exit 1); exit 1; }; }
1901 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1902 echo "${ECHO_T}$ac_cv_build" >&6; }
1903 case $ac_cv_build in
1904 *-*-*) ;;
1905 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1906 echo "$as_me: error: invalid value of canonical build" >&2;}
1907 { (exit 1); exit 1; }; };;
1908 esac
1909 build=$ac_cv_build
1910 ac_save_IFS=$IFS; IFS='-'
1911 set x $ac_cv_build
1912 shift
1913 build_cpu=$1
1914 build_vendor=$2
1915 shift; shift
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1918 build_os=$*
1919 IFS=$ac_save_IFS
1920 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1923 { echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 else
1928 if test "x$host_alias" = x; then
1929 ac_cv_host=$ac_cv_build
1930 else
1931 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1933 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1939 echo "${ECHO_T}$ac_cv_host" >&6; }
1940 case $ac_cv_host in
1941 *-*-*) ;;
1942 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1943 echo "$as_me: error: invalid value of canonical host" >&2;}
1944 { (exit 1); exit 1; }; };;
1945 esac
1946 host=$ac_cv_host
1947 ac_save_IFS=$IFS; IFS='-'
1948 set x $ac_cv_host
1949 shift
1950 host_cpu=$1
1951 host_vendor=$2
1952 shift; shift
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1955 host_os=$*
1956 IFS=$ac_save_IFS
1957 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1960 case $host in
1961 x86_64*linux*)
1962 if test "x$enable_win64" != "xyes"
1963 then
1964 test -n "$CC" || CC="gcc -m32"
1965 test -n "$LD" || LD="ld -m elf_i386"
1966 test -n "$AS" || AS="as --32"
1967 host_cpu="i386"
1970 esac
1972 case $host_cpu in
1973 *i[3456789]86*)
1974 if test "x$enable_win16" != "xno"
1975 then
1976 enable_win16="yes"
1979 esac
1981 WIN16_FILES="\$(WIN16_FILES)"
1983 WIN16_INSTALL="\$(WIN16_INSTALL)"
1985 if test "x$enable_win16" != "xyes"
1986 then
1987 WIN16_FILES=""
1988 WIN16_INSTALL=""
1992 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1993 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1994 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1995 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 else
1998 cat >conftest.make <<\_ACEOF
1999 SHELL = /bin/sh
2000 all:
2001 @echo '@@@%%%=$(MAKE)=@@@%%%'
2002 _ACEOF
2003 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2005 *@@@%%%=?*=@@@%%%*)
2006 eval ac_cv_prog_make_${ac_make}_set=yes;;
2008 eval ac_cv_prog_make_${ac_make}_set=no;;
2009 esac
2010 rm -f conftest.make
2012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2013 { echo "$as_me:$LINENO: result: yes" >&5
2014 echo "${ECHO_T}yes" >&6; }
2015 SET_MAKE=
2016 else
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2019 SET_MAKE="MAKE=${MAKE-make}"
2022 ac_ext=c
2023 ac_cpp='$CPP $CPPFLAGS'
2024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2051 IFS=$as_save_IFS
2055 CC=$ac_cv_prog_CC
2056 if test -n "$CC"; then
2057 { echo "$as_me:$LINENO: result: $CC" >&5
2058 echo "${ECHO_T}$CC" >&6; }
2059 else
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_CC"; then
2067 ac_ct_CC=$CC
2068 # Extract the first word of "gcc", so it can be a program name with args.
2069 set dummy gcc; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_CC="gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2091 IFS=$as_save_IFS
2095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2096 if test -n "$ac_ct_CC"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2098 echo "${ECHO_T}$ac_ct_CC" >&6; }
2099 else
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_CC" = x; then
2105 CC=""
2106 else
2107 case $cross_compiling:$ac_tool_warned in
2108 yes:)
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned=yes ;;
2116 esac
2117 CC=$ac_ct_CC
2119 else
2120 CC="$ac_cv_prog_CC"
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_prog_CC+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 break 2
2146 done
2147 done
2148 IFS=$as_save_IFS
2152 CC=$ac_cv_prog_CC
2153 if test -n "$CC"; then
2154 { echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6; }
2156 else
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 ac_prog_rejected=no
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2185 continue
2187 ac_cv_prog_CC="cc"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2198 shift
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2203 shift
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211 { echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6; }
2213 else
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2247 IFS=$as_save_IFS
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 { echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6; }
2255 else
2256 { echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6; }
2261 test -n "$CC" && break
2262 done
2264 if test -z "$CC"; then
2265 ac_ct_CC=$CC
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 else
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2291 IFS=$as_save_IFS
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6; }
2299 else
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2305 test -n "$ac_ct_CC" && break
2306 done
2308 if test "x$ac_ct_CC" = x; then
2309 CC=""
2310 else
2311 case $cross_compiling:$ac_tool_warned in
2312 yes:)
2313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2314 whose name does not start with the host triplet. If you think this
2315 configuration is useful to you, please write to autoconf@gnu.org." >&5
2316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2319 ac_tool_warned=yes ;;
2320 esac
2321 CC=$ac_ct_CC
2328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&5
2330 echo "$as_me: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&2;}
2332 { (exit 1); exit 1; }; }
2334 # Provide some information about the compiler.
2335 echo "$as_me:$LINENO: checking for C compiler version" >&5
2336 ac_compiler=`set X $ac_compile; echo $2`
2337 { (ac_try="$ac_compiler --version >&5"
2338 case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2341 esac
2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2343 (eval "$ac_compiler --version >&5") 2>&5
2344 ac_status=$?
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (ac_try="$ac_compiler -v >&5"
2348 case "(($ac_try" in
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2351 esac
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler -v >&5") 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try="$ac_compiler -V >&5"
2358 case "(($ac_try" in
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2361 esac
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -V >&5") 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.$ac_ext <<_ACEOF
2369 /* confdefs.h. */
2370 _ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2376 main ()
2380 return 0;
2382 _ACEOF
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2387 # of exeext.
2388 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2392 # List of possible output files, starting from the most likely.
2393 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2394 # only as a last resort. b.out is created by i960 compilers.
2395 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2397 # The IRIX 6 linker writes into existing files which may not be
2398 # executable, retaining their permissions. Remove them first so a
2399 # subsequent execution test works.
2400 ac_rmfiles=
2401 for ac_file in $ac_files
2403 case $ac_file in
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2406 esac
2407 done
2408 rm -f $ac_rmfiles
2410 if { (ac_try="$ac_link_default"
2411 case "(($ac_try" in
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2414 esac
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_link_default") 2>&5
2417 ac_status=$?
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2422 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2423 # so that the user can short-circuit this test for compilers unknown to
2424 # Autoconf.
2425 for ac_file in $ac_files
2427 test -f "$ac_file" || continue
2428 case $ac_file in
2429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2431 [ab].out )
2432 # We found the default executable, but exeext='' is most
2433 # certainly right.
2434 break;;
2435 *.* )
2436 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2437 then :; else
2438 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440 # We set ac_cv_exeext here because the later test for it is not
2441 # safe: cross compilers may not add the suffix if given an `-o'
2442 # argument, so we may need to know it at that point already.
2443 # Even if this section looks crufty: it has the advantage of
2444 # actually working.
2445 break;;
2447 break;;
2448 esac
2449 done
2450 test "$ac_cv_exeext" = no && ac_cv_exeext=
2452 else
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: C compiler cannot create executables
2459 See \`config.log' for more details." >&2;}
2460 { (exit 77); exit 77; }; }
2463 ac_exeext=$ac_cv_exeext
2464 { echo "$as_me:$LINENO: result: $ac_file" >&5
2465 echo "${ECHO_T}$ac_file" >&6; }
2467 # Check that the compiler produces executables we can run. If not, either
2468 # the compiler is broken, or we cross compile.
2469 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2470 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2471 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2472 # If not cross compiling, check that we can run a simple program.
2473 if test "$cross_compiling" != yes; then
2474 if { ac_try='./$ac_file'
2475 { (case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478 esac
2479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2480 (eval "$ac_try") 2>&5
2481 ac_status=$?
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2484 cross_compiling=no
2485 else
2486 if test "$cross_compiling" = maybe; then
2487 cross_compiling=yes
2488 else
2489 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details." >&5
2492 echo "$as_me: error: cannot run C compiled programs.
2493 If you meant to cross compile, use \`--host'.
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6; }
2502 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2503 ac_clean_files=$ac_clean_files_save
2504 # Check that the compiler produces executables we can run. If not, either
2505 # the compiler is broken, or we cross compile.
2506 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2507 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2508 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2509 echo "${ECHO_T}$cross_compiling" >&6; }
2511 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2512 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2513 if { (ac_try="$ac_link"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2519 (eval "$ac_link") 2>&5
2520 ac_status=$?
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2524 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2525 # work properly (i.e., refer to `conftest.exe'), while it won't with
2526 # `rm'.
2527 for ac_file in conftest.exe conftest conftest.*; do
2528 test -f "$ac_file" || continue
2529 case $ac_file in
2530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2531 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2551 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2552 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2553 if test "${ac_cv_objext+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556 cat >conftest.$ac_ext <<_ACEOF
2557 /* confdefs.h. */
2558 _ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2564 main ()
2568 return 0;
2570 _ACEOF
2571 rm -f conftest.o conftest.obj
2572 if { (ac_try="$ac_compile"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_compile") 2>&5
2579 ac_status=$?
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file in conftest.o conftest.obj conftest.*; do
2583 test -f "$ac_file" || continue;
2584 case $ac_file in
2585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2586 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2587 break;;
2588 esac
2589 done
2590 else
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2595 See \`config.log' for more details." >&5
2596 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2597 See \`config.log' for more details." >&2;}
2598 { (exit 1); exit 1; }; }
2601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2603 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2604 echo "${ECHO_T}$ac_cv_objext" >&6; }
2605 OBJEXT=$ac_cv_objext
2606 ac_objext=$OBJEXT
2607 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2608 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2609 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 else
2612 cat >conftest.$ac_ext <<_ACEOF
2613 /* confdefs.h. */
2614 _ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2620 main ()
2622 #ifndef __GNUC__
2623 choke me
2624 #endif
2627 return 0;
2629 _ACEOF
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2638 ac_status=$?
2639 grep -v '^ *+' conftest.er1 >conftest.err
2640 rm -f conftest.er1
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2645 { (case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_try") 2>&5
2651 ac_status=$?
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_try") 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; }; then
2664 ac_compiler_gnu=yes
2665 else
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 ac_compiler_gnu=no
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2676 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2677 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2678 GCC=`test $ac_compiler_gnu = yes && echo yes`
2679 ac_test_CFLAGS=${CFLAGS+set}
2680 ac_save_CFLAGS=$CFLAGS
2681 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2682 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else
2686 ac_save_c_werror_flag=$ac_c_werror_flag
2687 ac_c_werror_flag=yes
2688 ac_cv_prog_cc_g=no
2689 CFLAGS="-g"
2690 cat >conftest.$ac_ext <<_ACEOF
2691 /* confdefs.h. */
2692 _ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2698 main ()
2702 return 0;
2704 _ACEOF
2705 rm -f conftest.$ac_objext
2706 if { (ac_try="$ac_compile"
2707 case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2710 esac
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>conftest.er1
2713 ac_status=$?
2714 grep -v '^ *+' conftest.er1 >conftest.err
2715 rm -f conftest.er1
2716 cat conftest.err >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } &&
2719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2736 ac_status=$?
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2739 ac_cv_prog_cc_g=yes
2740 else
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 CFLAGS=""
2745 cat >conftest.$ac_ext <<_ACEOF
2746 /* confdefs.h. */
2747 _ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2753 main ()
2757 return 0;
2759 _ACEOF
2760 rm -f conftest.$ac_objext
2761 if { (ac_try="$ac_compile"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2768 ac_status=$?
2769 grep -v '^ *+' conftest.er1 >conftest.err
2770 rm -f conftest.er1
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2775 { (case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_try") 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try='test -s conftest.$ac_objext'
2785 { (case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_try") 2>&5
2791 ac_status=$?
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2795 else
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_c_werror_flag=$ac_save_c_werror_flag
2800 CFLAGS="-g"
2801 cat >conftest.$ac_ext <<_ACEOF
2802 /* confdefs.h. */
2803 _ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2809 main ()
2813 return 0;
2815 _ACEOF
2816 rm -f conftest.$ac_objext
2817 if { (ac_try="$ac_compile"
2818 case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>conftest.er1
2824 ac_status=$?
2825 grep -v '^ *+' conftest.er1 >conftest.err
2826 rm -f conftest.er1
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2831 { (case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2836 (eval "$ac_try") 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_try") 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2850 ac_cv_prog_cc_g=yes
2851 else
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 ac_c_werror_flag=$ac_save_c_werror_flag
2867 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2873 CFLAGS="-g -O2"
2874 else
2875 CFLAGS="-g"
2877 else
2878 if test "$GCC" = yes; then
2879 CFLAGS="-O2"
2880 else
2881 CFLAGS=
2884 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2885 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2886 if test "${ac_cv_prog_cc_c89+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 else
2889 ac_cv_prog_cc_c89=no
2890 ac_save_CC=$CC
2891 cat >conftest.$ac_ext <<_ACEOF
2892 /* confdefs.h. */
2893 _ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2897 #include <stdarg.h>
2898 #include <stdio.h>
2899 #include <sys/types.h>
2900 #include <sys/stat.h>
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2905 char **p;
2906 int i;
2908 return p[i];
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2912 char *s;
2913 va_list v;
2914 va_start (v,p);
2915 s = g (p, va_arg (v,int));
2916 va_end (v);
2917 return s;
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2930 inside strings and character constants. */
2931 #define FOO(x) 'x'
2932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2934 int test (int i, double x);
2935 struct s1 {int (*f) (int a);};
2936 struct s2 {int (*f) (double a);};
2937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2938 int argc;
2939 char **argv;
2941 main ()
2943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2945 return 0;
2947 _ACEOF
2948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2951 CC="$ac_save_CC $ac_arg"
2952 rm -f conftest.$ac_objext
2953 if { (ac_try="$ac_compile"
2954 case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2957 esac
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2967 { (case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970 esac
2971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_try") 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_try") 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 ac_cv_prog_cc_c89=$ac_arg
2987 else
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2994 rm -f core conftest.err conftest.$ac_objext
2995 test "x$ac_cv_prog_cc_c89" != "xno" && break
2996 done
2997 rm -f conftest.$ac_ext
2998 CC=$ac_save_CC
3001 # AC_CACHE_VAL
3002 case "x$ac_cv_prog_cc_c89" in
3004 { echo "$as_me:$LINENO: result: none needed" >&5
3005 echo "${ECHO_T}none needed" >&6; } ;;
3006 xno)
3007 { echo "$as_me:$LINENO: result: unsupported" >&5
3008 echo "${ECHO_T}unsupported" >&6; } ;;
3010 CC="$CC $ac_cv_prog_cc_c89"
3011 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3012 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3013 esac
3016 ac_ext=c
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3022 ac_ext=cpp
3023 ac_cpp='$CXXCPP $CPPFLAGS'
3024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3027 if test -z "$CXX"; then
3028 if test -n "$CCC"; then
3029 CXX=$CCC
3030 else
3031 if test -n "$ac_tool_prefix"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_CXX+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 else
3041 if test -n "$CXX"; then
3042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3043 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH
3047 IFS=$as_save_IFS
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 break 2
3055 done
3056 done
3057 IFS=$as_save_IFS
3061 CXX=$ac_cv_prog_CXX
3062 if test -n "$CXX"; then
3063 { echo "$as_me:$LINENO: result: $CXX" >&5
3064 echo "${ECHO_T}$CXX" >&6; }
3065 else
3066 { echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6; }
3071 test -n "$CXX" && break
3072 done
3074 if test -z "$CXX"; then
3075 ac_ct_CXX=$CXX
3076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3078 # Extract the first word of "$ac_prog", so it can be a program name with args.
3079 set dummy $ac_prog; ac_word=$2
3080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 else
3085 if test -n "$ac_ct_CXX"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3087 else
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 for as_dir in $PATH
3091 IFS=$as_save_IFS
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_ac_ct_CXX="$ac_prog"
3096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 break 2
3099 done
3100 done
3101 IFS=$as_save_IFS
3105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3106 if test -n "$ac_ct_CXX"; then
3107 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3108 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3109 else
3110 { echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6; }
3115 test -n "$ac_ct_CXX" && break
3116 done
3118 if test "x$ac_ct_CXX" = x; then
3119 CXX="g++"
3120 else
3121 case $cross_compiling:$ac_tool_warned in
3122 yes:)
3123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3124 whose name does not start with the host triplet. If you think this
3125 configuration is useful to you, please write to autoconf@gnu.org." >&5
3126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3127 whose name does not start with the host triplet. If you think this
3128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3129 ac_tool_warned=yes ;;
3130 esac
3131 CXX=$ac_ct_CXX
3137 # Provide some information about the compiler.
3138 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3139 ac_compiler=`set X $ac_compile; echo $2`
3140 { (ac_try="$ac_compiler --version >&5"
3141 case "(($ac_try" in
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3144 esac
3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compiler --version >&5") 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }
3150 { (ac_try="$ac_compiler -v >&5"
3151 case "(($ac_try" in
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3154 esac
3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compiler -v >&5") 2>&5
3157 ac_status=$?
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3160 { (ac_try="$ac_compiler -V >&5"
3161 case "(($ac_try" in
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3164 esac
3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compiler -V >&5") 2>&5
3167 ac_status=$?
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }
3171 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3172 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3173 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3186 #ifndef __GNUC__
3187 choke me
3188 #endif
3191 return 0;
3193 _ACEOF
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3202 ac_status=$?
3203 grep -v '^ *+' conftest.er1 >conftest.err
3204 rm -f conftest.er1
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3209 { (case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3212 esac
3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3214 (eval "$ac_try") 2>&5
3215 ac_status=$?
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (case "(($ac_try" in
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3222 esac
3223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3224 (eval "$ac_try") 2>&5
3225 ac_status=$?
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3228 ac_compiler_gnu=yes
3229 else
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_compiler_gnu=no
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3240 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3241 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3242 GXX=`test $ac_compiler_gnu = yes && echo yes`
3243 ac_test_CXXFLAGS=${CXXFLAGS+set}
3244 ac_save_CXXFLAGS=$CXXFLAGS
3245 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3246 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3247 if test "${ac_cv_prog_cxx_g+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 else
3250 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3251 ac_cxx_werror_flag=yes
3252 ac_cv_prog_cxx_g=no
3253 CXXFLAGS="-g"
3254 cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h. */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3262 main ()
3266 return 0;
3268 _ACEOF
3269 rm -f conftest.$ac_objext
3270 if { (ac_try="$ac_compile"
3271 case "(($ac_try" in
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3274 esac
3275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3277 ac_status=$?
3278 grep -v '^ *+' conftest.er1 >conftest.err
3279 rm -f conftest.er1
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3284 { (case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3287 esac
3288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3289 (eval "$ac_try") 2>&5
3290 ac_status=$?
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; } &&
3293 { ac_try='test -s conftest.$ac_objext'
3294 { (case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3297 esac
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_try") 2>&5
3300 ac_status=$?
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; }; then
3303 ac_cv_prog_cxx_g=yes
3304 else
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3308 CXXFLAGS=""
3309 cat >conftest.$ac_ext <<_ACEOF
3310 /* confdefs.h. */
3311 _ACEOF
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3317 main ()
3321 return 0;
3323 _ACEOF
3324 rm -f conftest.$ac_objext
3325 if { (ac_try="$ac_compile"
3326 case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3329 esac
3330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3331 (eval "$ac_compile") 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3339 { (case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_try") 2>&5
3345 ac_status=$?
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; } &&
3348 { ac_try='test -s conftest.$ac_objext'
3349 { (case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3352 esac
3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3354 (eval "$ac_try") 2>&5
3355 ac_status=$?
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; }; then
3359 else
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3363 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3364 CXXFLAGS="-g"
3365 cat >conftest.$ac_ext <<_ACEOF
3366 /* confdefs.h. */
3367 _ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3373 main ()
3377 return 0;
3379 _ACEOF
3380 rm -f conftest.$ac_objext
3381 if { (ac_try="$ac_compile"
3382 case "(($ac_try" in
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3385 esac
3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3388 ac_status=$?
3389 grep -v '^ *+' conftest.er1 >conftest.err
3390 rm -f conftest.er1
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3395 { (case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3398 esac
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_try") 2>&5
3401 ac_status=$?
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; } &&
3404 { ac_try='test -s conftest.$ac_objext'
3405 { (case "(($ac_try" in
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3408 esac
3409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3410 (eval "$ac_try") 2>&5
3411 ac_status=$?
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; }; then
3414 ac_cv_prog_cxx_g=yes
3415 else
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3432 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3433 if test "$ac_test_CXXFLAGS" = set; then
3434 CXXFLAGS=$ac_save_CXXFLAGS
3435 elif test $ac_cv_prog_cxx_g = yes; then
3436 if test "$GXX" = yes; then
3437 CXXFLAGS="-g -O2"
3438 else
3439 CXXFLAGS="-g"
3441 else
3442 if test "$GXX" = yes; then
3443 CXXFLAGS="-O2"
3444 else
3445 CXXFLAGS=
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3459 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462 if test -n "$CPPBIN"; then
3463 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3476 done
3477 done
3478 IFS=$as_save_IFS
3482 CPPBIN=$ac_cv_prog_CPPBIN
3483 if test -n "$CPPBIN"; then
3484 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3485 echo "${ECHO_T}$CPPBIN" >&6; }
3486 else
3487 { echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6; }
3493 if test -z "$ac_cv_prog_CPPBIN"; then
3494 ac_ct_CPPBIN=$CPPBIN
3495 # Extract the first word of "cpp", so it can be a program name with args.
3496 set dummy cpp; ac_word=$2
3497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3499 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502 if test -n "$ac_ct_CPPBIN"; then
3503 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3508 IFS=$as_save_IFS
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_ac_ct_CPPBIN="cpp"
3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 break 2
3516 done
3517 done
3518 IFS=$as_save_IFS
3522 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3523 if test -n "$ac_ct_CPPBIN"; then
3524 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3525 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3526 else
3527 { echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6; }
3531 if test "x$ac_ct_CPPBIN" = x; then
3532 CPPBIN="cpp"
3533 else
3534 case $cross_compiling:$ac_tool_warned in
3535 yes:)
3536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3537 whose name does not start with the host triplet. If you think this
3538 configuration is useful to you, please write to autoconf@gnu.org." >&5
3539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3540 whose name does not start with the host triplet. If you think this
3541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3542 ac_tool_warned=yes ;;
3543 esac
3544 CPPBIN=$ac_ct_CPPBIN
3546 else
3547 CPPBIN="$ac_cv_prog_CPPBIN"
3551 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3552 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3553 if test "${wine_cv_toolsdir+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556 if test -z "$with_wine_tools"; then
3557 if test "$cross_compiling" = "yes"; then
3558 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3559 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3560 { (exit 1); exit 1; }; }
3561 else
3562 wine_cv_toolsdir="\$(TOPOBJDIR)"
3564 elif test -d "$with_wine_tools/tools/winebuild"; then
3565 case $with_wine_tools in
3566 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3567 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3568 esac
3569 else
3570 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3571 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3572 { (exit 1); exit 1; }; }
3575 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3576 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3577 TOOLSDIR=$wine_cv_toolsdir
3581 ac_ext=c
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3587 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3588 # On Suns, sometimes $CPP names a directory.
3589 if test -n "$CPP" && test -d "$CPP"; then
3590 CPP=
3592 if test -z "$CPP"; then
3593 if test "${ac_cv_prog_CPP+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 # Double quotes because CPP needs to be expanded
3597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3599 ac_preproc_ok=false
3600 for ac_c_preproc_warn_flag in '' yes
3602 # Use a header file that comes with gcc, so configuring glibc
3603 # with a fresh cross-compiler works.
3604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3605 # <limits.h> exists even on freestanding compilers.
3606 # On the NeXT, cc -E runs the code through the compiler's parser,
3607 # not just through cpp. "Syntax error" is here to catch this case.
3608 cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h. */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 #ifdef __STDC__
3615 # include <limits.h>
3616 #else
3617 # include <assert.h>
3618 #endif
3619 Syntax error
3620 _ACEOF
3621 if { (ac_try="$ac_cpp conftest.$ac_ext"
3622 case "(($ac_try" in
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3625 esac
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3628 ac_status=$?
3629 grep -v '^ *+' conftest.er1 >conftest.err
3630 rm -f conftest.er1
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev/null; then
3634 if test -s conftest.err; then
3635 ac_cpp_err=$ac_c_preproc_warn_flag
3636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3637 else
3638 ac_cpp_err=
3640 else
3641 ac_cpp_err=yes
3643 if test -z "$ac_cpp_err"; then
3645 else
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 # Broken: fails on valid input.
3650 continue
3653 rm -f conftest.err conftest.$ac_ext
3655 # OK, works on sane cases. Now check whether nonexistent headers
3656 # can be detected and how.
3657 cat >conftest.$ac_ext <<_ACEOF
3658 /* confdefs.h. */
3659 _ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3663 #include <ac_nonexistent.h>
3664 _ACEOF
3665 if { (ac_try="$ac_cpp conftest.$ac_ext"
3666 case "(($ac_try" in
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3669 esac
3670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3672 ac_status=$?
3673 grep -v '^ *+' conftest.er1 >conftest.err
3674 rm -f conftest.er1
3675 cat conftest.err >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } >/dev/null; then
3678 if test -s conftest.err; then
3679 ac_cpp_err=$ac_c_preproc_warn_flag
3680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3681 else
3682 ac_cpp_err=
3684 else
3685 ac_cpp_err=yes
3687 if test -z "$ac_cpp_err"; then
3688 # Broken: success on invalid input.
3689 continue
3690 else
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 # Passes both tests.
3695 ac_preproc_ok=:
3696 break
3699 rm -f conftest.err conftest.$ac_ext
3701 done
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then
3705 break
3708 done
3709 ac_cv_prog_CPP=$CPP
3712 CPP=$ac_cv_prog_CPP
3713 else
3714 ac_cv_prog_CPP=$CPP
3716 { echo "$as_me:$LINENO: result: $CPP" >&5
3717 echo "${ECHO_T}$CPP" >&6; }
3718 ac_preproc_ok=false
3719 for ac_c_preproc_warn_flag in '' yes
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error" is here to catch this case.
3727 cat >conftest.$ac_ext <<_ACEOF
3728 /* confdefs.h. */
3729 _ACEOF
3730 cat confdefs.h >>conftest.$ac_ext
3731 cat >>conftest.$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3733 #ifdef __STDC__
3734 # include <limits.h>
3735 #else
3736 # include <assert.h>
3737 #endif
3738 Syntax error
3739 _ACEOF
3740 if { (ac_try="$ac_cpp conftest.$ac_ext"
3741 case "(($ac_try" in
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3744 esac
3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3747 ac_status=$?
3748 grep -v '^ *+' conftest.er1 >conftest.err
3749 rm -f conftest.er1
3750 cat conftest.err >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } >/dev/null; then
3753 if test -s conftest.err; then
3754 ac_cpp_err=$ac_c_preproc_warn_flag
3755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3756 else
3757 ac_cpp_err=
3759 else
3760 ac_cpp_err=yes
3762 if test -z "$ac_cpp_err"; then
3764 else
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 # Broken: fails on valid input.
3769 continue
3772 rm -f conftest.err conftest.$ac_ext
3774 # OK, works on sane cases. Now check whether nonexistent headers
3775 # can be detected and how.
3776 cat >conftest.$ac_ext <<_ACEOF
3777 /* confdefs.h. */
3778 _ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 #include <ac_nonexistent.h>
3783 _ACEOF
3784 if { (ac_try="$ac_cpp conftest.$ac_ext"
3785 case "(($ac_try" in
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3788 esac
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3791 ac_status=$?
3792 grep -v '^ *+' conftest.er1 >conftest.err
3793 rm -f conftest.er1
3794 cat conftest.err >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } >/dev/null; then
3797 if test -s conftest.err; then
3798 ac_cpp_err=$ac_c_preproc_warn_flag
3799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3800 else
3801 ac_cpp_err=
3803 else
3804 ac_cpp_err=yes
3806 if test -z "$ac_cpp_err"; then
3807 # Broken: success on invalid input.
3808 continue
3809 else
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Passes both tests.
3814 ac_preproc_ok=:
3815 break
3818 rm -f conftest.err conftest.$ac_ext
3820 done
3821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822 rm -f conftest.err conftest.$ac_ext
3823 if $ac_preproc_ok; then
3825 else
3826 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3827 See \`config.log' for more details." >&5
3828 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3829 See \`config.log' for more details." >&2;}
3830 { (exit 1); exit 1; }; }
3833 ac_ext=c
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 { echo "$as_me:$LINENO: checking for X" >&5
3841 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3844 # Check whether --with-x was given.
3845 if test "${with_x+set}" = set; then
3846 withval=$with_x;
3849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3850 if test "x$with_x" = xno; then
3851 # The user explicitly disabled X.
3852 have_x=disabled
3853 else
3854 case $x_includes,$x_libraries in #(
3855 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3856 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3857 { (exit 1); exit 1; }; };; #(
3858 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 else
3861 # One or both of the vars are not set, and there is no cached value.
3862 ac_x_includes=no ac_x_libraries=no
3863 rm -f -r conftest.dir
3864 if mkdir conftest.dir; then
3865 cd conftest.dir
3866 cat >Imakefile <<'_ACEOF'
3867 incroot:
3868 @echo incroot='${INCROOT}'
3869 usrlibdir:
3870 @echo usrlibdir='${USRLIBDIR}'
3871 libdir:
3872 @echo libdir='${LIBDIR}'
3873 _ACEOF
3874 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3876 for ac_var in incroot usrlibdir libdir; do
3877 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3878 done
3879 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3880 for ac_extension in a so sl; do
3881 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3882 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3883 ac_im_usrlibdir=$ac_im_libdir; break
3885 done
3886 # Screen out bogus values from the imake configuration. They are
3887 # bogus both because they are the default anyway, and because
3888 # using them would break gcc on systems where it needs fixed includes.
3889 case $ac_im_incroot in
3890 /usr/include) ac_x_includes= ;;
3891 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3892 esac
3893 case $ac_im_usrlibdir in
3894 /usr/lib | /lib) ;;
3895 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3896 esac
3898 cd ..
3899 rm -f -r conftest.dir
3902 # Standard set of common directories for X headers.
3903 # Check X11 before X11Rn because it is often a symlink to the current release.
3904 ac_x_header_dirs='
3905 /usr/X11/include
3906 /usr/X11R6/include
3907 /usr/X11R5/include
3908 /usr/X11R4/include
3910 /usr/include/X11
3911 /usr/include/X11R6
3912 /usr/include/X11R5
3913 /usr/include/X11R4
3915 /usr/local/X11/include
3916 /usr/local/X11R6/include
3917 /usr/local/X11R5/include
3918 /usr/local/X11R4/include
3920 /usr/local/include/X11
3921 /usr/local/include/X11R6
3922 /usr/local/include/X11R5
3923 /usr/local/include/X11R4
3925 /usr/X386/include
3926 /usr/x386/include
3927 /usr/XFree86/include/X11
3929 /usr/include
3930 /usr/local/include
3931 /usr/unsupported/include
3932 /usr/athena/include
3933 /usr/local/x11r5/include
3934 /usr/lpp/Xamples/include
3936 /usr/openwin/include
3937 /usr/openwin/share/include'
3939 if test "$ac_x_includes" = no; then
3940 # Guess where to find include files, by looking for Xlib.h.
3941 # First, try using that file with no special directory specified.
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3948 #include <X11/Xlib.h>
3949 _ACEOF
3950 if { (ac_try="$ac_cpp conftest.$ac_ext"
3951 case "(($ac_try" in
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3954 esac
3955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3957 ac_status=$?
3958 grep -v '^ *+' conftest.er1 >conftest.err
3959 rm -f conftest.er1
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag
3965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3966 else
3967 ac_cpp_err=
3969 else
3970 ac_cpp_err=yes
3972 if test -z "$ac_cpp_err"; then
3973 # We can compile using X headers with no special include directory.
3974 ac_x_includes=
3975 else
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3979 for ac_dir in $ac_x_header_dirs; do
3980 if test -r "$ac_dir/X11/Xlib.h"; then
3981 ac_x_includes=$ac_dir
3982 break
3984 done
3987 rm -f conftest.err conftest.$ac_ext
3988 fi # $ac_x_includes = no
3990 if test "$ac_x_libraries" = no; then
3991 # Check for the libraries.
3992 # See if we find them without any special options.
3993 # Don't add to $LIBS permanently.
3994 ac_save_LIBS=$LIBS
3995 LIBS="-lX11 $LIBS"
3996 cat >conftest.$ac_ext <<_ACEOF
3997 /* confdefs.h. */
3998 _ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 #include <X11/Xlib.h>
4004 main ()
4006 XrmInitialize ()
4008 return 0;
4010 _ACEOF
4011 rm -f conftest.$ac_objext conftest$ac_exeext
4012 if { (ac_try="$ac_link"
4013 case "(($ac_try" in
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4016 esac
4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4018 (eval "$ac_link") 2>conftest.er1
4019 ac_status=$?
4020 grep -v '^ *+' conftest.er1 >conftest.err
4021 rm -f conftest.er1
4022 cat conftest.err >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4026 { (case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_try") 2>&5
4032 ac_status=$?
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try='test -s conftest$ac_exeext'
4036 { (case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_try") 2>&5
4042 ac_status=$?
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4045 LIBS=$ac_save_LIBS
4046 # We can link X programs with no special library path.
4047 ac_x_libraries=
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 LIBS=$ac_save_LIBS
4053 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4055 # Don't even attempt the hair of trying to link an X program!
4056 for ac_extension in a so sl; do
4057 if test -r "$ac_dir/libX11.$ac_extension"; then
4058 ac_x_libraries=$ac_dir
4059 break 2
4061 done
4062 done
4065 rm -f core conftest.err conftest.$ac_objext \
4066 conftest$ac_exeext conftest.$ac_ext
4067 fi # $ac_x_libraries = no
4069 case $ac_x_includes,$ac_x_libraries in #(
4070 no,* | *,no | *\'*)
4071 # Didn't find X, or a directory has "'" in its name.
4072 ac_cv_have_x="have_x=no";; #(
4074 # Record where we found X for the cache.
4075 ac_cv_have_x="have_x=yes\
4076 ac_x_includes='$ac_x_includes'\
4077 ac_x_libraries='$ac_x_libraries'"
4078 esac
4080 ;; #(
4081 *) have_x=yes;;
4082 esac
4083 eval "$ac_cv_have_x"
4084 fi # $with_x != no
4086 if test "$have_x" != yes; then
4087 { echo "$as_me:$LINENO: result: $have_x" >&5
4088 echo "${ECHO_T}$have_x" >&6; }
4089 no_x=yes
4090 else
4091 # If each of the values was on the command line, it overrides each guess.
4092 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4093 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4094 # Update the cache value to reflect the command line values.
4095 ac_cv_have_x="have_x=yes\
4096 ac_x_includes='$x_includes'\
4097 ac_x_libraries='$x_libraries'"
4098 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4099 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4102 if test "$no_x" = yes; then
4103 # Not all programs may use this symbol, but it does not hurt to define it.
4105 cat >>confdefs.h <<\_ACEOF
4106 #define X_DISPLAY_MISSING 1
4107 _ACEOF
4109 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4110 else
4111 if test -n "$x_includes"; then
4112 X_CFLAGS="$X_CFLAGS -I$x_includes"
4115 # It would also be nice to do this for all -L options, not just this one.
4116 if test -n "$x_libraries"; then
4117 X_LIBS="$X_LIBS -L$x_libraries"
4118 # For Solaris; some versions of Sun CC require a space after -R and
4119 # others require no space. Words are not sufficient . . . .
4120 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4121 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4122 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4123 ac_xsave_c_werror_flag=$ac_c_werror_flag
4124 ac_c_werror_flag=yes
4125 cat >conftest.$ac_ext <<_ACEOF
4126 /* confdefs.h. */
4127 _ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 rm -f conftest.$ac_objext conftest$ac_exeext
4141 if { (ac_try="$ac_link"
4142 case "(($ac_try" in
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4145 esac
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_link") 2>conftest.er1
4148 ac_status=$?
4149 grep -v '^ *+' conftest.er1 >conftest.err
4150 rm -f conftest.er1
4151 cat conftest.err >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4155 { (case "(($ac_try" in
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4158 esac
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_try") 2>&5
4161 ac_status=$?
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; } &&
4164 { ac_try='test -s conftest$ac_exeext'
4165 { (case "(($ac_try" in
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4168 esac
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_try") 2>&5
4171 ac_status=$?
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4174 { echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6; }
4176 X_LIBS="$X_LIBS -R$x_libraries"
4177 else
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 LIBS="$ac_xsave_LIBS -R $x_libraries"
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h. */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4205 ac_status=$?
4206 grep -v '^ *+' conftest.er1 >conftest.err
4207 rm -f conftest.er1
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4212 { (case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_try") 2>&5
4218 ac_status=$?
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; } &&
4221 { ac_try='test -s conftest$ac_exeext'
4222 { (case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_try") 2>&5
4228 ac_status=$?
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 X_LIBS="$X_LIBS -R $x_libraries"
4234 else
4235 echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { echo "$as_me:$LINENO: result: neither works" >&5
4239 echo "${ECHO_T}neither works" >&6; }
4242 rm -f core conftest.err conftest.$ac_objext \
4243 conftest$ac_exeext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_xsave_c_werror_flag
4249 LIBS=$ac_xsave_LIBS
4252 # Check for system-dependent libraries X programs must link with.
4253 # Do this before checking for the system-independent R6 libraries
4254 # (-lICE), since we may need -lsocket or whatever for X linking.
4256 if test "$ISC" = yes; then
4257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4258 else
4259 # Martyn Johnson says this is needed for Ultrix, if the X
4260 # libraries were built with DECnet support. And Karl Berry says
4261 # the Alpha needs dnet_stub (dnet does not exist).
4262 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4263 cat >conftest.$ac_ext <<_ACEOF
4264 /* confdefs.h. */
4265 _ACEOF
4266 cat confdefs.h >>conftest.$ac_ext
4267 cat >>conftest.$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4273 #ifdef __cplusplus
4274 extern "C"
4275 #endif
4276 char XOpenDisplay ();
4278 main ()
4280 return XOpenDisplay ();
4282 return 0;
4284 _ACEOF
4285 rm -f conftest.$ac_objext conftest$ac_exeext
4286 if { (ac_try="$ac_link"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_link") 2>conftest.er1
4293 ac_status=$?
4294 grep -v '^ *+' conftest.er1 >conftest.err
4295 rm -f conftest.er1
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4300 { (case "(($ac_try" in
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4303 esac
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_try") 2>&5
4306 ac_status=$?
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; } &&
4309 { ac_try='test -s conftest$ac_exeext'
4310 { (case "(($ac_try" in
4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4313 esac
4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4315 (eval "$ac_try") 2>&5
4316 ac_status=$?
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4320 else
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4325 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329 ac_check_lib_save_LIBS=$LIBS
4330 LIBS="-ldnet $LIBS"
4331 cat >conftest.$ac_ext <<_ACEOF
4332 /* confdefs.h. */
4333 _ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4341 #ifdef __cplusplus
4342 extern "C"
4343 #endif
4344 char dnet_ntoa ();
4346 main ()
4348 return dnet_ntoa ();
4350 return 0;
4352 _ACEOF
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4355 case "(($ac_try" in
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4358 esac
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4361 ac_status=$?
4362 grep -v '^ *+' conftest.er1 >conftest.err
4363 rm -f conftest.er1
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } &&
4367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4368 { (case "(($ac_try" in
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4371 esac
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_try") 2>&5
4374 ac_status=$?
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try='test -s conftest$ac_exeext'
4378 { (case "(($ac_try" in
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4381 esac
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_try") 2>&5
4384 ac_status=$?
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4388 else
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h. */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4423 #ifdef __cplusplus
4424 extern "C"
4425 #endif
4426 char dnet_ntoa ();
4428 main ()
4430 return dnet_ntoa ();
4432 return 0;
4434 _ACEOF
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4443 ac_status=$?
4444 grep -v '^ *+' conftest.er1 >conftest.err
4445 rm -f conftest.er1
4446 cat conftest.err >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } &&
4449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4450 { (case "(($ac_try" in
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4453 esac
4454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4455 (eval "$ac_try") 2>&5
4456 ac_status=$?
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try='test -s conftest$ac_exeext'
4460 { (case "(($ac_try" in
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4463 esac
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_try") 2>&5
4466 ac_status=$?
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4469 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4470 else
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4474 ac_cv_lib_dnet_stub_dnet_ntoa=no
4477 rm -f core conftest.err conftest.$ac_objext \
4478 conftest$ac_exeext conftest.$ac_ext
4479 LIBS=$ac_check_lib_save_LIBS
4481 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4482 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4483 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4484 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4490 rm -f core conftest.err conftest.$ac_objext \
4491 conftest$ac_exeext conftest.$ac_ext
4492 LIBS="$ac_xsave_LIBS"
4494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4495 # to get the SysV transport functions.
4496 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4497 # needs -lnsl.
4498 # The nsl library prevents programs from opening the X display
4499 # on Irix 5.2, according to T.E. Dickey.
4500 # The functions gethostbyname, getservbyname, and inet_addr are
4501 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4502 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4503 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4504 if test "${ac_cv_func_gethostbyname+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 else
4507 cat >conftest.$ac_ext <<_ACEOF
4508 /* confdefs.h. */
4509 _ACEOF
4510 cat confdefs.h >>conftest.$ac_ext
4511 cat >>conftest.$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4515 #define gethostbyname innocuous_gethostbyname
4517 /* System header to define __stub macros and hopefully few prototypes,
4518 which can conflict with char gethostbyname (); below.
4519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4520 <limits.h> exists even on freestanding compilers. */
4522 #ifdef __STDC__
4523 # include <limits.h>
4524 #else
4525 # include <assert.h>
4526 #endif
4528 #undef gethostbyname
4530 /* Override any GCC internal prototype to avoid an error.
4531 Use char because int might match the return type of a GCC
4532 builtin and then its argument prototype would still apply. */
4533 #ifdef __cplusplus
4534 extern "C"
4535 #endif
4536 char gethostbyname ();
4537 /* The GNU C library defines this for functions which it implements
4538 to always fail with ENOSYS. Some functions are actually named
4539 something starting with __ and the normal name is an alias. */
4540 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4541 choke me
4542 #endif
4545 main ()
4547 return gethostbyname ();
4549 return 0;
4551 _ACEOF
4552 rm -f conftest.$ac_objext conftest$ac_exeext
4553 if { (ac_try="$ac_link"
4554 case "(($ac_try" in
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4557 esac
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_link") 2>conftest.er1
4560 ac_status=$?
4561 grep -v '^ *+' conftest.er1 >conftest.err
4562 rm -f conftest.er1
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4567 { (case "(($ac_try" in
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4570 esac
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_try") 2>&5
4573 ac_status=$?
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try='test -s conftest$ac_exeext'
4577 { (case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_try") 2>&5
4583 ac_status=$?
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; }; then
4586 ac_cv_func_gethostbyname=yes
4587 else
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_func_gethostbyname=no
4594 rm -f core conftest.err conftest.$ac_objext \
4595 conftest$ac_exeext conftest.$ac_ext
4597 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4598 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4600 if test $ac_cv_func_gethostbyname = no; then
4601 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4602 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4603 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 else
4606 ac_check_lib_save_LIBS=$LIBS
4607 LIBS="-lnsl $LIBS"
4608 cat >conftest.$ac_ext <<_ACEOF
4609 /* confdefs.h. */
4610 _ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 /* Override any GCC internal prototype to avoid an error.
4616 Use char because int might match the return type of a GCC
4617 builtin and then its argument prototype would still apply. */
4618 #ifdef __cplusplus
4619 extern "C"
4620 #endif
4621 char gethostbyname ();
4623 main ()
4625 return gethostbyname ();
4627 return 0;
4629 _ACEOF
4630 rm -f conftest.$ac_objext conftest$ac_exeext
4631 if { (ac_try="$ac_link"
4632 case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4635 esac
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_link") 2>conftest.er1
4638 ac_status=$?
4639 grep -v '^ *+' conftest.er1 >conftest.err
4640 rm -f conftest.er1
4641 cat conftest.err >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4645 { (case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4648 esac
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_try") 2>&5
4651 ac_status=$?
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try='test -s conftest$ac_exeext'
4655 { (case "(($ac_try" in
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4658 esac
4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4660 (eval "$ac_try") 2>&5
4661 ac_status=$?
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 ac_cv_lib_nsl_gethostbyname=yes
4665 else
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.$ac_ext >&5
4669 ac_cv_lib_nsl_gethostbyname=no
4672 rm -f core conftest.err conftest.$ac_objext \
4673 conftest$ac_exeext conftest.$ac_ext
4674 LIBS=$ac_check_lib_save_LIBS
4676 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4677 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4678 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4679 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4682 if test $ac_cv_lib_nsl_gethostbyname = no; then
4683 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4684 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4685 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 else
4688 ac_check_lib_save_LIBS=$LIBS
4689 LIBS="-lbsd $LIBS"
4690 cat >conftest.$ac_ext <<_ACEOF
4691 /* confdefs.h. */
4692 _ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4697 /* Override any GCC internal prototype to avoid an error.
4698 Use char because int might match the return type of a GCC
4699 builtin and then its argument prototype would still apply. */
4700 #ifdef __cplusplus
4701 extern "C"
4702 #endif
4703 char gethostbyname ();
4705 main ()
4707 return gethostbyname ();
4709 return 0;
4711 _ACEOF
4712 rm -f conftest.$ac_objext conftest$ac_exeext
4713 if { (ac_try="$ac_link"
4714 case "(($ac_try" in
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4717 esac
4718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4719 (eval "$ac_link") 2>conftest.er1
4720 ac_status=$?
4721 grep -v '^ *+' conftest.er1 >conftest.err
4722 rm -f conftest.er1
4723 cat conftest.err >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4727 { (case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_try") 2>&5
4733 ac_status=$?
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try='test -s conftest$ac_exeext'
4737 { (case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_try") 2>&5
4743 ac_status=$?
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4746 ac_cv_lib_bsd_gethostbyname=yes
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_bsd_gethostbyname=no
4754 rm -f core conftest.err conftest.$ac_objext \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4759 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4760 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4767 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4768 # socket/setsockopt and other routines are undefined under SCO ODT
4769 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4770 # on later versions), says Simon Leinen: it contains gethostby*
4771 # variants that don't use the name server (or something). -lsocket
4772 # must be given before -lnsl if both are needed. We assume that
4773 # if connect needs -lnsl, so does gethostbyname.
4774 { echo "$as_me:$LINENO: checking for connect" >&5
4775 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4776 if test "${ac_cv_func_connect+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 else
4779 cat >conftest.$ac_ext <<_ACEOF
4780 /* confdefs.h. */
4781 _ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4787 #define connect innocuous_connect
4789 /* System header to define __stub macros and hopefully few prototypes,
4790 which can conflict with char connect (); below.
4791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4792 <limits.h> exists even on freestanding compilers. */
4794 #ifdef __STDC__
4795 # include <limits.h>
4796 #else
4797 # include <assert.h>
4798 #endif
4800 #undef connect
4802 /* Override any GCC internal prototype to avoid an error.
4803 Use char because int might match the return type of a GCC
4804 builtin and then its argument prototype would still apply. */
4805 #ifdef __cplusplus
4806 extern "C"
4807 #endif
4808 char connect ();
4809 /* The GNU C library defines this for functions which it implements
4810 to always fail with ENOSYS. Some functions are actually named
4811 something starting with __ and the normal name is an alias. */
4812 #if defined __stub_connect || defined __stub___connect
4813 choke me
4814 #endif
4817 main ()
4819 return connect ();
4821 return 0;
4823 _ACEOF
4824 rm -f conftest.$ac_objext conftest$ac_exeext
4825 if { (ac_try="$ac_link"
4826 case "(($ac_try" in
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4829 esac
4830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_link") 2>conftest.er1
4832 ac_status=$?
4833 grep -v '^ *+' conftest.er1 >conftest.err
4834 rm -f conftest.er1
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4839 { (case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_try") 2>&5
4845 ac_status=$?
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; } &&
4848 { ac_try='test -s conftest$ac_exeext'
4849 { (case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_try") 2>&5
4855 ac_status=$?
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_func_connect=yes
4859 else
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_func_connect=no
4866 rm -f core conftest.err conftest.$ac_objext \
4867 conftest$ac_exeext conftest.$ac_ext
4869 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4870 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4872 if test $ac_cv_func_connect = no; then
4873 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4874 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4875 if test "${ac_cv_lib_socket_connect+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 else
4878 ac_check_lib_save_LIBS=$LIBS
4879 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4880 cat >conftest.$ac_ext <<_ACEOF
4881 /* confdefs.h. */
4882 _ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4890 #ifdef __cplusplus
4891 extern "C"
4892 #endif
4893 char connect ();
4895 main ()
4897 return connect ();
4899 return 0;
4901 _ACEOF
4902 rm -f conftest.$ac_objext conftest$ac_exeext
4903 if { (ac_try="$ac_link"
4904 case "(($ac_try" in
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4907 esac
4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4909 (eval "$ac_link") 2>conftest.er1
4910 ac_status=$?
4911 grep -v '^ *+' conftest.er1 >conftest.err
4912 rm -f conftest.er1
4913 cat conftest.err >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } &&
4916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4917 { (case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_try") 2>&5
4923 ac_status=$?
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try='test -s conftest$ac_exeext'
4927 { (case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4930 esac
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_try") 2>&5
4933 ac_status=$?
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_cv_lib_socket_connect=yes
4937 else
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 ac_cv_lib_socket_connect=no
4944 rm -f core conftest.err conftest.$ac_objext \
4945 conftest$ac_exeext conftest.$ac_ext
4946 LIBS=$ac_check_lib_save_LIBS
4948 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4949 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4950 if test $ac_cv_lib_socket_connect = yes; then
4951 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4956 # Guillermo Gomez says -lposix is necessary on A/UX.
4957 { echo "$as_me:$LINENO: checking for remove" >&5
4958 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4959 if test "${ac_cv_func_remove+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 else
4962 cat >conftest.$ac_ext <<_ACEOF
4963 /* confdefs.h. */
4964 _ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4970 #define remove innocuous_remove
4972 /* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char remove (); below.
4974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4975 <limits.h> exists even on freestanding compilers. */
4977 #ifdef __STDC__
4978 # include <limits.h>
4979 #else
4980 # include <assert.h>
4981 #endif
4983 #undef remove
4985 /* Override any GCC internal prototype to avoid an error.
4986 Use char because int might match the return type of a GCC
4987 builtin and then its argument prototype would still apply. */
4988 #ifdef __cplusplus
4989 extern "C"
4990 #endif
4991 char remove ();
4992 /* The GNU C library defines this for functions which it implements
4993 to always fail with ENOSYS. Some functions are actually named
4994 something starting with __ and the normal name is an alias. */
4995 #if defined __stub_remove || defined __stub___remove
4996 choke me
4997 #endif
5000 main ()
5002 return remove ();
5004 return 0;
5006 _ACEOF
5007 rm -f conftest.$ac_objext conftest$ac_exeext
5008 if { (ac_try="$ac_link"
5009 case "(($ac_try" in
5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011 *) ac_try_echo=$ac_try;;
5012 esac
5013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014 (eval "$ac_link") 2>conftest.er1
5015 ac_status=$?
5016 grep -v '^ *+' conftest.er1 >conftest.err
5017 rm -f conftest.er1
5018 cat conftest.err >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5022 { (case "(($ac_try" in
5023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5025 esac
5026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5027 (eval "$ac_try") 2>&5
5028 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try='test -s conftest$ac_exeext'
5032 { (case "(($ac_try" in
5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034 *) ac_try_echo=$ac_try;;
5035 esac
5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037 (eval "$ac_try") 2>&5
5038 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 ac_cv_func_remove=yes
5042 else
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.$ac_ext >&5
5046 ac_cv_func_remove=no
5049 rm -f core conftest.err conftest.$ac_objext \
5050 conftest$ac_exeext conftest.$ac_ext
5052 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5053 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5055 if test $ac_cv_func_remove = no; then
5056 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5057 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5058 if test "${ac_cv_lib_posix_remove+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 else
5061 ac_check_lib_save_LIBS=$LIBS
5062 LIBS="-lposix $LIBS"
5063 cat >conftest.$ac_ext <<_ACEOF
5064 /* confdefs.h. */
5065 _ACEOF
5066 cat confdefs.h >>conftest.$ac_ext
5067 cat >>conftest.$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5070 /* Override any GCC internal prototype to avoid an error.
5071 Use char because int might match the return type of a GCC
5072 builtin and then its argument prototype would still apply. */
5073 #ifdef __cplusplus
5074 extern "C"
5075 #endif
5076 char remove ();
5078 main ()
5080 return remove ();
5082 return 0;
5084 _ACEOF
5085 rm -f conftest.$ac_objext conftest$ac_exeext
5086 if { (ac_try="$ac_link"
5087 case "(($ac_try" in
5088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5089 *) ac_try_echo=$ac_try;;
5090 esac
5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5092 (eval "$ac_link") 2>conftest.er1
5093 ac_status=$?
5094 grep -v '^ *+' conftest.er1 >conftest.err
5095 rm -f conftest.er1
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } &&
5099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5100 { (case "(($ac_try" in
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5103 esac
5104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5105 (eval "$ac_try") 2>&5
5106 ac_status=$?
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try='test -s conftest$ac_exeext'
5110 { (case "(($ac_try" in
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5113 esac
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_try") 2>&5
5116 ac_status=$?
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_cv_lib_posix_remove=yes
5120 else
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_lib_posix_remove=no
5127 rm -f core conftest.err conftest.$ac_objext \
5128 conftest$ac_exeext conftest.$ac_ext
5129 LIBS=$ac_check_lib_save_LIBS
5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5132 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5133 if test $ac_cv_lib_posix_remove = yes; then
5134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5139 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5140 { echo "$as_me:$LINENO: checking for shmat" >&5
5141 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5142 if test "${ac_cv_func_shmat+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5144 else
5145 cat >conftest.$ac_ext <<_ACEOF
5146 /* confdefs.h. */
5147 _ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5153 #define shmat innocuous_shmat
5155 /* System header to define __stub macros and hopefully few prototypes,
5156 which can conflict with char shmat (); below.
5157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 <limits.h> exists even on freestanding compilers. */
5160 #ifdef __STDC__
5161 # include <limits.h>
5162 #else
5163 # include <assert.h>
5164 #endif
5166 #undef shmat
5168 /* Override any GCC internal prototype to avoid an error.
5169 Use char because int might match the return type of a GCC
5170 builtin and then its argument prototype would still apply. */
5171 #ifdef __cplusplus
5172 extern "C"
5173 #endif
5174 char shmat ();
5175 /* The GNU C library defines this for functions which it implements
5176 to always fail with ENOSYS. Some functions are actually named
5177 something starting with __ and the normal name is an alias. */
5178 #if defined __stub_shmat || defined __stub___shmat
5179 choke me
5180 #endif
5183 main ()
5185 return shmat ();
5187 return 0;
5189 _ACEOF
5190 rm -f conftest.$ac_objext conftest$ac_exeext
5191 if { (ac_try="$ac_link"
5192 case "(($ac_try" in
5193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5194 *) ac_try_echo=$ac_try;;
5195 esac
5196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5197 (eval "$ac_link") 2>conftest.er1
5198 ac_status=$?
5199 grep -v '^ *+' conftest.er1 >conftest.err
5200 rm -f conftest.er1
5201 cat conftest.err >&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5205 { (case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5208 esac
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_try") 2>&5
5211 ac_status=$?
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest$ac_exeext'
5215 { (case "(($ac_try" in
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5218 esac
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_try") 2>&5
5221 ac_status=$?
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 ac_cv_func_shmat=yes
5225 else
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.$ac_ext >&5
5229 ac_cv_func_shmat=no
5232 rm -f core conftest.err conftest.$ac_objext \
5233 conftest$ac_exeext conftest.$ac_ext
5235 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5236 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5238 if test $ac_cv_func_shmat = no; then
5239 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5240 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5241 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244 ac_check_lib_save_LIBS=$LIBS
5245 LIBS="-lipc $LIBS"
5246 cat >conftest.$ac_ext <<_ACEOF
5247 /* confdefs.h. */
5248 _ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5256 #ifdef __cplusplus
5257 extern "C"
5258 #endif
5259 char shmat ();
5261 main ()
5263 return shmat ();
5265 return 0;
5267 _ACEOF
5268 rm -f conftest.$ac_objext conftest$ac_exeext
5269 if { (ac_try="$ac_link"
5270 case "(($ac_try" in
5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5273 esac
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5275 (eval "$ac_link") 2>conftest.er1
5276 ac_status=$?
5277 grep -v '^ *+' conftest.er1 >conftest.err
5278 rm -f conftest.er1
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5289 ac_status=$?
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try='test -s conftest$ac_exeext'
5293 { (case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5296 esac
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_try") 2>&5
5299 ac_status=$?
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_lib_ipc_shmat=yes
5303 else
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_lib_ipc_shmat=no
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 LIBS=$ac_check_lib_save_LIBS
5314 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5315 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5316 if test $ac_cv_lib_ipc_shmat = yes; then
5317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5323 # Check for libraries that X11R6 Xt/Xaw programs need.
5324 ac_save_LDFLAGS=$LDFLAGS
5325 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5326 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5327 # check for ICE first), but we must link in the order -lSM -lICE or
5328 # we get undefined symbols. So assume we have SM if we have ICE.
5329 # These have to be linked with before -lX11, unlike the other
5330 # libraries we check for below, so use a different variable.
5331 # John Interrante, Karl Berry
5332 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5333 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5334 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 else
5337 ac_check_lib_save_LIBS=$LIBS
5338 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5339 cat >conftest.$ac_ext <<_ACEOF
5340 /* confdefs.h. */
5341 _ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5346 /* Override any GCC internal prototype to avoid an error.
5347 Use char because int might match the return type of a GCC
5348 builtin and then its argument prototype would still apply. */
5349 #ifdef __cplusplus
5350 extern "C"
5351 #endif
5352 char IceConnectionNumber ();
5354 main ()
5356 return IceConnectionNumber ();
5358 return 0;
5360 _ACEOF
5361 rm -f conftest.$ac_objext conftest$ac_exeext
5362 if { (ac_try="$ac_link"
5363 case "(($ac_try" in
5364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5366 esac
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_link") 2>conftest.er1
5369 ac_status=$?
5370 grep -v '^ *+' conftest.er1 >conftest.err
5371 rm -f conftest.er1
5372 cat conftest.err >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); } &&
5375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5376 { (case "(($ac_try" in
5377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5379 esac
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_try") 2>&5
5382 ac_status=$?
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; } &&
5385 { ac_try='test -s conftest$ac_exeext'
5386 { (case "(($ac_try" in
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5389 esac
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_try") 2>&5
5392 ac_status=$?
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_cv_lib_ICE_IceConnectionNumber=yes
5396 else
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.$ac_ext >&5
5400 ac_cv_lib_ICE_IceConnectionNumber=no
5403 rm -f core conftest.err conftest.$ac_objext \
5404 conftest$ac_exeext conftest.$ac_ext
5405 LIBS=$ac_check_lib_save_LIBS
5407 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5408 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5409 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5410 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5413 LDFLAGS=$ac_save_LDFLAGS
5417 for ac_prog in flex lex
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy $ac_prog; ac_word=$2
5421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5423 if test "${ac_cv_prog_LEX+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 if test -n "$LEX"; then
5427 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_LEX="$ac_prog"
5437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 LEX=$ac_cv_prog_LEX
5447 if test -n "$LEX"; then
5448 { echo "$as_me:$LINENO: result: $LEX" >&5
5449 echo "${ECHO_T}$LEX" >&6; }
5450 else
5451 { echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6; }
5456 test -n "$LEX" && break
5457 done
5458 test -n "$LEX" || LEX=":"
5460 if test -z "$LEXLIB"
5461 then
5462 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5463 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5464 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 else
5467 ac_check_lib_save_LIBS=$LIBS
5468 LIBS="-lfl $LIBS"
5469 cat >conftest.$ac_ext <<_ACEOF
5470 /* confdefs.h. */
5471 _ACEOF
5472 cat confdefs.h >>conftest.$ac_ext
5473 cat >>conftest.$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5476 /* Override any GCC internal prototype to avoid an error.
5477 Use char because int might match the return type of a GCC
5478 builtin and then its argument prototype would still apply. */
5479 #ifdef __cplusplus
5480 extern "C"
5481 #endif
5482 char yywrap ();
5484 main ()
5486 return yywrap ();
5488 return 0;
5490 _ACEOF
5491 rm -f conftest.$ac_objext conftest$ac_exeext
5492 if { (ac_try="$ac_link"
5493 case "(($ac_try" in
5494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5496 esac
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_link") 2>conftest.er1
5499 ac_status=$?
5500 grep -v '^ *+' conftest.er1 >conftest.err
5501 rm -f conftest.er1
5502 cat conftest.err >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } &&
5505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5506 { (case "(($ac_try" in
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5509 esac
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_try") 2>&5
5512 ac_status=$?
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try='test -s conftest$ac_exeext'
5516 { (case "(($ac_try" in
5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5519 esac
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_try") 2>&5
5522 ac_status=$?
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_lib_fl_yywrap=yes
5526 else
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5530 ac_cv_lib_fl_yywrap=no
5533 rm -f core conftest.err conftest.$ac_objext \
5534 conftest$ac_exeext conftest.$ac_ext
5535 LIBS=$ac_check_lib_save_LIBS
5537 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5538 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5539 if test $ac_cv_lib_fl_yywrap = yes; then
5540 LEXLIB="-lfl"
5541 else
5542 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5543 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5544 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5546 else
5547 ac_check_lib_save_LIBS=$LIBS
5548 LIBS="-ll $LIBS"
5549 cat >conftest.$ac_ext <<_ACEOF
5550 /* confdefs.h. */
5551 _ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5556 /* Override any GCC internal prototype to avoid an error.
5557 Use char because int might match the return type of a GCC
5558 builtin and then its argument prototype would still apply. */
5559 #ifdef __cplusplus
5560 extern "C"
5561 #endif
5562 char yywrap ();
5564 main ()
5566 return yywrap ();
5568 return 0;
5570 _ACEOF
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (ac_try="$ac_link"
5573 case "(($ac_try" in
5574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5575 *) ac_try_echo=$ac_try;;
5576 esac
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_link") 2>conftest.er1
5579 ac_status=$?
5580 grep -v '^ *+' conftest.er1 >conftest.err
5581 rm -f conftest.er1
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5586 { (case "(($ac_try" in
5587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5588 *) ac_try_echo=$ac_try;;
5589 esac
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_try") 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest$ac_exeext'
5596 { (case "(($ac_try" in
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5599 esac
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_try") 2>&5
5602 ac_status=$?
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 ac_cv_lib_l_yywrap=yes
5606 else
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5610 ac_cv_lib_l_yywrap=no
5613 rm -f core conftest.err conftest.$ac_objext \
5614 conftest$ac_exeext conftest.$ac_ext
5615 LIBS=$ac_check_lib_save_LIBS
5617 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5618 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5619 if test $ac_cv_lib_l_yywrap = yes; then
5620 LEXLIB="-ll"
5627 if test "x$LEX" != "x:"; then
5628 { echo "$as_me:$LINENO: checking lex output file root" >&5
5629 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_lex_root+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 else
5633 # The minimal lex program is just a single line: %%. But some broken lexes
5634 # (Solaris, I think it was) want two %% lines, so accommodate them.
5635 cat >conftest.l <<_ACEOF
5638 _ACEOF
5639 { (ac_try="$LEX conftest.l"
5640 case "(($ac_try" in
5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5643 esac
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$LEX conftest.l") 2>&5
5646 ac_status=$?
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }
5649 if test -f lex.yy.c; then
5650 ac_cv_prog_lex_root=lex.yy
5651 elif test -f lexyy.c; then
5652 ac_cv_prog_lex_root=lexyy
5653 else
5654 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5655 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5656 { (exit 1); exit 1; }; }
5659 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5660 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5661 rm -f conftest.l
5662 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5664 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5665 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5666 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 else
5669 # POSIX says lex can declare yytext either as a pointer or an array; the
5670 # default is implementation-dependent. Figure out which it is, since
5671 # not all implementations provide the %pointer and %array declarations.
5672 ac_cv_prog_lex_yytext_pointer=no
5673 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5674 ac_save_LIBS=$LIBS
5675 LIBS="$LIBS $LEXLIB"
5676 cat >conftest.$ac_ext <<_ACEOF
5677 `cat $LEX_OUTPUT_ROOT.c`
5678 _ACEOF
5679 rm -f conftest.$ac_objext conftest$ac_exeext
5680 if { (ac_try="$ac_link"
5681 case "(($ac_try" in
5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683 *) ac_try_echo=$ac_try;;
5684 esac
5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686 (eval "$ac_link") 2>conftest.er1
5687 ac_status=$?
5688 grep -v '^ *+' conftest.er1 >conftest.err
5689 rm -f conftest.er1
5690 cat conftest.err >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } &&
5693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5694 { (case "(($ac_try" in
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5697 esac
5698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5699 (eval "$ac_try") 2>&5
5700 ac_status=$?
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; } &&
5703 { ac_try='test -s conftest$ac_exeext'
5704 { (case "(($ac_try" in
5705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5707 esac
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_try") 2>&5
5710 ac_status=$?
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 ac_cv_prog_lex_yytext_pointer=yes
5714 else
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.$ac_ext >&5
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5723 LIBS=$ac_save_LIBS
5724 rm -f "${LEX_OUTPUT_ROOT}.c"
5727 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5728 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5729 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5731 cat >>confdefs.h <<\_ACEOF
5732 #define YYTEXT_POINTER 1
5733 _ACEOF
5739 for ac_prog in $LEX flex lex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5745 if test "${ac_cv_prog_XLEX+set}" = set; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5747 else
5748 if test -n "$XLEX"; then
5749 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_XLEX="$ac_prog"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 XLEX=$ac_cv_prog_XLEX
5769 if test -n "$XLEX"; then
5770 { echo "$as_me:$LINENO: result: $XLEX" >&5
5771 echo "${ECHO_T}$XLEX" >&6; }
5772 else
5773 { echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6; }
5778 test -n "$XLEX" && break
5779 done
5780 test -n "$XLEX" || XLEX="none"
5782 if test "$XLEX" = "none"
5783 then
5784 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5785 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5786 { (exit 1); exit 1; }; }
5789 for ac_prog in bison
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy $ac_prog; ac_word=$2
5793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5795 if test "${ac_cv_prog_BISON+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 if test -n "$BISON"; then
5799 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5800 else
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_BISON="$ac_prog"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5812 done
5813 done
5814 IFS=$as_save_IFS
5818 BISON=$ac_cv_prog_BISON
5819 if test -n "$BISON"; then
5820 { echo "$as_me:$LINENO: result: $BISON" >&5
5821 echo "${ECHO_T}$BISON" >&6; }
5822 else
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5828 test -n "$BISON" && break
5829 done
5830 test -n "$BISON" || BISON="none"
5832 if test "$BISON" = "none"
5833 then
5834 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5835 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5836 { (exit 1); exit 1; }; }
5839 if test -n "$ac_tool_prefix"; then
5840 for ac_prog in gas as
5842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5846 if test "${ac_cv_prog_AS+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 else
5849 if test -n "$AS"; then
5850 ac_cv_prog_AS="$AS" # Let the user override the test.
5851 else
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 for as_dir in $PATH
5855 IFS=$as_save_IFS
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 break 2
5863 done
5864 done
5865 IFS=$as_save_IFS
5869 AS=$ac_cv_prog_AS
5870 if test -n "$AS"; then
5871 { echo "$as_me:$LINENO: result: $AS" >&5
5872 echo "${ECHO_T}$AS" >&6; }
5873 else
5874 { echo "$as_me:$LINENO: result: no" >&5
5875 echo "${ECHO_T}no" >&6; }
5879 test -n "$AS" && break
5880 done
5882 if test -z "$AS"; then
5883 ac_ct_AS=$AS
5884 for ac_prog in gas as
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy $ac_prog; ac_word=$2
5888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5890 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 else
5893 if test -n "$ac_ct_AS"; then
5894 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5899 IFS=$as_save_IFS
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_ac_ct_AS="$ac_prog"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 break 2
5907 done
5908 done
5909 IFS=$as_save_IFS
5913 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5914 if test -n "$ac_ct_AS"; then
5915 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5916 echo "${ECHO_T}$ac_ct_AS" >&6; }
5917 else
5918 { echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6; }
5923 test -n "$ac_ct_AS" && break
5924 done
5926 if test "x$ac_ct_AS" = x; then
5927 AS="as"
5928 else
5929 case $cross_compiling:$ac_tool_warned in
5930 yes:)
5931 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5932 whose name does not start with the host triplet. If you think this
5933 configuration is useful to you, please write to autoconf@gnu.org." >&5
5934 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5935 whose name does not start with the host triplet. If you think this
5936 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5937 ac_tool_warned=yes ;;
5938 esac
5939 AS=$ac_ct_AS
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5945 set dummy ${ac_tool_prefix}ld; ac_word=$2
5946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5948 if test "${ac_cv_prog_LD+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 else
5951 if test -n "$LD"; then
5952 ac_cv_prog_LD="$LD" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_LD="${ac_tool_prefix}ld"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 break 2
5965 done
5966 done
5967 IFS=$as_save_IFS
5971 LD=$ac_cv_prog_LD
5972 if test -n "$LD"; then
5973 { echo "$as_me:$LINENO: result: $LD" >&5
5974 echo "${ECHO_T}$LD" >&6; }
5975 else
5976 { echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6; }
5982 if test -z "$ac_cv_prog_LD"; then
5983 ac_ct_LD=$LD
5984 # Extract the first word of "ld", so it can be a program name with args.
5985 set dummy ld; ac_word=$2
5986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5988 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5990 else
5991 if test -n "$ac_ct_LD"; then
5992 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5993 else
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 for as_dir in $PATH
5997 IFS=$as_save_IFS
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_ac_ct_LD="ld"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 break 2
6005 done
6006 done
6007 IFS=$as_save_IFS
6011 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6012 if test -n "$ac_ct_LD"; then
6013 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6014 echo "${ECHO_T}$ac_ct_LD" >&6; }
6015 else
6016 { echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6; }
6020 if test "x$ac_ct_LD" = x; then
6021 LD="ld"
6022 else
6023 case $cross_compiling:$ac_tool_warned in
6024 yes:)
6025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6026 whose name does not start with the host triplet. If you think this
6027 configuration is useful to you, please write to autoconf@gnu.org." >&5
6028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6029 whose name does not start with the host triplet. If you think this
6030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6031 ac_tool_warned=yes ;;
6032 esac
6033 LD=$ac_ct_LD
6035 else
6036 LD="$ac_cv_prog_LD"
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6041 set dummy ${ac_tool_prefix}ar; ac_word=$2
6042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6044 if test "${ac_cv_prog_AR+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 else
6047 if test -n "$AR"; then
6048 ac_cv_prog_AR="$AR" # Let the user override the test.
6049 else
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_AR="${ac_tool_prefix}ar"
6058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6059 break 2
6061 done
6062 done
6063 IFS=$as_save_IFS
6067 AR=$ac_cv_prog_AR
6068 if test -n "$AR"; then
6069 { echo "$as_me:$LINENO: result: $AR" >&5
6070 echo "${ECHO_T}$AR" >&6; }
6071 else
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6078 if test -z "$ac_cv_prog_AR"; then
6079 ac_ct_AR=$AR
6080 # Extract the first word of "ar", so it can be a program name with args.
6081 set dummy ar; ac_word=$2
6082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 else
6087 if test -n "$ac_ct_AR"; then
6088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_prog_ac_ct_AR="ar"
6098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6108 if test -n "$ac_ct_AR"; then
6109 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6110 echo "${ECHO_T}$ac_ct_AR" >&6; }
6111 else
6112 { echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6; }
6116 if test "x$ac_ct_AR" = x; then
6117 AR="ar"
6118 else
6119 case $cross_compiling:$ac_tool_warned in
6120 yes:)
6121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6122 whose name does not start with the host triplet. If you think this
6123 configuration is useful to you, please write to autoconf@gnu.org." >&5
6124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6125 whose name does not start with the host triplet. If you think this
6126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6127 ac_tool_warned=yes ;;
6128 esac
6129 AR=$ac_ct_AR
6131 else
6132 AR="$ac_cv_prog_AR"
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6140 if test "${ac_cv_prog_RANLIB+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else
6143 if test -n "$RANLIB"; then
6144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6163 RANLIB=$ac_cv_prog_RANLIB
6164 if test -n "$RANLIB"; then
6165 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6166 echo "${ECHO_T}$RANLIB" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 if test -z "$ac_cv_prog_RANLIB"; then
6175 ac_ct_RANLIB=$RANLIB
6176 # Extract the first word of "ranlib", so it can be a program name with args.
6177 set dummy ranlib; ac_word=$2
6178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 if test -n "$ac_ct_RANLIB"; then
6184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6185 else
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH
6189 IFS=$as_save_IFS
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_ac_ct_RANLIB="ranlib"
6194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6204 if test -n "$ac_ct_RANLIB"; then
6205 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6206 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6207 else
6208 { echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6; }
6212 if test "x$ac_ct_RANLIB" = x; then
6213 RANLIB=":"
6214 else
6215 case $cross_compiling:$ac_tool_warned in
6216 yes:)
6217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6218 whose name does not start with the host triplet. If you think this
6219 configuration is useful to you, please write to autoconf@gnu.org." >&5
6220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6221 whose name does not start with the host triplet. If you think this
6222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6223 ac_tool_warned=yes ;;
6224 esac
6225 RANLIB=$ac_ct_RANLIB
6227 else
6228 RANLIB="$ac_cv_prog_RANLIB"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6233 set dummy ${ac_tool_prefix}strip; ac_word=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_STRIP+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 else
6239 if test -n "$STRIP"; then
6240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 STRIP=$ac_cv_prog_STRIP
6260 if test -n "$STRIP"; then
6261 { echo "$as_me:$LINENO: result: $STRIP" >&5
6262 echo "${ECHO_T}$STRIP" >&6; }
6263 else
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6270 if test -z "$ac_cv_prog_STRIP"; then
6271 ac_ct_STRIP=$STRIP
6272 # Extract the first word of "strip", so it can be a program name with args.
6273 set dummy strip; ac_word=$2
6274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6276 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 else
6279 if test -n "$ac_ct_STRIP"; then
6280 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6281 else
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH
6285 IFS=$as_save_IFS
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6289 ac_cv_prog_ac_ct_STRIP="strip"
6290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 break 2
6293 done
6294 done
6295 IFS=$as_save_IFS
6299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6300 if test -n "$ac_ct_STRIP"; then
6301 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6302 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6303 else
6304 { echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6; }
6308 if test "x$ac_ct_STRIP" = x; then
6309 STRIP="strip"
6310 else
6311 case $cross_compiling:$ac_tool_warned in
6312 yes:)
6313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6314 whose name does not start with the host triplet. If you think this
6315 configuration is useful to you, please write to autoconf@gnu.org." >&5
6316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6317 whose name does not start with the host triplet. If you think this
6318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6319 ac_tool_warned=yes ;;
6320 esac
6321 STRIP=$ac_ct_STRIP
6323 else
6324 STRIP="$ac_cv_prog_STRIP"
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}windres; ac_word=$2
6330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6332 if test "${ac_cv_prog_WINDRES+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 else
6335 if test -n "$WINDRES"; then
6336 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6337 else
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH
6341 IFS=$as_save_IFS
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 break 2
6349 done
6350 done
6351 IFS=$as_save_IFS
6355 WINDRES=$ac_cv_prog_WINDRES
6356 if test -n "$WINDRES"; then
6357 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6358 echo "${ECHO_T}$WINDRES" >&6; }
6359 else
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6366 if test -z "$ac_cv_prog_WINDRES"; then
6367 ac_ct_WINDRES=$WINDRES
6368 # Extract the first word of "windres", so it can be a program name with args.
6369 set dummy windres; ac_word=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 else
6375 if test -n "$ac_ct_WINDRES"; then
6376 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6377 else
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 for as_dir in $PATH
6381 IFS=$as_save_IFS
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_WINDRES="windres"
6386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 break 2
6389 done
6390 done
6391 IFS=$as_save_IFS
6395 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6396 if test -n "$ac_ct_WINDRES"; then
6397 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6398 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6399 else
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6404 if test "x$ac_ct_WINDRES" = x; then
6405 WINDRES="false"
6406 else
6407 case $cross_compiling:$ac_tool_warned in
6408 yes:)
6409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6410 whose name does not start with the host triplet. If you think this
6411 configuration is useful to you, please write to autoconf@gnu.org." >&5
6412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6413 whose name does not start with the host triplet. If you think this
6414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6415 ac_tool_warned=yes ;;
6416 esac
6417 WINDRES=$ac_ct_WINDRES
6419 else
6420 WINDRES="$ac_cv_prog_WINDRES"
6423 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6425 LN_S=$as_ln_s
6426 if test "$LN_S" = "ln -s"; then
6427 { echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6; }
6429 else
6430 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6431 echo "${ECHO_T}no, using $LN_S" >&6; }
6434 { echo "$as_me:$LINENO: checking whether ln works" >&5
6435 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6436 rm -f conf$$ conf$$.file
6437 echo >conf$$.file
6438 if ln conf$$.file conf$$ 2>/dev/null; then
6439 LN=ln
6441 { echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6; }
6443 else
6444 LN="cp -p"
6446 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6447 echo "${ECHO_T}no, using $LN" >&6; }
6449 rm -f conf$$ conf$$.file
6450 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6451 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6452 if test "${ac_cv_path_GREP+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 else
6455 # Extract the first word of "grep ggrep" to use in msg output
6456 if test -z "$GREP"; then
6457 set dummy grep ggrep; ac_prog_name=$2
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 else
6461 ac_path_GREP_found=false
6462 # Loop through the user's path and test for each of PROGNAME-LIST
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6466 IFS=$as_save_IFS
6467 test -z "$as_dir" && as_dir=.
6468 for ac_prog in grep ggrep; do
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6471 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6472 # Check for GNU ac_path_GREP and select it if it is found.
6473 # Check for GNU $ac_path_GREP
6474 case `"$ac_path_GREP" --version 2>&1` in
6475 *GNU*)
6476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6478 ac_count=0
6479 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6480 while :
6482 cat "conftest.in" "conftest.in" >"conftest.tmp"
6483 mv "conftest.tmp" "conftest.in"
6484 cp "conftest.in" "conftest.nl"
6485 echo 'GREP' >> "conftest.nl"
6486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6488 ac_count=`expr $ac_count + 1`
6489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6490 # Best one so far, save it but keep looking for a better one
6491 ac_cv_path_GREP="$ac_path_GREP"
6492 ac_path_GREP_max=$ac_count
6494 # 10*(2^10) chars as input seems more than enough
6495 test $ac_count -gt 10 && break
6496 done
6497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6498 esac
6501 $ac_path_GREP_found && break 3
6502 done
6503 done
6505 done
6506 IFS=$as_save_IFS
6511 GREP="$ac_cv_path_GREP"
6512 if test -z "$GREP"; then
6513 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6514 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6515 { (exit 1); exit 1; }; }
6518 else
6519 ac_cv_path_GREP=$GREP
6524 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6525 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6526 GREP="$ac_cv_path_GREP"
6529 { echo "$as_me:$LINENO: checking for egrep" >&5
6530 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6531 if test "${ac_cv_path_EGREP+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 else
6534 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6535 then ac_cv_path_EGREP="$GREP -E"
6536 else
6537 # Extract the first word of "egrep" to use in msg output
6538 if test -z "$EGREP"; then
6539 set dummy egrep; ac_prog_name=$2
6540 if test "${ac_cv_path_EGREP+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 else
6543 ac_path_EGREP_found=false
6544 # Loop through the user's path and test for each of PROGNAME-LIST
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6548 IFS=$as_save_IFS
6549 test -z "$as_dir" && as_dir=.
6550 for ac_prog in egrep; do
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6553 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6554 # Check for GNU ac_path_EGREP and select it if it is found.
6555 # Check for GNU $ac_path_EGREP
6556 case `"$ac_path_EGREP" --version 2>&1` in
6557 *GNU*)
6558 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6560 ac_count=0
6561 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6562 while :
6564 cat "conftest.in" "conftest.in" >"conftest.tmp"
6565 mv "conftest.tmp" "conftest.in"
6566 cp "conftest.in" "conftest.nl"
6567 echo 'EGREP' >> "conftest.nl"
6568 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6570 ac_count=`expr $ac_count + 1`
6571 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6572 # Best one so far, save it but keep looking for a better one
6573 ac_cv_path_EGREP="$ac_path_EGREP"
6574 ac_path_EGREP_max=$ac_count
6576 # 10*(2^10) chars as input seems more than enough
6577 test $ac_count -gt 10 && break
6578 done
6579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6580 esac
6583 $ac_path_EGREP_found && break 3
6584 done
6585 done
6587 done
6588 IFS=$as_save_IFS
6593 EGREP="$ac_cv_path_EGREP"
6594 if test -z "$EGREP"; then
6595 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6596 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6597 { (exit 1); exit 1; }; }
6600 else
6601 ac_cv_path_EGREP=$EGREP
6607 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6608 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6609 EGREP="$ac_cv_path_EGREP"
6612 # Extract the first word of "ldconfig", so it can be a program name with args.
6613 set dummy ldconfig; ac_word=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 else
6619 case $LDCONFIG in
6620 [\\/]* | ?:[\\/]*)
6621 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in /sbin /usr/sbin $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6639 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6641 esac
6643 LDCONFIG=$ac_cv_path_LDCONFIG
6644 if test -n "$LDCONFIG"; then
6645 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6646 echo "${ECHO_T}$LDCONFIG" >&6; }
6647 else
6648 { echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6; }
6653 # Find a good install program. We prefer a C program (faster),
6654 # so one script is as good as another. But avoid the broken or
6655 # incompatible versions:
6656 # SysV /etc/install, /usr/sbin/install
6657 # SunOS /usr/etc/install
6658 # IRIX /sbin/install
6659 # AIX /bin/install
6660 # AmigaOS /C/install, which installs bootblocks on floppy discs
6661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6664 # OS/2's system install, which has a completely different semantic
6665 # ./install, which can be erroneously created by make from ./install.sh.
6666 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6667 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6668 if test -z "$INSTALL"; then
6669 if test "${ac_cv_path_install+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 # Account for people who put trailing slashes in PATH elements.
6678 case $as_dir/ in
6679 ./ | .// | /cC/* | \
6680 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6681 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6682 /usr/ucb/* ) ;;
6684 # OSF1 and SCO ODT 3.0 have their own names for install.
6685 # Don't use installbsd from OSF since it installs stuff as root
6686 # by default.
6687 for ac_prog in ginstall scoinst install; do
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6690 if test $ac_prog = install &&
6691 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6692 # AIX install. It has an incompatible calling convention.
6694 elif test $ac_prog = install &&
6695 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6696 # program-specific install script used by HP pwplus--don't use.
6698 else
6699 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6700 break 3
6703 done
6704 done
6706 esac
6707 done
6708 IFS=$as_save_IFS
6712 if test "${ac_cv_path_install+set}" = set; then
6713 INSTALL=$ac_cv_path_install
6714 else
6715 # As a last resort, use the slow shell script. Don't cache a
6716 # value for INSTALL within a source directory, because that will
6717 # break other packages using the cache if that directory is
6718 # removed, or if the value is a relative name.
6719 INSTALL=$ac_install_sh
6722 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6723 echo "${ECHO_T}$INSTALL" >&6; }
6725 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6726 # It thinks the first close brace ends the variable substitution.
6727 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6729 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6731 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6733 case "$INSTALL" in
6734 [\\/$]* | ?:[\\/]* ) ;;
6735 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6736 esac
6738 for ac_prog in lclint lint
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy $ac_prog; ac_word=$2
6742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6744 if test "${ac_cv_prog_LINT+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6746 else
6747 if test -n "$LINT"; then
6748 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6749 else
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 for as_dir in $PATH
6753 IFS=$as_save_IFS
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_LINT="$ac_prog"
6758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 break 2
6761 done
6762 done
6763 IFS=$as_save_IFS
6767 LINT=$ac_cv_prog_LINT
6768 if test -n "$LINT"; then
6769 { echo "$as_me:$LINENO: result: $LINT" >&5
6770 echo "${ECHO_T}$LINT" >&6; }
6771 else
6772 { echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6; }
6777 test -n "$LINT" && break
6778 done
6780 if test "$LINT" = "lint"
6781 then
6782 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6787 for ac_prog in fontforge
6789 # Extract the first word of "$ac_prog", so it can be a program name with args.
6790 set dummy $ac_prog; ac_word=$2
6791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6793 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6794 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 else
6796 if test -n "$FONTFORGE"; then
6797 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6802 IFS=$as_save_IFS
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_FONTFORGE="$ac_prog"
6807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6808 break 2
6810 done
6811 done
6812 IFS=$as_save_IFS
6816 FONTFORGE=$ac_cv_prog_FONTFORGE
6817 if test -n "$FONTFORGE"; then
6818 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6819 echo "${ECHO_T}$FONTFORGE" >&6; }
6820 else
6821 { echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6; }
6826 test -n "$FONTFORGE" && break
6827 done
6828 test -n "$FONTFORGE" || FONTFORGE="false"
6830 for ac_prog in pkg-config
6832 # Extract the first word of "$ac_prog", so it can be a program name with args.
6833 set dummy $ac_prog; ac_word=$2
6834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6836 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 else
6839 if test -n "$PKG_CONFIG"; then
6840 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_PKG_CONFIG="$ac_prog"
6850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 break 2
6853 done
6854 done
6855 IFS=$as_save_IFS
6859 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6860 if test -n "$PKG_CONFIG"; then
6861 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6862 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6863 else
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6869 test -n "$PKG_CONFIG" && break
6870 done
6871 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6874 case $host_cpu in
6875 *i[3456789]86*)
6876 # Extract the first word of "prelink", so it can be a program name with args.
6877 set dummy prelink; ac_word=$2
6878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6880 if test "${ac_cv_path_PRELINK+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 else
6883 case $PRELINK in
6884 [\\/]* | ?:[\\/]*)
6885 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in /sbin /usr/sbin $PATH
6891 IFS=$as_save_IFS
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 break 2
6899 done
6900 done
6901 IFS=$as_save_IFS
6903 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6905 esac
6907 PRELINK=$ac_cv_path_PRELINK
6908 if test -n "$PRELINK"; then
6909 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6910 echo "${ECHO_T}$PRELINK" >&6; }
6911 else
6912 { echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6; }
6918 esac
6922 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6923 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6924 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 else
6927 ac_check_lib_save_LIBS=$LIBS
6928 LIBS="-li386 $LIBS"
6929 cat >conftest.$ac_ext <<_ACEOF
6930 /* confdefs.h. */
6931 _ACEOF
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6936 /* Override any GCC internal prototype to avoid an error.
6937 Use char because int might match the return type of a GCC
6938 builtin and then its argument prototype would still apply. */
6939 #ifdef __cplusplus
6940 extern "C"
6941 #endif
6942 char i386_set_ldt ();
6944 main ()
6946 return i386_set_ldt ();
6948 return 0;
6950 _ACEOF
6951 rm -f conftest.$ac_objext conftest$ac_exeext
6952 if { (ac_try="$ac_link"
6953 case "(($ac_try" in
6954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6956 esac
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_link") 2>conftest.er1
6959 ac_status=$?
6960 grep -v '^ *+' conftest.er1 >conftest.err
6961 rm -f conftest.er1
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6966 { (case "(($ac_try" in
6967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6968 *) ac_try_echo=$ac_try;;
6969 esac
6970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6971 (eval "$ac_try") 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try='test -s conftest$ac_exeext'
6976 { (case "(($ac_try" in
6977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6978 *) ac_try_echo=$ac_try;;
6979 esac
6980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6981 (eval "$ac_try") 2>&5
6982 ac_status=$?
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; }; then
6985 ac_cv_lib_i386_i386_set_ldt=yes
6986 else
6987 echo "$as_me: failed program was:" >&5
6988 sed 's/^/| /' conftest.$ac_ext >&5
6990 ac_cv_lib_i386_i386_set_ldt=no
6993 rm -f core conftest.err conftest.$ac_objext \
6994 conftest$ac_exeext conftest.$ac_ext
6995 LIBS=$ac_check_lib_save_LIBS
6997 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6998 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6999 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define HAVE_LIBI386 1
7002 _ACEOF
7004 LIBS="-li386 $LIBS"
7009 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7010 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7011 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014 ac_check_lib_save_LIBS=$LIBS
7015 LIBS="-lossaudio $LIBS"
7016 cat >conftest.$ac_ext <<_ACEOF
7017 /* confdefs.h. */
7018 _ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7023 /* Override any GCC internal prototype to avoid an error.
7024 Use char because int might match the return type of a GCC
7025 builtin and then its argument prototype would still apply. */
7026 #ifdef __cplusplus
7027 extern "C"
7028 #endif
7029 char _oss_ioctl ();
7031 main ()
7033 return _oss_ioctl ();
7035 return 0;
7037 _ACEOF
7038 rm -f conftest.$ac_objext conftest$ac_exeext
7039 if { (ac_try="$ac_link"
7040 case "(($ac_try" in
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7043 esac
7044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045 (eval "$ac_link") 2>conftest.er1
7046 ac_status=$?
7047 grep -v '^ *+' conftest.er1 >conftest.err
7048 rm -f conftest.er1
7049 cat conftest.err >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } &&
7052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7053 { (case "(($ac_try" in
7054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7055 *) ac_try_echo=$ac_try;;
7056 esac
7057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7058 (eval "$ac_try") 2>&5
7059 ac_status=$?
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; } &&
7062 { ac_try='test -s conftest$ac_exeext'
7063 { (case "(($ac_try" in
7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7066 esac
7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7068 (eval "$ac_try") 2>&5
7069 ac_status=$?
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7072 ac_cv_lib_ossaudio__oss_ioctl=yes
7073 else
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7077 ac_cv_lib_ossaudio__oss_ioctl=no
7080 rm -f core conftest.err conftest.$ac_objext \
7081 conftest$ac_exeext conftest.$ac_ext
7082 LIBS=$ac_check_lib_save_LIBS
7084 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7085 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7086 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_LIBOSSAUDIO 1
7089 _ACEOF
7091 LIBS="-lossaudio $LIBS"
7096 for ac_func in gethostbyname
7098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 else
7104 cat >conftest.$ac_ext <<_ACEOF
7105 /* confdefs.h. */
7106 _ACEOF
7107 cat confdefs.h >>conftest.$ac_ext
7108 cat >>conftest.$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7112 #define $ac_func innocuous_$ac_func
7114 /* System header to define __stub macros and hopefully few prototypes,
7115 which can conflict with char $ac_func (); below.
7116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 <limits.h> exists even on freestanding compilers. */
7119 #ifdef __STDC__
7120 # include <limits.h>
7121 #else
7122 # include <assert.h>
7123 #endif
7125 #undef $ac_func
7127 /* Override any GCC internal prototype to avoid an error.
7128 Use char because int might match the return type of a GCC
7129 builtin and then its argument prototype would still apply. */
7130 #ifdef __cplusplus
7131 extern "C"
7132 #endif
7133 char $ac_func ();
7134 /* The GNU C library defines this for functions which it implements
7135 to always fail with ENOSYS. Some functions are actually named
7136 something starting with __ and the normal name is an alias. */
7137 #if defined __stub_$ac_func || defined __stub___$ac_func
7138 choke me
7139 #endif
7142 main ()
7144 return $ac_func ();
7146 return 0;
7148 _ACEOF
7149 rm -f conftest.$ac_objext conftest$ac_exeext
7150 if { (ac_try="$ac_link"
7151 case "(($ac_try" in
7152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7154 esac
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_link") 2>conftest.er1
7157 ac_status=$?
7158 grep -v '^ *+' conftest.er1 >conftest.err
7159 rm -f conftest.er1
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7164 { (case "(($ac_try" in
7165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7166 *) ac_try_echo=$ac_try;;
7167 esac
7168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7169 (eval "$ac_try") 2>&5
7170 ac_status=$?
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; } &&
7173 { ac_try='test -s conftest$ac_exeext'
7174 { (case "(($ac_try" in
7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7177 esac
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_try") 2>&5
7180 ac_status=$?
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 eval "$as_ac_var=yes"
7184 else
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.$ac_ext >&5
7188 eval "$as_ac_var=no"
7191 rm -f core conftest.err conftest.$ac_objext \
7192 conftest$ac_exeext conftest.$ac_ext
7194 ac_res=`eval echo '${'$as_ac_var'}'`
7195 { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7197 if test `eval echo '${'$as_ac_var'}'` = yes; then
7198 cat >>confdefs.h <<_ACEOF
7199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7200 _ACEOF
7202 else
7204 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7205 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7206 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 else
7209 ac_check_lib_save_LIBS=$LIBS
7210 LIBS="-lnsl $LIBS"
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7218 /* Override any GCC internal prototype to avoid an error.
7219 Use char because int might match the return type of a GCC
7220 builtin and then its argument prototype would still apply. */
7221 #ifdef __cplusplus
7222 extern "C"
7223 #endif
7224 char gethostbyname ();
7226 main ()
7228 return gethostbyname ();
7230 return 0;
7232 _ACEOF
7233 rm -f conftest.$ac_objext conftest$ac_exeext
7234 if { (ac_try="$ac_link"
7235 case "(($ac_try" in
7236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7237 *) ac_try_echo=$ac_try;;
7238 esac
7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7240 (eval "$ac_link") 2>conftest.er1
7241 ac_status=$?
7242 grep -v '^ *+' conftest.er1 >conftest.err
7243 rm -f conftest.er1
7244 cat conftest.err >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7248 { (case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7251 esac
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_try") 2>&5
7254 ac_status=$?
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try='test -s conftest$ac_exeext'
7258 { (case "(($ac_try" in
7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7261 esac
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_try") 2>&5
7264 ac_status=$?
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7267 ac_cv_lib_nsl_gethostbyname=yes
7268 else
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 ac_cv_lib_nsl_gethostbyname=no
7275 rm -f core conftest.err conftest.$ac_objext \
7276 conftest$ac_exeext conftest.$ac_ext
7277 LIBS=$ac_check_lib_save_LIBS
7279 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7280 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7281 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_LIBNSL 1
7284 _ACEOF
7286 LIBS="-lnsl $LIBS"
7291 done
7294 for ac_func in connect
7296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 else
7302 cat >conftest.$ac_ext <<_ACEOF
7303 /* confdefs.h. */
7304 _ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7310 #define $ac_func innocuous_$ac_func
7312 /* System header to define __stub macros and hopefully few prototypes,
7313 which can conflict with char $ac_func (); below.
7314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7315 <limits.h> exists even on freestanding compilers. */
7317 #ifdef __STDC__
7318 # include <limits.h>
7319 #else
7320 # include <assert.h>
7321 #endif
7323 #undef $ac_func
7325 /* Override any GCC internal prototype to avoid an error.
7326 Use char because int might match the return type of a GCC
7327 builtin and then its argument prototype would still apply. */
7328 #ifdef __cplusplus
7329 extern "C"
7330 #endif
7331 char $ac_func ();
7332 /* The GNU C library defines this for functions which it implements
7333 to always fail with ENOSYS. Some functions are actually named
7334 something starting with __ and the normal name is an alias. */
7335 #if defined __stub_$ac_func || defined __stub___$ac_func
7336 choke me
7337 #endif
7340 main ()
7342 return $ac_func ();
7344 return 0;
7346 _ACEOF
7347 rm -f conftest.$ac_objext conftest$ac_exeext
7348 if { (ac_try="$ac_link"
7349 case "(($ac_try" in
7350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351 *) ac_try_echo=$ac_try;;
7352 esac
7353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354 (eval "$ac_link") 2>conftest.er1
7355 ac_status=$?
7356 grep -v '^ *+' conftest.er1 >conftest.err
7357 rm -f conftest.er1
7358 cat conftest.err >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); } &&
7361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7362 { (case "(($ac_try" in
7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 *) ac_try_echo=$ac_try;;
7365 esac
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_try") 2>&5
7368 ac_status=$?
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try='test -s conftest$ac_exeext'
7372 { (case "(($ac_try" in
7373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7374 *) ac_try_echo=$ac_try;;
7375 esac
7376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7377 (eval "$ac_try") 2>&5
7378 ac_status=$?
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; }; then
7381 eval "$as_ac_var=yes"
7382 else
7383 echo "$as_me: failed program was:" >&5
7384 sed 's/^/| /' conftest.$ac_ext >&5
7386 eval "$as_ac_var=no"
7389 rm -f core conftest.err conftest.$ac_objext \
7390 conftest$ac_exeext conftest.$ac_ext
7392 ac_res=`eval echo '${'$as_ac_var'}'`
7393 { echo "$as_me:$LINENO: result: $ac_res" >&5
7394 echo "${ECHO_T}$ac_res" >&6; }
7395 if test `eval echo '${'$as_ac_var'}'` = yes; then
7396 cat >>confdefs.h <<_ACEOF
7397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7398 _ACEOF
7400 else
7402 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7403 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7404 if test "${ac_cv_lib_socket_connect+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 else
7407 ac_check_lib_save_LIBS=$LIBS
7408 LIBS="-lsocket $LIBS"
7409 cat >conftest.$ac_ext <<_ACEOF
7410 /* confdefs.h. */
7411 _ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7416 /* Override any GCC internal prototype to avoid an error.
7417 Use char because int might match the return type of a GCC
7418 builtin and then its argument prototype would still apply. */
7419 #ifdef __cplusplus
7420 extern "C"
7421 #endif
7422 char connect ();
7424 main ()
7426 return connect ();
7428 return 0;
7430 _ACEOF
7431 rm -f conftest.$ac_objext conftest$ac_exeext
7432 if { (ac_try="$ac_link"
7433 case "(($ac_try" in
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7436 esac
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_link") 2>conftest.er1
7439 ac_status=$?
7440 grep -v '^ *+' conftest.er1 >conftest.err
7441 rm -f conftest.er1
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } &&
7445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7446 { (case "(($ac_try" in
7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7449 esac
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_try") 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try='test -s conftest$ac_exeext'
7456 { (case "(($ac_try" in
7457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7458 *) ac_try_echo=$ac_try;;
7459 esac
7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 (eval "$ac_try") 2>&5
7462 ac_status=$?
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 ac_cv_lib_socket_connect=yes
7466 else
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.$ac_ext >&5
7470 ac_cv_lib_socket_connect=no
7473 rm -f core conftest.err conftest.$ac_objext \
7474 conftest$ac_exeext conftest.$ac_ext
7475 LIBS=$ac_check_lib_save_LIBS
7477 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7478 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7479 if test $ac_cv_lib_socket_connect = yes; then
7480 cat >>confdefs.h <<_ACEOF
7481 #define HAVE_LIBSOCKET 1
7482 _ACEOF
7484 LIBS="-lsocket $LIBS"
7489 done
7492 for ac_func in inet_aton
7494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500 cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h. */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7508 #define $ac_func innocuous_$ac_func
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char $ac_func (); below.
7512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7513 <limits.h> exists even on freestanding compilers. */
7515 #ifdef __STDC__
7516 # include <limits.h>
7517 #else
7518 # include <assert.h>
7519 #endif
7521 #undef $ac_func
7523 /* Override any GCC internal prototype to avoid an error.
7524 Use char because int might match the return type of a GCC
7525 builtin and then its argument prototype would still apply. */
7526 #ifdef __cplusplus
7527 extern "C"
7528 #endif
7529 char $ac_func ();
7530 /* The GNU C library defines this for functions which it implements
7531 to always fail with ENOSYS. Some functions are actually named
7532 something starting with __ and the normal name is an alias. */
7533 #if defined __stub_$ac_func || defined __stub___$ac_func
7534 choke me
7535 #endif
7538 main ()
7540 return $ac_func ();
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (ac_try="$ac_link"
7547 case "(($ac_try" in
7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7549 *) ac_try_echo=$ac_try;;
7550 esac
7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7552 (eval "$ac_link") 2>conftest.er1
7553 ac_status=$?
7554 grep -v '^ *+' conftest.er1 >conftest.err
7555 rm -f conftest.er1
7556 cat conftest.err >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7560 { (case "(($ac_try" in
7561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7562 *) ac_try_echo=$ac_try;;
7563 esac
7564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7565 (eval "$ac_try") 2>&5
7566 ac_status=$?
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try='test -s conftest$ac_exeext'
7570 { (case "(($ac_try" in
7571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7572 *) ac_try_echo=$ac_try;;
7573 esac
7574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7575 (eval "$ac_try") 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_var=yes"
7580 else
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 eval "$as_ac_var=no"
7587 rm -f core conftest.err conftest.$ac_objext \
7588 conftest$ac_exeext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_var'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_var'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7596 _ACEOF
7598 else
7600 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7601 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7602 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 else
7605 ac_check_lib_save_LIBS=$LIBS
7606 LIBS="-lresolv $LIBS"
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 /* Override any GCC internal prototype to avoid an error.
7615 Use char because int might match the return type of a GCC
7616 builtin and then its argument prototype would still apply. */
7617 #ifdef __cplusplus
7618 extern "C"
7619 #endif
7620 char inet_aton ();
7622 main ()
7624 return inet_aton ();
7626 return 0;
7628 _ACEOF
7629 rm -f conftest.$ac_objext conftest$ac_exeext
7630 if { (ac_try="$ac_link"
7631 case "(($ac_try" in
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7634 esac
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_link") 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7644 { (case "(($ac_try" in
7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7647 esac
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_try") 2>&5
7650 ac_status=$?
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try='test -s conftest$ac_exeext'
7654 { (case "(($ac_try" in
7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7657 esac
7658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7659 (eval "$ac_try") 2>&5
7660 ac_status=$?
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; }; then
7663 ac_cv_lib_resolv_inet_aton=yes
7664 else
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 ac_cv_lib_resolv_inet_aton=no
7671 rm -f core conftest.err conftest.$ac_objext \
7672 conftest$ac_exeext conftest.$ac_ext
7673 LIBS=$ac_check_lib_save_LIBS
7675 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7676 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7677 if test $ac_cv_lib_resolv_inet_aton = yes; then
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_LIBRESOLV 1
7680 _ACEOF
7682 LIBS="-lresolv $LIBS"
7687 done
7690 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7691 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7692 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 else
7695 ac_check_lib_save_LIBS=$LIBS
7696 LIBS="-lxpg4 $LIBS"
7697 cat >conftest.$ac_ext <<_ACEOF
7698 /* confdefs.h. */
7699 _ACEOF
7700 cat confdefs.h >>conftest.$ac_ext
7701 cat >>conftest.$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7704 /* Override any GCC internal prototype to avoid an error.
7705 Use char because int might match the return type of a GCC
7706 builtin and then its argument prototype would still apply. */
7707 #ifdef __cplusplus
7708 extern "C"
7709 #endif
7710 char _xpg4_setrunelocale ();
7712 main ()
7714 return _xpg4_setrunelocale ();
7716 return 0;
7718 _ACEOF
7719 rm -f conftest.$ac_objext conftest$ac_exeext
7720 if { (ac_try="$ac_link"
7721 case "(($ac_try" in
7722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7723 *) ac_try_echo=$ac_try;;
7724 esac
7725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7726 (eval "$ac_link") 2>conftest.er1
7727 ac_status=$?
7728 grep -v '^ *+' conftest.er1 >conftest.err
7729 rm -f conftest.er1
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7734 { (case "(($ac_try" in
7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7736 *) ac_try_echo=$ac_try;;
7737 esac
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7739 (eval "$ac_try") 2>&5
7740 ac_status=$?
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; } &&
7743 { ac_try='test -s conftest$ac_exeext'
7744 { (case "(($ac_try" in
7745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7746 *) ac_try_echo=$ac_try;;
7747 esac
7748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7749 (eval "$ac_try") 2>&5
7750 ac_status=$?
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7754 else
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7761 rm -f core conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7766 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7767 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_LIBXPG4 1
7770 _ACEOF
7772 LIBS="-lxpg4 $LIBS"
7777 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7778 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7779 if test "${ac_cv_lib_poll_poll+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 else
7782 ac_check_lib_save_LIBS=$LIBS
7783 LIBS="-lpoll $LIBS"
7784 cat >conftest.$ac_ext <<_ACEOF
7785 /* confdefs.h. */
7786 _ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7791 /* Override any GCC internal prototype to avoid an error.
7792 Use char because int might match the return type of a GCC
7793 builtin and then its argument prototype would still apply. */
7794 #ifdef __cplusplus
7795 extern "C"
7796 #endif
7797 char poll ();
7799 main ()
7801 return poll ();
7803 return 0;
7805 _ACEOF
7806 rm -f conftest.$ac_objext conftest$ac_exeext
7807 if { (ac_try="$ac_link"
7808 case "(($ac_try" in
7809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;;
7811 esac
7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7813 (eval "$ac_link") 2>conftest.er1
7814 ac_status=$?
7815 grep -v '^ *+' conftest.er1 >conftest.err
7816 rm -f conftest.er1
7817 cat conftest.err >&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7821 { (case "(($ac_try" in
7822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7823 *) ac_try_echo=$ac_try;;
7824 esac
7825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7826 (eval "$ac_try") 2>&5
7827 ac_status=$?
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try='test -s conftest$ac_exeext'
7831 { (case "(($ac_try" in
7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7833 *) ac_try_echo=$ac_try;;
7834 esac
7835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7836 (eval "$ac_try") 2>&5
7837 ac_status=$?
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_cv_lib_poll_poll=yes
7841 else
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.$ac_ext >&5
7845 ac_cv_lib_poll_poll=no
7848 rm -f core conftest.err conftest.$ac_objext \
7849 conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7853 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7854 if test $ac_cv_lib_poll_poll = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_LIBPOLL 1
7857 _ACEOF
7859 LIBS="-lpoll $LIBS"
7863 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7864 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7865 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 else
7868 ac_check_lib_save_LIBS=$LIBS
7869 LIBS="-lpthread $LIBS"
7870 cat >conftest.$ac_ext <<_ACEOF
7871 /* confdefs.h. */
7872 _ACEOF
7873 cat confdefs.h >>conftest.$ac_ext
7874 cat >>conftest.$ac_ext <<_ACEOF
7875 /* end confdefs.h. */
7877 /* Override any GCC internal prototype to avoid an error.
7878 Use char because int might match the return type of a GCC
7879 builtin and then its argument prototype would still apply. */
7880 #ifdef __cplusplus
7881 extern "C"
7882 #endif
7883 char pthread_create ();
7885 main ()
7887 return pthread_create ();
7889 return 0;
7891 _ACEOF
7892 rm -f conftest.$ac_objext conftest$ac_exeext
7893 if { (ac_try="$ac_link"
7894 case "(($ac_try" in
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7897 esac
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_link") 2>conftest.er1
7900 ac_status=$?
7901 grep -v '^ *+' conftest.er1 >conftest.err
7902 rm -f conftest.er1
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7907 { (case "(($ac_try" in
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7910 esac
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_try") 2>&5
7913 ac_status=$?
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest$ac_exeext'
7917 { (case "(($ac_try" in
7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7920 esac
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_try") 2>&5
7923 ac_status=$?
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_cv_lib_pthread_pthread_create=yes
7927 else
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 ac_cv_lib_pthread_pthread_create=no
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7936 LIBS=$ac_check_lib_save_LIBS
7938 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7939 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7940 if test $ac_cv_lib_pthread_pthread_create = yes; then
7941 LIBPTHREAD="-lpthread"
7946 XLIB=""
7948 XFILES=""
7950 OPENGLFILES=""
7952 GLU32FILES=""
7954 OPENGL_LIBS=""
7958 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7960 if test "${ac_cv_header_stdc+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 else
7963 cat >conftest.$ac_ext <<_ACEOF
7964 /* confdefs.h. */
7965 _ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7969 #include <stdlib.h>
7970 #include <stdarg.h>
7971 #include <string.h>
7972 #include <float.h>
7975 main ()
7979 return 0;
7981 _ACEOF
7982 rm -f conftest.$ac_objext
7983 if { (ac_try="$ac_compile"
7984 case "(($ac_try" in
7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 *) ac_try_echo=$ac_try;;
7987 esac
7988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7989 (eval "$ac_compile") 2>conftest.er1
7990 ac_status=$?
7991 grep -v '^ *+' conftest.er1 >conftest.err
7992 rm -f conftest.er1
7993 cat conftest.err >&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7997 { (case "(($ac_try" in
7998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7999 *) ac_try_echo=$ac_try;;
8000 esac
8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8002 (eval "$ac_try") 2>&5
8003 ac_status=$?
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (case "(($ac_try" in
8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8009 *) ac_try_echo=$ac_try;;
8010 esac
8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 (eval "$ac_try") 2>&5
8013 ac_status=$?
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 ac_cv_header_stdc=yes
8017 else
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.$ac_ext >&5
8021 ac_cv_header_stdc=no
8024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8026 if test $ac_cv_header_stdc = yes; then
8027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8028 cat >conftest.$ac_ext <<_ACEOF
8029 /* confdefs.h. */
8030 _ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8034 #include <string.h>
8036 _ACEOF
8037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8038 $EGREP "memchr" >/dev/null 2>&1; then
8040 else
8041 ac_cv_header_stdc=no
8043 rm -f conftest*
8047 if test $ac_cv_header_stdc = yes; then
8048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8049 cat >conftest.$ac_ext <<_ACEOF
8050 /* confdefs.h. */
8051 _ACEOF
8052 cat confdefs.h >>conftest.$ac_ext
8053 cat >>conftest.$ac_ext <<_ACEOF
8054 /* end confdefs.h. */
8055 #include <stdlib.h>
8057 _ACEOF
8058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8059 $EGREP "free" >/dev/null 2>&1; then
8061 else
8062 ac_cv_header_stdc=no
8064 rm -f conftest*
8068 if test $ac_cv_header_stdc = yes; then
8069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8070 if test "$cross_compiling" = yes; then
8072 else
8073 cat >conftest.$ac_ext <<_ACEOF
8074 /* confdefs.h. */
8075 _ACEOF
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8079 #include <ctype.h>
8080 #include <stdlib.h>
8081 #if ((' ' & 0x0FF) == 0x020)
8082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8084 #else
8085 # define ISLOWER(c) \
8086 (('a' <= (c) && (c) <= 'i') \
8087 || ('j' <= (c) && (c) <= 'r') \
8088 || ('s' <= (c) && (c) <= 'z'))
8089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8090 #endif
8092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8094 main ()
8096 int i;
8097 for (i = 0; i < 256; i++)
8098 if (XOR (islower (i), ISLOWER (i))
8099 || toupper (i) != TOUPPER (i))
8100 return 2;
8101 return 0;
8103 _ACEOF
8104 rm -f conftest$ac_exeext
8105 if { (ac_try="$ac_link"
8106 case "(($ac_try" in
8107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8108 *) ac_try_echo=$ac_try;;
8109 esac
8110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8111 (eval "$ac_link") 2>&5
8112 ac_status=$?
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8115 { (case "(($ac_try" in
8116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117 *) ac_try_echo=$ac_try;;
8118 esac
8119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8120 (eval "$ac_try") 2>&5
8121 ac_status=$?
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8125 else
8126 echo "$as_me: program exited with status $ac_status" >&5
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.$ac_ext >&5
8130 ( exit $ac_status )
8131 ac_cv_header_stdc=no
8133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8139 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8140 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8141 if test $ac_cv_header_stdc = yes; then
8143 cat >>confdefs.h <<\_ACEOF
8144 #define STDC_HEADERS 1
8145 _ACEOF
8149 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8159 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8160 inttypes.h stdint.h unistd.h
8162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8163 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8166 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 else
8168 cat >conftest.$ac_ext <<_ACEOF
8169 /* confdefs.h. */
8170 _ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 $ac_includes_default
8176 #include <$ac_header>
8177 _ACEOF
8178 rm -f conftest.$ac_objext
8179 if { (ac_try="$ac_compile"
8180 case "(($ac_try" in
8181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8182 *) ac_try_echo=$ac_try;;
8183 esac
8184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8185 (eval "$ac_compile") 2>conftest.er1
8186 ac_status=$?
8187 grep -v '^ *+' conftest.er1 >conftest.err
8188 rm -f conftest.er1
8189 cat conftest.err >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8193 { (case "(($ac_try" in
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8196 esac
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_try") 2>&5
8199 ac_status=$?
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try='test -s conftest.$ac_objext'
8203 { (case "(($ac_try" in
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8206 esac
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_try") 2>&5
8209 ac_status=$?
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 eval "$as_ac_Header=yes"
8213 else
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.$ac_ext >&5
8217 eval "$as_ac_Header=no"
8220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8222 ac_res=`eval echo '${'$as_ac_Header'}'`
8223 { echo "$as_me:$LINENO: result: $ac_res" >&5
8224 echo "${ECHO_T}$ac_res" >&6; }
8225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8226 cat >>confdefs.h <<_ACEOF
8227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8228 _ACEOF
8232 done
8342 for ac_header in \
8343 AudioUnit/AudioUnit.h \
8344 CoreAudio/CoreAudio.h \
8345 IOKit/IOKitLib.h \
8346 alsa/asoundlib.h \
8347 arpa/inet.h \
8348 arpa/nameser.h \
8349 asm/types.h \
8350 capi20.h \
8351 cups/cups.h \
8352 curses.h \
8353 direct.h \
8354 dlfcn.h \
8355 elf.h \
8356 float.h \
8357 fontconfig/fontconfig.h \
8358 getopt.h \
8359 gif_lib.h \
8360 ieeefp.h \
8361 io.h \
8362 jack/jack.h \
8363 jpeglib.h \
8364 lber.h \
8365 lcms.h \
8366 lcms/lcms.h \
8367 ldap.h \
8368 libaudioio.h \
8369 link.h \
8370 linux/cdrom.h \
8371 linux/compiler.h \
8372 linux/hdreg.h \
8373 linux/input.h \
8374 linux/ioctl.h \
8375 linux/joystick.h \
8376 linux/major.h \
8377 linux/param.h \
8378 linux/serial.h \
8379 linux/ucdrom.h \
8380 mach/machine.h \
8381 machine/cpu.h \
8382 machine/limits.h \
8383 machine/soundcard.h \
8384 mntent.h \
8385 ncurses.h \
8386 netdb.h \
8387 netinet/in.h \
8388 netinet/in_systm.h \
8389 netinet/tcp.h \
8390 netinet/tcp_fsm.h \
8391 openssl/err.h \
8392 openssl/ssl.h \
8393 poll.h \
8394 process.h \
8395 pthread.h \
8396 pwd.h \
8397 regex.h \
8398 sched.h \
8399 scsi/scsi.h \
8400 scsi/scsi_ioctl.h \
8401 scsi/sg.h \
8402 soundcard.h \
8403 stdint.h \
8404 strings.h \
8405 sys/asoundlib.h \
8406 sys/cdio.h \
8407 sys/elf32.h \
8408 sys/epoll.h \
8409 sys/errno.h \
8410 sys/event.h \
8411 sys/exec_elf.h \
8412 sys/filio.h \
8413 sys/ioctl.h \
8414 sys/ipc.h \
8415 sys/limits.h \
8416 sys/link.h \
8417 sys/lwp.h \
8418 sys/mman.h \
8419 sys/modem.h \
8420 sys/msg.h \
8421 sys/mtio.h \
8422 sys/param.h \
8423 sys/poll.h \
8424 sys/prctl.h \
8425 sys/ptrace.h \
8426 sys/reg.h \
8427 sys/resource.h \
8428 sys/scsiio.h \
8429 sys/shm.h \
8430 sys/signal.h \
8431 sys/socket.h \
8432 sys/sockio.h \
8433 sys/soundcard.h \
8434 sys/statvfs.h \
8435 sys/strtio.h \
8436 sys/syscall.h \
8437 sys/sysctl.h \
8438 sys/time.h \
8439 sys/times.h \
8440 sys/uio.h \
8441 sys/un.h \
8442 sys/vm86.h \
8443 sys/wait.h \
8444 syscall.h \
8445 termios.h \
8446 unicode/ubidi.h \
8447 unistd.h \
8448 utime.h \
8449 valgrind/memcheck.h
8452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8453 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 ac_res=`eval echo '${'$as_ac_Header'}'`
8460 { echo "$as_me:$LINENO: result: $ac_res" >&5
8461 echo "${ECHO_T}$ac_res" >&6; }
8462 else
8463 # Is the header compilable?
8464 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8466 cat >conftest.$ac_ext <<_ACEOF
8467 /* confdefs.h. */
8468 _ACEOF
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8472 $ac_includes_default
8473 #include <$ac_header>
8474 _ACEOF
8475 rm -f conftest.$ac_objext
8476 if { (ac_try="$ac_compile"
8477 case "(($ac_try" in
8478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8479 *) ac_try_echo=$ac_try;;
8480 esac
8481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8482 (eval "$ac_compile") 2>conftest.er1
8483 ac_status=$?
8484 grep -v '^ *+' conftest.er1 >conftest.err
8485 rm -f conftest.er1
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8490 { (case "(($ac_try" in
8491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8493 esac
8494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8495 (eval "$ac_try") 2>&5
8496 ac_status=$?
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; } &&
8499 { ac_try='test -s conftest.$ac_objext'
8500 { (case "(($ac_try" in
8501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8502 *) ac_try_echo=$ac_try;;
8503 esac
8504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8505 (eval "$ac_try") 2>&5
8506 ac_status=$?
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; }; then
8509 ac_header_compiler=yes
8510 else
8511 echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8514 ac_header_compiler=no
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8519 echo "${ECHO_T}$ac_header_compiler" >&6; }
8521 # Is the header present?
8522 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8524 cat >conftest.$ac_ext <<_ACEOF
8525 /* confdefs.h. */
8526 _ACEOF
8527 cat confdefs.h >>conftest.$ac_ext
8528 cat >>conftest.$ac_ext <<_ACEOF
8529 /* end confdefs.h. */
8530 #include <$ac_header>
8531 _ACEOF
8532 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
8539 ac_status=$?
8540 grep -v '^ *+' conftest.er1 >conftest.err
8541 rm -f conftest.er1
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } >/dev/null; then
8545 if test -s conftest.err; then
8546 ac_cpp_err=$ac_c_preproc_warn_flag
8547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8548 else
8549 ac_cpp_err=
8551 else
8552 ac_cpp_err=yes
8554 if test -z "$ac_cpp_err"; then
8555 ac_header_preproc=yes
8556 else
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.$ac_ext >&5
8560 ac_header_preproc=no
8563 rm -f conftest.err conftest.$ac_ext
8564 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8565 echo "${ECHO_T}$ac_header_preproc" >&6; }
8567 # So? What about this header?
8568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8569 yes:no: )
8570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8574 ac_header_preproc=yes
8576 no:yes:* )
8577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8589 ( cat <<\_ASBOX
8590 ## ------------------------------------ ##
8591 ## Report this to wine-devel@winehq.org ##
8592 ## ------------------------------------ ##
8593 _ASBOX
8594 ) | sed "s/^/$as_me: WARNING: /" >&2
8596 esac
8597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8601 else
8602 eval "$as_ac_Header=\$ac_header_preproc"
8604 ac_res=`eval echo '${'$as_ac_Header'}'`
8605 { echo "$as_me:$LINENO: result: $ac_res" >&5
8606 echo "${ECHO_T}$ac_res" >&6; }
8609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8610 cat >>confdefs.h <<_ACEOF
8611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8612 _ACEOF
8616 done
8618 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8619 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8620 if test "${ac_cv_header_stat_broken+set}" = set; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 else
8623 cat >conftest.$ac_ext <<_ACEOF
8624 /* confdefs.h. */
8625 _ACEOF
8626 cat confdefs.h >>conftest.$ac_ext
8627 cat >>conftest.$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8629 #include <sys/types.h>
8630 #include <sys/stat.h>
8632 #if defined S_ISBLK && defined S_IFDIR
8633 # if S_ISBLK (S_IFDIR)
8634 You lose.
8635 # endif
8636 #endif
8638 #if defined S_ISBLK && defined S_IFCHR
8639 # if S_ISBLK (S_IFCHR)
8640 You lose.
8641 # endif
8642 #endif
8644 #if defined S_ISLNK && defined S_IFREG
8645 # if S_ISLNK (S_IFREG)
8646 You lose.
8647 # endif
8648 #endif
8650 #if defined S_ISSOCK && defined S_IFREG
8651 # if S_ISSOCK (S_IFREG)
8652 You lose.
8653 # endif
8654 #endif
8656 _ACEOF
8657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8658 $EGREP "You lose" >/dev/null 2>&1; then
8659 ac_cv_header_stat_broken=yes
8660 else
8661 ac_cv_header_stat_broken=no
8663 rm -f conftest*
8666 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8667 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8668 if test $ac_cv_header_stat_broken = yes; then
8670 cat >>confdefs.h <<\_ACEOF
8671 #define STAT_MACROS_BROKEN 1
8672 _ACEOF
8682 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8688 echo $ECHO_N "(cached) $ECHO_C" >&6
8689 else
8690 cat >conftest.$ac_ext <<_ACEOF
8691 /* confdefs.h. */
8692 _ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8696 #include <sys/types.h>
8697 #if HAVE_SYS_PARAM_H
8698 # include <sys/param.h>
8699 #endif
8701 #include <$ac_header>
8702 _ACEOF
8703 rm -f conftest.$ac_objext
8704 if { (ac_try="$ac_compile"
8705 case "(($ac_try" in
8706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8707 *) ac_try_echo=$ac_try;;
8708 esac
8709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8710 (eval "$ac_compile") 2>conftest.er1
8711 ac_status=$?
8712 grep -v '^ *+' conftest.er1 >conftest.err
8713 rm -f conftest.er1
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8718 { (case "(($ac_try" in
8719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8721 esac
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_try") 2>&5
8724 ac_status=$?
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try='test -s conftest.$ac_objext'
8728 { (case "(($ac_try" in
8729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8730 *) ac_try_echo=$ac_try;;
8731 esac
8732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8733 (eval "$ac_try") 2>&5
8734 ac_status=$?
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); }; }; then
8737 eval "$as_ac_Header=yes"
8738 else
8739 echo "$as_me: failed program was:" >&5
8740 sed 's/^/| /' conftest.$ac_ext >&5
8742 eval "$as_ac_Header=no"
8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8747 ac_res=`eval echo '${'$as_ac_Header'}'`
8748 { echo "$as_me:$LINENO: result: $ac_res" >&5
8749 echo "${ECHO_T}$ac_res" >&6; }
8750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8751 cat >>confdefs.h <<_ACEOF
8752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8753 _ACEOF
8757 done
8766 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
8768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 else
8774 cat >conftest.$ac_ext <<_ACEOF
8775 /* confdefs.h. */
8776 _ACEOF
8777 cat confdefs.h >>conftest.$ac_ext
8778 cat >>conftest.$ac_ext <<_ACEOF
8779 /* end confdefs.h. */
8780 #include <sys/types.h>
8781 #if HAVE_SYS_SOCKET_H
8782 # include <sys/socket.h>
8783 #endif
8785 #include <$ac_header>
8786 _ACEOF
8787 rm -f conftest.$ac_objext
8788 if { (ac_try="$ac_compile"
8789 case "(($ac_try" in
8790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8791 *) ac_try_echo=$ac_try;;
8792 esac
8793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8794 (eval "$ac_compile") 2>conftest.er1
8795 ac_status=$?
8796 grep -v '^ *+' conftest.er1 >conftest.err
8797 rm -f conftest.er1
8798 cat conftest.err >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } &&
8801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8802 { (case "(($ac_try" in
8803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8804 *) ac_try_echo=$ac_try;;
8805 esac
8806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8807 (eval "$ac_try") 2>&5
8808 ac_status=$?
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); }; } &&
8811 { ac_try='test -s conftest.$ac_objext'
8812 { (case "(($ac_try" in
8813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8814 *) ac_try_echo=$ac_try;;
8815 esac
8816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8817 (eval "$ac_try") 2>&5
8818 ac_status=$?
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; }; then
8821 eval "$as_ac_Header=yes"
8822 else
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8826 eval "$as_ac_Header=no"
8829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8831 ac_res=`eval echo '${'$as_ac_Header'}'`
8832 { echo "$as_me:$LINENO: result: $ac_res" >&5
8833 echo "${ECHO_T}$ac_res" >&6; }
8834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8835 cat >>confdefs.h <<_ACEOF
8836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8837 _ACEOF
8841 done
8845 for ac_header in resolv.h
8847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 else
8853 cat >conftest.$ac_ext <<_ACEOF
8854 /* confdefs.h. */
8855 _ACEOF
8856 cat confdefs.h >>conftest.$ac_ext
8857 cat >>conftest.$ac_ext <<_ACEOF
8858 /* end confdefs.h. */
8859 #include <sys/types.h>
8860 #if HAVE_SYS_SOCKET_H
8861 # include <sys/socket.h>
8862 #endif
8863 #if HAVE_NETINET_IN_H
8864 # include <netinet/in.h>
8865 #endif
8866 #if HAVE_ARPA_NAMESER_H
8867 # include <arpa/nameser.h>
8868 #endif
8870 #include <$ac_header>
8871 _ACEOF
8872 rm -f conftest.$ac_objext
8873 if { (ac_try="$ac_compile"
8874 case "(($ac_try" in
8875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8877 esac
8878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879 (eval "$ac_compile") 2>conftest.er1
8880 ac_status=$?
8881 grep -v '^ *+' conftest.er1 >conftest.err
8882 rm -f conftest.er1
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8887 { (case "(($ac_try" in
8888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8889 *) ac_try_echo=$ac_try;;
8890 esac
8891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8892 (eval "$ac_try") 2>&5
8893 ac_status=$?
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try='test -s conftest.$ac_objext'
8897 { (case "(($ac_try" in
8898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8899 *) ac_try_echo=$ac_try;;
8900 esac
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8902 (eval "$ac_try") 2>&5
8903 ac_status=$?
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 eval "$as_ac_Header=yes"
8907 else
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8911 eval "$as_ac_Header=no"
8914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8916 ac_res=`eval echo '${'$as_ac_Header'}'`
8917 { echo "$as_me:$LINENO: result: $ac_res" >&5
8918 echo "${ECHO_T}$ac_res" >&6; }
8919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8920 cat >>confdefs.h <<_ACEOF
8921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8922 _ACEOF
8926 done
8930 for ac_header in ucontext.h
8932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8936 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 else
8938 cat >conftest.$ac_ext <<_ACEOF
8939 /* confdefs.h. */
8940 _ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8944 #include <signal.h>
8946 #include <$ac_header>
8947 _ACEOF
8948 rm -f conftest.$ac_objext
8949 if { (ac_try="$ac_compile"
8950 case "(($ac_try" in
8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8952 *) ac_try_echo=$ac_try;;
8953 esac
8954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8955 (eval "$ac_compile") 2>conftest.er1
8956 ac_status=$?
8957 grep -v '^ *+' conftest.er1 >conftest.err
8958 rm -f conftest.er1
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8963 { (case "(($ac_try" in
8964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8965 *) ac_try_echo=$ac_try;;
8966 esac
8967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8968 (eval "$ac_try") 2>&5
8969 ac_status=$?
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; } &&
8972 { ac_try='test -s conftest.$ac_objext'
8973 { (case "(($ac_try" in
8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8976 esac
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_try") 2>&5
8979 ac_status=$?
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 eval "$as_ac_Header=yes"
8983 else
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.$ac_ext >&5
8987 eval "$as_ac_Header=no"
8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992 ac_res=`eval echo '${'$as_ac_Header'}'`
8993 { echo "$as_me:$LINENO: result: $ac_res" >&5
8994 echo "${ECHO_T}$ac_res" >&6; }
8995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8996 cat >>confdefs.h <<_ACEOF
8997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8998 _ACEOF
9002 done
9007 for ac_header in linux/ipx.h linux/videodev.h
9009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 else
9015 cat >conftest.$ac_ext <<_ACEOF
9016 /* confdefs.h. */
9017 _ACEOF
9018 cat confdefs.h >>conftest.$ac_ext
9019 cat >>conftest.$ac_ext <<_ACEOF
9020 /* end confdefs.h. */
9021 #ifdef HAVE_SYS_TIME_H
9022 #include <sys/time.h>
9023 #endif
9024 #include <sys/types.h>
9025 #ifdef HAVE_ASM_TYPES_H
9026 #include <asm/types.h>
9027 #endif
9029 #include <$ac_header>
9030 _ACEOF
9031 rm -f conftest.$ac_objext
9032 if { (ac_try="$ac_compile"
9033 case "(($ac_try" in
9034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9035 *) ac_try_echo=$ac_try;;
9036 esac
9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9038 (eval "$ac_compile") 2>conftest.er1
9039 ac_status=$?
9040 grep -v '^ *+' conftest.er1 >conftest.err
9041 rm -f conftest.er1
9042 cat conftest.err >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } &&
9045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9046 { (case "(($ac_try" in
9047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048 *) ac_try_echo=$ac_try;;
9049 esac
9050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9051 (eval "$ac_try") 2>&5
9052 ac_status=$?
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); }; } &&
9055 { ac_try='test -s conftest.$ac_objext'
9056 { (case "(($ac_try" in
9057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058 *) ac_try_echo=$ac_try;;
9059 esac
9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061 (eval "$ac_try") 2>&5
9062 ac_status=$?
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; }; then
9065 eval "$as_ac_Header=yes"
9066 else
9067 echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.$ac_ext >&5
9070 eval "$as_ac_Header=no"
9073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9075 ac_res=`eval echo '${'$as_ac_Header'}'`
9076 { echo "$as_me:$LINENO: result: $ac_res" >&5
9077 echo "${ECHO_T}$ac_res" >&6; }
9078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9079 cat >>confdefs.h <<_ACEOF
9080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9081 _ACEOF
9085 done
9089 for ac_header in linux/capi.h
9091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 else
9097 cat >conftest.$ac_ext <<_ACEOF
9098 /* confdefs.h. */
9099 _ACEOF
9100 cat confdefs.h >>conftest.$ac_ext
9101 cat >>conftest.$ac_ext <<_ACEOF
9102 /* end confdefs.h. */
9103 #define __user
9105 #include <$ac_header>
9106 _ACEOF
9107 rm -f conftest.$ac_objext
9108 if { (ac_try="$ac_compile"
9109 case "(($ac_try" in
9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9111 *) ac_try_echo=$ac_try;;
9112 esac
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9114 (eval "$ac_compile") 2>conftest.er1
9115 ac_status=$?
9116 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9122 { (case "(($ac_try" in
9123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9124 *) ac_try_echo=$ac_try;;
9125 esac
9126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9127 (eval "$ac_try") 2>&5
9128 ac_status=$?
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; } &&
9131 { ac_try='test -s conftest.$ac_objext'
9132 { (case "(($ac_try" in
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9134 *) ac_try_echo=$ac_try;;
9135 esac
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_try") 2>&5
9138 ac_status=$?
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 eval "$as_ac_Header=yes"
9142 else
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 eval "$as_ac_Header=no"
9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9151 ac_res=`eval echo '${'$as_ac_Header'}'`
9152 { echo "$as_me:$LINENO: result: $ac_res" >&5
9153 echo "${ECHO_T}$ac_res" >&6; }
9154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9155 cat >>confdefs.h <<_ACEOF
9156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9157 _ACEOF
9161 done
9165 if test "$have_x" = "yes"
9166 then
9167 XLIB="-lXext -lX11"
9168 ac_save_CPPFLAGS="$CPPFLAGS"
9169 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9180 for ac_header in X11/Xlib.h \
9181 X11/XKBlib.h \
9182 X11/Xutil.h \
9183 X11/extensions/shape.h \
9184 X11/extensions/XInput.h \
9185 X11/extensions/XShm.h \
9186 X11/extensions/Xrandr.h \
9187 X11/extensions/Xrender.h \
9188 X11/extensions/xf86vmode.h
9190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 else
9196 cat >conftest.$ac_ext <<_ACEOF
9197 /* confdefs.h. */
9198 _ACEOF
9199 cat confdefs.h >>conftest.$ac_ext
9200 cat >>conftest.$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9202 #ifdef HAVE_X11_XLIB_H
9203 # include <X11/Xlib.h>
9204 #endif
9205 #ifdef HAVE_X11_XUTIL_H
9206 # include <X11/Xutil.h>
9207 #endif
9209 #include <$ac_header>
9210 _ACEOF
9211 rm -f conftest.$ac_objext
9212 if { (ac_try="$ac_compile"
9213 case "(($ac_try" in
9214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9215 *) ac_try_echo=$ac_try;;
9216 esac
9217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9218 (eval "$ac_compile") 2>conftest.er1
9219 ac_status=$?
9220 grep -v '^ *+' conftest.er1 >conftest.err
9221 rm -f conftest.er1
9222 cat conftest.err >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } &&
9225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9226 { (case "(($ac_try" in
9227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9228 *) ac_try_echo=$ac_try;;
9229 esac
9230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231 (eval "$ac_try") 2>&5
9232 ac_status=$?
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); }; } &&
9235 { ac_try='test -s conftest.$ac_objext'
9236 { (case "(($ac_try" in
9237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9238 *) ac_try_echo=$ac_try;;
9239 esac
9240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9241 (eval "$ac_try") 2>&5
9242 ac_status=$?
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 eval "$as_ac_Header=yes"
9246 else
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 eval "$as_ac_Header=no"
9253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9255 ac_res=`eval echo '${'$as_ac_Header'}'`
9256 { echo "$as_me:$LINENO: result: $ac_res" >&5
9257 echo "${ECHO_T}$ac_res" >&6; }
9258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9259 cat >>confdefs.h <<_ACEOF
9260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9261 _ACEOF
9265 done
9268 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9269 then
9270 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9271 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9272 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9274 else
9275 ac_check_lib_save_LIBS=$LIBS
9276 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9277 cat >conftest.$ac_ext <<_ACEOF
9278 /* confdefs.h. */
9279 _ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char XkbQueryExtension ();
9292 main ()
9294 return XkbQueryExtension ();
9296 return 0;
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (ac_try="$ac_link"
9301 case "(($ac_try" in
9302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9304 esac
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_link") 2>conftest.er1
9307 ac_status=$?
9308 grep -v '^ *+' conftest.er1 >conftest.err
9309 rm -f conftest.er1
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9317 esac
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9320 ac_status=$?
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; } &&
9323 { ac_try='test -s conftest$ac_exeext'
9324 { (case "(($ac_try" in
9325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9326 *) ac_try_echo=$ac_try;;
9327 esac
9328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9329 (eval "$ac_try") 2>&5
9330 ac_status=$?
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 ac_cv_lib_X11_XkbQueryExtension=yes
9334 else
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.$ac_ext >&5
9338 ac_cv_lib_X11_XkbQueryExtension=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 LIBS=$ac_check_lib_save_LIBS
9345 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9346 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9347 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9349 cat >>confdefs.h <<\_ACEOF
9350 #define HAVE_XKB 1
9351 _ACEOF
9357 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9358 then
9359 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9360 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9361 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 else
9364 ac_check_lib_save_LIBS=$LIBS
9365 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9366 cat >conftest.$ac_ext <<_ACEOF
9367 /* confdefs.h. */
9368 _ACEOF
9369 cat confdefs.h >>conftest.$ac_ext
9370 cat >>conftest.$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char XShmQueryExtension ();
9381 main ()
9383 return XShmQueryExtension ();
9385 return 0;
9387 _ACEOF
9388 rm -f conftest.$ac_objext conftest$ac_exeext
9389 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
9396 ac_status=$?
9397 grep -v '^ *+' conftest.er1 >conftest.err
9398 rm -f conftest.er1
9399 cat conftest.err >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9403 { (case "(($ac_try" in
9404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9405 *) ac_try_echo=$ac_try;;
9406 esac
9407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9408 (eval "$ac_try") 2>&5
9409 ac_status=$?
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); }; } &&
9412 { ac_try='test -s conftest$ac_exeext'
9413 { (case "(($ac_try" in
9414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9415 *) ac_try_echo=$ac_try;;
9416 esac
9417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9418 (eval "$ac_try") 2>&5
9419 ac_status=$?
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 ac_cv_lib_Xext_XShmQueryExtension=yes
9423 else
9424 echo "$as_me: failed program was:" >&5
9425 sed 's/^/| /' conftest.$ac_ext >&5
9427 ac_cv_lib_Xext_XShmQueryExtension=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9435 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9436 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9438 cat >>confdefs.h <<\_ACEOF
9439 #define HAVE_LIBXXSHM 1
9440 _ACEOF
9446 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9447 then
9448 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9449 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9450 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 else
9453 ac_check_lib_save_LIBS=$LIBS
9454 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char XShapeQueryExtension ();
9470 main ()
9472 return XShapeQueryExtension ();
9474 return 0;
9476 _ACEOF
9477 rm -f conftest.$ac_objext conftest$ac_exeext
9478 if { (ac_try="$ac_link"
9479 case "(($ac_try" in
9480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9481 *) ac_try_echo=$ac_try;;
9482 esac
9483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9484 (eval "$ac_link") 2>conftest.er1
9485 ac_status=$?
9486 grep -v '^ *+' conftest.er1 >conftest.err
9487 rm -f conftest.er1
9488 cat conftest.err >&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9492 { (case "(($ac_try" in
9493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9494 *) ac_try_echo=$ac_try;;
9495 esac
9496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9497 (eval "$ac_try") 2>&5
9498 ac_status=$?
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; } &&
9501 { ac_try='test -s conftest$ac_exeext'
9502 { (case "(($ac_try" in
9503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9504 *) ac_try_echo=$ac_try;;
9505 esac
9506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9507 (eval "$ac_try") 2>&5
9508 ac_status=$?
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 ac_cv_lib_Xext_XShapeQueryExtension=yes
9512 else
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.$ac_ext >&5
9516 ac_cv_lib_Xext_XShapeQueryExtension=no
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 LIBS=$ac_check_lib_save_LIBS
9523 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9524 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9525 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9527 cat >>confdefs.h <<\_ACEOF
9528 #define HAVE_LIBXSHAPE 1
9529 _ACEOF
9535 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9536 then
9537 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9538 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9539 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9544 cat >conftest.$ac_ext <<_ACEOF
9545 /* confdefs.h. */
9546 _ACEOF
9547 cat confdefs.h >>conftest.$ac_ext
9548 cat >>conftest.$ac_ext <<_ACEOF
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char XF86VidModeQueryExtension ();
9559 main ()
9561 return XF86VidModeQueryExtension ();
9563 return 0;
9565 _ACEOF
9566 rm -f conftest.$ac_objext conftest$ac_exeext
9567 if { (ac_try="$ac_link"
9568 case "(($ac_try" in
9569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9570 *) ac_try_echo=$ac_try;;
9571 esac
9572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9573 (eval "$ac_link") 2>conftest.er1
9574 ac_status=$?
9575 grep -v '^ *+' conftest.er1 >conftest.err
9576 rm -f conftest.er1
9577 cat conftest.err >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9581 { (case "(($ac_try" in
9582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9583 *) ac_try_echo=$ac_try;;
9584 esac
9585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9586 (eval "$ac_try") 2>&5
9587 ac_status=$?
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); }; } &&
9590 { ac_try='test -s conftest$ac_exeext'
9591 { (case "(($ac_try" in
9592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9593 *) ac_try_echo=$ac_try;;
9594 esac
9595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9596 (eval "$ac_try") 2>&5
9597 ac_status=$?
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; }; then
9600 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9601 else
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9605 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9613 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9614 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9616 cat >>confdefs.h <<\_ACEOF
9617 #define HAVE_LIBXXF86VM 1
9618 _ACEOF
9620 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9626 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9627 then
9628 cat >conftest.$ac_ext <<_ACEOF
9629 /* confdefs.h. */
9630 _ACEOF
9631 cat confdefs.h >>conftest.$ac_ext
9632 cat >>conftest.$ac_ext <<_ACEOF
9633 /* end confdefs.h. */
9634 #include <X11/Xlib.h>
9635 #include <X11/extensions/Xrandr.h>
9637 main ()
9639 static typeof(XRRSetScreenConfigAndRate) * func;
9641 return 0;
9643 _ACEOF
9644 rm -f conftest.$ac_objext
9645 if { (ac_try="$ac_compile"
9646 case "(($ac_try" in
9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9649 esac
9650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9651 (eval "$ac_compile") 2>conftest.er1
9652 ac_status=$?
9653 grep -v '^ *+' conftest.er1 >conftest.err
9654 rm -f conftest.er1
9655 cat conftest.err >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } &&
9658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9659 { (case "(($ac_try" in
9660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9661 *) ac_try_echo=$ac_try;;
9662 esac
9663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9664 (eval "$ac_try") 2>&5
9665 ac_status=$?
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; } &&
9668 { ac_try='test -s conftest.$ac_objext'
9669 { (case "(($ac_try" in
9670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9672 esac
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9674 (eval "$ac_try") 2>&5
9675 ac_status=$?
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9679 cat >>confdefs.h <<\_ACEOF
9680 #define HAVE_LIBXRANDR 1
9681 _ACEOF
9683 else
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9693 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9694 then
9695 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9696 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9697 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 else
9700 ac_check_lib_save_LIBS=$LIBS
9701 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9702 cat >conftest.$ac_ext <<_ACEOF
9703 /* confdefs.h. */
9704 _ACEOF
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9709 /* Override any GCC internal prototype to avoid an error.
9710 Use char because int might match the return type of a GCC
9711 builtin and then its argument prototype would still apply. */
9712 #ifdef __cplusplus
9713 extern "C"
9714 #endif
9715 char XRenderSetPictureTransform ();
9717 main ()
9719 return XRenderSetPictureTransform ();
9721 return 0;
9723 _ACEOF
9724 rm -f conftest.$ac_objext conftest$ac_exeext
9725 if { (ac_try="$ac_link"
9726 case "(($ac_try" in
9727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9729 esac
9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9731 (eval "$ac_link") 2>conftest.er1
9732 ac_status=$?
9733 grep -v '^ *+' conftest.er1 >conftest.err
9734 rm -f conftest.er1
9735 cat conftest.err >&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } &&
9738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9739 { (case "(($ac_try" in
9740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9741 *) ac_try_echo=$ac_try;;
9742 esac
9743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9744 (eval "$ac_try") 2>&5
9745 ac_status=$?
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; } &&
9748 { ac_try='test -s conftest$ac_exeext'
9749 { (case "(($ac_try" in
9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9752 esac
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_try") 2>&5
9755 ac_status=$?
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; }; then
9758 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9759 else
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9763 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_lib_save_LIBS
9770 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9771 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9772 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9774 cat >>confdefs.h <<\_ACEOF
9775 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9776 _ACEOF
9782 if test "x$with_opengl" != "xno"
9783 then
9788 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9791 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 else
9796 cat >conftest.$ac_ext <<_ACEOF
9797 /* confdefs.h. */
9798 _ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9802 #ifdef HAVE_GL_GLX_H
9803 # include <GL/glx.h>
9804 #endif
9806 #include <$ac_header>
9807 _ACEOF
9808 rm -f conftest.$ac_objext
9809 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
9816 ac_status=$?
9817 grep -v '^ *+' conftest.er1 >conftest.err
9818 rm -f conftest.er1
9819 cat conftest.err >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9823 { (case "(($ac_try" in
9824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9825 *) ac_try_echo=$ac_try;;
9826 esac
9827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9828 (eval "$ac_try") 2>&5
9829 ac_status=$?
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; } &&
9832 { ac_try='test -s conftest.$ac_objext'
9833 { (case "(($ac_try" in
9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9836 esac
9837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9838 (eval "$ac_try") 2>&5
9839 ac_status=$?
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); }; }; then
9842 eval "$as_ac_Header=yes"
9843 else
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9847 eval "$as_ac_Header=no"
9850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9852 ac_res=`eval echo '${'$as_ac_Header'}'`
9853 { echo "$as_me:$LINENO: result: $ac_res" >&5
9854 echo "${ECHO_T}$ac_res" >&6; }
9855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9856 cat >>confdefs.h <<_ACEOF
9857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9858 _ACEOF
9862 done
9864 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9865 then
9866 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9867 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9868 if test "${wine_cv_opengl_version_OK+set}" = set; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9870 else
9871 cat >conftest.$ac_ext <<_ACEOF
9872 /* confdefs.h. */
9873 _ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9877 #include <GL/gl.h>
9879 main ()
9881 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9883 return 0;
9885 _ACEOF
9886 rm -f conftest.$ac_objext
9887 if { (ac_try="$ac_compile"
9888 case "(($ac_try" in
9889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9890 *) ac_try_echo=$ac_try;;
9891 esac
9892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9893 (eval "$ac_compile") 2>conftest.er1
9894 ac_status=$?
9895 grep -v '^ *+' conftest.er1 >conftest.err
9896 rm -f conftest.er1
9897 cat conftest.err >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9901 { (case "(($ac_try" in
9902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9903 *) ac_try_echo=$ac_try;;
9904 esac
9905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9906 (eval "$ac_try") 2>&5
9907 ac_status=$?
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; } &&
9910 { ac_try='test -s conftest.$ac_objext'
9911 { (case "(($ac_try" in
9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913 *) ac_try_echo=$ac_try;;
9914 esac
9915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9916 (eval "$ac_try") 2>&5
9917 ac_status=$?
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 wine_cv_opengl_version_OK="yes"
9921 else
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9925 wine_cv_opengl_version_OK="no"
9929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9932 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9933 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9935 if test "$wine_cv_opengl_version_OK" = "yes"
9936 then
9937 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9938 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9939 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 else
9942 ac_check_lib_save_LIBS=$LIBS
9943 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9944 cat >conftest.$ac_ext <<_ACEOF
9945 /* confdefs.h. */
9946 _ACEOF
9947 cat confdefs.h >>conftest.$ac_ext
9948 cat >>conftest.$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 #ifdef __cplusplus
9955 extern "C"
9956 #endif
9957 char glXCreateContext ();
9959 main ()
9961 return glXCreateContext ();
9963 return 0;
9965 _ACEOF
9966 rm -f conftest.$ac_objext conftest$ac_exeext
9967 if { (ac_try="$ac_link"
9968 case "(($ac_try" in
9969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9970 *) ac_try_echo=$ac_try;;
9971 esac
9972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9973 (eval "$ac_link") 2>conftest.er1
9974 ac_status=$?
9975 grep -v '^ *+' conftest.er1 >conftest.err
9976 rm -f conftest.er1
9977 cat conftest.err >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } &&
9980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9981 { (case "(($ac_try" in
9982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9983 *) ac_try_echo=$ac_try;;
9984 esac
9985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9986 (eval "$ac_try") 2>&5
9987 ac_status=$?
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); }; } &&
9990 { ac_try='test -s conftest$ac_exeext'
9991 { (case "(($ac_try" in
9992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9993 *) ac_try_echo=$ac_try;;
9994 esac
9995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9996 (eval "$ac_try") 2>&5
9997 ac_status=$?
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_cv_lib_GL_glXCreateContext=yes
10001 else
10002 echo "$as_me: failed program was:" >&5
10003 sed 's/^/| /' conftest.$ac_ext >&5
10005 ac_cv_lib_GL_glXCreateContext=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_lib_save_LIBS
10012 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10013 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10014 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10015 OPENGL_LIBS="-lGL"
10020 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10021 then
10022 OPENGLFILES='$(OPENGLFILES)'
10024 cat >>confdefs.h <<\_ACEOF
10025 #define HAVE_OPENGL 1
10026 _ACEOF
10028 else
10029 if test -f /usr/X11R6/lib/libGL.a
10030 then
10031 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10032 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10033 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10034 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10035 { (exit 1); exit 1; }; }
10039 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10040 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10041 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10044 ac_check_lib_save_LIBS=$LIBS
10045 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10046 $LIBS"
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10057 #ifdef __cplusplus
10058 extern "C"
10059 #endif
10060 char gluLookAt ();
10062 main ()
10064 return gluLookAt ();
10066 return 0;
10068 _ACEOF
10069 rm -f conftest.$ac_objext conftest$ac_exeext
10070 if { (ac_try="$ac_link"
10071 case "(($ac_try" in
10072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10073 *) ac_try_echo=$ac_try;;
10074 esac
10075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10076 (eval "$ac_link") 2>conftest.er1
10077 ac_status=$?
10078 grep -v '^ *+' conftest.er1 >conftest.err
10079 rm -f conftest.er1
10080 cat conftest.err >&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); } &&
10083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10084 { (case "(($ac_try" in
10085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10086 *) ac_try_echo=$ac_try;;
10087 esac
10088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10089 (eval "$ac_try") 2>&5
10090 ac_status=$?
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; } &&
10093 { ac_try='test -s conftest$ac_exeext'
10094 { (case "(($ac_try" in
10095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10096 *) ac_try_echo=$ac_try;;
10097 esac
10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10099 (eval "$ac_try") 2>&5
10100 ac_status=$?
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; }; then
10103 ac_cv_lib_GLU_gluLookAt=yes
10104 else
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.$ac_ext >&5
10108 ac_cv_lib_GLU_gluLookAt=no
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_lib_save_LIBS
10115 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10116 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10117 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10118 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10119 GLU32FILES='$(GLU32FILES)'
10125 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10126 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10127 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 ac_check_lib_save_LIBS=$LIBS
10131 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10132 cat >conftest.$ac_ext <<_ACEOF
10133 /* confdefs.h. */
10134 _ACEOF
10135 cat confdefs.h >>conftest.$ac_ext
10136 cat >>conftest.$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char glutMainLoop ();
10147 main ()
10149 return glutMainLoop ();
10151 return 0;
10153 _ACEOF
10154 rm -f conftest.$ac_objext conftest$ac_exeext
10155 if { (ac_try="$ac_link"
10156 case "(($ac_try" in
10157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10158 *) ac_try_echo=$ac_try;;
10159 esac
10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10161 (eval "$ac_link") 2>conftest.er1
10162 ac_status=$?
10163 grep -v '^ *+' conftest.er1 >conftest.err
10164 rm -f conftest.er1
10165 cat conftest.err >&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } &&
10168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10169 { (case "(($ac_try" in
10170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10171 *) ac_try_echo=$ac_try;;
10172 esac
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_try") 2>&5
10175 ac_status=$?
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); }; } &&
10178 { ac_try='test -s conftest$ac_exeext'
10179 { (case "(($ac_try" in
10180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10182 esac
10183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10184 (eval "$ac_try") 2>&5
10185 ac_status=$?
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; }; then
10188 ac_cv_lib_glut_glutMainLoop=yes
10189 else
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 ac_cv_lib_glut_glutMainLoop=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10201 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10202 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10203 GLUT_LIBS="-lglut -lXmu -lXi"
10205 GLUT32FILES='$(GLUT32FILES)'
10212 NASLIBS=""
10215 for ac_header in audio/audiolib.h
10217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10219 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 ac_res=`eval echo '${'$as_ac_Header'}'`
10225 { echo "$as_me:$LINENO: result: $ac_res" >&5
10226 echo "${ECHO_T}$ac_res" >&6; }
10227 else
10228 # Is the header compilable?
10229 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10231 cat >conftest.$ac_ext <<_ACEOF
10232 /* confdefs.h. */
10233 _ACEOF
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237 $ac_includes_default
10238 #include <$ac_header>
10239 _ACEOF
10240 rm -f conftest.$ac_objext
10241 if { (ac_try="$ac_compile"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10245 esac
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_compile") 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10255 { (case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10258 esac
10259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_try") 2>&5
10261 ac_status=$?
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; } &&
10264 { ac_try='test -s conftest.$ac_objext'
10265 { (case "(($ac_try" in
10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10267 *) ac_try_echo=$ac_try;;
10268 esac
10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10270 (eval "$ac_try") 2>&5
10271 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; }; then
10274 ac_header_compiler=yes
10275 else
10276 echo "$as_me: failed program was:" >&5
10277 sed 's/^/| /' conftest.$ac_ext >&5
10279 ac_header_compiler=no
10282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10283 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10284 echo "${ECHO_T}$ac_header_compiler" >&6; }
10286 # Is the header present?
10287 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10289 cat >conftest.$ac_ext <<_ACEOF
10290 /* confdefs.h. */
10291 _ACEOF
10292 cat confdefs.h >>conftest.$ac_ext
10293 cat >>conftest.$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295 #include <$ac_header>
10296 _ACEOF
10297 if { (ac_try="$ac_cpp conftest.$ac_ext"
10298 case "(($ac_try" in
10299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10300 *) ac_try_echo=$ac_try;;
10301 esac
10302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10304 ac_status=$?
10305 grep -v '^ *+' conftest.er1 >conftest.err
10306 rm -f conftest.er1
10307 cat conftest.err >&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } >/dev/null; then
10310 if test -s conftest.err; then
10311 ac_cpp_err=$ac_c_preproc_warn_flag
10312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10313 else
10314 ac_cpp_err=
10316 else
10317 ac_cpp_err=yes
10319 if test -z "$ac_cpp_err"; then
10320 ac_header_preproc=yes
10321 else
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.$ac_ext >&5
10325 ac_header_preproc=no
10328 rm -f conftest.err conftest.$ac_ext
10329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10330 echo "${ECHO_T}$ac_header_preproc" >&6; }
10332 # So? What about this header?
10333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10334 yes:no: )
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10339 ac_header_preproc=yes
10341 no:yes:* )
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10354 ( cat <<\_ASBOX
10355 ## ------------------------------------ ##
10356 ## Report this to wine-devel@winehq.org ##
10357 ## ------------------------------------ ##
10358 _ASBOX
10359 ) | sed "s/^/$as_me: WARNING: /" >&2
10361 esac
10362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 else
10367 eval "$as_ac_Header=\$ac_header_preproc"
10369 ac_res=`eval echo '${'$as_ac_Header'}'`
10370 { echo "$as_me:$LINENO: result: $ac_res" >&5
10371 echo "${ECHO_T}$ac_res" >&6; }
10374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10375 cat >>confdefs.h <<_ACEOF
10376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10377 _ACEOF
10379 for ac_header in audio/soundlib.h
10381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10382 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 else
10387 cat >conftest.$ac_ext <<_ACEOF
10388 /* confdefs.h. */
10389 _ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10393 #include <audio/audiolib.h>
10395 #include <$ac_header>
10396 _ACEOF
10397 rm -f conftest.$ac_objext
10398 if { (ac_try="$ac_compile"
10399 case "(($ac_try" in
10400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10401 *) ac_try_echo=$ac_try;;
10402 esac
10403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10404 (eval "$ac_compile") 2>conftest.er1
10405 ac_status=$?
10406 grep -v '^ *+' conftest.er1 >conftest.err
10407 rm -f conftest.er1
10408 cat conftest.err >&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); } &&
10411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10412 { (case "(($ac_try" in
10413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10414 *) ac_try_echo=$ac_try;;
10415 esac
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_try") 2>&5
10418 ac_status=$?
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; } &&
10421 { ac_try='test -s conftest.$ac_objext'
10422 { (case "(($ac_try" in
10423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10424 *) ac_try_echo=$ac_try;;
10425 esac
10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 (eval "$ac_try") 2>&5
10428 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 eval "$as_ac_Header=yes"
10432 else
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10436 eval "$as_ac_Header=no"
10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10441 ac_res=`eval echo '${'$as_ac_Header'}'`
10442 { echo "$as_me:$LINENO: result: $ac_res" >&5
10443 echo "${ECHO_T}$ac_res" >&6; }
10444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10445 cat >>confdefs.h <<_ACEOF
10446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10447 _ACEOF
10451 done
10453 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10454 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10455 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10457 else
10458 ac_check_lib_save_LIBS=$LIBS
10459 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10460 cat >conftest.$ac_ext <<_ACEOF
10461 /* confdefs.h. */
10462 _ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10470 #ifdef __cplusplus
10471 extern "C"
10472 #endif
10473 char AuCreateFlow ();
10475 main ()
10477 return AuCreateFlow ();
10479 return 0;
10481 _ACEOF
10482 rm -f conftest.$ac_objext conftest$ac_exeext
10483 if { (ac_try="$ac_link"
10484 case "(($ac_try" in
10485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10486 *) ac_try_echo=$ac_try;;
10487 esac
10488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10489 (eval "$ac_link") 2>conftest.er1
10490 ac_status=$?
10491 grep -v '^ *+' conftest.er1 >conftest.err
10492 rm -f conftest.er1
10493 cat conftest.err >&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10497 { (case "(($ac_try" in
10498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10499 *) ac_try_echo=$ac_try;;
10500 esac
10501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10502 (eval "$ac_try") 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; } &&
10506 { ac_try='test -s conftest$ac_exeext'
10507 { (case "(($ac_try" in
10508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10509 *) ac_try_echo=$ac_try;;
10510 esac
10511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10512 (eval "$ac_try") 2>&5
10513 ac_status=$?
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 ac_cv_lib_audio_AuCreateFlow=yes
10517 else
10518 echo "$as_me: failed program was:" >&5
10519 sed 's/^/| /' conftest.$ac_ext >&5
10521 ac_cv_lib_audio_AuCreateFlow=no
10524 rm -f core conftest.err conftest.$ac_objext \
10525 conftest$ac_exeext conftest.$ac_ext
10526 LIBS=$ac_check_lib_save_LIBS
10528 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10529 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10530 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10532 cat >>confdefs.h <<\_ACEOF
10533 #define HAVE_NAS 1
10534 _ACEOF
10536 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10541 done
10544 CPPFLAGS="$ac_save_CPPFLAGS"
10545 XFILES='$(XFILES)'
10546 else
10547 XLIB=""
10548 X_CFLAGS=""
10549 X_LIBS=""
10553 XML2LIBS=""
10555 XML2INCL=""
10557 XSLTLIBS=""
10559 XSLTINCL=""
10561 if test "$PKG_CONFIG" != "false"
10562 then
10563 ac_save_CPPFLAGS="$CPPFLAGS"
10564 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10565 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10566 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10568 for ac_header in libxml/parser.h
10570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 ac_res=`eval echo '${'$as_ac_Header'}'`
10578 { echo "$as_me:$LINENO: result: $ac_res" >&5
10579 echo "${ECHO_T}$ac_res" >&6; }
10580 else
10581 # Is the header compilable?
10582 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10584 cat >conftest.$ac_ext <<_ACEOF
10585 /* confdefs.h. */
10586 _ACEOF
10587 cat confdefs.h >>conftest.$ac_ext
10588 cat >>conftest.$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 $ac_includes_default
10591 #include <$ac_header>
10592 _ACEOF
10593 rm -f conftest.$ac_objext
10594 if { (ac_try="$ac_compile"
10595 case "(($ac_try" in
10596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10597 *) ac_try_echo=$ac_try;;
10598 esac
10599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10600 (eval "$ac_compile") 2>conftest.er1
10601 ac_status=$?
10602 grep -v '^ *+' conftest.er1 >conftest.err
10603 rm -f conftest.er1
10604 cat conftest.err >&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); } &&
10607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10608 { (case "(($ac_try" in
10609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10610 *) ac_try_echo=$ac_try;;
10611 esac
10612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10613 (eval "$ac_try") 2>&5
10614 ac_status=$?
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; } &&
10617 { ac_try='test -s conftest.$ac_objext'
10618 { (case "(($ac_try" in
10619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10620 *) ac_try_echo=$ac_try;;
10621 esac
10622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10623 (eval "$ac_try") 2>&5
10624 ac_status=$?
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10627 ac_header_compiler=yes
10628 else
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10632 ac_header_compiler=no
10635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10636 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10637 echo "${ECHO_T}$ac_header_compiler" >&6; }
10639 # Is the header present?
10640 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10642 cat >conftest.$ac_ext <<_ACEOF
10643 /* confdefs.h. */
10644 _ACEOF
10645 cat confdefs.h >>conftest.$ac_ext
10646 cat >>conftest.$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10648 #include <$ac_header>
10649 _ACEOF
10650 if { (ac_try="$ac_cpp conftest.$ac_ext"
10651 case "(($ac_try" in
10652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10653 *) ac_try_echo=$ac_try;;
10654 esac
10655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10657 ac_status=$?
10658 grep -v '^ *+' conftest.er1 >conftest.err
10659 rm -f conftest.er1
10660 cat conftest.err >&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } >/dev/null; then
10663 if test -s conftest.err; then
10664 ac_cpp_err=$ac_c_preproc_warn_flag
10665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10666 else
10667 ac_cpp_err=
10669 else
10670 ac_cpp_err=yes
10672 if test -z "$ac_cpp_err"; then
10673 ac_header_preproc=yes
10674 else
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.$ac_ext >&5
10678 ac_header_preproc=no
10681 rm -f conftest.err conftest.$ac_ext
10682 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10683 echo "${ECHO_T}$ac_header_preproc" >&6; }
10685 # So? What about this header?
10686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10687 yes:no: )
10688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10692 ac_header_preproc=yes
10694 no:yes:* )
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10707 ( cat <<\_ASBOX
10708 ## ------------------------------------ ##
10709 ## Report this to wine-devel@winehq.org ##
10710 ## ------------------------------------ ##
10711 _ASBOX
10712 ) | sed "s/^/$as_me: WARNING: /" >&2
10714 esac
10715 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10717 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720 eval "$as_ac_Header=\$ac_header_preproc"
10722 ac_res=`eval echo '${'$as_ac_Header'}'`
10723 { echo "$as_me:$LINENO: result: $ac_res" >&5
10724 echo "${ECHO_T}$ac_res" >&6; }
10727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10728 cat >>confdefs.h <<_ACEOF
10729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10730 _ACEOF
10731 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10732 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10733 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 else
10736 ac_check_lib_save_LIBS=$LIBS
10737 LIBS="-lxml2 $ac_xml_libs $LIBS"
10738 cat >conftest.$ac_ext <<_ACEOF
10739 /* confdefs.h. */
10740 _ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10748 #ifdef __cplusplus
10749 extern "C"
10750 #endif
10751 char xmlParseMemory ();
10753 main ()
10755 return xmlParseMemory ();
10757 return 0;
10759 _ACEOF
10760 rm -f conftest.$ac_objext conftest$ac_exeext
10761 if { (ac_try="$ac_link"
10762 case "(($ac_try" in
10763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10764 *) ac_try_echo=$ac_try;;
10765 esac
10766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10767 (eval "$ac_link") 2>conftest.er1
10768 ac_status=$?
10769 grep -v '^ *+' conftest.er1 >conftest.err
10770 rm -f conftest.er1
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10775 { (case "(($ac_try" in
10776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 *) ac_try_echo=$ac_try;;
10778 esac
10779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10780 (eval "$ac_try") 2>&5
10781 ac_status=$?
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; } &&
10784 { ac_try='test -s conftest$ac_exeext'
10785 { (case "(($ac_try" in
10786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10787 *) ac_try_echo=$ac_try;;
10788 esac
10789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10790 (eval "$ac_try") 2>&5
10791 ac_status=$?
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; }; then
10794 ac_cv_lib_xml2_xmlParseMemory=yes
10795 else
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 ac_cv_lib_xml2_xmlParseMemory=no
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10807 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10808 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10810 cat >>confdefs.h <<\_ACEOF
10811 #define HAVE_LIBXML2 1
10812 _ACEOF
10814 XML2LIBS="$ac_xml_libs"
10815 XML2INCL="$ac_xml_cflags"
10818 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10819 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10820 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 else
10823 ac_check_lib_save_LIBS=$LIBS
10824 LIBS="-lxml2 $ac_xml_libs $LIBS"
10825 cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h. */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10835 #ifdef __cplusplus
10836 extern "C"
10837 #endif
10838 char xmlReadMemory ();
10840 main ()
10842 return xmlReadMemory ();
10844 return 0;
10846 _ACEOF
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
10855 ac_status=$?
10856 grep -v '^ *+' conftest.er1 >conftest.err
10857 rm -f conftest.er1
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10862 { (case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10865 esac
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_try") 2>&5
10868 ac_status=$?
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try='test -s conftest$ac_exeext'
10872 { (case "(($ac_try" in
10873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10875 esac
10876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10877 (eval "$ac_try") 2>&5
10878 ac_status=$?
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; }; then
10881 ac_cv_lib_xml2_xmlReadMemory=yes
10882 else
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10886 ac_cv_lib_xml2_xmlReadMemory=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10894 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10895 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10897 cat >>confdefs.h <<\_ACEOF
10898 #define HAVE_XMLREADMEMORY 1
10899 _ACEOF
10906 done
10908 CPPFLAGS="$ac_save_CPPFLAGS"
10909 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10910 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10911 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10914 for ac_header in libxslt/pattern.h libxslt/transform.h
10916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10921 else
10922 cat >conftest.$ac_ext <<_ACEOF
10923 /* confdefs.h. */
10924 _ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #ifdef HAVE_LIBXSLT_PATTERN_H
10929 # include <libxslt/pattern.h>
10930 #endif
10932 #include <$ac_header>
10933 _ACEOF
10934 rm -f conftest.$ac_objext
10935 if { (ac_try="$ac_compile"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10939 esac
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_compile") 2>conftest.er1
10942 ac_status=$?
10943 grep -v '^ *+' conftest.er1 >conftest.err
10944 rm -f conftest.er1
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10952 esac
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10955 ac_status=$?
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest.$ac_objext'
10959 { (case "(($ac_try" in
10960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10962 esac
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 eval "$as_ac_Header=yes"
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 eval "$as_ac_Header=no"
10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10978 ac_res=`eval echo '${'$as_ac_Header'}'`
10979 { echo "$as_me:$LINENO: result: $ac_res" >&5
10980 echo "${ECHO_T}$ac_res" >&6; }
10981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10982 cat >>confdefs.h <<_ACEOF
10983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10984 _ACEOF
10985 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10986 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10987 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 else
10990 ac_check_lib_save_LIBS=$LIBS
10991 LIBS="-lxslt $ac_xslt_libs $LIBS"
10992 cat >conftest.$ac_ext <<_ACEOF
10993 /* confdefs.h. */
10994 _ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char xsltCompilePattern ();
11007 main ()
11009 return xsltCompilePattern ();
11011 return 0;
11013 _ACEOF
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (ac_try="$ac_link"
11016 case "(($ac_try" in
11017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11018 *) ac_try_echo=$ac_try;;
11019 esac
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021 (eval "$ac_link") 2>conftest.er1
11022 ac_status=$?
11023 grep -v '^ *+' conftest.er1 >conftest.err
11024 rm -f conftest.er1
11025 cat conftest.err >&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); } &&
11028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11029 { (case "(($ac_try" in
11030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11031 *) ac_try_echo=$ac_try;;
11032 esac
11033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11034 (eval "$ac_try") 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; } &&
11038 { ac_try='test -s conftest$ac_exeext'
11039 { (case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11042 esac
11043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 (eval "$ac_try") 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 ac_cv_lib_xslt_xsltCompilePattern=yes
11049 else
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11053 ac_cv_lib_xslt_xsltCompilePattern=no
11056 rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS
11060 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11061 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11062 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11064 cat >>confdefs.h <<\_ACEOF
11065 #define HAVE_LIBXSLT 1
11066 _ACEOF
11068 XSLTLIBS="$ac_xslt_libs"
11069 XSLTINCL="$ac_xslt_cflags"
11075 done
11077 CPPFLAGS="$ac_save_CPPFLAGS"
11080 HALINCL=""
11082 if test "$PKG_CONFIG" != "false"
11083 then
11084 ac_save_CPPFLAGS="$CPPFLAGS"
11085 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11086 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11087 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11090 for ac_header in dbus/dbus.h hal/libhal.h
11092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 ac_res=`eval echo '${'$as_ac_Header'}'`
11100 { echo "$as_me:$LINENO: result: $ac_res" >&5
11101 echo "${ECHO_T}$ac_res" >&6; }
11102 else
11103 # Is the header compilable?
11104 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11106 cat >conftest.$ac_ext <<_ACEOF
11107 /* confdefs.h. */
11108 _ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11112 $ac_includes_default
11113 #include <$ac_header>
11114 _ACEOF
11115 rm -f conftest.$ac_objext
11116 if { (ac_try="$ac_compile"
11117 case "(($ac_try" in
11118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11119 *) ac_try_echo=$ac_try;;
11120 esac
11121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11122 (eval "$ac_compile") 2>conftest.er1
11123 ac_status=$?
11124 grep -v '^ *+' conftest.er1 >conftest.err
11125 rm -f conftest.er1
11126 cat conftest.err >&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
11129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11130 { (case "(($ac_try" in
11131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11132 *) ac_try_echo=$ac_try;;
11133 esac
11134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11135 (eval "$ac_try") 2>&5
11136 ac_status=$?
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; } &&
11139 { ac_try='test -s conftest.$ac_objext'
11140 { (case "(($ac_try" in
11141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11142 *) ac_try_echo=$ac_try;;
11143 esac
11144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11145 (eval "$ac_try") 2>&5
11146 ac_status=$?
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_header_compiler=yes
11150 else
11151 echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.$ac_ext >&5
11154 ac_header_compiler=no
11157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11158 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11159 echo "${ECHO_T}$ac_header_compiler" >&6; }
11161 # Is the header present?
11162 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11164 cat >conftest.$ac_ext <<_ACEOF
11165 /* confdefs.h. */
11166 _ACEOF
11167 cat confdefs.h >>conftest.$ac_ext
11168 cat >>conftest.$ac_ext <<_ACEOF
11169 /* end confdefs.h. */
11170 #include <$ac_header>
11171 _ACEOF
11172 if { (ac_try="$ac_cpp conftest.$ac_ext"
11173 case "(($ac_try" in
11174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11175 *) ac_try_echo=$ac_try;;
11176 esac
11177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11179 ac_status=$?
11180 grep -v '^ *+' conftest.er1 >conftest.err
11181 rm -f conftest.er1
11182 cat conftest.err >&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); } >/dev/null; then
11185 if test -s conftest.err; then
11186 ac_cpp_err=$ac_c_preproc_warn_flag
11187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11188 else
11189 ac_cpp_err=
11191 else
11192 ac_cpp_err=yes
11194 if test -z "$ac_cpp_err"; then
11195 ac_header_preproc=yes
11196 else
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.$ac_ext >&5
11200 ac_header_preproc=no
11203 rm -f conftest.err conftest.$ac_ext
11204 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11205 echo "${ECHO_T}$ac_header_preproc" >&6; }
11207 # So? What about this header?
11208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11209 yes:no: )
11210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11214 ac_header_preproc=yes
11216 no:yes:* )
11217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11229 ( cat <<\_ASBOX
11230 ## ------------------------------------ ##
11231 ## Report this to wine-devel@winehq.org ##
11232 ## ------------------------------------ ##
11233 _ASBOX
11234 ) | sed "s/^/$as_me: WARNING: /" >&2
11236 esac
11237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242 eval "$as_ac_Header=\$ac_header_preproc"
11244 ac_res=`eval echo '${'$as_ac_Header'}'`
11245 { echo "$as_me:$LINENO: result: $ac_res" >&5
11246 echo "${ECHO_T}$ac_res" >&6; }
11249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11250 cat >>confdefs.h <<_ACEOF
11251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11252 _ACEOF
11256 done
11258 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11259 then
11260 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11261 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11262 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 else
11265 ac_check_lib_save_LIBS=$LIBS
11266 LIBS="-lhal $LIBS"
11267 cat >conftest.$ac_ext <<_ACEOF
11268 /* confdefs.h. */
11269 _ACEOF
11270 cat confdefs.h >>conftest.$ac_ext
11271 cat >>conftest.$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11277 #ifdef __cplusplus
11278 extern "C"
11279 #endif
11280 char libhal_ctx_new ();
11282 main ()
11284 return libhal_ctx_new ();
11286 return 0;
11288 _ACEOF
11289 rm -f conftest.$ac_objext conftest$ac_exeext
11290 if { (ac_try="$ac_link"
11291 case "(($ac_try" in
11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11294 esac
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_link") 2>conftest.er1
11297 ac_status=$?
11298 grep -v '^ *+' conftest.er1 >conftest.err
11299 rm -f conftest.er1
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } &&
11303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11304 { (case "(($ac_try" in
11305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11306 *) ac_try_echo=$ac_try;;
11307 esac
11308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11309 (eval "$ac_try") 2>&5
11310 ac_status=$?
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; } &&
11313 { ac_try='test -s conftest$ac_exeext'
11314 { (case "(($ac_try" in
11315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11316 *) ac_try_echo=$ac_try;;
11317 esac
11318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11319 (eval "$ac_try") 2>&5
11320 ac_status=$?
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_cv_lib_hal_libhal_ctx_new=yes
11324 else
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11328 ac_cv_lib_hal_libhal_ctx_new=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11336 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11337 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11338 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11339 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11340 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11342 else
11343 ac_check_lib_save_LIBS=$LIBS
11344 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11345 cat >conftest.$ac_ext <<_ACEOF
11346 /* confdefs.h. */
11347 _ACEOF
11348 cat confdefs.h >>conftest.$ac_ext
11349 cat >>conftest.$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char dbus_connection_close ();
11360 main ()
11362 return dbus_connection_close ();
11364 return 0;
11366 _ACEOF
11367 rm -f conftest.$ac_objext conftest$ac_exeext
11368 if { (ac_try="$ac_link"
11369 case "(($ac_try" in
11370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11371 *) ac_try_echo=$ac_try;;
11372 esac
11373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11374 (eval "$ac_link") 2>conftest.er1
11375 ac_status=$?
11376 grep -v '^ *+' conftest.er1 >conftest.err
11377 rm -f conftest.er1
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11382 { (case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11385 esac
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_try") 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; } &&
11391 { ac_try='test -s conftest$ac_exeext'
11392 { (case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11395 esac
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_try") 2>&5
11398 ac_status=$?
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_cv_lib_dbus_1_dbus_connection_close=yes
11402 else
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.$ac_ext >&5
11406 ac_cv_lib_dbus_1_dbus_connection_close=no
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_lib_save_LIBS
11413 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11414 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11415 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11417 cat >>confdefs.h <<\_ACEOF
11418 #define HAVE_LIBHAL 1
11419 _ACEOF
11421 HALINCL="$ac_hal_cflags"
11427 CPPFLAGS="$ac_save_CPPFLAGS"
11430 CURSESLIBS=""
11431 if test "x$with_curses" != "xno"
11432 then
11433 if test "$ac_cv_header_ncurses_h" = "yes"
11434 then
11435 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11436 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11437 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 else
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-lncurses $LIBS"
11442 cat >conftest.$ac_ext <<_ACEOF
11443 /* confdefs.h. */
11444 _ACEOF
11445 cat confdefs.h >>conftest.$ac_ext
11446 cat >>conftest.$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char waddch ();
11457 main ()
11459 return waddch ();
11461 return 0;
11463 _ACEOF
11464 rm -f conftest.$ac_objext conftest$ac_exeext
11465 if { (ac_try="$ac_link"
11466 case "(($ac_try" in
11467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11468 *) ac_try_echo=$ac_try;;
11469 esac
11470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11471 (eval "$ac_link") 2>conftest.er1
11472 ac_status=$?
11473 grep -v '^ *+' conftest.er1 >conftest.err
11474 rm -f conftest.er1
11475 cat conftest.err >&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } &&
11478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11479 { (case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11482 esac
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_try") 2>&5
11485 ac_status=$?
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; } &&
11488 { ac_try='test -s conftest$ac_exeext'
11489 { (case "(($ac_try" in
11490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11491 *) ac_try_echo=$ac_try;;
11492 esac
11493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11494 (eval "$ac_try") 2>&5
11495 ac_status=$?
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; }; then
11498 ac_cv_lib_ncurses_waddch=yes
11499 else
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11503 ac_cv_lib_ncurses_waddch=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11511 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11512 if test $ac_cv_lib_ncurses_waddch = yes; then
11514 cat >>confdefs.h <<\_ACEOF
11515 #define HAVE_LIBNCURSES 1
11516 _ACEOF
11518 CURSESLIBS="-lncurses"
11521 elif test "$ac_cv_header_curses_h" = "yes"
11522 then
11523 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11524 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11525 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11526 echo $ECHO_N "(cached) $ECHO_C" >&6
11527 else
11528 ac_check_lib_save_LIBS=$LIBS
11529 LIBS="-lcurses $LIBS"
11530 cat >conftest.$ac_ext <<_ACEOF
11531 /* confdefs.h. */
11532 _ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char waddch ();
11545 main ()
11547 return waddch ();
11549 return 0;
11551 _ACEOF
11552 rm -f conftest.$ac_objext conftest$ac_exeext
11553 if { (ac_try="$ac_link"
11554 case "(($ac_try" in
11555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11556 *) ac_try_echo=$ac_try;;
11557 esac
11558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11559 (eval "$ac_link") 2>conftest.er1
11560 ac_status=$?
11561 grep -v '^ *+' conftest.er1 >conftest.err
11562 rm -f conftest.er1
11563 cat conftest.err >&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11567 { (case "(($ac_try" in
11568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11569 *) ac_try_echo=$ac_try;;
11570 esac
11571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11572 (eval "$ac_try") 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest$ac_exeext'
11577 { (case "(($ac_try" in
11578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11579 *) ac_try_echo=$ac_try;;
11580 esac
11581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11582 (eval "$ac_try") 2>&5
11583 ac_status=$?
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_cv_lib_curses_waddch=yes
11587 else
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11591 ac_cv_lib_curses_waddch=no
11594 rm -f core conftest.err conftest.$ac_objext \
11595 conftest$ac_exeext conftest.$ac_ext
11596 LIBS=$ac_check_lib_save_LIBS
11598 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11599 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11600 if test $ac_cv_lib_curses_waddch = yes; then
11602 cat >>confdefs.h <<\_ACEOF
11603 #define HAVE_LIBCURSES 1
11604 _ACEOF
11606 CURSESLIBS="-lcurses"
11610 ac_save_LIBS="$LIBS"
11611 LIBS="$LIBS $CURSESLIBS"
11613 for ac_func in mousemask
11615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11618 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 else
11621 cat >conftest.$ac_ext <<_ACEOF
11622 /* confdefs.h. */
11623 _ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11629 #define $ac_func innocuous_$ac_func
11631 /* System header to define __stub macros and hopefully few prototypes,
11632 which can conflict with char $ac_func (); below.
11633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11634 <limits.h> exists even on freestanding compilers. */
11636 #ifdef __STDC__
11637 # include <limits.h>
11638 #else
11639 # include <assert.h>
11640 #endif
11642 #undef $ac_func
11644 /* Override any GCC internal prototype to avoid an error.
11645 Use char because int might match the return type of a GCC
11646 builtin and then its argument prototype would still apply. */
11647 #ifdef __cplusplus
11648 extern "C"
11649 #endif
11650 char $ac_func ();
11651 /* The GNU C library defines this for functions which it implements
11652 to always fail with ENOSYS. Some functions are actually named
11653 something starting with __ and the normal name is an alias. */
11654 #if defined __stub_$ac_func || defined __stub___$ac_func
11655 choke me
11656 #endif
11659 main ()
11661 return $ac_func ();
11663 return 0;
11665 _ACEOF
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (ac_try="$ac_link"
11668 case "(($ac_try" in
11669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11671 esac
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_link") 2>conftest.er1
11674 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } &&
11680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11681 { (case "(($ac_try" in
11682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11683 *) ac_try_echo=$ac_try;;
11684 esac
11685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11686 (eval "$ac_try") 2>&5
11687 ac_status=$?
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try='test -s conftest$ac_exeext'
11691 { (case "(($ac_try" in
11692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11693 *) ac_try_echo=$ac_try;;
11694 esac
11695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11696 (eval "$ac_try") 2>&5
11697 ac_status=$?
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 eval "$as_ac_var=yes"
11701 else
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11705 eval "$as_ac_var=no"
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11711 ac_res=`eval echo '${'$as_ac_var'}'`
11712 { echo "$as_me:$LINENO: result: $ac_res" >&5
11713 echo "${ECHO_T}$ac_res" >&6; }
11714 if test `eval echo '${'$as_ac_var'}'` = yes; then
11715 cat >>confdefs.h <<_ACEOF
11716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11717 _ACEOF
11720 done
11722 LIBS="$ac_save_LIBS"
11726 # Extract the first word of "sane-config", so it can be a program name with args.
11727 set dummy sane-config; ac_word=$2
11728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11730 if test "${ac_cv_prog_sane_devel+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 else
11733 if test -n "$sane_devel"; then
11734 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11735 else
11736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11737 for as_dir in $PATH
11739 IFS=$as_save_IFS
11740 test -z "$as_dir" && as_dir=.
11741 for ac_exec_ext in '' $ac_executable_extensions; do
11742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11743 ac_cv_prog_sane_devel="sane-config"
11744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11745 break 2
11747 done
11748 done
11749 IFS=$as_save_IFS
11751 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11754 sane_devel=$ac_cv_prog_sane_devel
11755 if test -n "$sane_devel"; then
11756 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11757 echo "${ECHO_T}$sane_devel" >&6; }
11758 else
11759 { echo "$as_me:$LINENO: result: no" >&5
11760 echo "${ECHO_T}no" >&6; }
11764 SANELIBS=""
11766 SANEINCL=""
11768 if test "$sane_devel" != "no"
11769 then
11770 SANELIBS="`$sane_devel --libs`"
11771 SANEINCL="`$sane_devel --cflags`"
11772 ac_save_CPPFLAGS="$CPPFLAGS"
11773 ac_save_LIBS="$LIBS"
11774 CPPFLAGS="$CPPFLAGS $SANEINCL"
11775 LIBS="$LIBS $SANELIBS"
11776 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11777 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11778 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11779 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11783 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11784 else
11785 # Is the header compilable?
11786 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11787 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11788 cat >conftest.$ac_ext <<_ACEOF
11789 /* confdefs.h. */
11790 _ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 $ac_includes_default
11795 #include <sane/sane.h>
11796 _ACEOF
11797 rm -f conftest.$ac_objext
11798 if { (ac_try="$ac_compile"
11799 case "(($ac_try" in
11800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11801 *) ac_try_echo=$ac_try;;
11802 esac
11803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11804 (eval "$ac_compile") 2>conftest.er1
11805 ac_status=$?
11806 grep -v '^ *+' conftest.er1 >conftest.err
11807 rm -f conftest.er1
11808 cat conftest.err >&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); } &&
11811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11812 { (case "(($ac_try" in
11813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11814 *) ac_try_echo=$ac_try;;
11815 esac
11816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11817 (eval "$ac_try") 2>&5
11818 ac_status=$?
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try='test -s conftest.$ac_objext'
11822 { (case "(($ac_try" in
11823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11824 *) ac_try_echo=$ac_try;;
11825 esac
11826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11827 (eval "$ac_try") 2>&5
11828 ac_status=$?
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; }; then
11831 ac_header_compiler=yes
11832 else
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.$ac_ext >&5
11836 ac_header_compiler=no
11839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11840 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11841 echo "${ECHO_T}$ac_header_compiler" >&6; }
11843 # Is the header present?
11844 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11845 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11846 cat >conftest.$ac_ext <<_ACEOF
11847 /* confdefs.h. */
11848 _ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852 #include <sane/sane.h>
11853 _ACEOF
11854 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
11867 if test -s conftest.err; then
11868 ac_cpp_err=$ac_c_preproc_warn_flag
11869 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11870 else
11871 ac_cpp_err=
11873 else
11874 ac_cpp_err=yes
11876 if test -z "$ac_cpp_err"; then
11877 ac_header_preproc=yes
11878 else
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11882 ac_header_preproc=no
11885 rm -f conftest.err conftest.$ac_ext
11886 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11887 echo "${ECHO_T}$ac_header_preproc" >&6; }
11889 # So? What about this header?
11890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11891 yes:no: )
11892 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11893 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11895 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11896 ac_header_preproc=yes
11898 no:yes:* )
11899 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11900 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11901 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11902 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11903 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11904 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11906 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11908 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11910 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11911 ( cat <<\_ASBOX
11912 ## ------------------------------------ ##
11913 ## Report this to wine-devel@winehq.org ##
11914 ## ------------------------------------ ##
11915 _ASBOX
11916 ) | sed "s/^/$as_me: WARNING: /" >&2
11918 esac
11919 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11920 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11921 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else
11924 ac_cv_header_sane_sane_h=$ac_header_preproc
11926 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11927 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11930 if test $ac_cv_header_sane_sane_h = yes; then
11931 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11932 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11933 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lsane $LIBS"
11938 cat >conftest.$ac_ext <<_ACEOF
11939 /* confdefs.h. */
11940 _ACEOF
11941 cat confdefs.h >>conftest.$ac_ext
11942 cat >>conftest.$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char sane_open ();
11953 main ()
11955 return sane_open ();
11957 return 0;
11959 _ACEOF
11960 rm -f conftest.$ac_objext conftest$ac_exeext
11961 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
11968 ac_status=$?
11969 grep -v '^ *+' conftest.er1 >conftest.err
11970 rm -f conftest.er1
11971 cat conftest.err >&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11975 { (case "(($ac_try" in
11976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11977 *) ac_try_echo=$ac_try;;
11978 esac
11979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11980 (eval "$ac_try") 2>&5
11981 ac_status=$?
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (case "(($ac_try" in
11986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11987 *) ac_try_echo=$ac_try;;
11988 esac
11989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11990 (eval "$ac_try") 2>&5
11991 ac_status=$?
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); }; }; then
11994 ac_cv_lib_sane_sane_open=yes
11995 else
11996 echo "$as_me: failed program was:" >&5
11997 sed 's/^/| /' conftest.$ac_ext >&5
11999 ac_cv_lib_sane_sane_open=no
12002 rm -f core conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_lib_save_LIBS
12006 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12007 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12008 if test $ac_cv_lib_sane_sane_open = yes; then
12010 cat >>confdefs.h <<\_ACEOF
12011 #define HAVE_SANE 1
12012 _ACEOF
12014 else
12015 SANELIBS=""
12016 SANEINCL=""
12019 else
12020 SANELIBS=""
12021 SANEINCL=""
12025 LIBS="$ac_save_LIBS"
12026 CPPFLAGS="$ac_save_CPPFLAGS"
12029 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12030 set dummy gphoto2-config; ac_word=$2
12031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12033 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 else
12036 if test -n "$gphoto2_devel"; then
12037 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12038 else
12039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12040 for as_dir in $PATH
12042 IFS=$as_save_IFS
12043 test -z "$as_dir" && as_dir=.
12044 for ac_exec_ext in '' $ac_executable_extensions; do
12045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12046 ac_cv_prog_gphoto2_devel="gphoto2-config"
12047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12048 break 2
12050 done
12051 done
12052 IFS=$as_save_IFS
12054 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12057 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12058 if test -n "$gphoto2_devel"; then
12059 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12060 echo "${ECHO_T}$gphoto2_devel" >&6; }
12061 else
12062 { echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6; }
12067 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12068 set dummy gphoto2-port-config; ac_word=$2
12069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12071 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 else
12074 if test -n "$gphoto2port_devel"; then
12075 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12076 else
12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12078 for as_dir in $PATH
12080 IFS=$as_save_IFS
12081 test -z "$as_dir" && as_dir=.
12082 for ac_exec_ext in '' $ac_executable_extensions; do
12083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12084 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12086 break 2
12088 done
12089 done
12090 IFS=$as_save_IFS
12092 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12095 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12096 if test -n "$gphoto2port_devel"; then
12097 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12098 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12099 else
12100 { echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6; }
12105 GPHOTO2LIBS=""
12107 GPHOTO2INCL=""
12109 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12110 then
12111 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12112 GPHOTO2LIBS=""
12113 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12115 case "$i" in
12116 -L/usr/lib|-L/usr/lib64) ;;
12117 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12118 esac
12119 done
12120 ac_save_CPPFLAGS="$CPPFLAGS"
12121 ac_save_LIBS="$LIBS"
12122 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12123 LIBS="$LIBS $GPHOTO2LIBS"
12124 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12125 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12126 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12127 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12131 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12132 else
12133 # Is the header compilable?
12134 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12135 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12136 cat >conftest.$ac_ext <<_ACEOF
12137 /* confdefs.h. */
12138 _ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 $ac_includes_default
12143 #include <gphoto2-camera.h>
12144 _ACEOF
12145 rm -f conftest.$ac_objext
12146 if { (ac_try="$ac_compile"
12147 case "(($ac_try" in
12148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12149 *) ac_try_echo=$ac_try;;
12150 esac
12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12152 (eval "$ac_compile") 2>conftest.er1
12153 ac_status=$?
12154 grep -v '^ *+' conftest.er1 >conftest.err
12155 rm -f conftest.er1
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } &&
12159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12160 { (case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12163 esac
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_try") 2>&5
12166 ac_status=$?
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; } &&
12169 { ac_try='test -s conftest.$ac_objext'
12170 { (case "(($ac_try" in
12171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12172 *) ac_try_echo=$ac_try;;
12173 esac
12174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12175 (eval "$ac_try") 2>&5
12176 ac_status=$?
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; }; then
12179 ac_header_compiler=yes
12180 else
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12184 ac_header_compiler=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12188 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12189 echo "${ECHO_T}$ac_header_compiler" >&6; }
12191 # Is the header present?
12192 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12193 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12194 cat >conftest.$ac_ext <<_ACEOF
12195 /* confdefs.h. */
12196 _ACEOF
12197 cat confdefs.h >>conftest.$ac_ext
12198 cat >>conftest.$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12200 #include <gphoto2-camera.h>
12201 _ACEOF
12202 if { (ac_try="$ac_cpp conftest.$ac_ext"
12203 case "(($ac_try" in
12204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12205 *) ac_try_echo=$ac_try;;
12206 esac
12207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12209 ac_status=$?
12210 grep -v '^ *+' conftest.er1 >conftest.err
12211 rm -f conftest.er1
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } >/dev/null; then
12215 if test -s conftest.err; then
12216 ac_cpp_err=$ac_c_preproc_warn_flag
12217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12218 else
12219 ac_cpp_err=
12221 else
12222 ac_cpp_err=yes
12224 if test -z "$ac_cpp_err"; then
12225 ac_header_preproc=yes
12226 else
12227 echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.$ac_ext >&5
12230 ac_header_preproc=no
12233 rm -f conftest.err conftest.$ac_ext
12234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12235 echo "${ECHO_T}$ac_header_preproc" >&6; }
12237 # So? What about this header?
12238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12239 yes:no: )
12240 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12241 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12242 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12243 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12244 ac_header_preproc=yes
12246 no:yes:* )
12247 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12248 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12249 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12250 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12252 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12254 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12256 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12258 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12259 ( cat <<\_ASBOX
12260 ## ------------------------------------ ##
12261 ## Report this to wine-devel@winehq.org ##
12262 ## ------------------------------------ ##
12263 _ASBOX
12264 ) | sed "s/^/$as_me: WARNING: /" >&2
12266 esac
12267 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12268 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12269 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 else
12272 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12274 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12275 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12278 if test $ac_cv_header_gphoto2_camera_h = yes; then
12279 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12280 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12281 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 else
12284 ac_check_lib_save_LIBS=$LIBS
12285 LIBS="-lgphoto2 $LIBS"
12286 cat >conftest.$ac_ext <<_ACEOF
12287 /* confdefs.h. */
12288 _ACEOF
12289 cat confdefs.h >>conftest.$ac_ext
12290 cat >>conftest.$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char gp_camera_new ();
12301 main ()
12303 return gp_camera_new ();
12305 return 0;
12307 _ACEOF
12308 rm -f conftest.$ac_objext conftest$ac_exeext
12309 if { (ac_try="$ac_link"
12310 case "(($ac_try" in
12311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12312 *) ac_try_echo=$ac_try;;
12313 esac
12314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12315 (eval "$ac_link") 2>conftest.er1
12316 ac_status=$?
12317 grep -v '^ *+' conftest.er1 >conftest.err
12318 rm -f conftest.er1
12319 cat conftest.err >&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12323 { (case "(($ac_try" in
12324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12325 *) ac_try_echo=$ac_try;;
12326 esac
12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12328 (eval "$ac_try") 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try='test -s conftest$ac_exeext'
12333 { (case "(($ac_try" in
12334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12335 *) ac_try_echo=$ac_try;;
12336 esac
12337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12338 (eval "$ac_try") 2>&5
12339 ac_status=$?
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_lib_gphoto2_gp_camera_new=yes
12343 else
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.$ac_ext >&5
12347 ac_cv_lib_gphoto2_gp_camera_new=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12355 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12356 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12358 cat >>confdefs.h <<\_ACEOF
12359 #define HAVE_GPHOTO2 1
12360 _ACEOF
12362 else
12363 GPHOTO2LIBS=""
12364 GPHOTO2INCL=""
12367 else
12368 GPHOTO2LIBS=""
12369 GPHOTO2INCL=""
12373 LIBS="$ac_save_LIBS"
12374 CPPFLAGS="$ac_save_CPPFLAGS"
12377 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12378 then
12379 saved_libs="$LIBS"
12380 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12382 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12383 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12384 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12385 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12386 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12387 cat >conftest.$ac_ext <<_ACEOF
12388 /* confdefs.h. */
12389 _ACEOF
12390 cat confdefs.h >>conftest.$ac_ext
12391 cat >>conftest.$ac_ext <<_ACEOF
12392 /* end confdefs.h. */
12393 #include <unicode/ubidi.h>
12395 main ()
12397 ubidi_open()
12399 return 0;
12401 _ACEOF
12402 rm -f conftest.$ac_objext conftest$ac_exeext
12403 if { (ac_try="$ac_link"
12404 case "(($ac_try" in
12405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12406 *) ac_try_echo=$ac_try;;
12407 esac
12408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12409 (eval "$ac_link") 2>conftest.er1
12410 ac_status=$?
12411 grep -v '^ *+' conftest.er1 >conftest.err
12412 rm -f conftest.er1
12413 cat conftest.err >&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12417 { (case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12420 esac
12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_try") 2>&5
12423 ac_status=$?
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try='test -s conftest$ac_exeext'
12427 { (case "(($ac_try" in
12428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12429 *) ac_try_echo=$ac_try;;
12430 esac
12431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12432 (eval "$ac_try") 2>&5
12433 ac_status=$?
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12437 cat >>confdefs.h <<\_ACEOF
12438 #define HAVE_ICU 1
12439 _ACEOF
12441 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12443 { echo "$as_me:$LINENO: result: yes" >&5
12444 echo "${ECHO_T}yes" >&6; }
12445 else
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 { echo "$as_me:$LINENO: result: no" >&5
12450 echo "${ECHO_T}no" >&6; }
12453 rm -f core conftest.err conftest.$ac_objext \
12454 conftest$ac_exeext conftest.$ac_ext
12455 done
12456 LIBS="$saved_libs"
12459 RESOLVLIBS=""
12461 if test "$ac_cv_header_resolv_h" = "yes"
12462 then
12463 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12464 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12465 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 else
12468 ac_check_lib_save_LIBS=$LIBS
12469 LIBS="-lresolv $LIBS"
12470 cat >conftest.$ac_ext <<_ACEOF
12471 /* confdefs.h. */
12472 _ACEOF
12473 cat confdefs.h >>conftest.$ac_ext
12474 cat >>conftest.$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char res_query ();
12485 main ()
12487 return res_query ();
12489 return 0;
12491 _ACEOF
12492 rm -f conftest.$ac_objext conftest$ac_exeext
12493 if { (ac_try="$ac_link"
12494 case "(($ac_try" in
12495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12496 *) ac_try_echo=$ac_try;;
12497 esac
12498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12499 (eval "$ac_link") 2>conftest.er1
12500 ac_status=$?
12501 grep -v '^ *+' conftest.er1 >conftest.err
12502 rm -f conftest.er1
12503 cat conftest.err >&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12507 { (case "(($ac_try" in
12508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12509 *) ac_try_echo=$ac_try;;
12510 esac
12511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12512 (eval "$ac_try") 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try='test -s conftest$ac_exeext'
12517 { (case "(($ac_try" in
12518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12519 *) ac_try_echo=$ac_try;;
12520 esac
12521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12522 (eval "$ac_try") 2>&5
12523 ac_status=$?
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; }; then
12526 ac_cv_lib_resolv_res_query=yes
12527 else
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5
12531 ac_cv_lib_resolv_res_query=no
12534 rm -f core conftest.err conftest.$ac_objext \
12535 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_lib_save_LIBS
12538 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12539 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12540 if test $ac_cv_lib_resolv_res_query = yes; then
12542 cat >>confdefs.h <<\_ACEOF
12543 #define HAVE_RESOLV 1
12544 _ACEOF
12546 RESOLVLIBS="-lresolv"
12551 LCMSLIBS=""
12553 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12554 then
12555 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12556 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12557 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 else
12560 ac_check_lib_save_LIBS=$LIBS
12561 LIBS="-llcms $LIBS"
12562 cat >conftest.$ac_ext <<_ACEOF
12563 /* confdefs.h. */
12564 _ACEOF
12565 cat confdefs.h >>conftest.$ac_ext
12566 cat >>conftest.$ac_ext <<_ACEOF
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char cmsOpenProfileFromFile ();
12577 main ()
12579 return cmsOpenProfileFromFile ();
12581 return 0;
12583 _ACEOF
12584 rm -f conftest.$ac_objext conftest$ac_exeext
12585 if { (ac_try="$ac_link"
12586 case "(($ac_try" in
12587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12588 *) ac_try_echo=$ac_try;;
12589 esac
12590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12591 (eval "$ac_link") 2>conftest.er1
12592 ac_status=$?
12593 grep -v '^ *+' conftest.er1 >conftest.err
12594 rm -f conftest.er1
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } &&
12598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12599 { (case "(($ac_try" in
12600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12601 *) ac_try_echo=$ac_try;;
12602 esac
12603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12604 (eval "$ac_try") 2>&5
12605 ac_status=$?
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try='test -s conftest$ac_exeext'
12609 { (case "(($ac_try" in
12610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12611 *) ac_try_echo=$ac_try;;
12612 esac
12613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12614 (eval "$ac_try") 2>&5
12615 ac_status=$?
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; }; then
12618 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12619 else
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12623 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_lib_save_LIBS
12630 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12631 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12632 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12634 cat >>confdefs.h <<\_ACEOF
12635 #define HAVE_LCMS 1
12636 _ACEOF
12638 LCMSLIBS="-llcms"
12643 LDAPLIBS=""
12645 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12646 then
12647 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12648 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12649 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652 ac_check_lib_save_LIBS=$LIBS
12653 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12664 #ifdef __cplusplus
12665 extern "C"
12666 #endif
12667 char ldap_initialize ();
12669 main ()
12671 return ldap_initialize ();
12673 return 0;
12675 _ACEOF
12676 rm -f conftest.$ac_objext conftest$ac_exeext
12677 if { (ac_try="$ac_link"
12678 case "(($ac_try" in
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12681 esac
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12683 (eval "$ac_link") 2>conftest.er1
12684 ac_status=$?
12685 grep -v '^ *+' conftest.er1 >conftest.err
12686 rm -f conftest.er1
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12691 { (case "(($ac_try" in
12692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12693 *) ac_try_echo=$ac_try;;
12694 esac
12695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12696 (eval "$ac_try") 2>&5
12697 ac_status=$?
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; } &&
12700 { ac_try='test -s conftest$ac_exeext'
12701 { (case "(($ac_try" in
12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12704 esac
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_try") 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 ac_cv_lib_ldap_r_ldap_initialize=yes
12711 else
12712 echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.$ac_ext >&5
12715 ac_cv_lib_ldap_r_ldap_initialize=no
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_lib_save_LIBS
12722 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12723 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12724 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12725 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12726 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12727 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 else
12730 ac_check_lib_save_LIBS=$LIBS
12731 LIBS="-llber $LIBPTHREAD $LIBS"
12732 cat >conftest.$ac_ext <<_ACEOF
12733 /* confdefs.h. */
12734 _ACEOF
12735 cat confdefs.h >>conftest.$ac_ext
12736 cat >>conftest.$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char ber_init ();
12747 main ()
12749 return ber_init ();
12751 return 0;
12753 _ACEOF
12754 rm -f conftest.$ac_objext conftest$ac_exeext
12755 if { (ac_try="$ac_link"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12759 esac
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_link") 2>conftest.er1
12762 ac_status=$?
12763 grep -v '^ *+' conftest.er1 >conftest.err
12764 rm -f conftest.er1
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12769 { (case "(($ac_try" in
12770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12771 *) ac_try_echo=$ac_try;;
12772 esac
12773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12774 (eval "$ac_try") 2>&5
12775 ac_status=$?
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; } &&
12778 { ac_try='test -s conftest$ac_exeext'
12779 { (case "(($ac_try" in
12780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12781 *) ac_try_echo=$ac_try;;
12782 esac
12783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12784 (eval "$ac_try") 2>&5
12785 ac_status=$?
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; }; then
12788 ac_cv_lib_lber_ber_init=yes
12789 else
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 ac_cv_lib_lber_ber_init=no
12796 rm -f core conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_lib_save_LIBS
12800 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12801 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12802 if test $ac_cv_lib_lber_ber_init = yes; then
12804 cat >>confdefs.h <<\_ACEOF
12805 #define HAVE_LDAP 1
12806 _ACEOF
12808 LDAPLIBS="-lldap_r -llber"
12813 ac_wine_check_funcs_save_LIBS="$LIBS"
12814 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12819 for ac_func in \
12820 ldap_count_references \
12821 ldap_first_reference \
12822 ldap_next_reference \
12823 ldap_parse_reference
12825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 else
12831 cat >conftest.$ac_ext <<_ACEOF
12832 /* confdefs.h. */
12833 _ACEOF
12834 cat confdefs.h >>conftest.$ac_ext
12835 cat >>conftest.$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12839 #define $ac_func innocuous_$ac_func
12841 /* System header to define __stub macros and hopefully few prototypes,
12842 which can conflict with char $ac_func (); below.
12843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12844 <limits.h> exists even on freestanding compilers. */
12846 #ifdef __STDC__
12847 # include <limits.h>
12848 #else
12849 # include <assert.h>
12850 #endif
12852 #undef $ac_func
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12857 #ifdef __cplusplus
12858 extern "C"
12859 #endif
12860 char $ac_func ();
12861 /* The GNU C library defines this for functions which it implements
12862 to always fail with ENOSYS. Some functions are actually named
12863 something starting with __ and the normal name is an alias. */
12864 #if defined __stub_$ac_func || defined __stub___$ac_func
12865 choke me
12866 #endif
12869 main ()
12871 return $ac_func ();
12873 return 0;
12875 _ACEOF
12876 rm -f conftest.$ac_objext conftest$ac_exeext
12877 if { (ac_try="$ac_link"
12878 case "(($ac_try" in
12879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12880 *) ac_try_echo=$ac_try;;
12881 esac
12882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12883 (eval "$ac_link") 2>conftest.er1
12884 ac_status=$?
12885 grep -v '^ *+' conftest.er1 >conftest.err
12886 rm -f conftest.er1
12887 cat conftest.err >&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12891 { (case "(($ac_try" in
12892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12893 *) ac_try_echo=$ac_try;;
12894 esac
12895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12896 (eval "$ac_try") 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try='test -s conftest$ac_exeext'
12901 { (case "(($ac_try" in
12902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12903 *) ac_try_echo=$ac_try;;
12904 esac
12905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12906 (eval "$ac_try") 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 eval "$as_ac_var=yes"
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12915 eval "$as_ac_var=no"
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12921 ac_res=`eval echo '${'$as_ac_var'}'`
12922 { echo "$as_me:$LINENO: result: $ac_res" >&5
12923 echo "${ECHO_T}$ac_res" >&6; }
12924 if test `eval echo '${'$as_ac_var'}'` = yes; then
12925 cat >>confdefs.h <<_ACEOF
12926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12927 _ACEOF
12930 done
12932 LIBS="$ac_wine_check_funcs_save_LIBS"
12935 FREETYPELIBS=""
12937 FREETYPEINCL=""
12939 # Extract the first word of "freetype-config", so it can be a program name with args.
12940 set dummy freetype-config; ac_word=$2
12941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12943 if test "${ac_cv_prog_ft_devel+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 else
12946 if test -n "$ft_devel"; then
12947 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12948 else
12949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12950 for as_dir in $PATH
12952 IFS=$as_save_IFS
12953 test -z "$as_dir" && as_dir=.
12954 for ac_exec_ext in '' $ac_executable_extensions; do
12955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12956 ac_cv_prog_ft_devel="freetype-config"
12957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12958 break 2
12960 done
12961 done
12962 IFS=$as_save_IFS
12964 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12967 ft_devel=$ac_cv_prog_ft_devel
12968 if test -n "$ft_devel"; then
12969 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12970 echo "${ECHO_T}$ft_devel" >&6; }
12971 else
12972 { echo "$as_me:$LINENO: result: no" >&5
12973 echo "${ECHO_T}no" >&6; }
12977 if test "$ft_devel" = "no"
12978 then
12979 # Extract the first word of "freetype2-config", so it can be a program name with args.
12980 set dummy freetype2-config; ac_word=$2
12981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12983 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12986 if test -n "$ft_devel2"; then
12987 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12988 else
12989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12990 for as_dir in $PATH
12992 IFS=$as_save_IFS
12993 test -z "$as_dir" && as_dir=.
12994 for ac_exec_ext in '' $ac_executable_extensions; do
12995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12996 ac_cv_prog_ft_devel2="freetype2-config"
12997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12998 break 2
13000 done
13001 done
13002 IFS=$as_save_IFS
13004 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13007 ft_devel2=$ac_cv_prog_ft_devel2
13008 if test -n "$ft_devel2"; then
13009 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13010 echo "${ECHO_T}$ft_devel2" >&6; }
13011 else
13012 { echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6; }
13017 if test "$ft_devel2" = "freetype2-config"
13018 then
13019 ft_devel=$ft_devel2
13023 if test "$ft_devel" = "no"
13024 then
13025 wine_cv_msg_freetype=yes
13026 else
13027 FREETYPELIBS=`$ft_devel --libs`
13028 FREETYPEINCL=`$ft_devel --cflags`
13029 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13030 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13031 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13032 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 else
13034 ac_check_lib_save_LIBS=$LIBS
13035 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13046 #ifdef __cplusplus
13047 extern "C"
13048 #endif
13049 char FT_Init_FreeType ();
13051 main ()
13053 return FT_Init_FreeType ();
13055 return 0;
13057 _ACEOF
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (ac_try="$ac_link"
13060 case "(($ac_try" in
13061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13062 *) ac_try_echo=$ac_try;;
13063 esac
13064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13065 (eval "$ac_link") 2>conftest.er1
13066 ac_status=$?
13067 grep -v '^ *+' conftest.er1 >conftest.err
13068 rm -f conftest.er1
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13073 { (case "(($ac_try" in
13074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13075 *) ac_try_echo=$ac_try;;
13076 esac
13077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13078 (eval "$ac_try") 2>&5
13079 ac_status=$?
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; } &&
13082 { ac_try='test -s conftest$ac_exeext'
13083 { (case "(($ac_try" in
13084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13085 *) ac_try_echo=$ac_try;;
13086 esac
13087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13088 (eval "$ac_try") 2>&5
13089 ac_status=$?
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; }; then
13092 ac_cv_lib_freetype_FT_Init_FreeType=yes
13093 else
13094 echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.$ac_ext >&5
13097 ac_cv_lib_freetype_FT_Init_FreeType=no
13100 rm -f core conftest.err conftest.$ac_objext \
13101 conftest$ac_exeext conftest.$ac_ext
13102 LIBS=$ac_check_lib_save_LIBS
13104 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13105 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13106 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13107 ft_lib=yes
13108 else
13109 ft_lib=no
13112 if test "$ft_lib" = "no"
13113 then
13114 wine_cv_msg_freetype=yes
13115 FREETYPELIBS=""
13116 FREETYPEINCL=""
13117 else
13118 ac_save_CPPFLAGS="$CPPFLAGS"
13119 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13131 for ac_header in ft2build.h \
13132 freetype/freetype.h \
13133 freetype/ftglyph.h \
13134 freetype/tttables.h \
13135 freetype/ftnames.h \
13136 freetype/ftsnames.h \
13137 freetype/ttnameid.h \
13138 freetype/ftoutln.h \
13139 freetype/ftwinfnt.h \
13140 freetype/ftmodapi.h \
13141 freetype/internal/sfnt.h
13143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 else
13149 cat >conftest.$ac_ext <<_ACEOF
13150 /* confdefs.h. */
13151 _ACEOF
13152 cat confdefs.h >>conftest.$ac_ext
13153 cat >>conftest.$ac_ext <<_ACEOF
13154 /* end confdefs.h. */
13155 #if HAVE_FT2BUILD_H
13156 #include <ft2build.h>
13157 #endif
13159 #include <$ac_header>
13160 _ACEOF
13161 rm -f conftest.$ac_objext
13162 if { (ac_try="$ac_compile"
13163 case "(($ac_try" in
13164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13165 *) ac_try_echo=$ac_try;;
13166 esac
13167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13168 (eval "$ac_compile") 2>conftest.er1
13169 ac_status=$?
13170 grep -v '^ *+' conftest.er1 >conftest.err
13171 rm -f conftest.er1
13172 cat conftest.err >&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); } &&
13175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13176 { (case "(($ac_try" in
13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 *) ac_try_echo=$ac_try;;
13179 esac
13180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13181 (eval "$ac_try") 2>&5
13182 ac_status=$?
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; } &&
13185 { ac_try='test -s conftest.$ac_objext'
13186 { (case "(($ac_try" in
13187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188 *) ac_try_echo=$ac_try;;
13189 esac
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13191 (eval "$ac_try") 2>&5
13192 ac_status=$?
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; }; then
13195 eval "$as_ac_Header=yes"
13196 else
13197 echo "$as_me: failed program was:" >&5
13198 sed 's/^/| /' conftest.$ac_ext >&5
13200 eval "$as_ac_Header=no"
13203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13205 ac_res=`eval echo '${'$as_ac_Header'}'`
13206 { echo "$as_me:$LINENO: result: $ac_res" >&5
13207 echo "${ECHO_T}$ac_res" >&6; }
13208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13209 cat >>confdefs.h <<_ACEOF
13210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13211 _ACEOF
13215 done
13217 cat >conftest.$ac_ext <<_ACEOF
13218 /* confdefs.h. */
13219 _ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13223 #include <ft2build.h>
13224 #include <freetype/fttrigon.h>
13225 _ACEOF
13226 if { (ac_try="$ac_cpp conftest.$ac_ext"
13227 case "(($ac_try" in
13228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 *) ac_try_echo=$ac_try;;
13230 esac
13231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13233 ac_status=$?
13234 grep -v '^ *+' conftest.er1 >conftest.err
13235 rm -f conftest.er1
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev/null; then
13239 if test -s conftest.err; then
13240 ac_cpp_err=$ac_c_preproc_warn_flag
13241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13242 else
13243 ac_cpp_err=
13245 else
13246 ac_cpp_err=yes
13248 if test -z "$ac_cpp_err"; then
13250 cat >>confdefs.h <<\_ACEOF
13251 #define HAVE_FREETYPE_FTTRIGON_H 1
13252 _ACEOF
13254 wine_cv_fttrigon=yes
13255 else
13256 echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.$ac_ext >&5
13259 wine_cv_fttrigon=no
13262 rm -f conftest.err conftest.$ac_ext
13263 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13264 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13265 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 else
13268 cat >conftest.$ac_ext <<_ACEOF
13269 /* confdefs.h. */
13270 _ACEOF
13271 cat confdefs.h >>conftest.$ac_ext
13272 cat >>conftest.$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274 #include <freetype/ftmodapi.h>
13276 typedef FT_TrueTypeEngineType ac__type_new_;
13278 main ()
13280 if ((ac__type_new_ *) 0)
13281 return 0;
13282 if (sizeof (ac__type_new_))
13283 return 0;
13285 return 0;
13287 _ACEOF
13288 rm -f conftest.$ac_objext
13289 if { (ac_try="$ac_compile"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13293 esac
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_compile") 2>conftest.er1
13296 ac_status=$?
13297 grep -v '^ *+' conftest.er1 >conftest.err
13298 rm -f conftest.er1
13299 cat conftest.err >&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } &&
13302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13303 { (case "(($ac_try" in
13304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13305 *) ac_try_echo=$ac_try;;
13306 esac
13307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13308 (eval "$ac_try") 2>&5
13309 ac_status=$?
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } &&
13312 { ac_try='test -s conftest.$ac_objext'
13313 { (case "(($ac_try" in
13314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13315 *) ac_try_echo=$ac_try;;
13316 esac
13317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13318 (eval "$ac_try") 2>&5
13319 ac_status=$?
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; }; then
13322 ac_cv_type_FT_TrueTypeEngineType=yes
13323 else
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.$ac_ext >&5
13327 ac_cv_type_FT_TrueTypeEngineType=no
13330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13332 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13333 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13334 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13336 cat >>confdefs.h <<_ACEOF
13337 #define HAVE_FT_TRUETYPEENGINETYPE 1
13338 _ACEOF
13343 ac_save_CFLAGS="$CFLAGS"
13344 CFLAGS="$CFLAGS $FREETYPELIBS"
13346 for ac_func in FT_Load_Sfnt_Table
13348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13349 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else
13354 cat >conftest.$ac_ext <<_ACEOF
13355 /* confdefs.h. */
13356 _ACEOF
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13362 #define $ac_func innocuous_$ac_func
13364 /* System header to define __stub macros and hopefully few prototypes,
13365 which can conflict with char $ac_func (); below.
13366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13367 <limits.h> exists even on freestanding compilers. */
13369 #ifdef __STDC__
13370 # include <limits.h>
13371 #else
13372 # include <assert.h>
13373 #endif
13375 #undef $ac_func
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13380 #ifdef __cplusplus
13381 extern "C"
13382 #endif
13383 char $ac_func ();
13384 /* The GNU C library defines this for functions which it implements
13385 to always fail with ENOSYS. Some functions are actually named
13386 something starting with __ and the normal name is an alias. */
13387 #if defined __stub_$ac_func || defined __stub___$ac_func
13388 choke me
13389 #endif
13392 main ()
13394 return $ac_func ();
13396 return 0;
13398 _ACEOF
13399 rm -f conftest.$ac_objext conftest$ac_exeext
13400 if { (ac_try="$ac_link"
13401 case "(($ac_try" in
13402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13403 *) ac_try_echo=$ac_try;;
13404 esac
13405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13406 (eval "$ac_link") 2>conftest.er1
13407 ac_status=$?
13408 grep -v '^ *+' conftest.er1 >conftest.err
13409 rm -f conftest.er1
13410 cat conftest.err >&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); } &&
13413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13414 { (case "(($ac_try" in
13415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13416 *) ac_try_echo=$ac_try;;
13417 esac
13418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13419 (eval "$ac_try") 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest$ac_exeext'
13424 { (case "(($ac_try" in
13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13426 *) ac_try_echo=$ac_try;;
13427 esac
13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13429 (eval "$ac_try") 2>&5
13430 ac_status=$?
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); }; }; then
13433 eval "$as_ac_var=yes"
13434 else
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13438 eval "$as_ac_var=no"
13441 rm -f core conftest.err conftest.$ac_objext \
13442 conftest$ac_exeext conftest.$ac_ext
13444 ac_res=`eval echo '${'$as_ac_var'}'`
13445 { echo "$as_me:$LINENO: result: $ac_res" >&5
13446 echo "${ECHO_T}$ac_res" >&6; }
13447 if test `eval echo '${'$as_ac_var'}'` = yes; then
13448 cat >>confdefs.h <<_ACEOF
13449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13450 _ACEOF
13453 done
13455 CFLAGS="$ac_save_CFLAGS"
13456 CPPFLAGS="$ac_save_CPPFLAGS"
13457 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13458 then
13460 cat >>confdefs.h <<\_ACEOF
13461 #define HAVE_FREETYPE 1
13462 _ACEOF
13464 wine_cv_msg_freetype=no
13465 else
13466 FREETYPELIBS=""
13467 FREETYPEINCL=""
13468 wine_cv_msg_freetype=yes
13473 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13474 then
13475 FONTSSUBDIRS="fonts"
13479 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13480 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13481 if test "${ac_cv_c_ppdev+set}" = set; then
13482 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 else
13484 cat >conftest.$ac_ext <<_ACEOF
13485 /* confdefs.h. */
13486 _ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13490 #include <linux/ppdev.h>
13492 main ()
13494 ioctl (1,PPCLAIM,0)
13496 return 0;
13498 _ACEOF
13499 rm -f conftest.$ac_objext
13500 if { (ac_try="$ac_compile"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13504 esac
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_compile") 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13514 { (case "(($ac_try" in
13515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13516 *) ac_try_echo=$ac_try;;
13517 esac
13518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13519 (eval "$ac_try") 2>&5
13520 ac_status=$?
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try='test -s conftest.$ac_objext'
13524 { (case "(($ac_try" in
13525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13526 *) ac_try_echo=$ac_try;;
13527 esac
13528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13529 (eval "$ac_try") 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_cv_c_ppdev="yes"
13534 else
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13538 ac_cv_c_ppdev="no"
13541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13544 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13545 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13546 if test "$ac_cv_c_ppdev" = "yes"
13547 then
13549 cat >>confdefs.h <<\_ACEOF
13550 #define HAVE_PPDEV 1
13551 _ACEOF
13555 { echo "$as_me:$LINENO: checking for va_copy" >&5
13556 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13557 if test "${ac_cv_c_va_copy+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 else
13560 cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h. */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 #include <stdarg.h>
13568 main ()
13570 va_list ap1, ap2;
13571 va_copy(ap1,ap2);
13574 return 0;
13576 _ACEOF
13577 rm -f conftest.$ac_objext conftest$ac_exeext
13578 if { (ac_try="$ac_link"
13579 case "(($ac_try" in
13580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581 *) ac_try_echo=$ac_try;;
13582 esac
13583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13584 (eval "$ac_link") 2>conftest.er1
13585 ac_status=$?
13586 grep -v '^ *+' conftest.er1 >conftest.err
13587 rm -f conftest.er1
13588 cat conftest.err >&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); } &&
13591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13592 { (case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595 esac
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_try") 2>&5
13598 ac_status=$?
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; } &&
13601 { ac_try='test -s conftest$ac_exeext'
13602 { (case "(($ac_try" in
13603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13604 *) ac_try_echo=$ac_try;;
13605 esac
13606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13607 (eval "$ac_try") 2>&5
13608 ac_status=$?
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13611 ac_cv_c_va_copy="yes"
13612 else
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13616 ac_cv_c_va_copy="no"
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13623 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13624 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13625 if test "$ac_cv_c_va_copy" = "yes"
13626 then
13628 cat >>confdefs.h <<\_ACEOF
13629 #define HAVE_VA_COPY 1
13630 _ACEOF
13633 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13634 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13635 if test "${ac_cv_c___va_copy+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 else
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <stdarg.h>
13646 main ()
13648 va_list ap1, ap2;
13649 __va_copy(ap1,ap2);
13652 return 0;
13654 _ACEOF
13655 rm -f conftest.$ac_objext conftest$ac_exeext
13656 if { (ac_try="$ac_link"
13657 case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13660 esac
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_link") 2>conftest.er1
13663 ac_status=$?
13664 grep -v '^ *+' conftest.er1 >conftest.err
13665 rm -f conftest.er1
13666 cat conftest.err >&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13670 { (case "(($ac_try" in
13671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13672 *) ac_try_echo=$ac_try;;
13673 esac
13674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13675 (eval "$ac_try") 2>&5
13676 ac_status=$?
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; } &&
13679 { ac_try='test -s conftest$ac_exeext'
13680 { (case "(($ac_try" in
13681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13682 *) ac_try_echo=$ac_try;;
13683 esac
13684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13685 (eval "$ac_try") 2>&5
13686 ac_status=$?
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 ac_cv_c___va_copy="yes"
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13694 ac_cv_c___va_copy="no"
13697 rm -f core conftest.err conftest.$ac_objext \
13698 conftest$ac_exeext conftest.$ac_ext
13701 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13702 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13703 if test "$ac_cv_c___va_copy" = "yes"
13704 then
13706 cat >>confdefs.h <<\_ACEOF
13707 #define HAVE___VA_COPY 1
13708 _ACEOF
13712 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13713 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13714 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717 cat >conftest.$ac_ext <<_ACEOF
13718 /* confdefs.h. */
13719 _ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #include <setjmp.h>
13725 main ()
13727 sigjmp_buf buf;
13728 sigsetjmp( buf, 1 );
13729 siglongjmp( buf, 1 );
13731 return 0;
13733 _ACEOF
13734 rm -f conftest.$ac_objext conftest$ac_exeext
13735 if { (ac_try="$ac_link"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13739 esac
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_link") 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13749 { (case "(($ac_try" in
13750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13751 *) ac_try_echo=$ac_try;;
13752 esac
13753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13754 (eval "$ac_try") 2>&5
13755 ac_status=$?
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; } &&
13758 { ac_try='test -s conftest$ac_exeext'
13759 { (case "(($ac_try" in
13760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13761 *) ac_try_echo=$ac_try;;
13762 esac
13763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13764 (eval "$ac_try") 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 ac_cv_c_sigsetjmp="yes"
13769 else
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.$ac_ext >&5
13773 ac_cv_c_sigsetjmp="no"
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13780 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13781 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13782 if test "$ac_cv_c_sigsetjmp" = "yes"
13783 then
13785 cat >>confdefs.h <<\_ACEOF
13786 #define HAVE_SIGSETJMP 1
13787 _ACEOF
13791 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13792 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13793 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13794 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 else
13796 cat >conftest.$ac_ext <<_ACEOF
13797 /* confdefs.h. */
13798 _ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 #define _GNU_SOURCE
13803 #include <pthread.h>
13805 typedef pthread_rwlock_t ac__type_new_;
13807 main ()
13809 if ((ac__type_new_ *) 0)
13810 return 0;
13811 if (sizeof (ac__type_new_))
13812 return 0;
13814 return 0;
13816 _ACEOF
13817 rm -f conftest.$ac_objext
13818 if { (ac_try="$ac_compile"
13819 case "(($ac_try" in
13820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13821 *) ac_try_echo=$ac_try;;
13822 esac
13823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13824 (eval "$ac_compile") 2>conftest.er1
13825 ac_status=$?
13826 grep -v '^ *+' conftest.er1 >conftest.err
13827 rm -f conftest.er1
13828 cat conftest.err >&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13832 { (case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13835 esac
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_try") 2>&5
13838 ac_status=$?
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try='test -s conftest.$ac_objext'
13842 { (case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13845 esac
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_try") 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_cv_type_pthread_rwlock_t=yes
13852 else
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.$ac_ext >&5
13856 ac_cv_type_pthread_rwlock_t=no
13859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13861 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13862 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13863 if test $ac_cv_type_pthread_rwlock_t = yes; then
13865 cat >>confdefs.h <<_ACEOF
13866 #define HAVE_PTHREAD_RWLOCK_T 1
13867 _ACEOF
13871 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13872 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13873 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876 cat >conftest.$ac_ext <<_ACEOF
13877 /* confdefs.h. */
13878 _ACEOF
13879 cat confdefs.h >>conftest.$ac_ext
13880 cat >>conftest.$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882 #define _GNU_SOURCE
13883 #include <pthread.h>
13885 typedef pthread_rwlockattr_t ac__type_new_;
13887 main ()
13889 if ((ac__type_new_ *) 0)
13890 return 0;
13891 if (sizeof (ac__type_new_))
13892 return 0;
13894 return 0;
13896 _ACEOF
13897 rm -f conftest.$ac_objext
13898 if { (ac_try="$ac_compile"
13899 case "(($ac_try" in
13900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13901 *) ac_try_echo=$ac_try;;
13902 esac
13903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13904 (eval "$ac_compile") 2>conftest.er1
13905 ac_status=$?
13906 grep -v '^ *+' conftest.er1 >conftest.err
13907 rm -f conftest.er1
13908 cat conftest.err >&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); } &&
13911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13912 { (case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13915 esac
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_try") 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try='test -s conftest.$ac_objext'
13922 { (case "(($ac_try" in
13923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13924 *) ac_try_echo=$ac_try;;
13925 esac
13926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13927 (eval "$ac_try") 2>&5
13928 ac_status=$?
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 ac_cv_type_pthread_rwlockattr_t=yes
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 ac_cv_type_pthread_rwlockattr_t=no
13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13942 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13943 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13947 _ACEOF
13953 ac_wine_check_funcs_save_LIBS="$LIBS"
13954 LIBS="$LIBS $LIBPTHREAD"
13958 for ac_func in \
13959 pthread_getattr_np \
13960 pthread_get_stackaddr_np \
13961 pthread_get_stacksize_np
13963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 else
13969 cat >conftest.$ac_ext <<_ACEOF
13970 /* confdefs.h. */
13971 _ACEOF
13972 cat confdefs.h >>conftest.$ac_ext
13973 cat >>conftest.$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13977 #define $ac_func innocuous_$ac_func
13979 /* System header to define __stub macros and hopefully few prototypes,
13980 which can conflict with char $ac_func (); below.
13981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13982 <limits.h> exists even on freestanding compilers. */
13984 #ifdef __STDC__
13985 # include <limits.h>
13986 #else
13987 # include <assert.h>
13988 #endif
13990 #undef $ac_func
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char $ac_func ();
13999 /* The GNU C library defines this for functions which it implements
14000 to always fail with ENOSYS. Some functions are actually named
14001 something starting with __ and the normal name is an alias. */
14002 #if defined __stub_$ac_func || defined __stub___$ac_func
14003 choke me
14004 #endif
14007 main ()
14009 return $ac_func ();
14011 return 0;
14013 _ACEOF
14014 rm -f conftest.$ac_objext conftest$ac_exeext
14015 if { (ac_try="$ac_link"
14016 case "(($ac_try" in
14017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14019 esac
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_link") 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14038 { ac_try='test -s conftest$ac_exeext'
14039 { (case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14042 esac
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_try") 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 eval "$as_ac_var=yes"
14049 else
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14053 eval "$as_ac_var=no"
14056 rm -f core conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14059 ac_res=`eval echo '${'$as_ac_var'}'`
14060 { echo "$as_me:$LINENO: result: $ac_res" >&5
14061 echo "${ECHO_T}$ac_res" >&6; }
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063 cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14065 _ACEOF
14068 done
14070 LIBS="$ac_wine_check_funcs_save_LIBS"
14072 # Extract the first word of "artsc-config", so it can be a program name with args.
14073 set dummy artsc-config; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 case $ARTSCCONFIG in
14080 [\\/]* | ?:[\\/]*)
14081 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 for as_dir in $PATH
14087 IFS=$as_save_IFS
14088 test -z "$as_dir" && as_dir=.
14089 for ac_exec_ext in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14093 break 2
14095 done
14096 done
14097 IFS=$as_save_IFS
14100 esac
14102 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14103 if test -n "$ARTSCCONFIG"; then
14104 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14105 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14106 else
14107 { echo "$as_me:$LINENO: result: no" >&5
14108 echo "${ECHO_T}no" >&6; }
14112 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14113 then
14114 ARTSC_CFLAGS=""
14115 for i in `$ARTSCCONFIG --cflags`
14117 case "$i" in
14118 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14119 esac
14120 done
14121 ARTSC_LIBS=""
14122 for i in `$ARTSCCONFIG --libs`
14124 case "$i" in
14125 -L/usr/lib|-L/usr/lib64) ;;
14126 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14127 esac
14128 done
14129 save_CFLAGS="$CFLAGS"
14130 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14131 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14132 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14133 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 else
14136 ac_check_lib_save_LIBS=$LIBS
14137 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14138 cat >conftest.$ac_ext <<_ACEOF
14139 /* confdefs.h. */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14148 #ifdef __cplusplus
14149 extern "C"
14150 #endif
14151 char arts_init ();
14153 main ()
14155 return arts_init ();
14157 return 0;
14159 _ACEOF
14160 rm -f conftest.$ac_objext conftest$ac_exeext
14161 if { (ac_try="$ac_link"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14165 esac
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_link") 2>conftest.er1
14168 ac_status=$?
14169 grep -v '^ *+' conftest.er1 >conftest.err
14170 rm -f conftest.er1
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14175 { (case "(($ac_try" in
14176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177 *) ac_try_echo=$ac_try;;
14178 esac
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_try") 2>&5
14181 ac_status=$?
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } &&
14184 { ac_try='test -s conftest$ac_exeext'
14185 { (case "(($ac_try" in
14186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14187 *) ac_try_echo=$ac_try;;
14188 esac
14189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14190 (eval "$ac_try") 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 ac_cv_lib_artsc_arts_init=yes
14195 else
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.$ac_ext >&5
14199 ac_cv_lib_artsc_arts_init=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS
14206 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14207 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14208 if test $ac_cv_lib_artsc_arts_init = yes; then
14209 cat >conftest.$ac_ext <<_ACEOF
14210 /* confdefs.h. */
14211 _ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14215 #include <artsc.h>
14217 main ()
14219 arts_stream_t stream;
14221 return 0;
14223 _ACEOF
14224 rm -f conftest.$ac_objext
14225 if { (ac_try="$ac_compile"
14226 case "(($ac_try" in
14227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14228 *) ac_try_echo=$ac_try;;
14229 esac
14230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14231 (eval "$ac_compile") 2>conftest.er1
14232 ac_status=$?
14233 grep -v '^ *+' conftest.er1 >conftest.err
14234 rm -f conftest.er1
14235 cat conftest.err >&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14239 { (case "(($ac_try" in
14240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14241 *) ac_try_echo=$ac_try;;
14242 esac
14243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14244 (eval "$ac_try") 2>&5
14245 ac_status=$?
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); }; } &&
14248 { ac_try='test -s conftest.$ac_objext'
14249 { (case "(($ac_try" in
14250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14251 *) ac_try_echo=$ac_try;;
14252 esac
14253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14254 (eval "$ac_try") 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ARTSLIBS=$ARTSC_LIBS
14260 ARTSINCL=$ARTSC_CFLAGS
14263 cat >>confdefs.h <<\_ACEOF
14264 #define HAVE_ARTS 1
14265 _ACEOF
14267 else
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.$ac_ext >&5
14274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14277 CFLAGS="$save_CFLAGS"
14280 # Extract the first word of "esd-config", so it can be a program name with args.
14281 set dummy esd-config; ac_word=$2
14282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14284 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14286 else
14287 case $ESDCONFIG in
14288 [\\/]* | ?:[\\/]*)
14289 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14293 for as_dir in $PATH
14295 IFS=$as_save_IFS
14296 test -z "$as_dir" && as_dir=.
14297 for ac_exec_ext in '' $ac_executable_extensions; do
14298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14299 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14301 break 2
14303 done
14304 done
14305 IFS=$as_save_IFS
14308 esac
14310 ESDCONFIG=$ac_cv_path_ESDCONFIG
14311 if test -n "$ESDCONFIG"; then
14312 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14313 echo "${ECHO_T}$ESDCONFIG" >&6; }
14314 else
14315 { echo "$as_me:$LINENO: result: no" >&5
14316 echo "${ECHO_T}no" >&6; }
14320 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14321 then
14322 ESD_CFLAGS=""
14323 for i in `$ESDCONFIG --cflags`
14325 case "$i" in
14326 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14327 esac
14328 done
14329 ESD_LIBS=`$ESDCONFIG --libs`
14330 save_CFLAGS="$CFLAGS"
14331 CFLAGS="$CFLAGS $ESD_CFLAGS"
14332 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14333 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14334 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337 ac_check_lib_save_LIBS=$LIBS
14338 LIBS="-lesd $LIBS"
14339 cat >conftest.$ac_ext <<_ACEOF
14340 /* confdefs.h. */
14341 _ACEOF
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14349 #ifdef __cplusplus
14350 extern "C"
14351 #endif
14352 char esd_open_sound ();
14354 main ()
14356 return esd_open_sound ();
14358 return 0;
14360 _ACEOF
14361 rm -f conftest.$ac_objext conftest$ac_exeext
14362 if { (ac_try="$ac_link"
14363 case "(($ac_try" in
14364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14365 *) ac_try_echo=$ac_try;;
14366 esac
14367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14368 (eval "$ac_link") 2>conftest.er1
14369 ac_status=$?
14370 grep -v '^ *+' conftest.er1 >conftest.err
14371 rm -f conftest.er1
14372 cat conftest.err >&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14376 { (case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_try") 2>&5
14382 ac_status=$?
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; } &&
14385 { ac_try='test -s conftest$ac_exeext'
14386 { (case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14389 esac
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_try") 2>&5
14392 ac_status=$?
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; }; then
14395 ac_cv_lib_esd_esd_open_sound=yes
14396 else
14397 echo "$as_me: failed program was:" >&5
14398 sed 's/^/| /' conftest.$ac_ext >&5
14400 ac_cv_lib_esd_esd_open_sound=no
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14405 LIBS=$ac_check_lib_save_LIBS
14407 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14408 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14409 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14410 ESDLIBS=$ESD_LIBS
14412 ESDINCL=$ESD_CFLAGS
14415 cat >>confdefs.h <<\_ACEOF
14416 #define HAVE_ESD 1
14417 _ACEOF
14421 CFLAGS="$save_CFLAGS"
14424 ALSALIBS=""
14426 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14427 then
14428 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14429 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14430 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 else
14433 ac_check_lib_save_LIBS=$LIBS
14434 LIBS="-lasound $LIBS"
14435 cat >conftest.$ac_ext <<_ACEOF
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14445 #ifdef __cplusplus
14446 extern "C"
14447 #endif
14448 char snd_pcm_hw_params_get_access ();
14450 main ()
14452 return snd_pcm_hw_params_get_access ();
14454 return 0;
14456 _ACEOF
14457 rm -f conftest.$ac_objext conftest$ac_exeext
14458 if { (ac_try="$ac_link"
14459 case "(($ac_try" in
14460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14461 *) ac_try_echo=$ac_try;;
14462 esac
14463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14464 (eval "$ac_link") 2>conftest.er1
14465 ac_status=$?
14466 grep -v '^ *+' conftest.er1 >conftest.err
14467 rm -f conftest.er1
14468 cat conftest.err >&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14472 { (case "(($ac_try" in
14473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14474 *) ac_try_echo=$ac_try;;
14475 esac
14476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14477 (eval "$ac_try") 2>&5
14478 ac_status=$?
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try='test -s conftest$ac_exeext'
14482 { (case "(($ac_try" in
14483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14484 *) ac_try_echo=$ac_try;;
14485 esac
14486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14487 (eval "$ac_try") 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14492 else
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_lib_save_LIBS
14503 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14504 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14505 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14506 cat >conftest.$ac_ext <<_ACEOF
14507 /* confdefs.h. */
14508 _ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 #ifdef HAVE_ALSA_ASOUNDLIB_H
14513 #include <alsa/asoundlib.h>
14514 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14515 #include <sys/asoundlib.h>
14516 #endif
14518 main ()
14520 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14522 return 0;
14524 _ACEOF
14525 rm -f conftest.$ac_objext
14526 if { (ac_try="$ac_compile"
14527 case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14530 esac
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_compile") 2>conftest.er1
14533 ac_status=$?
14534 grep -v '^ *+' conftest.er1 >conftest.err
14535 rm -f conftest.er1
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14540 { (case "(($ac_try" in
14541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14542 *) ac_try_echo=$ac_try;;
14543 esac
14544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14545 (eval "$ac_try") 2>&5
14546 ac_status=$?
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; } &&
14549 { ac_try='test -s conftest.$ac_objext'
14550 { (case "(($ac_try" in
14551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14552 *) ac_try_echo=$ac_try;;
14553 esac
14554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14555 (eval "$ac_try") 2>&5
14556 ac_status=$?
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); }; }; then
14560 cat >>confdefs.h <<\_ACEOF
14561 #define HAVE_ALSA 1
14562 _ACEOF
14564 ALSALIBS="-lasound"
14565 else
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.$ac_ext >&5
14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14578 AUDIOIOLIBS=""
14580 if test "$ac_cv_header_libaudioio_h" = "yes"
14581 then
14582 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14583 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14584 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 else
14587 ac_check_lib_save_LIBS=$LIBS
14588 LIBS="-laudioio $LIBS"
14589 cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 #ifdef __cplusplus
14600 extern "C"
14601 #endif
14602 char AudioIOGetVersion ();
14604 main ()
14606 return AudioIOGetVersion ();
14608 return 0;
14610 _ACEOF
14611 rm -f conftest.$ac_objext conftest$ac_exeext
14612 if { (ac_try="$ac_link"
14613 case "(($ac_try" in
14614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14615 *) ac_try_echo=$ac_try;;
14616 esac
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_link") 2>conftest.er1
14619 ac_status=$?
14620 grep -v '^ *+' conftest.er1 >conftest.err
14621 rm -f conftest.er1
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14626 { (case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14629 esac
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_try") 2>&5
14632 ac_status=$?
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; } &&
14635 { ac_try='test -s conftest$ac_exeext'
14636 { (case "(($ac_try" in
14637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14638 *) ac_try_echo=$ac_try;;
14639 esac
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_try") 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14645 ac_cv_lib_audioio_AudioIOGetVersion=yes
14646 else
14647 echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.$ac_ext >&5
14650 ac_cv_lib_audioio_AudioIOGetVersion=no
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_lib_save_LIBS
14657 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14658 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14659 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14660 AUDIOIOLIBS="-laudioio"
14662 cat >>confdefs.h <<\_ACEOF
14663 #define HAVE_LIBAUDIOIO 1
14664 _ACEOF
14671 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14672 then
14673 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14674 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14675 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14677 else
14678 ac_check_lib_save_LIBS=$LIBS
14679 LIBS="-lcapi20 $LIBS"
14680 cat >conftest.$ac_ext <<_ACEOF
14681 /* confdefs.h. */
14682 _ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14687 /* Override any GCC internal prototype to avoid an error.
14688 Use char because int might match the return type of a GCC
14689 builtin and then its argument prototype would still apply. */
14690 #ifdef __cplusplus
14691 extern "C"
14692 #endif
14693 char capi20_register ();
14695 main ()
14697 return capi20_register ();
14699 return 0;
14701 _ACEOF
14702 rm -f conftest.$ac_objext conftest$ac_exeext
14703 if { (ac_try="$ac_link"
14704 case "(($ac_try" in
14705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14706 *) ac_try_echo=$ac_try;;
14707 esac
14708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14709 (eval "$ac_link") 2>conftest.er1
14710 ac_status=$?
14711 grep -v '^ *+' conftest.er1 >conftest.err
14712 rm -f conftest.er1
14713 cat conftest.err >&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14717 { (case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14720 esac
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_try") 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try='test -s conftest$ac_exeext'
14727 { (case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14730 esac
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_try") 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; }; then
14736 ac_cv_lib_capi20_capi20_register=yes
14737 else
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 ac_cv_lib_capi20_capi20_register=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14749 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14750 if test $ac_cv_lib_capi20_capi20_register = yes; then
14752 cat >>confdefs.h <<\_ACEOF
14753 #define HAVE_CAPI4LINUX 1
14754 _ACEOF
14761 if test "$ac_cv_header_gif_lib_h" = "yes"
14762 then
14763 cat >conftest.$ac_ext <<_ACEOF
14764 /* confdefs.h. */
14765 _ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14769 #include <gif_lib.h>
14771 main ()
14773 static typeof(DGifOpen) * func;
14775 return 0;
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } &&
14792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14793 { (case "(($ac_try" in
14794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14795 *) ac_try_echo=$ac_try;;
14796 esac
14797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14798 (eval "$ac_try") 2>&5
14799 ac_status=$?
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); }; } &&
14802 { ac_try='test -s conftest.$ac_objext'
14803 { (case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14806 esac
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_try") 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14813 cat >>confdefs.h <<\_ACEOF
14814 #define HAVE_GIF 1
14815 _ACEOF
14817 else
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14828 EXTRACFLAGS=""
14830 if test "x${GCC}" = "xyes"
14831 then
14832 EXTRACFLAGS="-Wall -pipe"
14834 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14835 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14836 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 else
14839 if test "$cross_compiling" = yes; then
14840 ac_cv_c_gcc_strength_bug="yes"
14841 else
14842 cat >conftest.$ac_ext <<_ACEOF
14843 /* confdefs.h. */
14844 _ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14849 int L[4] = {0,1,2,3};
14850 int main(void) {
14851 static int Array[3];
14852 unsigned int B = 3;
14853 int i;
14854 for(i=0; i<B; i++) Array[i] = i - 3;
14855 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14856 L[i] = 4;
14858 exit( Array[1] != -2 || L[2] != 3);
14860 _ACEOF
14861 rm -f conftest$ac_exeext
14862 if { (ac_try="$ac_link"
14863 case "(($ac_try" in
14864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14865 *) ac_try_echo=$ac_try;;
14866 esac
14867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14868 (eval "$ac_link") 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
14881 ac_cv_c_gcc_strength_bug="no"
14882 else
14883 echo "$as_me: program exited with status $ac_status" >&5
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.$ac_ext >&5
14887 ( exit $ac_status )
14888 ac_cv_c_gcc_strength_bug="yes"
14890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14895 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14896 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14897 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14898 then
14899 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14902 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14903 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14904 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14906 else
14907 ac_wine_try_cflags_saved=$CFLAGS
14908 CFLAGS="$CFLAGS -fshort-wchar"
14909 cat >conftest.$ac_ext <<_ACEOF
14910 /* confdefs.h. */
14911 _ACEOF
14912 cat confdefs.h >>conftest.$ac_ext
14913 cat >>conftest.$ac_ext <<_ACEOF
14914 /* end confdefs.h. */
14917 main ()
14921 return 0;
14923 _ACEOF
14924 rm -f conftest.$ac_objext conftest$ac_exeext
14925 if { (ac_try="$ac_link"
14926 case "(($ac_try" in
14927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14928 *) ac_try_echo=$ac_try;;
14929 esac
14930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14931 (eval "$ac_link") 2>conftest.er1
14932 ac_status=$?
14933 grep -v '^ *+' conftest.er1 >conftest.err
14934 rm -f conftest.er1
14935 cat conftest.err >&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14939 { (case "(($ac_try" in
14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14941 *) ac_try_echo=$ac_try;;
14942 esac
14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14944 (eval "$ac_try") 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try='test -s conftest$ac_exeext'
14949 { (case "(($ac_try" in
14950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14951 *) ac_try_echo=$ac_try;;
14952 esac
14953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14954 (eval "$ac_try") 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_cv_c_gcc_fshort_wchar="yes"
14959 else
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.$ac_ext >&5
14963 ac_cv_c_gcc_fshort_wchar="no"
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext conftest.$ac_ext
14968 CFLAGS=$ac_wine_try_cflags_saved
14970 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14971 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14972 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14973 then
14975 cat >>confdefs.h <<\_ACEOF
14976 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14977 _ACEOF
14981 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14982 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14983 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14984 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 else
14986 ac_wine_try_cflags_saved=$CFLAGS
14987 CFLAGS="$CFLAGS -fno-strict-aliasing"
14988 cat >conftest.$ac_ext <<_ACEOF
14989 /* confdefs.h. */
14990 _ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
14996 main ()
15000 return 0;
15002 _ACEOF
15003 rm -f conftest.$ac_objext conftest$ac_exeext
15004 if { (ac_try="$ac_link"
15005 case "(($ac_try" in
15006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15007 *) ac_try_echo=$ac_try;;
15008 esac
15009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15010 (eval "$ac_link") 2>conftest.er1
15011 ac_status=$?
15012 grep -v '^ *+' conftest.er1 >conftest.err
15013 rm -f conftest.er1
15014 cat conftest.err >&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); } &&
15017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15018 { (case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15021 esac
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_try") 2>&5
15024 ac_status=$?
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; } &&
15027 { ac_try='test -s conftest$ac_exeext'
15028 { (case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15031 esac
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033 (eval "$ac_try") 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; }; then
15037 ac_cv_c_gcc_no_strict_aliasing="yes"
15038 else
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15042 ac_cv_c_gcc_no_strict_aliasing="no"
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 CFLAGS=$ac_wine_try_cflags_saved
15049 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15050 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15051 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15052 then
15053 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15056 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15057 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15058 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 else
15061 ac_wine_try_cflags_saved=$CFLAGS
15062 CFLAGS="$CFLAGS -gstabs+"
15063 cat >conftest.$ac_ext <<_ACEOF
15064 /* confdefs.h. */
15065 _ACEOF
15066 cat confdefs.h >>conftest.$ac_ext
15067 cat >>conftest.$ac_ext <<_ACEOF
15068 /* end confdefs.h. */
15071 main ()
15075 return 0;
15077 _ACEOF
15078 rm -f conftest.$ac_objext conftest$ac_exeext
15079 if { (ac_try="$ac_link"
15080 case "(($ac_try" in
15081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15082 *) ac_try_echo=$ac_try;;
15083 esac
15084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15085 (eval "$ac_link") 2>conftest.er1
15086 ac_status=$?
15087 grep -v '^ *+' conftest.er1 >conftest.err
15088 rm -f conftest.er1
15089 cat conftest.err >&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); } &&
15092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15093 { (case "(($ac_try" in
15094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15095 *) ac_try_echo=$ac_try;;
15096 esac
15097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15098 (eval "$ac_try") 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try='test -s conftest$ac_exeext'
15103 { (case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_try") 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_cv_c_gcc_gstabs="yes"
15113 else
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15117 ac_cv_c_gcc_gstabs="no"
15120 rm -f core conftest.err conftest.$ac_objext \
15121 conftest$ac_exeext conftest.$ac_ext
15122 CFLAGS=$ac_wine_try_cflags_saved
15124 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15125 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15126 if test "$ac_cv_c_gcc_gstabs" = "yes"
15127 then
15128 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15131 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15132 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15133 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 else
15136 ac_wine_try_cflags_saved=$CFLAGS
15137 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15146 main ()
15150 return 0;
15152 _ACEOF
15153 rm -f conftest.$ac_objext conftest$ac_exeext
15154 if { (ac_try="$ac_link"
15155 case "(($ac_try" in
15156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15157 *) ac_try_echo=$ac_try;;
15158 esac
15159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15160 (eval "$ac_link") 2>conftest.er1
15161 ac_status=$?
15162 grep -v '^ *+' conftest.er1 >conftest.err
15163 rm -f conftest.er1
15164 cat conftest.err >&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15168 { (case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15171 esac
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_try") 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; } &&
15177 { ac_try='test -s conftest$ac_exeext'
15178 { (case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_try") 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; }; then
15187 ac_cv_c_gcc_decl_after_statement="yes"
15188 else
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15192 ac_cv_c_gcc_decl_after_statement="no"
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15197 CFLAGS=$ac_wine_try_cflags_saved
15199 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15200 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15201 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15202 then
15203 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15206 saved_CFLAGS="$CFLAGS"
15207 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15208 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15209 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15210 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 else
15213 cat >conftest.$ac_ext <<_ACEOF
15214 /* confdefs.h. */
15215 _ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 #include <string.h>
15221 main ()
15225 return 0;
15227 _ACEOF
15228 rm -f conftest.$ac_objext
15229 if { (ac_try="$ac_compile"
15230 case "(($ac_try" in
15231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232 *) ac_try_echo=$ac_try;;
15233 esac
15234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235 (eval "$ac_compile") 2>conftest.er1
15236 ac_status=$?
15237 grep -v '^ *+' conftest.er1 >conftest.err
15238 rm -f conftest.er1
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15243 { (case "(($ac_try" in
15244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15245 *) ac_try_echo=$ac_try;;
15246 esac
15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15248 (eval "$ac_try") 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (case "(($ac_try" in
15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 *) ac_try_echo=$ac_try;;
15256 esac
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_try") 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_cv_c_string_h_warnings=no
15263 else
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ac_cv_c_string_h_warnings=yes
15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15272 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15273 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15274 CFLAGS="$saved_CFLAGS"
15275 if test "$ac_cv_c_string_h_warnings" = "no"
15276 then
15277 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15280 BUILTINFLAG=""
15282 saved_CFLAGS="$CFLAGS"
15283 CFLAGS="$CFLAGS -Werror"
15284 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15285 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15286 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15297 main ()
15299 int iswlower(unsigned short);
15301 return 0;
15303 _ACEOF
15304 rm -f conftest.$ac_objext
15305 if { (ac_try="$ac_compile"
15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15309 esac
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15311 (eval "$ac_compile") 2>conftest.er1
15312 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15319 { (case "(($ac_try" in
15320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15321 *) ac_try_echo=$ac_try;;
15322 esac
15323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15324 (eval "$ac_try") 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (case "(($ac_try" in
15330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15331 *) ac_try_echo=$ac_try;;
15332 esac
15333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15334 (eval "$ac_try") 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 ac_cv_c_builtin_wchar_ctype=no
15339 else
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15343 ac_cv_c_builtin_wchar_ctype=yes
15346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15348 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15349 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15350 CFLAGS="$saved_CFLAGS"
15351 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15352 then
15353 BUILTINFLAG="-fno-builtin"
15358 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15359 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15360 if test "${ac_cv_asm_func_def+set}" = set; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 else
15363 cat >conftest.$ac_ext <<_ACEOF
15364 /* confdefs.h. */
15365 _ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15369 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"); }
15372 main ()
15376 return 0;
15378 _ACEOF
15379 rm -f conftest.$ac_objext conftest$ac_exeext
15380 if { (ac_try="$ac_link"
15381 case "(($ac_try" in
15382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15383 *) ac_try_echo=$ac_try;;
15384 esac
15385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15386 (eval "$ac_link") 2>conftest.er1
15387 ac_status=$?
15388 grep -v '^ *+' conftest.er1 >conftest.err
15389 rm -f conftest.er1
15390 cat conftest.err >&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15394 { (case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15397 esac
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_try") 2>&5
15400 ac_status=$?
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; } &&
15403 { ac_try='test -s conftest$ac_exeext'
15404 { (case "(($ac_try" in
15405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15406 *) ac_try_echo=$ac_try;;
15407 esac
15408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15409 (eval "$ac_try") 2>&5
15410 ac_status=$?
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; }; then
15413 ac_cv_asm_func_def=".def"
15414 else
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.$ac_ext >&5
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15427 main ()
15431 return 0;
15433 _ACEOF
15434 rm -f conftest.$ac_objext conftest$ac_exeext
15435 if { (ac_try="$ac_link"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15439 esac
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_link") 2>conftest.er1
15442 ac_status=$?
15443 grep -v '^ *+' conftest.er1 >conftest.err
15444 rm -f conftest.er1
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15449 { (case "(($ac_try" in
15450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15451 *) ac_try_echo=$ac_try;;
15452 esac
15453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15454 (eval "$ac_try") 2>&5
15455 ac_status=$?
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try='test -s conftest$ac_exeext'
15459 { (case "(($ac_try" in
15460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461 *) ac_try_echo=$ac_try;;
15462 esac
15463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464 (eval "$ac_try") 2>&5
15465 ac_status=$?
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; }; then
15468 ac_cv_asm_func_def=".type @function"
15469 else
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 cat >conftest.$ac_ext <<_ACEOF
15474 /* confdefs.h. */
15475 _ACEOF
15476 cat confdefs.h >>conftest.$ac_ext
15477 cat >>conftest.$ac_ext <<_ACEOF
15478 /* end confdefs.h. */
15479 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15482 main ()
15486 return 0;
15488 _ACEOF
15489 rm -f conftest.$ac_objext conftest$ac_exeext
15490 if { (ac_try="$ac_link"
15491 case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_link") 2>conftest.er1
15497 ac_status=$?
15498 grep -v '^ *+' conftest.er1 >conftest.err
15499 rm -f conftest.er1
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } &&
15503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15504 { (case "(($ac_try" in
15505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15506 *) ac_try_echo=$ac_try;;
15507 esac
15508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15509 (eval "$ac_try") 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try='test -s conftest$ac_exeext'
15514 { (case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15517 esac
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_try") 2>&5
15520 ac_status=$?
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 ac_cv_asm_func_def=".type 2"
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_asm_func_def="unknown"
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15542 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15543 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15547 case "$ac_cv_asm_func_def" in
15548 ".def")
15549 cat >>confdefs.h <<\_ACEOF
15550 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15551 _ACEOF
15553 ".type @function")
15554 cat >>confdefs.h <<\_ACEOF
15555 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15556 _ACEOF
15558 ".type 2")
15559 cat >>confdefs.h <<\_ACEOF
15560 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15561 _ACEOF
15564 cat >>confdefs.h <<\_ACEOF
15565 #define __ASM_FUNC(name) ""
15566 _ACEOF
15568 esac
15571 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15572 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15573 if test "${ac_cv_c_extern_prefix+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 else
15576 cat >conftest.$ac_ext <<_ACEOF
15577 /* confdefs.h. */
15578 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15583 extern int ac_test;
15585 main ()
15587 if (ac_test) return 1
15589 return 0;
15591 _ACEOF
15592 rm -f conftest.$ac_objext conftest$ac_exeext
15593 if { (ac_try="$ac_link"
15594 case "(($ac_try" in
15595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596 *) ac_try_echo=$ac_try;;
15597 esac
15598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15599 (eval "$ac_link") 2>conftest.er1
15600 ac_status=$?
15601 grep -v '^ *+' conftest.er1 >conftest.err
15602 rm -f conftest.er1
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (case "(($ac_try" in
15608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15609 *) ac_try_echo=$ac_try;;
15610 esac
15611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15612 (eval "$ac_try") 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest$ac_exeext'
15617 { (case "(($ac_try" in
15618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15619 *) ac_try_echo=$ac_try;;
15620 esac
15621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15622 (eval "$ac_try") 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15626 ac_cv_c_extern_prefix="yes"
15627 else
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.$ac_ext >&5
15631 ac_cv_c_extern_prefix="no"
15634 rm -f core conftest.err conftest.$ac_objext \
15635 conftest$ac_exeext conftest.$ac_ext
15637 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15638 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15642 if test "$ac_cv_c_extern_prefix" = "yes"
15643 then
15644 cat >>confdefs.h <<\_ACEOF
15645 #define __ASM_NAME(name) "_" name
15646 _ACEOF
15648 else
15649 cat >>confdefs.h <<\_ACEOF
15650 #define __ASM_NAME(name) name
15651 _ACEOF
15656 DLLEXT=""
15658 DLLFLAGS="-D_REENTRANT"
15660 DLLIBS=""
15662 LDSHARED=""
15664 LDDLLFLAGS=""
15666 LIBEXT="so"
15668 IMPLIBEXT="def"
15671 case $host_os in
15672 cygwin*|mingw32*)
15673 if test -n "$ac_tool_prefix"; then
15674 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15675 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15678 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 if test -n "$DLLTOOL"; then
15682 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15683 else
15684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15685 for as_dir in $PATH
15687 IFS=$as_save_IFS
15688 test -z "$as_dir" && as_dir=.
15689 for ac_exec_ext in '' $ac_executable_extensions; do
15690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15691 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15693 break 2
15695 done
15696 done
15697 IFS=$as_save_IFS
15701 DLLTOOL=$ac_cv_prog_DLLTOOL
15702 if test -n "$DLLTOOL"; then
15703 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15704 echo "${ECHO_T}$DLLTOOL" >&6; }
15705 else
15706 { echo "$as_me:$LINENO: result: no" >&5
15707 echo "${ECHO_T}no" >&6; }
15712 if test -z "$ac_cv_prog_DLLTOOL"; then
15713 ac_ct_DLLTOOL=$DLLTOOL
15714 # Extract the first word of "dlltool", so it can be a program name with args.
15715 set dummy dlltool; ac_word=$2
15716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15718 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15719 echo $ECHO_N "(cached) $ECHO_C" >&6
15720 else
15721 if test -n "$ac_ct_DLLTOOL"; then
15722 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15723 else
15724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15725 for as_dir in $PATH
15727 IFS=$as_save_IFS
15728 test -z "$as_dir" && as_dir=.
15729 for ac_exec_ext in '' $ac_executable_extensions; do
15730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15731 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15733 break 2
15735 done
15736 done
15737 IFS=$as_save_IFS
15741 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15742 if test -n "$ac_ct_DLLTOOL"; then
15743 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15744 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15745 else
15746 { echo "$as_me:$LINENO: result: no" >&5
15747 echo "${ECHO_T}no" >&6; }
15750 if test "x$ac_ct_DLLTOOL" = x; then
15751 DLLTOOL="false"
15752 else
15753 case $cross_compiling:$ac_tool_warned in
15754 yes:)
15755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15756 whose name does not start with the host triplet. If you think this
15757 configuration is useful to you, please write to autoconf@gnu.org." >&5
15758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15759 whose name does not start with the host triplet. If you think this
15760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15761 ac_tool_warned=yes ;;
15762 esac
15763 DLLTOOL=$ac_ct_DLLTOOL
15765 else
15766 DLLTOOL="$ac_cv_prog_DLLTOOL"
15769 if test -n "$ac_tool_prefix"; then
15770 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15771 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15774 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 else
15777 if test -n "$DLLWRAP"; then
15778 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15779 else
15780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15781 for as_dir in $PATH
15783 IFS=$as_save_IFS
15784 test -z "$as_dir" && as_dir=.
15785 for ac_exec_ext in '' $ac_executable_extensions; do
15786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15787 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15789 break 2
15791 done
15792 done
15793 IFS=$as_save_IFS
15797 DLLWRAP=$ac_cv_prog_DLLWRAP
15798 if test -n "$DLLWRAP"; then
15799 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15800 echo "${ECHO_T}$DLLWRAP" >&6; }
15801 else
15802 { echo "$as_me:$LINENO: result: no" >&5
15803 echo "${ECHO_T}no" >&6; }
15808 if test -z "$ac_cv_prog_DLLWRAP"; then
15809 ac_ct_DLLWRAP=$DLLWRAP
15810 # Extract the first word of "dllwrap", so it can be a program name with args.
15811 set dummy dllwrap; ac_word=$2
15812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15814 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15815 echo $ECHO_N "(cached) $ECHO_C" >&6
15816 else
15817 if test -n "$ac_ct_DLLWRAP"; then
15818 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15819 else
15820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15823 IFS=$as_save_IFS
15824 test -z "$as_dir" && as_dir=.
15825 for ac_exec_ext in '' $ac_executable_extensions; do
15826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15827 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15829 break 2
15831 done
15832 done
15833 IFS=$as_save_IFS
15837 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15838 if test -n "$ac_ct_DLLWRAP"; then
15839 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15840 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15841 else
15842 { echo "$as_me:$LINENO: result: no" >&5
15843 echo "${ECHO_T}no" >&6; }
15846 if test "x$ac_ct_DLLWRAP" = x; then
15847 DLLWRAP="false"
15848 else
15849 case $cross_compiling:$ac_tool_warned in
15850 yes:)
15851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15852 whose name does not start with the host triplet. If you think this
15853 configuration is useful to you, please write to autoconf@gnu.org." >&5
15854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15855 whose name does not start with the host triplet. If you think this
15856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15857 ac_tool_warned=yes ;;
15858 esac
15859 DLLWRAP=$ac_ct_DLLWRAP
15861 else
15862 DLLWRAP="$ac_cv_prog_DLLWRAP"
15865 if test "$DLLWRAP" = "false"; then
15866 LIBEXT="a"
15867 else
15868 LIBEXT="dll"
15870 IMPLIBEXT="a"
15871 WIN16_FILES=""
15872 WIN16_INSTALL=""
15875 if test "$ac_cv_header_dlfcn_h" = "yes"
15876 then
15878 for ac_func in dlopen
15880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15884 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 else
15886 cat >conftest.$ac_ext <<_ACEOF
15887 /* confdefs.h. */
15888 _ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15894 #define $ac_func innocuous_$ac_func
15896 /* System header to define __stub macros and hopefully few prototypes,
15897 which can conflict with char $ac_func (); below.
15898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15899 <limits.h> exists even on freestanding compilers. */
15901 #ifdef __STDC__
15902 # include <limits.h>
15903 #else
15904 # include <assert.h>
15905 #endif
15907 #undef $ac_func
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15912 #ifdef __cplusplus
15913 extern "C"
15914 #endif
15915 char $ac_func ();
15916 /* The GNU C library defines this for functions which it implements
15917 to always fail with ENOSYS. Some functions are actually named
15918 something starting with __ and the normal name is an alias. */
15919 #if defined __stub_$ac_func || defined __stub___$ac_func
15920 choke me
15921 #endif
15924 main ()
15926 return $ac_func ();
15928 return 0;
15930 _ACEOF
15931 rm -f conftest.$ac_objext conftest$ac_exeext
15932 if { (ac_try="$ac_link"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15936 esac
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_link") 2>conftest.er1
15939 ac_status=$?
15940 grep -v '^ *+' conftest.er1 >conftest.err
15941 rm -f conftest.er1
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } &&
15945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15946 { (case "(($ac_try" in
15947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15948 *) ac_try_echo=$ac_try;;
15949 esac
15950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15951 (eval "$ac_try") 2>&5
15952 ac_status=$?
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try='test -s conftest$ac_exeext'
15956 { (case "(($ac_try" in
15957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15958 *) ac_try_echo=$ac_try;;
15959 esac
15960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961 (eval "$ac_try") 2>&5
15962 ac_status=$?
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; }; then
15965 eval "$as_ac_var=yes"
15966 else
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15970 eval "$as_ac_var=no"
15973 rm -f core conftest.err conftest.$ac_objext \
15974 conftest$ac_exeext conftest.$ac_ext
15976 ac_res=`eval echo '${'$as_ac_var'}'`
15977 { echo "$as_me:$LINENO: result: $ac_res" >&5
15978 echo "${ECHO_T}$ac_res" >&6; }
15979 if test `eval echo '${'$as_ac_var'}'` = yes; then
15980 cat >>confdefs.h <<_ACEOF
15981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15982 _ACEOF
15984 else
15985 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15986 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15987 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 else
15990 ac_check_lib_save_LIBS=$LIBS
15991 LIBS="-ldl $LIBS"
15992 cat >conftest.$ac_ext <<_ACEOF
15993 /* confdefs.h. */
15994 _ACEOF
15995 cat confdefs.h >>conftest.$ac_ext
15996 cat >>conftest.$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 #ifdef __cplusplus
16003 extern "C"
16004 #endif
16005 char dlopen ();
16007 main ()
16009 return dlopen ();
16011 return 0;
16013 _ACEOF
16014 rm -f conftest.$ac_objext conftest$ac_exeext
16015 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
16022 ac_status=$?
16023 grep -v '^ *+' conftest.er1 >conftest.err
16024 rm -f conftest.er1
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16029 { (case "(($ac_try" in
16030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16031 *) ac_try_echo=$ac_try;;
16032 esac
16033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16034 (eval "$ac_try") 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest$ac_exeext'
16039 { (case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16042 esac
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_try") 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_lib_dl_dlopen=yes
16049 else
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16053 ac_cv_lib_dl_dlopen=no
16056 rm -f core conftest.err conftest.$ac_objext \
16057 conftest$ac_exeext conftest.$ac_ext
16058 LIBS=$ac_check_lib_save_LIBS
16060 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16061 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16062 if test $ac_cv_lib_dl_dlopen = yes; then
16064 cat >>confdefs.h <<\_ACEOF
16065 #define HAVE_DLOPEN 1
16066 _ACEOF
16068 DLLIBS="-ldl"
16069 else
16070 LIBEXT="a"
16074 done
16076 ac_wine_check_funcs_save_LIBS="$LIBS"
16077 LIBS="$LIBS $DLLIBS"
16079 for ac_func in dladdr
16081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 else
16087 cat >conftest.$ac_ext <<_ACEOF
16088 /* confdefs.h. */
16089 _ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16095 #define $ac_func innocuous_$ac_func
16097 /* System header to define __stub macros and hopefully few prototypes,
16098 which can conflict with char $ac_func (); below.
16099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16100 <limits.h> exists even on freestanding compilers. */
16102 #ifdef __STDC__
16103 # include <limits.h>
16104 #else
16105 # include <assert.h>
16106 #endif
16108 #undef $ac_func
16110 /* Override any GCC internal prototype to avoid an error.
16111 Use char because int might match the return type of a GCC
16112 builtin and then its argument prototype would still apply. */
16113 #ifdef __cplusplus
16114 extern "C"
16115 #endif
16116 char $ac_func ();
16117 /* The GNU C library defines this for functions which it implements
16118 to always fail with ENOSYS. Some functions are actually named
16119 something starting with __ and the normal name is an alias. */
16120 #if defined __stub_$ac_func || defined __stub___$ac_func
16121 choke me
16122 #endif
16125 main ()
16127 return $ac_func ();
16129 return 0;
16131 _ACEOF
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (ac_try="$ac_link"
16134 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16137 esac
16138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 (eval "$ac_link") 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16147 { (case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16150 esac
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_try") 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try='test -s conftest$ac_exeext'
16157 { (case "(($ac_try" in
16158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16159 *) ac_try_echo=$ac_try;;
16160 esac
16161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16162 (eval "$ac_try") 2>&5
16163 ac_status=$?
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; }; then
16166 eval "$as_ac_var=yes"
16167 else
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16171 eval "$as_ac_var=no"
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext conftest.$ac_ext
16177 ac_res=`eval echo '${'$as_ac_var'}'`
16178 { echo "$as_me:$LINENO: result: $ac_res" >&5
16179 echo "${ECHO_T}$ac_res" >&6; }
16180 if test `eval echo '${'$as_ac_var'}'` = yes; then
16181 cat >>confdefs.h <<_ACEOF
16182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16183 _ACEOF
16186 done
16188 LIBS="$ac_wine_check_funcs_save_LIBS"
16189 else
16190 LIBEXT="a"
16193 if test "$LIBEXT" = "so"
16194 then
16195 DLLFLAGS="$DLLFLAGS -fPIC"
16196 DLLEXT=".so"
16197 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16198 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16199 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 ac_wine_try_cflags_saved=$CFLAGS
16203 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16204 cat >conftest.$ac_ext <<_ACEOF
16205 void myfunc() {}
16206 _ACEOF
16207 rm -f conftest.$ac_objext conftest$ac_exeext
16208 if { (ac_try="$ac_link"
16209 case "(($ac_try" in
16210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16211 *) ac_try_echo=$ac_try;;
16212 esac
16213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16214 (eval "$ac_link") 2>conftest.er1
16215 ac_status=$?
16216 grep -v '^ *+' conftest.er1 >conftest.err
16217 rm -f conftest.er1
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16222 { (case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_try") 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try='test -s conftest$ac_exeext'
16232 { (case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16235 esac
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_try") 2>&5
16238 ac_status=$?
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 ac_cv_c_dll_gnuelf="yes"
16242 else
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.$ac_ext >&5
16246 ac_cv_c_dll_gnuelf="no"
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16251 CFLAGS=$ac_wine_try_cflags_saved
16253 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16254 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16255 if test "$ac_cv_c_dll_gnuelf" = "yes"
16256 then
16257 LDSHARED="\$(CC) -shared"
16258 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16259 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16260 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16261 if test "${ac_cv_c_sonames+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 else
16264 ac_wine_try_cflags_saved=$CFLAGS
16265 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16274 main ()
16278 return 0;
16280 _ACEOF
16281 rm -f conftest.$ac_objext conftest$ac_exeext
16282 if { (ac_try="$ac_link"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16286 esac
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_link") 2>conftest.er1
16289 ac_status=$?
16290 grep -v '^ *+' conftest.er1 >conftest.err
16291 rm -f conftest.er1
16292 cat conftest.err >&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); } &&
16295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16296 { (case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16299 esac
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_try") 2>&5
16302 ac_status=$?
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; } &&
16305 { ac_try='test -s conftest$ac_exeext'
16306 { (case "(($ac_try" in
16307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16308 *) ac_try_echo=$ac_try;;
16309 esac
16310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16311 (eval "$ac_try") 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_cv_c_sonames="yes"
16316 else
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16320 ac_cv_c_sonames="no"
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16325 CFLAGS=$ac_wine_try_cflags_saved
16327 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16328 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16329 if test "$ac_cv_c_sonames" = "yes"
16330 then
16331 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16332 else
16333 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16334 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16335 if test "${ac_cv_c_h_sonames+set}" = set; then
16336 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 else
16338 ac_wine_try_cflags_saved=$CFLAGS
16339 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16340 cat >conftest.$ac_ext <<_ACEOF
16341 /* confdefs.h. */
16342 _ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16348 main ()
16352 return 0;
16354 _ACEOF
16355 rm -f conftest.$ac_objext conftest$ac_exeext
16356 if { (ac_try="$ac_link"
16357 case "(($ac_try" in
16358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16359 *) ac_try_echo=$ac_try;;
16360 esac
16361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16362 (eval "$ac_link") 2>conftest.er1
16363 ac_status=$?
16364 grep -v '^ *+' conftest.er1 >conftest.err
16365 rm -f conftest.er1
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16370 { (case "(($ac_try" in
16371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16372 *) ac_try_echo=$ac_try;;
16373 esac
16374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16375 (eval "$ac_try") 2>&5
16376 ac_status=$?
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; } &&
16379 { ac_try='test -s conftest$ac_exeext'
16380 { (case "(($ac_try" in
16381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16382 *) ac_try_echo=$ac_try;;
16383 esac
16384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16385 (eval "$ac_try") 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16389 ac_cv_c_h_sonames="yes"
16390 else
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16394 ac_cv_c_h_sonames="no"
16397 rm -f core conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16399 CFLAGS=$ac_wine_try_cflags_saved
16401 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16402 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16403 if test "$ac_cv_c_h_sonames" = "yes"
16404 then
16405 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16409 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16410 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16411 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 else
16414 ac_wine_try_cflags_saved=$CFLAGS
16415 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16416 cat >conftest.$ac_ext <<_ACEOF
16417 /* confdefs.h. */
16418 _ACEOF
16419 cat confdefs.h >>conftest.$ac_ext
16420 cat >>conftest.$ac_ext <<_ACEOF
16421 /* end confdefs.h. */
16424 main ()
16428 return 0;
16430 _ACEOF
16431 rm -f conftest.$ac_objext conftest$ac_exeext
16432 if { (ac_try="$ac_link"
16433 case "(($ac_try" in
16434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16435 *) ac_try_echo=$ac_try;;
16436 esac
16437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16438 (eval "$ac_link") 2>conftest.er1
16439 ac_status=$?
16440 grep -v '^ *+' conftest.er1 >conftest.err
16441 rm -f conftest.er1
16442 cat conftest.err >&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16446 { (case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_try") 2>&5
16452 ac_status=$?
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; } &&
16455 { ac_try='test -s conftest$ac_exeext'
16456 { (case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16459 esac
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_try") 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 ac_cv_c_dll_zdefs="yes"
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 ac_cv_c_dll_zdefs="no"
16473 rm -f core conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16475 CFLAGS=$ac_wine_try_cflags_saved
16477 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16478 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16479 if test "$ac_cv_c_dll_zdefs" = "yes"
16480 then
16481 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16484 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16485 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16486 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 else
16489 ac_wine_try_cflags_saved=$CFLAGS
16490 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16499 main ()
16503 return 0;
16505 _ACEOF
16506 rm -f conftest.$ac_objext conftest$ac_exeext
16507 if { (ac_try="$ac_link"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16511 esac
16512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16513 (eval "$ac_link") 2>conftest.er1
16514 ac_status=$?
16515 grep -v '^ *+' conftest.er1 >conftest.err
16516 rm -f conftest.er1
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } &&
16520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16521 { (case "(($ac_try" in
16522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16523 *) ac_try_echo=$ac_try;;
16524 esac
16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526 (eval "$ac_try") 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; } &&
16530 { ac_try='test -s conftest$ac_exeext'
16531 { (case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16534 esac
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_try") 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 ac_cv_c_dll_init_fini="yes"
16541 else
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.$ac_ext >&5
16545 ac_cv_c_dll_init_fini="no"
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16550 CFLAGS=$ac_wine_try_cflags_saved
16552 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16553 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16554 if test "$ac_cv_c_dll_init_fini" = "yes"
16555 then
16556 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16559 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16560 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16561 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 else
16564 echo '{ global: *; };' >conftest.map
16565 ac_wine_try_cflags_saved=$CFLAGS
16566 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h. */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16575 main ()
16579 return 0;
16581 _ACEOF
16582 rm -f conftest.$ac_objext conftest$ac_exeext
16583 if { (ac_try="$ac_link"
16584 case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16587 esac
16588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16589 (eval "$ac_link") 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16597 { (case "(($ac_try" in
16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16600 esac
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_try") 2>&5
16603 ac_status=$?
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try='test -s conftest$ac_exeext'
16607 { (case "(($ac_try" in
16608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16609 *) ac_try_echo=$ac_try;;
16610 esac
16611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16612 (eval "$ac_try") 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16616 ac_cv_c_ld_version_scripts="yes"
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16621 ac_cv_c_ld_version_scripts="no"
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 CFLAGS=$ac_wine_try_cflags_saved
16627 rm -f conftest.map
16629 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16630 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16631 if test "$ac_cv_c_ld_version_scripts" = "yes"
16632 then
16633 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16636 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16637 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16638 if test "${ac_cv_c_export_dynamic+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 else
16641 ac_wine_try_cflags_saved=$CFLAGS
16642 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16651 main ()
16655 return 0;
16657 _ACEOF
16658 rm -f conftest.$ac_objext conftest$ac_exeext
16659 if { (ac_try="$ac_link"
16660 case "(($ac_try" in
16661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16662 *) ac_try_echo=$ac_try;;
16663 esac
16664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16665 (eval "$ac_link") 2>conftest.er1
16666 ac_status=$?
16667 grep -v '^ *+' conftest.er1 >conftest.err
16668 rm -f conftest.er1
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16673 { (case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_try") 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; } &&
16682 { ac_try='test -s conftest$ac_exeext'
16683 { (case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16686 esac
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_try") 2>&5
16689 ac_status=$?
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); }; }; then
16692 ac_cv_c_export_dynamic="yes"
16693 else
16694 echo "$as_me: failed program was:" >&5
16695 sed 's/^/| /' conftest.$ac_ext >&5
16697 ac_cv_c_export_dynamic="no"
16700 rm -f core conftest.err conftest.$ac_objext \
16701 conftest$ac_exeext conftest.$ac_ext
16702 CFLAGS=$ac_wine_try_cflags_saved
16704 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16705 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16706 if test "$ac_cv_c_export_dynamic" = "yes"
16707 then
16708 LDEXECFLAGS="-Wl,--export-dynamic"
16712 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16713 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16714 if test "${ac_cv_ld_rpath+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 else
16717 ac_wine_try_cflags_saved=$CFLAGS
16718 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16719 cat >conftest.$ac_ext <<_ACEOF
16720 /* confdefs.h. */
16721 _ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16727 main ()
16731 return 0;
16733 _ACEOF
16734 rm -f conftest.$ac_objext conftest$ac_exeext
16735 if { (ac_try="$ac_link"
16736 case "(($ac_try" in
16737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16739 esac
16740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 (eval "$ac_link") 2>conftest.er1
16742 ac_status=$?
16743 grep -v '^ *+' conftest.er1 >conftest.err
16744 rm -f conftest.er1
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16749 { (case "(($ac_try" in
16750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16752 esac
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_try") 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest$ac_exeext'
16759 { (case "(($ac_try" in
16760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16761 *) ac_try_echo=$ac_try;;
16762 esac
16763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16764 (eval "$ac_try") 2>&5
16765 ac_status=$?
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 ac_cv_ld_rpath="yes"
16769 else
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_ld_rpath="no"
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16778 CFLAGS=$ac_wine_try_cflags_saved
16780 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16781 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16782 if test "$ac_cv_ld_rpath" = "yes"
16783 then
16784 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16786 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16790 case $host_cpu in
16791 *i[3456789]86* | x86_64)
16792 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16793 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16794 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 ac_wine_try_cflags_saved=$CFLAGS
16798 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16807 main ()
16811 return 0;
16813 _ACEOF
16814 rm -f conftest.$ac_objext conftest$ac_exeext
16815 if { (ac_try="$ac_link"
16816 case "(($ac_try" in
16817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16818 *) ac_try_echo=$ac_try;;
16819 esac
16820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16821 (eval "$ac_link") 2>conftest.er1
16822 ac_status=$?
16823 grep -v '^ *+' conftest.er1 >conftest.err
16824 rm -f conftest.er1
16825 cat conftest.err >&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16829 { (case "(($ac_try" in
16830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16831 *) ac_try_echo=$ac_try;;
16832 esac
16833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16834 (eval "$ac_try") 2>&5
16835 ac_status=$?
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; } &&
16838 { ac_try='test -s conftest$ac_exeext'
16839 { (case "(($ac_try" in
16840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16841 *) ac_try_echo=$ac_try;;
16842 esac
16843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16844 (eval "$ac_try") 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_ld_reloc_exec="yes"
16849 else
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 ac_cv_ld_reloc_exec="no"
16856 rm -f core conftest.err conftest.$ac_objext \
16857 conftest$ac_exeext conftest.$ac_ext
16858 CFLAGS=$ac_wine_try_cflags_saved
16860 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16861 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16862 if test "$ac_cv_ld_reloc_exec" = "yes"
16863 then
16864 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16867 esac
16869 else
16870 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16871 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16872 if test "${ac_cv_c_dll_unixware+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 else
16875 ac_wine_try_cflags_saved=$CFLAGS
16876 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16877 cat >conftest.$ac_ext <<_ACEOF
16878 void myfunc() {}
16879 _ACEOF
16880 rm -f conftest.$ac_objext conftest$ac_exeext
16881 if { (ac_try="$ac_link"
16882 case "(($ac_try" in
16883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16884 *) ac_try_echo=$ac_try;;
16885 esac
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_link") 2>conftest.er1
16888 ac_status=$?
16889 grep -v '^ *+' conftest.er1 >conftest.err
16890 rm -f conftest.er1
16891 cat conftest.err >&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } &&
16894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16895 { (case "(($ac_try" in
16896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16897 *) ac_try_echo=$ac_try;;
16898 esac
16899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900 (eval "$ac_try") 2>&5
16901 ac_status=$?
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; } &&
16904 { ac_try='test -s conftest$ac_exeext'
16905 { (case "(($ac_try" in
16906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16907 *) ac_try_echo=$ac_try;;
16908 esac
16909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16910 (eval "$ac_try") 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_cv_c_dll_unixware="yes"
16915 else
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16919 ac_cv_c_dll_unixware="no"
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 CFLAGS=$ac_wine_try_cflags_saved
16926 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16927 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16928 if test "$ac_cv_c_dll_unixware" = "yes"
16929 then
16930 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16931 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16933 else
16934 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
16935 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
16936 if test "${ac_cv_c_dll_macho+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 else
16939 ac_wine_try_cflags_saved=$CFLAGS
16940 CFLAGS="$CFLAGS -bundle"
16941 cat >conftest.$ac_ext <<_ACEOF
16942 void myfunc() {}
16943 _ACEOF
16944 rm -f conftest.$ac_objext conftest$ac_exeext
16945 if { (ac_try="$ac_link"
16946 case "(($ac_try" in
16947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16949 esac
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_link") 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16959 { (case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16962 esac
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_try") 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; } &&
16968 { ac_try='test -s conftest$ac_exeext'
16969 { (case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16972 esac
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_try") 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16978 ac_cv_c_dll_macho="yes"
16979 else
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16983 ac_cv_c_dll_macho="no"
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 CFLAGS=$ac_wine_try_cflags_saved
16990 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
16991 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
16992 if test "$ac_cv_c_dll_macho" = "yes"
16993 then
16994 LIBEXT="dylib"
16995 LDDLLFLAGS="-bundle"
16996 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
16997 STRIP="$STRIP -u -r"
16998 COREFOUNDATIONLIB="-framework CoreFoundation"
17000 IOKITLIB="-framework IOKit -framework CoreFoundation"
17002 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17004 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17005 then
17006 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17009 case $host_cpu in
17010 *powerpc*)
17011 CFLAGS="$CFLAGS -ffixed-r13"
17012 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17014 esac
17016 else
17017 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17018 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17019 if test "${ac_cv_c_dll_hpux+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 else
17022 ac_wine_try_cflags_saved=$CFLAGS
17023 CFLAGS="$CFLAGS -shared"
17024 cat >conftest.$ac_ext <<_ACEOF
17025 void myfunc() {}
17026 _ACEOF
17027 rm -f conftest.$ac_objext conftest$ac_exeext
17028 if { (ac_try="$ac_link"
17029 case "(($ac_try" in
17030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031 *) ac_try_echo=$ac_try;;
17032 esac
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_link") 2>conftest.er1
17035 ac_status=$?
17036 grep -v '^ *+' conftest.er1 >conftest.err
17037 rm -f conftest.er1
17038 cat conftest.err >&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); } &&
17041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17042 { (case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17045 esac
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_try") 2>&5
17048 ac_status=$?
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; } &&
17051 { ac_try='test -s conftest$ac_exeext'
17052 { (case "(($ac_try" in
17053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17054 *) ac_try_echo=$ac_try;;
17055 esac
17056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17057 (eval "$ac_try") 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_cv_c_dll_hpux="yes"
17062 else
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17066 ac_cv_c_dll_hpux="no"
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17074 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17075 if test "$ac_cv_c_dll_hpux" = "yes"
17076 then
17077 LIBEXT="sl"
17078 DLLEXT=".sl"
17079 LDDLLFLAGS="-shared -fPIC"
17080 LDSHARED="\$(CC) -shared"
17087 CROSSTEST=""
17089 if test "$cross_compiling" = "no"
17090 then
17091 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17093 # Extract the first word of "$ac_prog", so it can be a program name with args.
17094 set dummy $ac_prog; ac_word=$2
17095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17097 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 if test -n "$CROSSCC"; then
17101 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17102 else
17103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17104 for as_dir in $PATH
17106 IFS=$as_save_IFS
17107 test -z "$as_dir" && as_dir=.
17108 for ac_exec_ext in '' $ac_executable_extensions; do
17109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17110 ac_cv_prog_CROSSCC="$ac_prog"
17111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17112 break 2
17114 done
17115 done
17116 IFS=$as_save_IFS
17120 CROSSCC=$ac_cv_prog_CROSSCC
17121 if test -n "$CROSSCC"; then
17122 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17123 echo "${ECHO_T}$CROSSCC" >&6; }
17124 else
17125 { echo "$as_me:$LINENO: result: no" >&5
17126 echo "${ECHO_T}no" >&6; }
17130 test -n "$CROSSCC" && break
17131 done
17132 test -n "$CROSSCC" || CROSSCC="false"
17134 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17136 # Extract the first word of "$ac_prog", so it can be a program name with args.
17137 set dummy $ac_prog; ac_word=$2
17138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17140 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17143 if test -n "$DLLTOOL"; then
17144 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17145 else
17146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17147 for as_dir in $PATH
17149 IFS=$as_save_IFS
17150 test -z "$as_dir" && as_dir=.
17151 for ac_exec_ext in '' $ac_executable_extensions; do
17152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17153 ac_cv_prog_DLLTOOL="$ac_prog"
17154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17155 break 2
17157 done
17158 done
17159 IFS=$as_save_IFS
17163 DLLTOOL=$ac_cv_prog_DLLTOOL
17164 if test -n "$DLLTOOL"; then
17165 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17166 echo "${ECHO_T}$DLLTOOL" >&6; }
17167 else
17168 { echo "$as_me:$LINENO: result: no" >&5
17169 echo "${ECHO_T}no" >&6; }
17173 test -n "$DLLTOOL" && break
17174 done
17175 test -n "$DLLTOOL" || DLLTOOL="false"
17177 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17179 # Extract the first word of "$ac_prog", so it can be a program name with args.
17180 set dummy $ac_prog; ac_word=$2
17181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17183 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17186 if test -n "$CROSSWINDRES"; then
17187 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17188 else
17189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17190 for as_dir in $PATH
17192 IFS=$as_save_IFS
17193 test -z "$as_dir" && as_dir=.
17194 for ac_exec_ext in '' $ac_executable_extensions; do
17195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17196 ac_cv_prog_CROSSWINDRES="$ac_prog"
17197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17198 break 2
17200 done
17201 done
17202 IFS=$as_save_IFS
17206 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17207 if test -n "$CROSSWINDRES"; then
17208 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17209 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17210 else
17211 { echo "$as_me:$LINENO: result: no" >&5
17212 echo "${ECHO_T}no" >&6; }
17216 test -n "$CROSSWINDRES" && break
17217 done
17218 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17220 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17223 esac
17225 if test "$LIBEXT" = "a"; then
17226 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17227 It is currently not possible to build Wine without shared library
17228 (.so) support to allow transparent switch between .so and .dll files.
17229 If you are using Linux, you will need a newer binutils.
17230 " >&5
17231 echo "$as_me: error: could not find a way to build shared libraries.
17232 It is currently not possible to build Wine without shared library
17233 (.so) support to allow transparent switch between .so and .dll files.
17234 If you are using Linux, you will need a newer binutils.
17235 " >&2;}
17236 { (exit 1); exit 1; }; }
17239 case $build_os in
17240 cygwin*|mingw32*)
17241 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17243 darwin*|macosx*)
17244 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17247 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17249 esac
17251 case $host_os in
17252 mingw32*)
17253 CRTLIBS="-lmsvcrt"
17255 SOCKETLIBS="-lws2_32"
17258 esac
17260 MAIN_BINARY="wine-pthread"
17261 case $host_cpu in
17262 *i[3456789]86*)
17263 case $host_os in
17264 linux* | k*bsd*-gnu)
17265 MAIN_BINARY="wine-glibc"
17267 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17269 esac
17271 esac
17274 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17275 then
17276 # Extract the first word of "ldd", so it can be a program name with args.
17277 set dummy ldd; ac_word=$2
17278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17280 if test "${ac_cv_path_LDD+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283 case $LDD in
17284 [\\/]* | ?:[\\/]*)
17285 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17289 as_dummy="/sbin:/usr/sbin:$PATH"
17290 for as_dir in $as_dummy
17292 IFS=$as_save_IFS
17293 test -z "$as_dir" && as_dir=.
17294 for ac_exec_ext in '' $ac_executable_extensions; do
17295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17296 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17298 break 2
17300 done
17301 done
17302 IFS=$as_save_IFS
17304 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17306 esac
17308 LDD=$ac_cv_path_LDD
17309 if test -n "$LDD"; then
17310 { echo "$as_me:$LINENO: result: $LDD" >&5
17311 echo "${ECHO_T}$LDD" >&6; }
17312 else
17313 { echo "$as_me:$LINENO: result: no" >&5
17314 echo "${ECHO_T}no" >&6; }
17318 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17319 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17320 if test "${ac_cv_lib_soname_X11+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323 ac_get_soname_save_LIBS=$LIBS
17324 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17332 /* Override any GCC internal prototype to avoid an error.
17333 Use char because int might match the return type of a GCC
17334 builtin and then its argument prototype would still apply. */
17335 #ifdef __cplusplus
17336 extern "C"
17337 #endif
17338 char XCreateWindow ();
17340 main ()
17342 return XCreateWindow ();
17344 return 0;
17346 _ACEOF
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (ac_try="$ac_link"
17349 case "(($ac_try" in
17350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17352 esac
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_link") 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17365 esac
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_try") 2>&5
17368 ac_status=$?
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; } &&
17371 { ac_try='test -s conftest$ac_exeext'
17372 { (case "(($ac_try" in
17373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17374 *) ac_try_echo=$ac_try;;
17375 esac
17376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17377 (eval "$ac_try") 2>&5
17378 ac_status=$?
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; }; then
17381 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17382 if test "x$ac_cv_lib_soname_X11" = "x"
17383 then
17384 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17390 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17395 LIBS=$ac_get_soname_save_LIBS
17397 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17398 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17399 if test "${ac_cv_lib_soname_X11+set}" = set; then
17401 cat >>confdefs.h <<_ACEOF
17402 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17403 _ACEOF
17407 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17408 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17409 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 else
17412 ac_get_soname_save_LIBS=$LIBS
17413 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any GCC internal prototype to avoid an error.
17422 Use char because int might match the return type of a GCC
17423 builtin and then its argument prototype would still apply. */
17424 #ifdef __cplusplus
17425 extern "C"
17426 #endif
17427 char XextCreateExtension ();
17429 main ()
17431 return XextCreateExtension ();
17433 return 0;
17435 _ACEOF
17436 rm -f conftest.$ac_objext conftest$ac_exeext
17437 if { (ac_try="$ac_link"
17438 case "(($ac_try" in
17439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17440 *) ac_try_echo=$ac_try;;
17441 esac
17442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17443 (eval "$ac_link") 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17454 esac
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_try") 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try='test -s conftest$ac_exeext'
17461 { (case "(($ac_try" in
17462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463 *) ac_try_echo=$ac_try;;
17464 esac
17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17466 (eval "$ac_try") 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17471 if test "x$ac_cv_lib_soname_Xext" = "x"
17472 then
17473 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17475 else
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.$ac_ext >&5
17479 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17482 rm -f core conftest.err conftest.$ac_objext \
17483 conftest$ac_exeext conftest.$ac_ext
17484 LIBS=$ac_get_soname_save_LIBS
17486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17487 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17488 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17490 cat >>confdefs.h <<_ACEOF
17491 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17492 _ACEOF
17496 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17497 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17498 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 else
17501 ac_get_soname_save_LIBS=$LIBS
17502 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17503 cat >conftest.$ac_ext <<_ACEOF
17504 /* confdefs.h. */
17505 _ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17510 /* Override any GCC internal prototype to avoid an error.
17511 Use char because int might match the return type of a GCC
17512 builtin and then its argument prototype would still apply. */
17513 #ifdef __cplusplus
17514 extern "C"
17515 #endif
17516 char XOpenDevice ();
17518 main ()
17520 return XOpenDevice ();
17522 return 0;
17524 _ACEOF
17525 rm -f conftest.$ac_objext conftest$ac_exeext
17526 if { (ac_try="$ac_link"
17527 case "(($ac_try" in
17528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17529 *) ac_try_echo=$ac_try;;
17530 esac
17531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17532 (eval "$ac_link") 2>conftest.er1
17533 ac_status=$?
17534 grep -v '^ *+' conftest.er1 >conftest.err
17535 rm -f conftest.er1
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } &&
17539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17540 { (case "(($ac_try" in
17541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17542 *) ac_try_echo=$ac_try;;
17543 esac
17544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17545 (eval "$ac_try") 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; } &&
17549 { ac_try='test -s conftest$ac_exeext'
17550 { (case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17553 esac
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_try") 2>&5
17556 ac_status=$?
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17560 if test "x$ac_cv_lib_soname_Xi" = "x"
17561 then
17562 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17568 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_get_soname_save_LIBS
17575 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17576 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17577 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17579 cat >>confdefs.h <<_ACEOF
17580 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17581 _ACEOF
17585 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17586 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17587 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17589 else
17590 ac_get_soname_save_LIBS=$LIBS
17591 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17592 cat >conftest.$ac_ext <<_ACEOF
17593 /* confdefs.h. */
17594 _ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17602 #ifdef __cplusplus
17603 extern "C"
17604 #endif
17605 char XRenderQueryExtension ();
17607 main ()
17609 return XRenderQueryExtension ();
17611 return 0;
17613 _ACEOF
17614 rm -f conftest.$ac_objext conftest$ac_exeext
17615 if { (ac_try="$ac_link"
17616 case "(($ac_try" in
17617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17618 *) ac_try_echo=$ac_try;;
17619 esac
17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17621 (eval "$ac_link") 2>conftest.er1
17622 ac_status=$?
17623 grep -v '^ *+' conftest.er1 >conftest.err
17624 rm -f conftest.er1
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17629 { (case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17632 esac
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_try") 2>&5
17635 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; } &&
17638 { ac_try='test -s conftest$ac_exeext'
17639 { (case "(($ac_try" in
17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17642 esac
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_try") 2>&5
17645 ac_status=$?
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; }; then
17648 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17649 if test "x$ac_cv_lib_soname_Xrender" = "x"
17650 then
17651 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17653 else
17654 echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.$ac_ext >&5
17657 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17660 rm -f core conftest.err conftest.$ac_objext \
17661 conftest$ac_exeext conftest.$ac_ext
17662 LIBS=$ac_get_soname_save_LIBS
17664 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17665 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17666 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17668 cat >>confdefs.h <<_ACEOF
17669 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17670 _ACEOF
17674 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17675 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17676 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17678 else
17679 ac_get_soname_save_LIBS=$LIBS
17680 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17681 cat >conftest.$ac_ext <<_ACEOF
17682 /* confdefs.h. */
17683 _ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17688 /* Override any GCC internal prototype to avoid an error.
17689 Use char because int might match the return type of a GCC
17690 builtin and then its argument prototype would still apply. */
17691 #ifdef __cplusplus
17692 extern "C"
17693 #endif
17694 char XRRQueryExtension ();
17696 main ()
17698 return XRRQueryExtension ();
17700 return 0;
17702 _ACEOF
17703 rm -f conftest.$ac_objext conftest$ac_exeext
17704 if { (ac_try="$ac_link"
17705 case "(($ac_try" in
17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17708 esac
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_link") 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } &&
17717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17718 { (case "(($ac_try" in
17719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17720 *) ac_try_echo=$ac_try;;
17721 esac
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_try") 2>&5
17724 ac_status=$?
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; } &&
17727 { ac_try='test -s conftest$ac_exeext'
17728 { (case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17731 esac
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_try") 2>&5
17734 ac_status=$?
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17737 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17738 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17739 then
17740 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17742 else
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.$ac_ext >&5
17746 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17749 rm -f core conftest.err conftest.$ac_objext \
17750 conftest$ac_exeext conftest.$ac_ext
17751 LIBS=$ac_get_soname_save_LIBS
17753 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17754 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17755 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17757 cat >>confdefs.h <<_ACEOF
17758 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17759 _ACEOF
17763 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17764 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17765 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17767 else
17768 ac_get_soname_save_LIBS=$LIBS
17769 LIBS="-lfreetype $X_LIBS $LIBS"
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17780 #ifdef __cplusplus
17781 extern "C"
17782 #endif
17783 char FT_Init_FreeType ();
17785 main ()
17787 return FT_Init_FreeType ();
17789 return 0;
17791 _ACEOF
17792 rm -f conftest.$ac_objext conftest$ac_exeext
17793 if { (ac_try="$ac_link"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17797 esac
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_link") 2>conftest.er1
17800 ac_status=$?
17801 grep -v '^ *+' conftest.er1 >conftest.err
17802 rm -f conftest.er1
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17807 { (case "(($ac_try" in
17808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17810 esac
17811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17812 (eval "$ac_try") 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try='test -s conftest$ac_exeext'
17817 { (case "(($ac_try" in
17818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17819 *) ac_try_echo=$ac_try;;
17820 esac
17821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17822 (eval "$ac_try") 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17827 if test "x$ac_cv_lib_soname_freetype" = "x"
17828 then
17829 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17835 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17838 rm -f core conftest.err conftest.$ac_objext \
17839 conftest$ac_exeext conftest.$ac_ext
17840 LIBS=$ac_get_soname_save_LIBS
17842 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17843 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17844 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17846 cat >>confdefs.h <<_ACEOF
17847 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17848 _ACEOF
17852 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17853 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17854 if test "${ac_cv_lib_soname_GL+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 else
17857 ac_get_soname_save_LIBS=$LIBS
17858 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17859 cat >conftest.$ac_ext <<_ACEOF
17860 /* confdefs.h. */
17861 _ACEOF
17862 cat confdefs.h >>conftest.$ac_ext
17863 cat >>conftest.$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17869 #ifdef __cplusplus
17870 extern "C"
17871 #endif
17872 char glXQueryExtension ();
17874 main ()
17876 return glXQueryExtension ();
17878 return 0;
17880 _ACEOF
17881 rm -f conftest.$ac_objext conftest$ac_exeext
17882 if { (ac_try="$ac_link"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_link") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } &&
17895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17896 { (case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_try") 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try='test -s conftest$ac_exeext'
17906 { (case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_try") 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17916 if test "x$ac_cv_lib_soname_GL" = "x"
17917 then
17918 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17920 else
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17924 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17927 rm -f core conftest.err conftest.$ac_objext \
17928 conftest$ac_exeext conftest.$ac_ext
17929 LIBS=$ac_get_soname_save_LIBS
17931 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17932 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17933 if test "${ac_cv_lib_soname_GL+set}" = set; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17937 _ACEOF
17941 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17942 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17943 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 else
17946 ac_get_soname_save_LIBS=$LIBS
17947 LIBS="-ldbus-1 $LIBS"
17948 cat >conftest.$ac_ext <<_ACEOF
17949 /* confdefs.h. */
17950 _ACEOF
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17955 /* Override any GCC internal prototype to avoid an error.
17956 Use char because int might match the return type of a GCC
17957 builtin and then its argument prototype would still apply. */
17958 #ifdef __cplusplus
17959 extern "C"
17960 #endif
17961 char dbus_error_init ();
17963 main ()
17965 return dbus_error_init ();
17967 return 0;
17969 _ACEOF
17970 rm -f conftest.$ac_objext conftest$ac_exeext
17971 if { (ac_try="$ac_link"
17972 case "(($ac_try" in
17973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17974 *) ac_try_echo=$ac_try;;
17975 esac
17976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17977 (eval "$ac_link") 2>conftest.er1
17978 ac_status=$?
17979 grep -v '^ *+' conftest.er1 >conftest.err
17980 rm -f conftest.er1
17981 cat conftest.err >&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17985 { (case "(($ac_try" in
17986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17988 esac
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_try") 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest$ac_exeext'
17995 { (case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17998 esac
17999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_try") 2>&5
18001 ac_status=$?
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; }; then
18004 ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18005 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18006 then
18007 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_get_soname_save_LIBS
18020 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18021 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18022 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18024 cat >>confdefs.h <<_ACEOF
18025 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18026 _ACEOF
18030 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18031 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18032 if test "${ac_cv_lib_soname_hal+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 else
18035 ac_get_soname_save_LIBS=$LIBS
18036 LIBS="-lhal $LIBS"
18037 cat >conftest.$ac_ext <<_ACEOF
18038 /* confdefs.h. */
18039 _ACEOF
18040 cat confdefs.h >>conftest.$ac_ext
18041 cat >>conftest.$ac_ext <<_ACEOF
18042 /* end confdefs.h. */
18044 /* Override any GCC internal prototype to avoid an error.
18045 Use char because int might match the return type of a GCC
18046 builtin and then its argument prototype would still apply. */
18047 #ifdef __cplusplus
18048 extern "C"
18049 #endif
18050 char libhal_ctx_new ();
18052 main ()
18054 return libhal_ctx_new ();
18056 return 0;
18058 _ACEOF
18059 rm -f conftest.$ac_objext conftest$ac_exeext
18060 if { (ac_try="$ac_link"
18061 case "(($ac_try" in
18062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18063 *) ac_try_echo=$ac_try;;
18064 esac
18065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18066 (eval "$ac_link") 2>conftest.er1
18067 ac_status=$?
18068 grep -v '^ *+' conftest.er1 >conftest.err
18069 rm -f conftest.er1
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18074 { (case "(($ac_try" in
18075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18076 *) ac_try_echo=$ac_try;;
18077 esac
18078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18079 (eval "$ac_try") 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; } &&
18083 { ac_try='test -s conftest$ac_exeext'
18084 { (case "(($ac_try" in
18085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18086 *) ac_try_echo=$ac_try;;
18087 esac
18088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18089 (eval "$ac_try") 2>&5
18090 ac_status=$?
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18093 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18094 if test "x$ac_cv_lib_soname_hal" = "x"
18095 then
18096 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18098 else
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18102 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext conftest.$ac_ext
18107 LIBS=$ac_get_soname_save_LIBS
18109 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18110 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18111 if test "${ac_cv_lib_soname_hal+set}" = set; then
18113 cat >>confdefs.h <<_ACEOF
18114 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18115 _ACEOF
18119 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18120 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18121 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18123 else
18124 ac_get_soname_save_LIBS=$LIBS
18125 LIBS="-ltxc_dxtn $LIBS"
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18133 /* Override any GCC internal prototype to avoid an error.
18134 Use char because int might match the return type of a GCC
18135 builtin and then its argument prototype would still apply. */
18136 #ifdef __cplusplus
18137 extern "C"
18138 #endif
18139 char fetch_2d_texel_rgba_dxt1 ();
18141 main ()
18143 return fetch_2d_texel_rgba_dxt1 ();
18145 return 0;
18147 _ACEOF
18148 rm -f conftest.$ac_objext conftest$ac_exeext
18149 if { (ac_try="$ac_link"
18150 case "(($ac_try" in
18151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18152 *) ac_try_echo=$ac_try;;
18153 esac
18154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18155 (eval "$ac_link") 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18163 { (case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18166 esac
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_try") 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try='test -s conftest$ac_exeext'
18173 { (case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18176 esac
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_try") 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18183 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18184 then
18185 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18187 else
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18191 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18196 LIBS=$ac_get_soname_save_LIBS
18198 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18199 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18200 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18204 _ACEOF
18208 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18209 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18210 if test "${ac_cv_lib_soname_cups+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 else
18213 ac_get_soname_save_LIBS=$LIBS
18214 LIBS="-lcups $LIBS"
18215 cat >conftest.$ac_ext <<_ACEOF
18216 /* confdefs.h. */
18217 _ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18222 /* Override any GCC internal prototype to avoid an error.
18223 Use char because int might match the return type of a GCC
18224 builtin and then its argument prototype would still apply. */
18225 #ifdef __cplusplus
18226 extern "C"
18227 #endif
18228 char cupsGetDefault ();
18230 main ()
18232 return cupsGetDefault ();
18234 return 0;
18236 _ACEOF
18237 rm -f conftest.$ac_objext conftest$ac_exeext
18238 if { (ac_try="$ac_link"
18239 case "(($ac_try" in
18240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18241 *) ac_try_echo=$ac_try;;
18242 esac
18243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18244 (eval "$ac_link") 2>conftest.er1
18245 ac_status=$?
18246 grep -v '^ *+' conftest.er1 >conftest.err
18247 rm -f conftest.er1
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18252 { (case "(($ac_try" in
18253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18254 *) ac_try_echo=$ac_try;;
18255 esac
18256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18257 (eval "$ac_try") 2>&5
18258 ac_status=$?
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try='test -s conftest$ac_exeext'
18262 { (case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264 *) ac_try_echo=$ac_try;;
18265 esac
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_try") 2>&5
18268 ac_status=$?
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18272 if test "x$ac_cv_lib_soname_cups" = "x"
18273 then
18274 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18276 else
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.$ac_ext >&5
18280 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext conftest.$ac_ext
18285 LIBS=$ac_get_soname_save_LIBS
18287 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18288 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18289 if test "${ac_cv_lib_soname_cups+set}" = set; then
18291 cat >>confdefs.h <<_ACEOF
18292 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18293 _ACEOF
18297 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18298 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18299 if test "${ac_cv_lib_soname_jack+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 else
18302 ac_get_soname_save_LIBS=$LIBS
18303 LIBS="-ljack $LIBS"
18304 cat >conftest.$ac_ext <<_ACEOF
18305 /* confdefs.h. */
18306 _ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char jack_client_new ();
18319 main ()
18321 return jack_client_new ();
18323 return 0;
18325 _ACEOF
18326 rm -f conftest.$ac_objext conftest$ac_exeext
18327 if { (ac_try="$ac_link"
18328 case "(($ac_try" in
18329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18330 *) ac_try_echo=$ac_try;;
18331 esac
18332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18333 (eval "$ac_link") 2>conftest.er1
18334 ac_status=$?
18335 grep -v '^ *+' conftest.er1 >conftest.err
18336 rm -f conftest.er1
18337 cat conftest.err >&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18341 { (case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18344 esac
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_try") 2>&5
18347 ac_status=$?
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); }; } &&
18350 { ac_try='test -s conftest$ac_exeext'
18351 { (case "(($ac_try" in
18352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18353 *) ac_try_echo=$ac_try;;
18354 esac
18355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18356 (eval "$ac_try") 2>&5
18357 ac_status=$?
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; }; then
18360 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18361 if test "x$ac_cv_lib_soname_jack" = "x"
18362 then
18363 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18365 else
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.$ac_ext >&5
18369 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18372 rm -f core conftest.err conftest.$ac_objext \
18373 conftest$ac_exeext conftest.$ac_ext
18374 LIBS=$ac_get_soname_save_LIBS
18376 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18377 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18378 if test "${ac_cv_lib_soname_jack+set}" = set; then
18380 cat >>confdefs.h <<_ACEOF
18381 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18382 _ACEOF
18386 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18387 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18388 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 else
18391 ac_get_soname_save_LIBS=$LIBS
18392 LIBS="-lfontconfig $LIBS"
18393 cat >conftest.$ac_ext <<_ACEOF
18394 /* confdefs.h. */
18395 _ACEOF
18396 cat confdefs.h >>conftest.$ac_ext
18397 cat >>conftest.$ac_ext <<_ACEOF
18398 /* end confdefs.h. */
18400 /* Override any GCC internal prototype to avoid an error.
18401 Use char because int might match the return type of a GCC
18402 builtin and then its argument prototype would still apply. */
18403 #ifdef __cplusplus
18404 extern "C"
18405 #endif
18406 char FcInit ();
18408 main ()
18410 return FcInit ();
18412 return 0;
18414 _ACEOF
18415 rm -f conftest.$ac_objext conftest$ac_exeext
18416 if { (ac_try="$ac_link"
18417 case "(($ac_try" in
18418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18419 *) ac_try_echo=$ac_try;;
18420 esac
18421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18422 (eval "$ac_link") 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18430 { (case "(($ac_try" in
18431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18432 *) ac_try_echo=$ac_try;;
18433 esac
18434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_try") 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try='test -s conftest$ac_exeext'
18440 { (case "(($ac_try" in
18441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18442 *) ac_try_echo=$ac_try;;
18443 esac
18444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18445 (eval "$ac_try") 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18450 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18451 then
18452 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18458 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18461 rm -f core conftest.err conftest.$ac_objext \
18462 conftest$ac_exeext conftest.$ac_ext
18463 LIBS=$ac_get_soname_save_LIBS
18465 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18466 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18467 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18469 cat >>confdefs.h <<_ACEOF
18470 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18471 _ACEOF
18475 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18476 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18477 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 else
18480 ac_get_soname_save_LIBS=$LIBS
18481 LIBS="-lssl $LIBS"
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18489 /* Override any GCC internal prototype to avoid an error.
18490 Use char because int might match the return type of a GCC
18491 builtin and then its argument prototype would still apply. */
18492 #ifdef __cplusplus
18493 extern "C"
18494 #endif
18495 char SSL_library_init ();
18497 main ()
18499 return SSL_library_init ();
18501 return 0;
18503 _ACEOF
18504 rm -f conftest.$ac_objext conftest$ac_exeext
18505 if { (ac_try="$ac_link"
18506 case "(($ac_try" in
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508 *) ac_try_echo=$ac_try;;
18509 esac
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_link") 2>conftest.er1
18512 ac_status=$?
18513 grep -v '^ *+' conftest.er1 >conftest.err
18514 rm -f conftest.er1
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } &&
18518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18519 { (case "(($ac_try" in
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18522 esac
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_try") 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest$ac_exeext'
18529 { (case "(($ac_try" in
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18531 *) ac_try_echo=$ac_try;;
18532 esac
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_try") 2>&5
18535 ac_status=$?
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18539 if test "x$ac_cv_lib_soname_ssl" = "x"
18540 then
18541 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18543 else
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18550 rm -f core conftest.err conftest.$ac_objext \
18551 conftest$ac_exeext conftest.$ac_ext
18552 LIBS=$ac_get_soname_save_LIBS
18554 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18555 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18556 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18558 cat >>confdefs.h <<_ACEOF
18559 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18560 _ACEOF
18564 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18565 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18566 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18567 echo $ECHO_N "(cached) $ECHO_C" >&6
18568 else
18569 ac_get_soname_save_LIBS=$LIBS
18570 LIBS="-lcrypto $LIBS"
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18578 /* Override any GCC internal prototype to avoid an error.
18579 Use char because int might match the return type of a GCC
18580 builtin and then its argument prototype would still apply. */
18581 #ifdef __cplusplus
18582 extern "C"
18583 #endif
18584 char BIO_new_socket ();
18586 main ()
18588 return BIO_new_socket ();
18590 return 0;
18592 _ACEOF
18593 rm -f conftest.$ac_objext conftest$ac_exeext
18594 if { (ac_try="$ac_link"
18595 case "(($ac_try" in
18596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18597 *) ac_try_echo=$ac_try;;
18598 esac
18599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18600 (eval "$ac_link") 2>conftest.er1
18601 ac_status=$?
18602 grep -v '^ *+' conftest.er1 >conftest.err
18603 rm -f conftest.er1
18604 cat conftest.err >&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18608 { (case "(($ac_try" in
18609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18610 *) ac_try_echo=$ac_try;;
18611 esac
18612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18613 (eval "$ac_try") 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try='test -s conftest$ac_exeext'
18618 { (case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18621 esac
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_try") 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18628 if test "x$ac_cv_lib_soname_crypto" = "x"
18629 then
18630 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18632 else
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18641 LIBS=$ac_get_soname_save_LIBS
18643 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18644 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18645 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18647 cat >>confdefs.h <<_ACEOF
18648 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18649 _ACEOF
18653 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18654 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18655 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18656 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 else
18658 ac_get_soname_save_LIBS=$LIBS
18659 LIBS="-lncurses $LIBS"
18660 cat >conftest.$ac_ext <<_ACEOF
18661 /* confdefs.h. */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18667 /* Override any GCC internal prototype to avoid an error.
18668 Use char because int might match the return type of a GCC
18669 builtin and then its argument prototype would still apply. */
18670 #ifdef __cplusplus
18671 extern "C"
18672 #endif
18673 char waddch ();
18675 main ()
18677 return waddch ();
18679 return 0;
18681 _ACEOF
18682 rm -f conftest.$ac_objext conftest$ac_exeext
18683 if { (ac_try="$ac_link"
18684 case "(($ac_try" in
18685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18687 esac
18688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18689 (eval "$ac_link") 2>conftest.er1
18690 ac_status=$?
18691 grep -v '^ *+' conftest.er1 >conftest.err
18692 rm -f conftest.er1
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18697 { (case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18700 esac
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_try") 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; } &&
18706 { ac_try='test -s conftest$ac_exeext'
18707 { (case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18710 esac
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_try") 2>&5
18713 ac_status=$?
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18716 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18717 if test "x$ac_cv_lib_soname_ncurses" = "x"
18718 then
18719 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18721 else
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18725 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18728 rm -f core conftest.err conftest.$ac_objext \
18729 conftest$ac_exeext conftest.$ac_ext
18730 LIBS=$ac_get_soname_save_LIBS
18732 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18733 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18734 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18738 _ACEOF
18742 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18743 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18744 if test "${ac_cv_lib_soname_curses+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 else
18747 ac_get_soname_save_LIBS=$LIBS
18748 LIBS="-lcurses $LIBS"
18749 cat >conftest.$ac_ext <<_ACEOF
18750 /* confdefs.h. */
18751 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18756 /* Override any GCC internal prototype to avoid an error.
18757 Use char because int might match the return type of a GCC
18758 builtin and then its argument prototype would still apply. */
18759 #ifdef __cplusplus
18760 extern "C"
18761 #endif
18762 char waddch ();
18764 main ()
18766 return waddch ();
18768 return 0;
18770 _ACEOF
18771 rm -f conftest.$ac_objext conftest$ac_exeext
18772 if { (ac_try="$ac_link"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18776 esac
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_link") 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18786 { (case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18789 esac
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_try") 2>&5
18792 ac_status=$?
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try='test -s conftest$ac_exeext'
18796 { (case "(($ac_try" in
18797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18798 *) ac_try_echo=$ac_try;;
18799 esac
18800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18801 (eval "$ac_try") 2>&5
18802 ac_status=$?
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18806 if test "x$ac_cv_lib_soname_curses" = "x"
18807 then
18808 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18810 else
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18814 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18817 rm -f core conftest.err conftest.$ac_objext \
18818 conftest$ac_exeext conftest.$ac_ext
18819 LIBS=$ac_get_soname_save_LIBS
18821 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18822 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18823 if test "${ac_cv_lib_soname_curses+set}" = set; then
18825 cat >>confdefs.h <<_ACEOF
18826 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18827 _ACEOF
18831 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18832 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18833 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 else
18836 ac_get_soname_save_LIBS=$LIBS
18837 LIBS="-ljpeg $LIBS"
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18845 /* Override any GCC internal prototype to avoid an error.
18846 Use char because int might match the return type of a GCC
18847 builtin and then its argument prototype would still apply. */
18848 #ifdef __cplusplus
18849 extern "C"
18850 #endif
18851 char jpeg_start_decompress ();
18853 main ()
18855 return jpeg_start_decompress ();
18857 return 0;
18859 _ACEOF
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (ac_try="$ac_link"
18862 case "(($ac_try" in
18863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18864 *) ac_try_echo=$ac_try;;
18865 esac
18866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18867 (eval "$ac_link") 2>conftest.er1
18868 ac_status=$?
18869 grep -v '^ *+' conftest.er1 >conftest.err
18870 rm -f conftest.er1
18871 cat conftest.err >&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } &&
18874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18875 { (case "(($ac_try" in
18876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18877 *) ac_try_echo=$ac_try;;
18878 esac
18879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18880 (eval "$ac_try") 2>&5
18881 ac_status=$?
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; } &&
18884 { ac_try='test -s conftest$ac_exeext'
18885 { (case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18888 esac
18889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_try") 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18894 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18895 if test "x$ac_cv_lib_soname_jpeg" = "x"
18896 then
18897 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18906 rm -f core conftest.err conftest.$ac_objext \
18907 conftest$ac_exeext conftest.$ac_ext
18908 LIBS=$ac_get_soname_save_LIBS
18910 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18911 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18912 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18914 cat >>confdefs.h <<_ACEOF
18915 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18916 _ACEOF
18920 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18921 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18922 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18924 else
18925 ac_get_soname_save_LIBS=$LIBS
18926 LIBS="-lungif $LIBS"
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18934 /* Override any GCC internal prototype to avoid an error.
18935 Use char because int might match the return type of a GCC
18936 builtin and then its argument prototype would still apply. */
18937 #ifdef __cplusplus
18938 extern "C"
18939 #endif
18940 char DGifOpen ();
18942 main ()
18944 return DGifOpen ();
18946 return 0;
18948 _ACEOF
18949 rm -f conftest.$ac_objext conftest$ac_exeext
18950 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
18957 ac_status=$?
18958 grep -v '^ *+' conftest.er1 >conftest.err
18959 rm -f conftest.er1
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } &&
18963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18964 { (case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18967 esac
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_try") 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try='test -s conftest$ac_exeext'
18974 { (case "(($ac_try" in
18975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18977 esac
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_try") 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18984 if test "x$ac_cv_lib_soname_ungif" = "x"
18985 then
18986 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18988 else
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18992 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18995 rm -f core conftest.err conftest.$ac_objext \
18996 conftest$ac_exeext conftest.$ac_ext
18997 LIBS=$ac_get_soname_save_LIBS
18999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19000 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19001 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19003 cat >>confdefs.h <<_ACEOF
19004 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19005 _ACEOF
19009 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19010 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19011 if test "${ac_cv_lib_soname_gif+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 else
19014 ac_get_soname_save_LIBS=$LIBS
19015 LIBS="-lgif $LIBS"
19016 cat >conftest.$ac_ext <<_ACEOF
19017 /* confdefs.h. */
19018 _ACEOF
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19023 /* Override any GCC internal prototype to avoid an error.
19024 Use char because int might match the return type of a GCC
19025 builtin and then its argument prototype would still apply. */
19026 #ifdef __cplusplus
19027 extern "C"
19028 #endif
19029 char DGifOpen ();
19031 main ()
19033 return DGifOpen ();
19035 return 0;
19037 _ACEOF
19038 rm -f conftest.$ac_objext conftest$ac_exeext
19039 if { (ac_try="$ac_link"
19040 case "(($ac_try" in
19041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19042 *) ac_try_echo=$ac_try;;
19043 esac
19044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19045 (eval "$ac_link") 2>conftest.er1
19046 ac_status=$?
19047 grep -v '^ *+' conftest.er1 >conftest.err
19048 rm -f conftest.er1
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19053 { (case "(($ac_try" in
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19056 esac
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19058 (eval "$ac_try") 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try='test -s conftest$ac_exeext'
19063 { (case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19066 esac
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_try") 2>&5
19069 ac_status=$?
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; }; then
19072 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19073 if test "x$ac_cv_lib_soname_gif" = "x"
19074 then
19075 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19077 else
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19081 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19084 rm -f core conftest.err conftest.$ac_objext \
19085 conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_get_soname_save_LIBS
19088 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19089 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19090 if test "${ac_cv_lib_soname_gif+set}" = set; then
19092 cat >>confdefs.h <<_ACEOF
19093 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19094 _ACEOF
19098 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19099 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19100 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19102 else
19103 ac_get_soname_save_LIBS=$LIBS
19104 LIBS="-lcapi20 $LIBS"
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19112 /* Override any GCC internal prototype to avoid an error.
19113 Use char because int might match the return type of a GCC
19114 builtin and then its argument prototype would still apply. */
19115 #ifdef __cplusplus
19116 extern "C"
19117 #endif
19118 char capi20_isinstalled ();
19120 main ()
19122 return capi20_isinstalled ();
19124 return 0;
19126 _ACEOF
19127 rm -f conftest.$ac_objext conftest$ac_exeext
19128 if { (ac_try="$ac_link"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_link") 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19142 { (case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19145 esac
19146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_try") 2>&5
19148 ac_status=$?
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; } &&
19151 { ac_try='test -s conftest$ac_exeext'
19152 { (case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19155 esac
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_try") 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19162 if test "x$ac_cv_lib_soname_capi20" = "x"
19163 then
19164 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19166 else
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19170 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19173 rm -f core conftest.err conftest.$ac_objext \
19174 conftest$ac_exeext conftest.$ac_ext
19175 LIBS=$ac_get_soname_save_LIBS
19177 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19178 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19179 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19181 cat >>confdefs.h <<_ACEOF
19182 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19183 _ACEOF
19257 for ac_func in \
19258 _lwp_create \
19259 _lwp_self \
19260 _pclose \
19261 _popen \
19262 _snprintf \
19263 _spawnvp \
19264 _stricmp \
19265 _strnicmp \
19266 _vsnprintf \
19267 asctime_r \
19268 chsize \
19269 clone \
19270 epoll_create \
19271 ffs \
19272 finite \
19273 fork \
19274 fpclass \
19275 fstatfs \
19276 fstatvfs \
19277 ftruncate \
19278 futimes \
19279 futimesat \
19280 getaddrinfo \
19281 getnameinfo \
19282 getnetbyname \
19283 getopt_long \
19284 getpagesize \
19285 getprotobyname \
19286 getprotobynumber \
19287 getpwuid \
19288 getservbyport \
19289 gettid \
19290 gettimeofday \
19291 getuid \
19292 inet_network \
19293 kqueue \
19294 lstat \
19295 memmove \
19296 mmap \
19297 pclose \
19298 popen \
19299 prctl \
19300 pread \
19301 pwrite \
19302 readlink \
19303 rfork \
19304 sched_yield \
19305 select \
19306 sendmsg \
19307 setrlimit \
19308 settimeofday \
19309 sigaltstack \
19310 sigprocmask \
19311 snprintf \
19312 spawnvp \
19313 statfs \
19314 statvfs \
19315 strcasecmp \
19316 strerror \
19317 strncasecmp \
19318 tcgetattr \
19319 timegm \
19320 usleep \
19321 vsnprintf \
19322 wait4 \
19323 waitpid \
19326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19327 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19329 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19331 else
19332 cat >conftest.$ac_ext <<_ACEOF
19333 /* confdefs.h. */
19334 _ACEOF
19335 cat confdefs.h >>conftest.$ac_ext
19336 cat >>conftest.$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19340 #define $ac_func innocuous_$ac_func
19342 /* System header to define __stub macros and hopefully few prototypes,
19343 which can conflict with char $ac_func (); below.
19344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19345 <limits.h> exists even on freestanding compilers. */
19347 #ifdef __STDC__
19348 # include <limits.h>
19349 #else
19350 # include <assert.h>
19351 #endif
19353 #undef $ac_func
19355 /* Override any GCC internal prototype to avoid an error.
19356 Use char because int might match the return type of a GCC
19357 builtin and then its argument prototype would still apply. */
19358 #ifdef __cplusplus
19359 extern "C"
19360 #endif
19361 char $ac_func ();
19362 /* The GNU C library defines this for functions which it implements
19363 to always fail with ENOSYS. Some functions are actually named
19364 something starting with __ and the normal name is an alias. */
19365 #if defined __stub_$ac_func || defined __stub___$ac_func
19366 choke me
19367 #endif
19370 main ()
19372 return $ac_func ();
19374 return 0;
19376 _ACEOF
19377 rm -f conftest.$ac_objext conftest$ac_exeext
19378 if { (ac_try="$ac_link"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19382 esac
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_link") 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19392 { (case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_try") 2>&5
19398 ac_status=$?
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; } &&
19401 { ac_try='test -s conftest$ac_exeext'
19402 { (case "(($ac_try" in
19403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19404 *) ac_try_echo=$ac_try;;
19405 esac
19406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19407 (eval "$ac_try") 2>&5
19408 ac_status=$?
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 eval "$as_ac_var=yes"
19412 else
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19416 eval "$as_ac_var=no"
19419 rm -f core conftest.err conftest.$ac_objext \
19420 conftest$ac_exeext conftest.$ac_ext
19422 ac_res=`eval echo '${'$as_ac_var'}'`
19423 { echo "$as_me:$LINENO: result: $ac_res" >&5
19424 echo "${ECHO_T}$ac_res" >&6; }
19425 if test `eval echo '${'$as_ac_var'}'` = yes; then
19426 cat >>confdefs.h <<_ACEOF
19427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19428 _ACEOF
19431 done
19436 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19437 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19438 if test "${ac_cv_c_const+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441 cat >conftest.$ac_ext <<_ACEOF
19442 /* confdefs.h. */
19443 _ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19449 main ()
19451 /* FIXME: Include the comments suggested by Paul. */
19452 #ifndef __cplusplus
19453 /* Ultrix mips cc rejects this. */
19454 typedef int charset[2];
19455 const charset x;
19456 /* SunOS 4.1.1 cc rejects this. */
19457 char const *const *ccp;
19458 char **p;
19459 /* NEC SVR4.0.2 mips cc rejects this. */
19460 struct point {int x, y;};
19461 static struct point const zero = {0,0};
19462 /* AIX XL C 1.02.0.0 rejects this.
19463 It does not let you subtract one const X* pointer from another in
19464 an arm of an if-expression whose if-part is not a constant
19465 expression */
19466 const char *g = "string";
19467 ccp = &g + (g ? g-g : 0);
19468 /* HPUX 7.0 cc rejects these. */
19469 ++ccp;
19470 p = (char**) ccp;
19471 ccp = (char const *const *) p;
19472 { /* SCO 3.2v4 cc rejects this. */
19473 char *t;
19474 char const *s = 0 ? (char *) 0 : (char const *) 0;
19476 *t++ = 0;
19477 if (s) return 0;
19479 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19480 int x[] = {25, 17};
19481 const int *foo = &x[0];
19482 ++foo;
19484 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19485 typedef const int *iptr;
19486 iptr p = 0;
19487 ++p;
19489 { /* AIX XL C 1.02.0.0 rejects this saying
19490 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19491 struct s { int j; const int *ap[3]; };
19492 struct s *b; b->j = 5;
19494 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19495 const int foo = 10;
19496 if (!foo) return 0;
19498 return !x[0] && !zero.x;
19499 #endif
19502 return 0;
19504 _ACEOF
19505 rm -f conftest.$ac_objext
19506 if { (ac_try="$ac_compile"
19507 case "(($ac_try" in
19508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19509 *) ac_try_echo=$ac_try;;
19510 esac
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_compile") 2>conftest.er1
19513 ac_status=$?
19514 grep -v '^ *+' conftest.er1 >conftest.err
19515 rm -f conftest.er1
19516 cat conftest.err >&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } &&
19519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19520 { (case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19523 esac
19524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_try") 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; } &&
19529 { ac_try='test -s conftest.$ac_objext'
19530 { (case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_try") 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_c_const=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 ac_cv_c_const=no
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19550 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19551 if test $ac_cv_c_const = no; then
19553 cat >>confdefs.h <<\_ACEOF
19554 #define const
19555 _ACEOF
19559 { echo "$as_me:$LINENO: checking for inline" >&5
19560 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19561 if test "${ac_cv_c_inline+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 ac_cv_c_inline=no
19565 for ac_kw in inline __inline__ __inline; do
19566 cat >conftest.$ac_ext <<_ACEOF
19567 /* confdefs.h. */
19568 _ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572 #ifndef __cplusplus
19573 typedef int foo_t;
19574 static $ac_kw foo_t static_foo () {return 0; }
19575 $ac_kw foo_t foo () {return 0; }
19576 #endif
19578 _ACEOF
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19584 esac
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19587 ac_status=$?
19588 grep -v '^ *+' conftest.er1 >conftest.err
19589 rm -f conftest.er1
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19594 { (case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19597 esac
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_try") 2>&5
19600 ac_status=$?
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; } &&
19603 { ac_try='test -s conftest.$ac_objext'
19604 { (case "(($ac_try" in
19605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606 *) ac_try_echo=$ac_try;;
19607 esac
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_try") 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_cv_c_inline=$ac_kw
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622 test "$ac_cv_c_inline" != no && break
19623 done
19626 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19627 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19630 case $ac_cv_c_inline in
19631 inline | yes) ;;
19633 case $ac_cv_c_inline in
19634 no) ac_val=;;
19635 *) ac_val=$ac_cv_c_inline;;
19636 esac
19637 cat >>confdefs.h <<_ACEOF
19638 #ifndef __cplusplus
19639 #define inline $ac_val
19640 #endif
19641 _ACEOF
19643 esac
19645 { echo "$as_me:$LINENO: checking for mode_t" >&5
19646 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19647 if test "${ac_cv_type_mode_t+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 else
19650 cat >conftest.$ac_ext <<_ACEOF
19651 /* confdefs.h. */
19652 _ACEOF
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19657 typedef mode_t ac__type_new_;
19659 main ()
19661 if ((ac__type_new_ *) 0)
19662 return 0;
19663 if (sizeof (ac__type_new_))
19664 return 0;
19666 return 0;
19668 _ACEOF
19669 rm -f conftest.$ac_objext
19670 if { (ac_try="$ac_compile"
19671 case "(($ac_try" in
19672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19673 *) ac_try_echo=$ac_try;;
19674 esac
19675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 (eval "$ac_compile") 2>conftest.er1
19677 ac_status=$?
19678 grep -v '^ *+' conftest.er1 >conftest.err
19679 rm -f conftest.er1
19680 cat conftest.err >&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19684 { (case "(($ac_try" in
19685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19686 *) ac_try_echo=$ac_try;;
19687 esac
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_try") 2>&5
19690 ac_status=$?
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; } &&
19693 { ac_try='test -s conftest.$ac_objext'
19694 { (case "(($ac_try" in
19695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19696 *) ac_try_echo=$ac_try;;
19697 esac
19698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19699 (eval "$ac_try") 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_type_mode_t=yes
19704 else
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19708 ac_cv_type_mode_t=no
19711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19714 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19715 if test $ac_cv_type_mode_t = yes; then
19717 cat >>confdefs.h <<_ACEOF
19718 #define HAVE_MODE_T 1
19719 _ACEOF
19723 { echo "$as_me:$LINENO: checking for off_t" >&5
19724 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19725 if test "${ac_cv_type_off_t+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 $ac_includes_default
19735 typedef off_t ac__type_new_;
19737 main ()
19739 if ((ac__type_new_ *) 0)
19740 return 0;
19741 if (sizeof (ac__type_new_))
19742 return 0;
19744 return 0;
19746 _ACEOF
19747 rm -f conftest.$ac_objext
19748 if { (ac_try="$ac_compile"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19752 esac
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_compile") 2>conftest.er1
19755 ac_status=$?
19756 grep -v '^ *+' conftest.er1 >conftest.err
19757 rm -f conftest.er1
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19762 { (case "(($ac_try" in
19763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19764 *) ac_try_echo=$ac_try;;
19765 esac
19766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19767 (eval "$ac_try") 2>&5
19768 ac_status=$?
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try='test -s conftest.$ac_objext'
19772 { (case "(($ac_try" in
19773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19774 *) ac_try_echo=$ac_try;;
19775 esac
19776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19777 (eval "$ac_try") 2>&5
19778 ac_status=$?
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_cv_type_off_t=yes
19782 else
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19786 ac_cv_type_off_t=no
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19792 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19793 if test $ac_cv_type_off_t = yes; then
19795 cat >>confdefs.h <<_ACEOF
19796 #define HAVE_OFF_T 1
19797 _ACEOF
19801 { echo "$as_me:$LINENO: checking for pid_t" >&5
19802 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19803 if test "${ac_cv_type_pid_t+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 else
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h. */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19813 typedef pid_t ac__type_new_;
19815 main ()
19817 if ((ac__type_new_ *) 0)
19818 return 0;
19819 if (sizeof (ac__type_new_))
19820 return 0;
19822 return 0;
19824 _ACEOF
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19829 *) ac_try_echo=$ac_try;;
19830 esac
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19833 ac_status=$?
19834 grep -v '^ *+' conftest.er1 >conftest.err
19835 rm -f conftest.er1
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19840 { (case "(($ac_try" in
19841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19843 esac
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_try") 2>&5
19846 ac_status=$?
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; } &&
19849 { ac_try='test -s conftest.$ac_objext'
19850 { (case "(($ac_try" in
19851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19853 esac
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_try") 2>&5
19856 ac_status=$?
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 ac_cv_type_pid_t=yes
19860 else
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19864 ac_cv_type_pid_t=no
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19869 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19870 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19871 if test $ac_cv_type_pid_t = yes; then
19873 cat >>confdefs.h <<_ACEOF
19874 #define HAVE_PID_T 1
19875 _ACEOF
19879 { echo "$as_me:$LINENO: checking for size_t" >&5
19880 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19881 if test "${ac_cv_type_size_t+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 else
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef size_t ac__type_new_;
19893 main ()
19895 if ((ac__type_new_ *) 0)
19896 return 0;
19897 if (sizeof (ac__type_new_))
19898 return 0;
19900 return 0;
19902 _ACEOF
19903 rm -f conftest.$ac_objext
19904 if { (ac_try="$ac_compile"
19905 case "(($ac_try" in
19906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19907 *) ac_try_echo=$ac_try;;
19908 esac
19909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19910 (eval "$ac_compile") 2>conftest.er1
19911 ac_status=$?
19912 grep -v '^ *+' conftest.er1 >conftest.err
19913 rm -f conftest.er1
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19918 { (case "(($ac_try" in
19919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920 *) ac_try_echo=$ac_try;;
19921 esac
19922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_try") 2>&5
19924 ac_status=$?
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try='test -s conftest.$ac_objext'
19928 { (case "(($ac_try" in
19929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19930 *) ac_try_echo=$ac_try;;
19931 esac
19932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19933 (eval "$ac_try") 2>&5
19934 ac_status=$?
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 ac_cv_type_size_t=yes
19938 else
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.$ac_ext >&5
19942 ac_cv_type_size_t=no
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19947 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19948 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19949 if test $ac_cv_type_size_t = yes; then
19951 cat >>confdefs.h <<_ACEOF
19952 #define HAVE_SIZE_T 1
19953 _ACEOF
19957 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19958 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19959 if test "${ac_cv_type_ssize_t+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19961 else
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19969 typedef ssize_t ac__type_new_;
19971 main ()
19973 if ((ac__type_new_ *) 0)
19974 return 0;
19975 if (sizeof (ac__type_new_))
19976 return 0;
19978 return 0;
19980 _ACEOF
19981 rm -f conftest.$ac_objext
19982 if { (ac_try="$ac_compile"
19983 case "(($ac_try" in
19984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19985 *) ac_try_echo=$ac_try;;
19986 esac
19987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19988 (eval "$ac_compile") 2>conftest.er1
19989 ac_status=$?
19990 grep -v '^ *+' conftest.er1 >conftest.err
19991 rm -f conftest.er1
19992 cat conftest.err >&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19996 { (case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
19999 esac
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_try") 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try='test -s conftest.$ac_objext'
20006 { (case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20009 esac
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_try") 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 ac_cv_type_ssize_t=yes
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20020 ac_cv_type_ssize_t=no
20023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20026 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20027 if test $ac_cv_type_ssize_t = yes; then
20029 cat >>confdefs.h <<_ACEOF
20030 #define HAVE_SSIZE_T 1
20031 _ACEOF
20035 { echo "$as_me:$LINENO: checking for long long" >&5
20036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20037 if test "${ac_cv_type_long_long+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef long long ac__type_new_;
20049 main ()
20051 if ((ac__type_new_ *) 0)
20052 return 0;
20053 if (sizeof (ac__type_new_))
20054 return 0;
20056 return 0;
20058 _ACEOF
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20064 esac
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } &&
20073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20074 { (case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20077 esac
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_try") 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest.$ac_objext'
20084 { (case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20087 esac
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_try") 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_type_long_long=yes
20094 else
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20098 ac_cv_type_long_long=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20104 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20105 if test $ac_cv_type_long_long = yes; then
20107 cat >>confdefs.h <<_ACEOF
20108 #define HAVE_LONG_LONG 1
20109 _ACEOF
20113 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20114 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20115 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 else
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef fsblkcnt_t ac__type_new_;
20127 main ()
20129 if ((ac__type_new_ *) 0)
20130 return 0;
20131 if (sizeof (ac__type_new_))
20132 return 0;
20134 return 0;
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20155 esac
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_try") 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest.$ac_objext'
20162 { (case "(($ac_try" in
20163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20165 esac
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_try") 2>&5
20168 ac_status=$?
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); }; }; then
20171 ac_cv_type_fsblkcnt_t=yes
20172 else
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20176 ac_cv_type_fsblkcnt_t=no
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20182 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20183 if test $ac_cv_type_fsblkcnt_t = yes; then
20185 cat >>confdefs.h <<_ACEOF
20186 #define HAVE_FSBLKCNT_T 1
20187 _ACEOF
20191 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20192 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20193 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef fsfilcnt_t ac__type_new_;
20205 main ()
20207 if ((ac__type_new_ *) 0)
20208 return 0;
20209 if (sizeof (ac__type_new_))
20210 return 0;
20212 return 0;
20214 _ACEOF
20215 rm -f conftest.$ac_objext
20216 if { (ac_try="$ac_compile"
20217 case "(($ac_try" in
20218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20219 *) ac_try_echo=$ac_try;;
20220 esac
20221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_compile") 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20230 { (case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_try") 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try='test -s conftest.$ac_objext'
20240 { (case "(($ac_try" in
20241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20242 *) ac_try_echo=$ac_try;;
20243 esac
20244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_try") 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 ac_cv_type_fsfilcnt_t=yes
20250 else
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 ac_cv_type_fsfilcnt_t=no
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20260 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20261 if test $ac_cv_type_fsfilcnt_t = yes; then
20263 cat >>confdefs.h <<_ACEOF
20264 #define HAVE_FSFILCNT_T 1
20265 _ACEOF
20270 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20271 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20272 if test "${ac_cv_type_sigset_t+set}" = set; then
20273 echo $ECHO_N "(cached) $ECHO_C" >&6
20274 else
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h. */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 #include <signal.h>
20283 typedef sigset_t ac__type_new_;
20285 main ()
20287 if ((ac__type_new_ *) 0)
20288 return 0;
20289 if (sizeof (ac__type_new_))
20290 return 0;
20292 return 0;
20294 _ACEOF
20295 rm -f conftest.$ac_objext
20296 if { (ac_try="$ac_compile"
20297 case "(($ac_try" in
20298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20299 *) ac_try_echo=$ac_try;;
20300 esac
20301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20302 (eval "$ac_compile") 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20310 { (case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20313 esac
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_try") 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try='test -s conftest.$ac_objext'
20320 { (case "(($ac_try" in
20321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20322 *) ac_try_echo=$ac_try;;
20323 esac
20324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20325 (eval "$ac_try") 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_cv_type_sigset_t=yes
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 ac_cv_type_sigset_t=no
20337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20340 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20341 if test $ac_cv_type_sigset_t = yes; then
20343 cat >>confdefs.h <<_ACEOF
20344 #define HAVE_SIGSET_T 1
20345 _ACEOF
20350 { echo "$as_me:$LINENO: checking for request_sense" >&5
20351 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20352 if test "${ac_cv_type_request_sense+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20354 else
20355 cat >conftest.$ac_ext <<_ACEOF
20356 /* confdefs.h. */
20357 _ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361 #include <linux/cdrom.h>
20363 typedef request_sense ac__type_new_;
20365 main ()
20367 if ((ac__type_new_ *) 0)
20368 return 0;
20369 if (sizeof (ac__type_new_))
20370 return 0;
20372 return 0;
20374 _ACEOF
20375 rm -f conftest.$ac_objext
20376 if { (ac_try="$ac_compile"
20377 case "(($ac_try" in
20378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20379 *) ac_try_echo=$ac_try;;
20380 esac
20381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20382 (eval "$ac_compile") 2>conftest.er1
20383 ac_status=$?
20384 grep -v '^ *+' conftest.er1 >conftest.err
20385 rm -f conftest.er1
20386 cat conftest.err >&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); } &&
20389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20390 { (case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20393 esac
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_try") 2>&5
20396 ac_status=$?
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; } &&
20399 { ac_try='test -s conftest.$ac_objext'
20400 { (case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20403 esac
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_try") 2>&5
20406 ac_status=$?
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20409 ac_cv_type_request_sense=yes
20410 else
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20414 ac_cv_type_request_sense=no
20417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20419 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20420 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20421 if test $ac_cv_type_request_sense = yes; then
20423 cat >>confdefs.h <<_ACEOF
20424 #define HAVE_REQUEST_SENSE 1
20425 _ACEOF
20431 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20432 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20433 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20434 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 else
20436 cat >conftest.$ac_ext <<_ACEOF
20437 /* confdefs.h. */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #ifdef HAVE_LINUX_INPUT_H
20443 #include <linux/input.h>
20444 #endif
20447 main ()
20449 static struct ff_effect ac_aggr;
20450 if (ac_aggr.direction)
20451 return 0;
20453 return 0;
20455 _ACEOF
20456 rm -f conftest.$ac_objext
20457 if { (ac_try="$ac_compile"
20458 case "(($ac_try" in
20459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460 *) ac_try_echo=$ac_try;;
20461 esac
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_compile") 2>conftest.er1
20464 ac_status=$?
20465 grep -v '^ *+' conftest.er1 >conftest.err
20466 rm -f conftest.er1
20467 cat conftest.err >&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } &&
20470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20471 { (case "(($ac_try" in
20472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20474 esac
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_try") 2>&5
20477 ac_status=$?
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; } &&
20480 { ac_try='test -s conftest.$ac_objext'
20481 { (case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20483 *) ac_try_echo=$ac_try;;
20484 esac
20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20486 (eval "$ac_try") 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 ac_cv_member_struct_ff_effect_direction=yes
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20495 cat >conftest.$ac_ext <<_ACEOF
20496 /* confdefs.h. */
20497 _ACEOF
20498 cat confdefs.h >>conftest.$ac_ext
20499 cat >>conftest.$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 #ifdef HAVE_LINUX_INPUT_H
20502 #include <linux/input.h>
20503 #endif
20506 main ()
20508 static struct ff_effect ac_aggr;
20509 if (sizeof ac_aggr.direction)
20510 return 0;
20512 return 0;
20514 _ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (ac_try="$ac_compile"
20517 case "(($ac_try" in
20518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20520 esac
20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval "$ac_compile") 2>conftest.er1
20523 ac_status=$?
20524 grep -v '^ *+' conftest.er1 >conftest.err
20525 rm -f conftest.er1
20526 cat conftest.err >&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } &&
20529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20530 { (case "(($ac_try" in
20531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20532 *) ac_try_echo=$ac_try;;
20533 esac
20534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20535 (eval "$ac_try") 2>&5
20536 ac_status=$?
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); }; } &&
20539 { ac_try='test -s conftest.$ac_objext'
20540 { (case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542 *) ac_try_echo=$ac_try;;
20543 esac
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_try") 2>&5
20546 ac_status=$?
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_cv_member_struct_ff_effect_direction=yes
20550 else
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20554 ac_cv_member_struct_ff_effect_direction=no
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20563 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20564 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20566 cat >>confdefs.h <<_ACEOF
20567 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20568 _ACEOF
20574 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20575 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20576 if test "${wine_cv_have_sigaddset+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20578 else
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 #include <signal.h>
20587 main ()
20589 sigset_t set; sigaddset(&set,SIGTERM);
20591 return 0;
20593 _ACEOF
20594 rm -f conftest.$ac_objext conftest$ac_exeext
20595 if { (ac_try="$ac_link"
20596 case "(($ac_try" in
20597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20598 *) ac_try_echo=$ac_try;;
20599 esac
20600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20601 (eval "$ac_link") 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20609 { (case "(($ac_try" in
20610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20611 *) ac_try_echo=$ac_try;;
20612 esac
20613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20614 (eval "$ac_try") 2>&5
20615 ac_status=$?
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try='test -s conftest$ac_exeext'
20619 { (case "(($ac_try" in
20620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20621 *) ac_try_echo=$ac_try;;
20622 esac
20623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624 (eval "$ac_try") 2>&5
20625 ac_status=$?
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 wine_cv_have_sigaddset=yes
20629 else
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20633 wine_cv_have_sigaddset=no
20636 rm -f core conftest.err conftest.$ac_objext \
20637 conftest$ac_exeext conftest.$ac_ext
20639 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20640 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20641 if test "$wine_cv_have_sigaddset" = "yes"
20642 then
20644 cat >>confdefs.h <<\_ACEOF
20645 #define HAVE_SIGADDSET 1
20646 _ACEOF
20651 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20652 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20653 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20654 echo $ECHO_N "(cached) $ECHO_C" >&6
20655 else
20656 cat >conftest.$ac_ext <<_ACEOF
20657 /* confdefs.h. */
20658 _ACEOF
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20663 #include <netdb.h>
20666 main ()
20669 char *name=NULL;
20670 struct hostent he;
20671 struct hostent *result;
20672 char *buf=NULL;
20673 int bufsize=0;
20674 int res,errnr;
20675 char *addr=NULL;
20676 int addrlen=0;
20677 int addrtype=0;
20678 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20679 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20682 return 0;
20684 _ACEOF
20685 rm -f conftest.$ac_objext conftest$ac_exeext
20686 if { (ac_try="$ac_link"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20690 esac
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_link") 2>conftest.er1
20693 ac_status=$?
20694 grep -v '^ *+' conftest.er1 >conftest.err
20695 rm -f conftest.er1
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } &&
20699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20700 { (case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_try") 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try='test -s conftest$ac_exeext'
20710 { (case "(($ac_try" in
20711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20712 *) ac_try_echo=$ac_try;;
20713 esac
20714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20715 (eval "$ac_try") 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 wine_cv_linux_gethostbyname_r_6=yes
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 wine_cv_linux_gethostbyname_r_6=no
20728 rm -f core conftest.err conftest.$ac_objext \
20729 conftest$ac_exeext conftest.$ac_ext
20732 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20733 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20734 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20735 then
20737 cat >>confdefs.h <<\_ACEOF
20738 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20739 _ACEOF
20743 if test "$ac_cv_header_linux_joystick_h" = "yes"
20744 then
20745 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20746 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20747 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20749 else
20750 cat >conftest.$ac_ext <<_ACEOF
20751 /* confdefs.h. */
20752 _ACEOF
20753 cat confdefs.h >>conftest.$ac_ext
20754 cat >>conftest.$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20757 #include <sys/ioctl.h>
20758 #include <linux/joystick.h>
20760 struct js_event blub;
20761 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20762 #error "no 2.2 header"
20763 #endif
20766 main ()
20768 /*empty*/
20770 return 0;
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20778 esac
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20781 ac_status=$?
20782 grep -v '^ *+' conftest.er1 >conftest.err
20783 rm -f conftest.er1
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } &&
20787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20788 { (case "(($ac_try" in
20789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20790 *) ac_try_echo=$ac_try;;
20791 esac
20792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20793 (eval "$ac_try") 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; } &&
20797 { ac_try='test -s conftest.$ac_objext'
20798 { (case "(($ac_try" in
20799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20800 *) ac_try_echo=$ac_try;;
20801 esac
20802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20803 (eval "$ac_try") 2>&5
20804 ac_status=$?
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; }; then
20807 wine_cv_linux_joystick_22_api=yes
20808 else
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20812 wine_cv_linux_joystick_22_api=no
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20819 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20820 if test "$wine_cv_linux_joystick_22_api" = "yes"
20821 then
20823 cat >>confdefs.h <<\_ACEOF
20824 #define HAVE_LINUX_22_JOYSTICK_API 1
20825 _ACEOF
20831 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20832 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20833 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 else
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 #include <sys/types.h>
20843 #ifdef HAVE_SYS_PARAM_H
20844 # include <sys/param.h>
20845 #endif
20846 #ifdef HAVE_SYS_MOUNT_H
20847 # include <sys/mount.h>
20848 #endif
20849 #ifdef HAVE_SYS_VFS_H
20850 # include <sys/vfs.h>
20851 #endif
20852 #ifdef HAVE_SYS_STATFS_H
20853 # include <sys/statfs.h>
20854 #endif
20857 main ()
20859 static struct statfs ac_aggr;
20860 if (ac_aggr.f_bfree)
20861 return 0;
20863 return 0;
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (ac_try="$ac_compile"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20871 esac
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_compile") 2>conftest.er1
20874 ac_status=$?
20875 grep -v '^ *+' conftest.er1 >conftest.err
20876 rm -f conftest.er1
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } &&
20880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20881 { (case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20884 esac
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_try") 2>&5
20887 ac_status=$?
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; } &&
20890 { ac_try='test -s conftest.$ac_objext'
20891 { (case "(($ac_try" in
20892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20893 *) ac_try_echo=$ac_try;;
20894 esac
20895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_try") 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_cv_member_struct_statfs_f_bfree=yes
20901 else
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 #include <sys/types.h>
20912 #ifdef HAVE_SYS_PARAM_H
20913 # include <sys/param.h>
20914 #endif
20915 #ifdef HAVE_SYS_MOUNT_H
20916 # include <sys/mount.h>
20917 #endif
20918 #ifdef HAVE_SYS_VFS_H
20919 # include <sys/vfs.h>
20920 #endif
20921 #ifdef HAVE_SYS_STATFS_H
20922 # include <sys/statfs.h>
20923 #endif
20926 main ()
20928 static struct statfs ac_aggr;
20929 if (sizeof ac_aggr.f_bfree)
20930 return 0;
20932 return 0;
20934 _ACEOF
20935 rm -f conftest.$ac_objext
20936 if { (ac_try="$ac_compile"
20937 case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20940 esac
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_compile") 2>conftest.er1
20943 ac_status=$?
20944 grep -v '^ *+' conftest.er1 >conftest.err
20945 rm -f conftest.er1
20946 cat conftest.err >&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } &&
20949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20950 { (case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_try") 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; } &&
20959 { ac_try='test -s conftest.$ac_objext'
20960 { (case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20963 esac
20964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_try") 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 ac_cv_member_struct_statfs_f_bfree=yes
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ac_cv_member_struct_statfs_f_bfree=no
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20983 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20984 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20986 cat >>confdefs.h <<_ACEOF
20987 #define HAVE_STRUCT_STATFS_F_BFREE 1
20988 _ACEOF
20992 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20993 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20994 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 else
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 #include <sys/types.h>
21004 #ifdef HAVE_SYS_PARAM_H
21005 # include <sys/param.h>
21006 #endif
21007 #ifdef HAVE_SYS_MOUNT_H
21008 # include <sys/mount.h>
21009 #endif
21010 #ifdef HAVE_SYS_VFS_H
21011 # include <sys/vfs.h>
21012 #endif
21013 #ifdef HAVE_SYS_STATFS_H
21014 # include <sys/statfs.h>
21015 #endif
21018 main ()
21020 static struct statfs ac_aggr;
21021 if (ac_aggr.f_bavail)
21022 return 0;
21024 return 0;
21026 _ACEOF
21027 rm -f conftest.$ac_objext
21028 if { (ac_try="$ac_compile"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21032 esac
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_compile") 2>conftest.er1
21035 ac_status=$?
21036 grep -v '^ *+' conftest.er1 >conftest.err
21037 rm -f conftest.er1
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } &&
21041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21042 { (case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044 *) ac_try_echo=$ac_try;;
21045 esac
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_try") 2>&5
21048 ac_status=$?
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try='test -s conftest.$ac_objext'
21052 { (case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21055 esac
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_try") 2>&5
21058 ac_status=$?
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); }; }; then
21061 ac_cv_member_struct_statfs_f_bavail=yes
21062 else
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 #include <sys/types.h>
21073 #ifdef HAVE_SYS_PARAM_H
21074 # include <sys/param.h>
21075 #endif
21076 #ifdef HAVE_SYS_MOUNT_H
21077 # include <sys/mount.h>
21078 #endif
21079 #ifdef HAVE_SYS_VFS_H
21080 # include <sys/vfs.h>
21081 #endif
21082 #ifdef HAVE_SYS_STATFS_H
21083 # include <sys/statfs.h>
21084 #endif
21087 main ()
21089 static struct statfs ac_aggr;
21090 if (sizeof ac_aggr.f_bavail)
21091 return 0;
21093 return 0;
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21111 { (case "(($ac_try" in
21112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21114 esac
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_try") 2>&5
21117 ac_status=$?
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; } &&
21120 { ac_try='test -s conftest.$ac_objext'
21121 { (case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21124 esac
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_try") 2>&5
21127 ac_status=$?
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 ac_cv_member_struct_statfs_f_bavail=yes
21131 else
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21135 ac_cv_member_struct_statfs_f_bavail=no
21138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21144 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21145 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21147 cat >>confdefs.h <<_ACEOF
21148 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21149 _ACEOF
21153 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21154 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21155 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21158 cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h. */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 #include <sys/types.h>
21165 #ifdef HAVE_SYS_PARAM_H
21166 # include <sys/param.h>
21167 #endif
21168 #ifdef HAVE_SYS_MOUNT_H
21169 # include <sys/mount.h>
21170 #endif
21171 #ifdef HAVE_SYS_VFS_H
21172 # include <sys/vfs.h>
21173 #endif
21174 #ifdef HAVE_SYS_STATFS_H
21175 # include <sys/statfs.h>
21176 #endif
21179 main ()
21181 static struct statfs ac_aggr;
21182 if (ac_aggr.f_frsize)
21183 return 0;
21185 return 0;
21187 _ACEOF
21188 rm -f conftest.$ac_objext
21189 if { (ac_try="$ac_compile"
21190 case "(($ac_try" in
21191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21193 esac
21194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_compile") 2>conftest.er1
21196 ac_status=$?
21197 grep -v '^ *+' conftest.er1 >conftest.err
21198 rm -f conftest.er1
21199 cat conftest.err >&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21203 { (case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21206 esac
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_try") 2>&5
21209 ac_status=$?
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; } &&
21212 { ac_try='test -s conftest.$ac_objext'
21213 { (case "(($ac_try" in
21214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21215 *) ac_try_echo=$ac_try;;
21216 esac
21217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21218 (eval "$ac_try") 2>&5
21219 ac_status=$?
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); }; }; then
21222 ac_cv_member_struct_statfs_f_frsize=yes
21223 else
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21227 cat >conftest.$ac_ext <<_ACEOF
21228 /* confdefs.h. */
21229 _ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 #include <sys/types.h>
21234 #ifdef HAVE_SYS_PARAM_H
21235 # include <sys/param.h>
21236 #endif
21237 #ifdef HAVE_SYS_MOUNT_H
21238 # include <sys/mount.h>
21239 #endif
21240 #ifdef HAVE_SYS_VFS_H
21241 # include <sys/vfs.h>
21242 #endif
21243 #ifdef HAVE_SYS_STATFS_H
21244 # include <sys/statfs.h>
21245 #endif
21248 main ()
21250 static struct statfs ac_aggr;
21251 if (sizeof ac_aggr.f_frsize)
21252 return 0;
21254 return 0;
21256 _ACEOF
21257 rm -f conftest.$ac_objext
21258 if { (ac_try="$ac_compile"
21259 case "(($ac_try" in
21260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21261 *) ac_try_echo=$ac_try;;
21262 esac
21263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21264 (eval "$ac_compile") 2>conftest.er1
21265 ac_status=$?
21266 grep -v '^ *+' conftest.er1 >conftest.err
21267 rm -f conftest.er1
21268 cat conftest.err >&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21272 { (case "(($ac_try" in
21273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21274 *) ac_try_echo=$ac_try;;
21275 esac
21276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21277 (eval "$ac_try") 2>&5
21278 ac_status=$?
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try='test -s conftest.$ac_objext'
21282 { (case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285 esac
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_try") 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 ac_cv_member_struct_statfs_f_frsize=yes
21292 else
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21296 ac_cv_member_struct_statfs_f_frsize=no
21299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21305 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21306 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21310 _ACEOF
21314 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21315 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21316 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21318 else
21319 cat >conftest.$ac_ext <<_ACEOF
21320 /* confdefs.h. */
21321 _ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 #include <sys/types.h>
21326 #ifdef HAVE_SYS_PARAM_H
21327 # include <sys/param.h>
21328 #endif
21329 #ifdef HAVE_SYS_MOUNT_H
21330 # include <sys/mount.h>
21331 #endif
21332 #ifdef HAVE_SYS_VFS_H
21333 # include <sys/vfs.h>
21334 #endif
21335 #ifdef HAVE_SYS_STATFS_H
21336 # include <sys/statfs.h>
21337 #endif
21340 main ()
21342 static struct statfs ac_aggr;
21343 if (ac_aggr.f_ffree)
21344 return 0;
21346 return 0;
21348 _ACEOF
21349 rm -f conftest.$ac_objext
21350 if { (ac_try="$ac_compile"
21351 case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354 esac
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_compile") 2>conftest.er1
21357 ac_status=$?
21358 grep -v '^ *+' conftest.er1 >conftest.err
21359 rm -f conftest.er1
21360 cat conftest.err >&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21364 { (case "(($ac_try" in
21365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21366 *) ac_try_echo=$ac_try;;
21367 esac
21368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21369 (eval "$ac_try") 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try='test -s conftest.$ac_objext'
21374 { (case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_try") 2>&5
21380 ac_status=$?
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 ac_cv_member_struct_statfs_f_ffree=yes
21384 else
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 #include <sys/types.h>
21395 #ifdef HAVE_SYS_PARAM_H
21396 # include <sys/param.h>
21397 #endif
21398 #ifdef HAVE_SYS_MOUNT_H
21399 # include <sys/mount.h>
21400 #endif
21401 #ifdef HAVE_SYS_VFS_H
21402 # include <sys/vfs.h>
21403 #endif
21404 #ifdef HAVE_SYS_STATFS_H
21405 # include <sys/statfs.h>
21406 #endif
21409 main ()
21411 static struct statfs ac_aggr;
21412 if (sizeof ac_aggr.f_ffree)
21413 return 0;
21415 return 0;
21417 _ACEOF
21418 rm -f conftest.$ac_objext
21419 if { (ac_try="$ac_compile"
21420 case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21423 esac
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_compile") 2>conftest.er1
21426 ac_status=$?
21427 grep -v '^ *+' conftest.er1 >conftest.err
21428 rm -f conftest.er1
21429 cat conftest.err >&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } &&
21432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21433 { (case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21436 esac
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_try") 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; } &&
21442 { ac_try='test -s conftest.$ac_objext'
21443 { (case "(($ac_try" in
21444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21445 *) ac_try_echo=$ac_try;;
21446 esac
21447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21448 (eval "$ac_try") 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; }; then
21452 ac_cv_member_struct_statfs_f_ffree=yes
21453 else
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21457 ac_cv_member_struct_statfs_f_ffree=no
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21466 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21467 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21469 cat >>confdefs.h <<_ACEOF
21470 #define HAVE_STRUCT_STATFS_F_FFREE 1
21471 _ACEOF
21475 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21476 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21477 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21478 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 else
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h. */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 #include <sys/types.h>
21487 #ifdef HAVE_SYS_PARAM_H
21488 # include <sys/param.h>
21489 #endif
21490 #ifdef HAVE_SYS_MOUNT_H
21491 # include <sys/mount.h>
21492 #endif
21493 #ifdef HAVE_SYS_VFS_H
21494 # include <sys/vfs.h>
21495 #endif
21496 #ifdef HAVE_SYS_STATFS_H
21497 # include <sys/statfs.h>
21498 #endif
21501 main ()
21503 static struct statfs ac_aggr;
21504 if (ac_aggr.f_favail)
21505 return 0;
21507 return 0;
21509 _ACEOF
21510 rm -f conftest.$ac_objext
21511 if { (ac_try="$ac_compile"
21512 case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21515 esac
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_compile") 2>conftest.er1
21518 ac_status=$?
21519 grep -v '^ *+' conftest.er1 >conftest.err
21520 rm -f conftest.er1
21521 cat conftest.err >&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } &&
21524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21525 { (case "(($ac_try" in
21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21527 *) ac_try_echo=$ac_try;;
21528 esac
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530 (eval "$ac_try") 2>&5
21531 ac_status=$?
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; } &&
21534 { ac_try='test -s conftest.$ac_objext'
21535 { (case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21538 esac
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_try") 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 ac_cv_member_struct_statfs_f_favail=yes
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21549 cat >conftest.$ac_ext <<_ACEOF
21550 /* confdefs.h. */
21551 _ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 #include <sys/types.h>
21556 #ifdef HAVE_SYS_PARAM_H
21557 # include <sys/param.h>
21558 #endif
21559 #ifdef HAVE_SYS_MOUNT_H
21560 # include <sys/mount.h>
21561 #endif
21562 #ifdef HAVE_SYS_VFS_H
21563 # include <sys/vfs.h>
21564 #endif
21565 #ifdef HAVE_SYS_STATFS_H
21566 # include <sys/statfs.h>
21567 #endif
21570 main ()
21572 static struct statfs ac_aggr;
21573 if (sizeof ac_aggr.f_favail)
21574 return 0;
21576 return 0;
21578 _ACEOF
21579 rm -f conftest.$ac_objext
21580 if { (ac_try="$ac_compile"
21581 case "(($ac_try" in
21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21583 *) ac_try_echo=$ac_try;;
21584 esac
21585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21586 (eval "$ac_compile") 2>conftest.er1
21587 ac_status=$?
21588 grep -v '^ *+' conftest.er1 >conftest.err
21589 rm -f conftest.er1
21590 cat conftest.err >&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21594 { (case "(($ac_try" in
21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21596 *) ac_try_echo=$ac_try;;
21597 esac
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_try") 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try='test -s conftest.$ac_objext'
21604 { (case "(($ac_try" in
21605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21606 *) ac_try_echo=$ac_try;;
21607 esac
21608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21609 (eval "$ac_try") 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_member_struct_statfs_f_favail=yes
21614 else
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5
21618 ac_cv_member_struct_statfs_f_favail=no
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21627 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21628 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21630 cat >>confdefs.h <<_ACEOF
21631 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21632 _ACEOF
21636 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21637 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21638 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21639 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 else
21641 cat >conftest.$ac_ext <<_ACEOF
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 #include <sys/types.h>
21648 #ifdef HAVE_SYS_PARAM_H
21649 # include <sys/param.h>
21650 #endif
21651 #ifdef HAVE_SYS_MOUNT_H
21652 # include <sys/mount.h>
21653 #endif
21654 #ifdef HAVE_SYS_VFS_H
21655 # include <sys/vfs.h>
21656 #endif
21657 #ifdef HAVE_SYS_STATFS_H
21658 # include <sys/statfs.h>
21659 #endif
21662 main ()
21664 static struct statfs ac_aggr;
21665 if (ac_aggr.f_namelen)
21666 return 0;
21668 return 0;
21670 _ACEOF
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21676 esac
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21679 ac_status=$?
21680 grep -v '^ *+' conftest.er1 >conftest.err
21681 rm -f conftest.er1
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } &&
21685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21686 { (case "(($ac_try" in
21687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21688 *) ac_try_echo=$ac_try;;
21689 esac
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_try") 2>&5
21692 ac_status=$?
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; } &&
21695 { ac_try='test -s conftest.$ac_objext'
21696 { (case "(($ac_try" in
21697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21698 *) ac_try_echo=$ac_try;;
21699 esac
21700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21701 (eval "$ac_try") 2>&5
21702 ac_status=$?
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_member_struct_statfs_f_namelen=yes
21706 else
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 cat >conftest.$ac_ext <<_ACEOF
21711 /* confdefs.h. */
21712 _ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 #include <sys/types.h>
21717 #ifdef HAVE_SYS_PARAM_H
21718 # include <sys/param.h>
21719 #endif
21720 #ifdef HAVE_SYS_MOUNT_H
21721 # include <sys/mount.h>
21722 #endif
21723 #ifdef HAVE_SYS_VFS_H
21724 # include <sys/vfs.h>
21725 #endif
21726 #ifdef HAVE_SYS_STATFS_H
21727 # include <sys/statfs.h>
21728 #endif
21731 main ()
21733 static struct statfs ac_aggr;
21734 if (sizeof ac_aggr.f_namelen)
21735 return 0;
21737 return 0;
21739 _ACEOF
21740 rm -f conftest.$ac_objext
21741 if { (ac_try="$ac_compile"
21742 case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21745 esac
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_compile") 2>conftest.er1
21748 ac_status=$?
21749 grep -v '^ *+' conftest.er1 >conftest.err
21750 rm -f conftest.er1
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21755 { (case "(($ac_try" in
21756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21757 *) ac_try_echo=$ac_try;;
21758 esac
21759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_try") 2>&5
21761 ac_status=$?
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; } &&
21764 { ac_try='test -s conftest.$ac_objext'
21765 { (case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21768 esac
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_try") 2>&5
21771 ac_status=$?
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 ac_cv_member_struct_statfs_f_namelen=yes
21775 else
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21779 ac_cv_member_struct_statfs_f_namelen=no
21782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21788 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21789 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21791 cat >>confdefs.h <<_ACEOF
21792 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21793 _ACEOF
21799 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21800 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21801 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21802 echo $ECHO_N "(cached) $ECHO_C" >&6
21803 else
21804 cat >conftest.$ac_ext <<_ACEOF
21805 /* confdefs.h. */
21806 _ACEOF
21807 cat confdefs.h >>conftest.$ac_ext
21808 cat >>conftest.$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21810 #ifdef HAVE_SYS_STATVFS_H
21811 #include <sys/statvfs.h>
21812 #endif
21815 main ()
21817 static struct statvfs ac_aggr;
21818 if (ac_aggr.f_blocks)
21819 return 0;
21821 return 0;
21823 _ACEOF
21824 rm -f conftest.$ac_objext
21825 if { (ac_try="$ac_compile"
21826 case "(($ac_try" in
21827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21828 *) ac_try_echo=$ac_try;;
21829 esac
21830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21831 (eval "$ac_compile") 2>conftest.er1
21832 ac_status=$?
21833 grep -v '^ *+' conftest.er1 >conftest.err
21834 rm -f conftest.er1
21835 cat conftest.err >&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } &&
21838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21839 { (case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21842 esac
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_try") 2>&5
21845 ac_status=$?
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); }; } &&
21848 { ac_try='test -s conftest.$ac_objext'
21849 { (case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851 *) ac_try_echo=$ac_try;;
21852 esac
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_try") 2>&5
21855 ac_status=$?
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21858 ac_cv_member_struct_statvfs_f_blocks=yes
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 #ifdef HAVE_SYS_STATVFS_H
21870 #include <sys/statvfs.h>
21871 #endif
21874 main ()
21876 static struct statvfs ac_aggr;
21877 if (sizeof ac_aggr.f_blocks)
21878 return 0;
21880 return 0;
21882 _ACEOF
21883 rm -f conftest.$ac_objext
21884 if { (ac_try="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21888 esac
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21891 ac_status=$?
21892 grep -v '^ *+' conftest.er1 >conftest.err
21893 rm -f conftest.er1
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21898 { (case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21901 esac
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_try") 2>&5
21904 ac_status=$?
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; } &&
21907 { ac_try='test -s conftest.$ac_objext'
21908 { (case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21911 esac
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_try") 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_member_struct_statvfs_f_blocks=yes
21918 else
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.$ac_ext >&5
21922 ac_cv_member_struct_statvfs_f_blocks=no
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21931 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21932 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21934 cat >>confdefs.h <<_ACEOF
21935 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21936 _ACEOF
21942 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21943 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21944 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 else
21947 cat >conftest.$ac_ext <<_ACEOF
21948 /* confdefs.h. */
21949 _ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 #include <sys/types.h>
21954 #ifdef HAVE_SYS_SOCKET_H
21955 # include <sys/socket.h>
21956 #endif
21957 #ifdef HAVE_SYS_UN_H
21958 # include <sys/un.h>
21959 #endif
21962 main ()
21964 static struct msghdr ac_aggr;
21965 if (ac_aggr.msg_accrights)
21966 return 0;
21968 return 0;
21970 _ACEOF
21971 rm -f conftest.$ac_objext
21972 if { (ac_try="$ac_compile"
21973 case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21976 esac
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_compile") 2>conftest.er1
21979 ac_status=$?
21980 grep -v '^ *+' conftest.er1 >conftest.err
21981 rm -f conftest.er1
21982 cat conftest.err >&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } &&
21985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21986 { (case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21989 esac
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_try") 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; } &&
21995 { ac_try='test -s conftest.$ac_objext'
21996 { (case "(($ac_try" in
21997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21998 *) ac_try_echo=$ac_try;;
21999 esac
22000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22001 (eval "$ac_try") 2>&5
22002 ac_status=$?
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_cv_member_struct_msghdr_msg_accrights=yes
22006 else
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 cat >conftest.$ac_ext <<_ACEOF
22011 /* confdefs.h. */
22012 _ACEOF
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 #include <sys/types.h>
22017 #ifdef HAVE_SYS_SOCKET_H
22018 # include <sys/socket.h>
22019 #endif
22020 #ifdef HAVE_SYS_UN_H
22021 # include <sys/un.h>
22022 #endif
22025 main ()
22027 static struct msghdr ac_aggr;
22028 if (sizeof ac_aggr.msg_accrights)
22029 return 0;
22031 return 0;
22033 _ACEOF
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22039 esac
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22049 { (case "(($ac_try" in
22050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22051 *) ac_try_echo=$ac_try;;
22052 esac
22053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22054 (eval "$ac_try") 2>&5
22055 ac_status=$?
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; } &&
22058 { ac_try='test -s conftest.$ac_objext'
22059 { (case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22062 esac
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_try") 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_member_struct_msghdr_msg_accrights=yes
22069 else
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22073 ac_cv_member_struct_msghdr_msg_accrights=no
22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22082 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22083 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22085 cat >>confdefs.h <<_ACEOF
22086 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22087 _ACEOF
22091 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22092 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22093 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 else
22096 cat >conftest.$ac_ext <<_ACEOF
22097 /* confdefs.h. */
22098 _ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 #include <sys/types.h>
22103 #ifdef HAVE_SYS_SOCKET_H
22104 # include <sys/socket.h>
22105 #endif
22106 #ifdef HAVE_SYS_UN_H
22107 # include <sys/un.h>
22108 #endif
22111 main ()
22113 static struct sockaddr ac_aggr;
22114 if (ac_aggr.sa_len)
22115 return 0;
22117 return 0;
22119 _ACEOF
22120 rm -f conftest.$ac_objext
22121 if { (ac_try="$ac_compile"
22122 case "(($ac_try" in
22123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22124 *) ac_try_echo=$ac_try;;
22125 esac
22126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22127 (eval "$ac_compile") 2>conftest.er1
22128 ac_status=$?
22129 grep -v '^ *+' conftest.er1 >conftest.err
22130 rm -f conftest.er1
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
22144 { ac_try='test -s conftest.$ac_objext'
22145 { (case "(($ac_try" in
22146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22148 esac
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_try") 2>&5
22151 ac_status=$?
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 ac_cv_member_struct_sockaddr_sa_len=yes
22155 else
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22159 cat >conftest.$ac_ext <<_ACEOF
22160 /* confdefs.h. */
22161 _ACEOF
22162 cat confdefs.h >>conftest.$ac_ext
22163 cat >>conftest.$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 #include <sys/types.h>
22166 #ifdef HAVE_SYS_SOCKET_H
22167 # include <sys/socket.h>
22168 #endif
22169 #ifdef HAVE_SYS_UN_H
22170 # include <sys/un.h>
22171 #endif
22174 main ()
22176 static struct sockaddr ac_aggr;
22177 if (sizeof ac_aggr.sa_len)
22178 return 0;
22180 return 0;
22182 _ACEOF
22183 rm -f conftest.$ac_objext
22184 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22191 ac_status=$?
22192 grep -v '^ *+' conftest.er1 >conftest.err
22193 rm -f conftest.er1
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } &&
22197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22198 { (case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22201 esac
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_try") 2>&5
22204 ac_status=$?
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; } &&
22207 { ac_try='test -s conftest.$ac_objext'
22208 { (case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_try") 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 ac_cv_member_struct_sockaddr_sa_len=yes
22218 else
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22222 ac_cv_member_struct_sockaddr_sa_len=no
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22231 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22232 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22234 cat >>confdefs.h <<_ACEOF
22235 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22236 _ACEOF
22240 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22241 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22242 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22243 echo $ECHO_N "(cached) $ECHO_C" >&6
22244 else
22245 cat >conftest.$ac_ext <<_ACEOF
22246 /* confdefs.h. */
22247 _ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 #include <sys/types.h>
22252 #ifdef HAVE_SYS_SOCKET_H
22253 # include <sys/socket.h>
22254 #endif
22255 #ifdef HAVE_SYS_UN_H
22256 # include <sys/un.h>
22257 #endif
22260 main ()
22262 static struct sockaddr_un ac_aggr;
22263 if (ac_aggr.sun_len)
22264 return 0;
22266 return 0;
22268 _ACEOF
22269 rm -f conftest.$ac_objext
22270 if { (ac_try="$ac_compile"
22271 case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22274 esac
22275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276 (eval "$ac_compile") 2>conftest.er1
22277 ac_status=$?
22278 grep -v '^ *+' conftest.er1 >conftest.err
22279 rm -f conftest.er1
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22284 { (case "(($ac_try" in
22285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22286 *) ac_try_echo=$ac_try;;
22287 esac
22288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22289 (eval "$ac_try") 2>&5
22290 ac_status=$?
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); }; } &&
22293 { ac_try='test -s conftest.$ac_objext'
22294 { (case "(($ac_try" in
22295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22296 *) ac_try_echo=$ac_try;;
22297 esac
22298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22299 (eval "$ac_try") 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 ac_cv_member_struct_sockaddr_un_sun_len=yes
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22308 cat >conftest.$ac_ext <<_ACEOF
22309 /* confdefs.h. */
22310 _ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h. */
22314 #include <sys/types.h>
22315 #ifdef HAVE_SYS_SOCKET_H
22316 # include <sys/socket.h>
22317 #endif
22318 #ifdef HAVE_SYS_UN_H
22319 # include <sys/un.h>
22320 #endif
22323 main ()
22325 static struct sockaddr_un ac_aggr;
22326 if (sizeof ac_aggr.sun_len)
22327 return 0;
22329 return 0;
22331 _ACEOF
22332 rm -f conftest.$ac_objext
22333 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22340 ac_status=$?
22341 grep -v '^ *+' conftest.er1 >conftest.err
22342 rm -f conftest.er1
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22347 { (case "(($ac_try" in
22348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22349 *) ac_try_echo=$ac_try;;
22350 esac
22351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22352 (eval "$ac_try") 2>&5
22353 ac_status=$?
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; } &&
22356 { ac_try='test -s conftest.$ac_objext'
22357 { (case "(($ac_try" in
22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359 *) ac_try_echo=$ac_try;;
22360 esac
22361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22362 (eval "$ac_try") 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22366 ac_cv_member_struct_sockaddr_un_sun_len=yes
22367 else
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22371 ac_cv_member_struct_sockaddr_un_sun_len=no
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22380 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22381 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22383 cat >>confdefs.h <<_ACEOF
22384 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22385 _ACEOF
22391 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22392 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22393 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22395 else
22396 cat >conftest.$ac_ext <<_ACEOF
22397 /* confdefs.h. */
22398 _ACEOF
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22402 #include <sys/types.h>
22403 #ifdef HAVE_SCSI_SG_H
22404 #include <scsi/sg.h>
22405 #endif
22408 main ()
22410 static scsireq_t ac_aggr;
22411 if (ac_aggr.cmd)
22412 return 0;
22414 return 0;
22416 _ACEOF
22417 rm -f conftest.$ac_objext
22418 if { (ac_try="$ac_compile"
22419 case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22422 esac
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_compile") 2>conftest.er1
22425 ac_status=$?
22426 grep -v '^ *+' conftest.er1 >conftest.err
22427 rm -f conftest.er1
22428 cat conftest.err >&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22432 { (case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_try") 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_try") 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); }; }; then
22451 ac_cv_member_scsireq_t_cmd=yes
22452 else
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22456 cat >conftest.$ac_ext <<_ACEOF
22457 /* confdefs.h. */
22458 _ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 #include <sys/types.h>
22463 #ifdef HAVE_SCSI_SG_H
22464 #include <scsi/sg.h>
22465 #endif
22468 main ()
22470 static scsireq_t ac_aggr;
22471 if (sizeof ac_aggr.cmd)
22472 return 0;
22474 return 0;
22476 _ACEOF
22477 rm -f conftest.$ac_objext
22478 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22485 ac_status=$?
22486 grep -v '^ *+' conftest.er1 >conftest.err
22487 rm -f conftest.er1
22488 cat conftest.err >&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } &&
22491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22492 { (case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22495 esac
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_try") 2>&5
22498 ac_status=$?
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; } &&
22501 { ac_try='test -s conftest.$ac_objext'
22502 { (case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_try") 2>&5
22508 ac_status=$?
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; }; then
22511 ac_cv_member_scsireq_t_cmd=yes
22512 else
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22516 ac_cv_member_scsireq_t_cmd=no
22519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22524 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22525 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22526 if test $ac_cv_member_scsireq_t_cmd = yes; then
22528 cat >>confdefs.h <<_ACEOF
22529 #define HAVE_SCSIREQ_T_CMD 1
22530 _ACEOF
22534 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22535 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22536 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 else
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 #include <sys/types.h>
22546 #ifdef HAVE_SCSI_SG_H
22547 #include <scsi/sg.h>
22548 #endif
22551 main ()
22553 static sg_io_hdr_t ac_aggr;
22554 if (ac_aggr.interface_id)
22555 return 0;
22557 return 0;
22559 _ACEOF
22560 rm -f conftest.$ac_objext
22561 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22568 ac_status=$?
22569 grep -v '^ *+' conftest.er1 >conftest.err
22570 rm -f conftest.er1
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22575 { (case "(($ac_try" in
22576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22577 *) ac_try_echo=$ac_try;;
22578 esac
22579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22580 (eval "$ac_try") 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; } &&
22584 { ac_try='test -s conftest.$ac_objext'
22585 { (case "(($ac_try" in
22586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587 *) ac_try_echo=$ac_try;;
22588 esac
22589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590 (eval "$ac_try") 2>&5
22591 ac_status=$?
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); }; }; then
22594 ac_cv_member_sg_io_hdr_t_interface_id=yes
22595 else
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.$ac_ext >&5
22599 cat >conftest.$ac_ext <<_ACEOF
22600 /* confdefs.h. */
22601 _ACEOF
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605 #include <sys/types.h>
22606 #ifdef HAVE_SCSI_SG_H
22607 #include <scsi/sg.h>
22608 #endif
22611 main ()
22613 static sg_io_hdr_t ac_aggr;
22614 if (sizeof ac_aggr.interface_id)
22615 return 0;
22617 return 0;
22619 _ACEOF
22620 rm -f conftest.$ac_objext
22621 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22628 ac_status=$?
22629 grep -v '^ *+' conftest.er1 >conftest.err
22630 rm -f conftest.er1
22631 cat conftest.err >&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); } &&
22634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22635 { (case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22637 *) ac_try_echo=$ac_try;;
22638 esac
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_try") 2>&5
22641 ac_status=$?
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest.$ac_objext'
22645 { (case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22648 esac
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_try") 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_cv_member_sg_io_hdr_t_interface_id=yes
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22659 ac_cv_member_sg_io_hdr_t_interface_id=no
22662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22668 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22669 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22671 cat >>confdefs.h <<_ACEOF
22672 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22673 _ACEOF
22679 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22680 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22681 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22682 echo $ECHO_N "(cached) $ECHO_C" >&6
22683 else
22684 cat >conftest.$ac_ext <<_ACEOF
22685 /* confdefs.h. */
22686 _ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 #include <signal.h>
22693 main ()
22695 static siginfo_t ac_aggr;
22696 if (ac_aggr.si_fd)
22697 return 0;
22699 return 0;
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22717 { (case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22720 esac
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_try") 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22730 esac
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_try") 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 ac_cv_member_siginfo_t_si_fd=yes
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h. */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 #include <signal.h>
22750 main ()
22752 static siginfo_t ac_aggr;
22753 if (sizeof ac_aggr.si_fd)
22754 return 0;
22756 return 0;
22758 _ACEOF
22759 rm -f conftest.$ac_objext
22760 if { (ac_try="$ac_compile"
22761 case "(($ac_try" in
22762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22763 *) ac_try_echo=$ac_try;;
22764 esac
22765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22766 (eval "$ac_compile") 2>conftest.er1
22767 ac_status=$?
22768 grep -v '^ *+' conftest.er1 >conftest.err
22769 rm -f conftest.er1
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } &&
22773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22774 { (case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_try") 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; } &&
22783 { ac_try='test -s conftest.$ac_objext'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22786 *) ac_try_echo=$ac_try;;
22787 esac
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; }; then
22793 ac_cv_member_siginfo_t_si_fd=yes
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22798 ac_cv_member_siginfo_t_si_fd=no
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22807 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22808 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22810 cat >>confdefs.h <<_ACEOF
22811 #define HAVE_SIGINFO_T_SI_FD 1
22812 _ACEOF
22818 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22819 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22820 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22822 else
22823 cat >conftest.$ac_ext <<_ACEOF
22824 /* confdefs.h. */
22825 _ACEOF
22826 cat confdefs.h >>conftest.$ac_ext
22827 cat >>conftest.$ac_ext <<_ACEOF
22828 /* end confdefs.h. */
22829 #include <sys/types.h>
22830 #ifdef HAVE_SYS_MTIO_H
22831 #include <sys/mtio.h>
22832 #endif
22835 main ()
22837 static struct mtget ac_aggr;
22838 if (ac_aggr.mt_blksiz)
22839 return 0;
22841 return 0;
22843 _ACEOF
22844 rm -f conftest.$ac_objext
22845 if { (ac_try="$ac_compile"
22846 case "(($ac_try" in
22847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22848 *) ac_try_echo=$ac_try;;
22849 esac
22850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22851 (eval "$ac_compile") 2>conftest.er1
22852 ac_status=$?
22853 grep -v '^ *+' conftest.er1 >conftest.err
22854 rm -f conftest.er1
22855 cat conftest.err >&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); } &&
22858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22859 { (case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22862 esac
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_try") 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try='test -s conftest.$ac_objext'
22869 { (case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22872 esac
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_try") 2>&5
22875 ac_status=$?
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); }; }; then
22878 ac_cv_member_struct_mtget_mt_blksiz=yes
22879 else
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22883 cat >conftest.$ac_ext <<_ACEOF
22884 /* confdefs.h. */
22885 _ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 #include <sys/types.h>
22890 #ifdef HAVE_SYS_MTIO_H
22891 #include <sys/mtio.h>
22892 #endif
22895 main ()
22897 static struct mtget ac_aggr;
22898 if (sizeof ac_aggr.mt_blksiz)
22899 return 0;
22901 return 0;
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } &&
22918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22919 { (case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22922 esac
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_try") 2>&5
22925 ac_status=$?
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); }; } &&
22928 { ac_try='test -s conftest.$ac_objext'
22929 { (case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22932 esac
22933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_try") 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 ac_cv_member_struct_mtget_mt_blksiz=yes
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22943 ac_cv_member_struct_mtget_mt_blksiz=no
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22951 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22952 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22953 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22955 cat >>confdefs.h <<_ACEOF
22956 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22957 _ACEOF
22961 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22962 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22963 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 else
22966 cat >conftest.$ac_ext <<_ACEOF
22967 /* confdefs.h. */
22968 _ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 #include <sys/types.h>
22973 #ifdef HAVE_SYS_MTIO_H
22974 #include <sys/mtio.h>
22975 #endif
22978 main ()
22980 static struct mtget ac_aggr;
22981 if (ac_aggr.mt_gstat)
22982 return 0;
22984 return 0;
22986 _ACEOF
22987 rm -f conftest.$ac_objext
22988 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22995 ac_status=$?
22996 grep -v '^ *+' conftest.er1 >conftest.err
22997 rm -f conftest.er1
22998 cat conftest.err >&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); } &&
23001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23002 { (case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23005 esac
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_try") 2>&5
23008 ac_status=$?
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; } &&
23011 { ac_try='test -s conftest.$ac_objext'
23012 { (case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23015 esac
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_try") 2>&5
23018 ac_status=$?
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; }; then
23021 ac_cv_member_struct_mtget_mt_gstat=yes
23022 else
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23026 cat >conftest.$ac_ext <<_ACEOF
23027 /* confdefs.h. */
23028 _ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23032 #include <sys/types.h>
23033 #ifdef HAVE_SYS_MTIO_H
23034 #include <sys/mtio.h>
23035 #endif
23038 main ()
23040 static struct mtget ac_aggr;
23041 if (sizeof ac_aggr.mt_gstat)
23042 return 0;
23044 return 0;
23046 _ACEOF
23047 rm -f conftest.$ac_objext
23048 if { (ac_try="$ac_compile"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23052 esac
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_compile") 2>conftest.er1
23055 ac_status=$?
23056 grep -v '^ *+' conftest.er1 >conftest.err
23057 rm -f conftest.er1
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } &&
23061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23062 { (case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23065 esac
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_try") 2>&5
23068 ac_status=$?
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); }; } &&
23071 { ac_try='test -s conftest.$ac_objext'
23072 { (case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;;
23075 esac
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_try") 2>&5
23078 ac_status=$?
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 ac_cv_member_struct_mtget_mt_gstat=yes
23082 else
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23086 ac_cv_member_struct_mtget_mt_gstat=no
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23095 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23096 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23098 cat >>confdefs.h <<_ACEOF
23099 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23100 _ACEOF
23104 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23105 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23106 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 else
23109 cat >conftest.$ac_ext <<_ACEOF
23110 /* confdefs.h. */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115 #include <sys/types.h>
23116 #ifdef HAVE_SYS_MTIO_H
23117 #include <sys/mtio.h>
23118 #endif
23121 main ()
23123 static struct mtget ac_aggr;
23124 if (ac_aggr.mt_blkno)
23125 return 0;
23127 return 0;
23129 _ACEOF
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23138 ac_status=$?
23139 grep -v '^ *+' conftest.er1 >conftest.err
23140 rm -f conftest.er1
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } &&
23144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23145 { (case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23148 esac
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_try") 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest.$ac_objext'
23155 { (case "(($ac_try" in
23156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23157 *) ac_try_echo=$ac_try;;
23158 esac
23159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23160 (eval "$ac_try") 2>&5
23161 ac_status=$?
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 ac_cv_member_struct_mtget_mt_blkno=yes
23165 else
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23169 cat >conftest.$ac_ext <<_ACEOF
23170 /* confdefs.h. */
23171 _ACEOF
23172 cat confdefs.h >>conftest.$ac_ext
23173 cat >>conftest.$ac_ext <<_ACEOF
23174 /* end confdefs.h. */
23175 #include <sys/types.h>
23176 #ifdef HAVE_SYS_MTIO_H
23177 #include <sys/mtio.h>
23178 #endif
23181 main ()
23183 static struct mtget ac_aggr;
23184 if (sizeof ac_aggr.mt_blkno)
23185 return 0;
23187 return 0;
23189 _ACEOF
23190 rm -f conftest.$ac_objext
23191 if { (ac_try="$ac_compile"
23192 case "(($ac_try" in
23193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23194 *) ac_try_echo=$ac_try;;
23195 esac
23196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23197 (eval "$ac_compile") 2>conftest.er1
23198 ac_status=$?
23199 grep -v '^ *+' conftest.er1 >conftest.err
23200 rm -f conftest.er1
23201 cat conftest.err >&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23205 { (case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23208 esac
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_try") 2>&5
23211 ac_status=$?
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); }; } &&
23214 { ac_try='test -s conftest.$ac_objext'
23215 { (case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_try") 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 ac_cv_member_struct_mtget_mt_blkno=yes
23225 else
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23229 ac_cv_member_struct_mtget_mt_blkno=no
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23238 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23239 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23243 _ACEOF
23249 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23250 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23251 if test "${ac_cv_member_struct_option_name+set}" = set; then
23252 echo $ECHO_N "(cached) $ECHO_C" >&6
23253 else
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 #ifdef HAVE_GETOPT_H
23261 #include <getopt.h>
23262 #endif
23265 main ()
23267 static struct option ac_aggr;
23268 if (ac_aggr.name)
23269 return 0;
23271 return 0;
23273 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23279 esac
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23282 ac_status=$?
23283 grep -v '^ *+' conftest.er1 >conftest.err
23284 rm -f conftest.er1
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292 esac
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23302 esac
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_cv_member_struct_option_name=yes
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23313 cat >conftest.$ac_ext <<_ACEOF
23314 /* confdefs.h. */
23315 _ACEOF
23316 cat confdefs.h >>conftest.$ac_ext
23317 cat >>conftest.$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23319 #ifdef HAVE_GETOPT_H
23320 #include <getopt.h>
23321 #endif
23324 main ()
23326 static struct option ac_aggr;
23327 if (sizeof ac_aggr.name)
23328 return 0;
23330 return 0;
23332 _ACEOF
23333 rm -f conftest.$ac_objext
23334 if { (ac_try="$ac_compile"
23335 case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23338 esac
23339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_compile") 2>conftest.er1
23341 ac_status=$?
23342 grep -v '^ *+' conftest.er1 >conftest.err
23343 rm -f conftest.er1
23344 cat conftest.err >&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23348 { (case "(($ac_try" in
23349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23350 *) ac_try_echo=$ac_try;;
23351 esac
23352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23353 (eval "$ac_try") 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; } &&
23357 { ac_try='test -s conftest.$ac_objext'
23358 { (case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23361 esac
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_try") 2>&5
23364 ac_status=$?
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); }; }; then
23367 ac_cv_member_struct_option_name=yes
23368 else
23369 echo "$as_me: failed program was:" >&5
23370 sed 's/^/| /' conftest.$ac_ext >&5
23372 ac_cv_member_struct_option_name=no
23375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23380 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23381 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23382 if test $ac_cv_member_struct_option_name = yes; then
23384 cat >>confdefs.h <<_ACEOF
23385 #define HAVE_STRUCT_OPTION_NAME 1
23386 _ACEOF
23392 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23393 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23394 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397 cat >conftest.$ac_ext <<_ACEOF
23398 /* confdefs.h. */
23399 _ACEOF
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403 $ac_includes_default
23405 main ()
23407 static struct stat ac_aggr;
23408 if (ac_aggr.st_blocks)
23409 return 0;
23411 return 0;
23413 _ACEOF
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23419 esac
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23422 ac_status=$?
23423 grep -v '^ *+' conftest.er1 >conftest.err
23424 rm -f conftest.er1
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } &&
23428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23429 { (case "(($ac_try" in
23430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23431 *) ac_try_echo=$ac_try;;
23432 esac
23433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23434 (eval "$ac_try") 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest.$ac_objext'
23439 { (case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23442 esac
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_try") 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 ac_cv_member_struct_stat_st_blocks=yes
23449 else
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.$ac_ext >&5
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 $ac_includes_default
23461 main ()
23463 static struct stat ac_aggr;
23464 if (sizeof ac_aggr.st_blocks)
23465 return 0;
23467 return 0;
23469 _ACEOF
23470 rm -f conftest.$ac_objext
23471 if { (ac_try="$ac_compile"
23472 case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23474 *) ac_try_echo=$ac_try;;
23475 esac
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_compile") 2>conftest.er1
23478 ac_status=$?
23479 grep -v '^ *+' conftest.er1 >conftest.err
23480 rm -f conftest.er1
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23485 { (case "(($ac_try" in
23486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23487 *) ac_try_echo=$ac_try;;
23488 esac
23489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23490 (eval "$ac_try") 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try='test -s conftest.$ac_objext'
23495 { (case "(($ac_try" in
23496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23497 *) ac_try_echo=$ac_try;;
23498 esac
23499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23500 (eval "$ac_try") 2>&5
23501 ac_status=$?
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_member_struct_stat_st_blocks=yes
23505 else
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23509 ac_cv_member_struct_stat_st_blocks=no
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23517 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23518 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23519 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23521 cat >>confdefs.h <<_ACEOF
23522 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23523 _ACEOF
23529 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23530 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23531 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23533 else
23534 cat >conftest.$ac_ext <<_ACEOF
23535 /* confdefs.h. */
23536 _ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23540 #ifdef HAVE_SYS_TYPES_H
23541 #include <sys/types.h>
23542 #endif
23543 #ifdef HAVE_NETINET_IN_H
23544 #include <netinet/in.h>
23545 #endif
23548 main ()
23550 static struct sockaddr_in6 ac_aggr;
23551 if (ac_aggr.sin6_scope_id)
23552 return 0;
23554 return 0;
23556 _ACEOF
23557 rm -f conftest.$ac_objext
23558 if { (ac_try="$ac_compile"
23559 case "(($ac_try" in
23560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23561 *) ac_try_echo=$ac_try;;
23562 esac
23563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23564 (eval "$ac_compile") 2>conftest.er1
23565 ac_status=$?
23566 grep -v '^ *+' conftest.er1 >conftest.err
23567 rm -f conftest.er1
23568 cat conftest.err >&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23572 { (case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23575 esac
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_try") 2>&5
23578 ac_status=$?
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } &&
23581 { ac_try='test -s conftest.$ac_objext'
23582 { (case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23584 *) ac_try_echo=$ac_try;;
23585 esac
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_try") 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23592 else
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23596 cat >conftest.$ac_ext <<_ACEOF
23597 /* confdefs.h. */
23598 _ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #ifdef HAVE_SYS_TYPES_H
23603 #include <sys/types.h>
23604 #endif
23605 #ifdef HAVE_NETINET_IN_H
23606 #include <netinet/in.h>
23607 #endif
23610 main ()
23612 static struct sockaddr_in6 ac_aggr;
23613 if (sizeof ac_aggr.sin6_scope_id)
23614 return 0;
23616 return 0;
23618 _ACEOF
23619 rm -f conftest.$ac_objext
23620 if { (ac_try="$ac_compile"
23621 case "(($ac_try" in
23622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23623 *) ac_try_echo=$ac_try;;
23624 esac
23625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23626 (eval "$ac_compile") 2>conftest.er1
23627 ac_status=$?
23628 grep -v '^ *+' conftest.er1 >conftest.err
23629 rm -f conftest.er1
23630 cat conftest.err >&5
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); } &&
23633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23634 { (case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23637 esac
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_try") 2>&5
23640 ac_status=$?
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; } &&
23643 { ac_try='test -s conftest.$ac_objext'
23644 { (case "(($ac_try" in
23645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23646 *) ac_try_echo=$ac_try;;
23647 esac
23648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23649 (eval "$ac_try") 2>&5
23650 ac_status=$?
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23654 else
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.$ac_ext >&5
23658 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23667 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23668 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23670 cat >>confdefs.h <<_ACEOF
23671 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23672 _ACEOF
23678 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23679 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23680 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23682 else
23683 cat >conftest.$ac_ext <<_ACEOF
23684 /* confdefs.h. */
23685 _ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 #ifdef HAVE_SYS_TYPES_H
23690 #include <sys/types.h>
23691 #endif
23692 #ifdef HAVE_NETINET_IN_H
23693 # include <netinet/in.h>
23694 #endif
23695 #ifdef HAVE_ARPA_NAMESER_H
23696 # include <arpa/nameser.h>
23697 #endif
23700 main ()
23702 static ns_msg ac_aggr;
23703 if (ac_aggr._msg_ptr)
23704 return 0;
23706 return 0;
23708 _ACEOF
23709 rm -f conftest.$ac_objext
23710 if { (ac_try="$ac_compile"
23711 case "(($ac_try" in
23712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23713 *) ac_try_echo=$ac_try;;
23714 esac
23715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23716 (eval "$ac_compile") 2>conftest.er1
23717 ac_status=$?
23718 grep -v '^ *+' conftest.er1 >conftest.err
23719 rm -f conftest.er1
23720 cat conftest.err >&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23724 { (case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_try") 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; } &&
23733 { ac_try='test -s conftest.$ac_objext'
23734 { (case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23737 esac
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_try") 2>&5
23740 ac_status=$?
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_cv_member_ns_msg__msg_ptr=yes
23744 else
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23748 cat >conftest.$ac_ext <<_ACEOF
23749 /* confdefs.h. */
23750 _ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23754 #ifdef HAVE_SYS_TYPES_H
23755 #include <sys/types.h>
23756 #endif
23757 #ifdef HAVE_NETINET_IN_H
23758 # include <netinet/in.h>
23759 #endif
23760 #ifdef HAVE_ARPA_NAMESER_H
23761 # include <arpa/nameser.h>
23762 #endif
23765 main ()
23767 static ns_msg ac_aggr;
23768 if (sizeof ac_aggr._msg_ptr)
23769 return 0;
23771 return 0;
23773 _ACEOF
23774 rm -f conftest.$ac_objext
23775 if { (ac_try="$ac_compile"
23776 case "(($ac_try" in
23777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23778 *) ac_try_echo=$ac_try;;
23779 esac
23780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23781 (eval "$ac_compile") 2>conftest.er1
23782 ac_status=$?
23783 grep -v '^ *+' conftest.er1 >conftest.err
23784 rm -f conftest.er1
23785 cat conftest.err >&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); } &&
23788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23789 { (case "(($ac_try" in
23790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23791 *) ac_try_echo=$ac_try;;
23792 esac
23793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23794 (eval "$ac_try") 2>&5
23795 ac_status=$?
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); }; } &&
23798 { ac_try='test -s conftest.$ac_objext'
23799 { (case "(($ac_try" in
23800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23801 *) ac_try_echo=$ac_try;;
23802 esac
23803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23804 (eval "$ac_try") 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 ac_cv_member_ns_msg__msg_ptr=yes
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23813 ac_cv_member_ns_msg__msg_ptr=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23822 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23823 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23825 cat >>confdefs.h <<_ACEOF
23826 #define HAVE_NS_MSG__MSG_PTR 1
23827 _ACEOF
23833 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23834 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23835 if test "${ac_cv_have_timezone+set}" = set; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 else
23838 cat >conftest.$ac_ext <<_ACEOF
23839 /* confdefs.h. */
23840 _ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 #include <time.h>
23846 main ()
23848 timezone;
23850 return 0;
23852 _ACEOF
23853 rm -f conftest.$ac_objext conftest$ac_exeext
23854 if { (ac_try="$ac_link"
23855 case "(($ac_try" in
23856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23857 *) ac_try_echo=$ac_try;;
23858 esac
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_link") 2>conftest.er1
23861 ac_status=$?
23862 grep -v '^ *+' conftest.er1 >conftest.err
23863 rm -f conftest.er1
23864 cat conftest.err >&5
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); } &&
23867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23868 { (case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_try") 2>&5
23874 ac_status=$?
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; } &&
23877 { ac_try='test -s conftest$ac_exeext'
23878 { (case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23881 esac
23882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 (eval "$ac_try") 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_cv_have_timezone="yes"
23888 else
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23892 ac_cv_have_timezone="no"
23895 rm -f core conftest.err conftest.$ac_objext \
23896 conftest$ac_exeext conftest.$ac_ext
23898 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23899 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23900 if test "$ac_cv_have_timezone" = "yes"
23901 then
23903 cat >>confdefs.h <<\_ACEOF
23904 #define HAVE_TIMEZONE 1
23905 _ACEOF
23908 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23909 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23910 if test "${ac_cv_have_daylight+set}" = set; then
23911 echo $ECHO_N "(cached) $ECHO_C" >&6
23912 else
23913 cat >conftest.$ac_ext <<_ACEOF
23914 /* confdefs.h. */
23915 _ACEOF
23916 cat confdefs.h >>conftest.$ac_ext
23917 cat >>conftest.$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23919 #include <time.h>
23921 main ()
23923 daylight;
23925 return 0;
23927 _ACEOF
23928 rm -f conftest.$ac_objext conftest$ac_exeext
23929 if { (ac_try="$ac_link"
23930 case "(($ac_try" in
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23932 *) ac_try_echo=$ac_try;;
23933 esac
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23935 (eval "$ac_link") 2>conftest.er1
23936 ac_status=$?
23937 grep -v '^ *+' conftest.er1 >conftest.err
23938 rm -f conftest.er1
23939 cat conftest.err >&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } &&
23942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23943 { (case "(($ac_try" in
23944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23945 *) ac_try_echo=$ac_try;;
23946 esac
23947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23948 (eval "$ac_try") 2>&5
23949 ac_status=$?
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; } &&
23952 { ac_try='test -s conftest$ac_exeext'
23953 { (case "(($ac_try" in
23954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23955 *) ac_try_echo=$ac_try;;
23956 esac
23957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23958 (eval "$ac_try") 2>&5
23959 ac_status=$?
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; }; then
23962 ac_cv_have_daylight="yes"
23963 else
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23967 ac_cv_have_daylight="no"
23970 rm -f core conftest.err conftest.$ac_objext \
23971 conftest$ac_exeext conftest.$ac_ext
23973 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23974 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23975 if test "$ac_cv_have_daylight" = "yes"
23976 then
23978 cat >>confdefs.h <<\_ACEOF
23979 #define HAVE_DAYLIGHT 1
23980 _ACEOF
23985 case $host_cpu in
23986 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23987 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23988 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23989 echo $ECHO_N "(cached) $ECHO_C" >&6
23990 else
23991 cat >conftest.$ac_ext <<_ACEOF
23992 /* confdefs.h. */
23993 _ACEOF
23994 cat confdefs.h >>conftest.$ac_ext
23995 cat >>conftest.$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
23997 #ifndef __i386__
23999 #endif
24000 _ACEOF
24001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24002 $EGREP "yes" >/dev/null 2>&1; then
24003 ac_cv_cpp_def___i386__=yes
24004 else
24005 ac_cv_cpp_def___i386__=no
24007 rm -f conftest*
24010 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24011 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24012 if test $ac_cv_cpp_def___i386__ = yes; then
24013 CFLAGS="$CFLAGS -D__i386__"
24014 LINTFLAGS="$LINTFLAGS -D__i386__"
24017 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24018 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24019 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24020 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 else
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #ifndef __x86_64__
24030 #endif
24031 _ACEOF
24032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24033 $EGREP "yes" >/dev/null 2>&1; then
24034 ac_cv_cpp_def___x86_64__=yes
24035 else
24036 ac_cv_cpp_def___x86_64__=no
24038 rm -f conftest*
24041 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24042 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24043 if test $ac_cv_cpp_def___x86_64__ = yes; then
24044 CFLAGS="$CFLAGS -D__x86_64__"
24045 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24048 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24049 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24050 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 else
24053 cat >conftest.$ac_ext <<_ACEOF
24054 /* confdefs.h. */
24055 _ACEOF
24056 cat confdefs.h >>conftest.$ac_ext
24057 cat >>conftest.$ac_ext <<_ACEOF
24058 /* end confdefs.h. */
24059 #ifndef _WIN64
24061 #endif
24062 _ACEOF
24063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24064 $EGREP "yes" >/dev/null 2>&1; then
24065 ac_cv_cpp_def__WIN64=yes
24066 else
24067 ac_cv_cpp_def__WIN64=no
24069 rm -f conftest*
24072 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24073 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24074 if test $ac_cv_cpp_def__WIN64 = yes; then
24075 CFLAGS="$CFLAGS -D_WIN64"
24076 LINTFLAGS="$LINTFLAGS -D_WIN64"
24079 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24080 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24081 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24082 echo $ECHO_N "(cached) $ECHO_C" >&6
24083 else
24084 cat >conftest.$ac_ext <<_ACEOF
24085 /* confdefs.h. */
24086 _ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 #ifndef __ALPHA__
24092 #endif
24093 _ACEOF
24094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24095 $EGREP "yes" >/dev/null 2>&1; then
24096 ac_cv_cpp_def___ALPHA__=yes
24097 else
24098 ac_cv_cpp_def___ALPHA__=no
24100 rm -f conftest*
24103 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24104 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24105 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24106 CFLAGS="$CFLAGS -D__ALPHA__"
24107 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24110 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24111 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24112 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24115 cat >conftest.$ac_ext <<_ACEOF
24116 /* confdefs.h. */
24117 _ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 #ifndef __sparc__
24123 #endif
24124 _ACEOF
24125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24126 $EGREP "yes" >/dev/null 2>&1; then
24127 ac_cv_cpp_def___sparc__=yes
24128 else
24129 ac_cv_cpp_def___sparc__=no
24131 rm -f conftest*
24134 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24135 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24136 if test $ac_cv_cpp_def___sparc__ = yes; then
24137 CFLAGS="$CFLAGS -D__sparc__"
24138 LINTFLAGS="$LINTFLAGS -D__sparc__"
24141 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24142 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24143 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24144 echo $ECHO_N "(cached) $ECHO_C" >&6
24145 else
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152 #ifndef __powerpc__
24154 #endif
24155 _ACEOF
24156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24157 $EGREP "yes" >/dev/null 2>&1; then
24158 ac_cv_cpp_def___powerpc__=yes
24159 else
24160 ac_cv_cpp_def___powerpc__=no
24162 rm -f conftest*
24165 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24166 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24167 if test $ac_cv_cpp_def___powerpc__ = yes; then
24168 CFLAGS="$CFLAGS -D__powerpc__"
24169 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24172 esac
24174 case $host_vendor in
24175 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24176 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24177 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24178 echo $ECHO_N "(cached) $ECHO_C" >&6
24179 else
24180 cat >conftest.$ac_ext <<_ACEOF
24181 /* confdefs.h. */
24182 _ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186 #ifndef __sun__
24188 #endif
24189 _ACEOF
24190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24191 $EGREP "yes" >/dev/null 2>&1; then
24192 ac_cv_cpp_def___sun__=yes
24193 else
24194 ac_cv_cpp_def___sun__=no
24196 rm -f conftest*
24199 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24200 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24201 if test $ac_cv_cpp_def___sun__ = yes; then
24202 CFLAGS="$CFLAGS -D__sun__"
24203 LINTFLAGS="$LINTFLAGS -D__sun__"
24206 esac
24212 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24214 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24216 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24218 ac_config_commands="$ac_config_commands dlls/user/resources"
24220 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24222 ac_config_commands="$ac_config_commands include/wine"
24225 MAKE_RULES=Make.rules
24228 MAKE_DLL_RULES=dlls/Makedll.rules
24231 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24234 MAKE_TEST_RULES=dlls/Maketest.rules
24237 MAKE_PROG_RULES=programs/Makeprog.rules
24240 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/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/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
24243 cat >confcache <<\_ACEOF
24244 # This file is a shell script that caches the results of configure
24245 # tests run on this system so they can be shared between configure
24246 # scripts and configure runs, see configure's option --config-cache.
24247 # It is not useful on other systems. If it contains results you don't
24248 # want to keep, you may remove or edit it.
24250 # config.status only pays attention to the cache file if you give it
24251 # the --recheck option to rerun configure.
24253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24255 # following values.
24257 _ACEOF
24259 # The following way of writing the cache mishandles newlines in values,
24260 # but we know of no workaround that is simple, portable, and efficient.
24261 # So, we kill variables containing newlines.
24262 # Ultrix sh set writes to stderr and can't be redirected directly,
24263 # and sets the high bit in the cache file unless we assign to the vars.
24265 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24266 eval ac_val=\$$ac_var
24267 case $ac_val in #(
24268 *${as_nl}*)
24269 case $ac_var in #(
24270 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24271 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24272 esac
24273 case $ac_var in #(
24274 _ | IFS | as_nl) ;; #(
24275 *) $as_unset $ac_var ;;
24276 esac ;;
24277 esac
24278 done
24280 (set) 2>&1 |
24281 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24282 *${as_nl}ac_space=\ *)
24283 # `set' does not quote correctly, so add quotes (double-quote
24284 # substitution turns \\\\ into \\, and sed turns \\ into \).
24285 sed -n \
24286 "s/'/'\\\\''/g;
24287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24288 ;; #(
24290 # `set' quotes correctly as required by POSIX, so do not add quotes.
24291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24293 esac |
24294 sort
24296 sed '
24297 /^ac_cv_env_/b end
24298 t clear
24299 :clear
24300 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24301 t end
24302 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24303 :end' >>confcache
24304 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24305 if test -w "$cache_file"; then
24306 test "x$cache_file" != "x/dev/null" &&
24307 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24308 echo "$as_me: updating cache $cache_file" >&6;}
24309 cat confcache >$cache_file
24310 else
24311 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24312 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24315 rm -f confcache
24317 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24318 # Let make expand exec_prefix.
24319 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24321 DEFS=-DHAVE_CONFIG_H
24323 ac_libobjs=
24324 ac_ltlibobjs=
24325 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24326 # 1. Remove the extension, and $U if already installed.
24327 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24328 ac_i=`echo "$ac_i" | sed "$ac_script"`
24329 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24330 # will be set to the directory where LIBOBJS objects are built.
24331 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24332 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24333 done
24334 LIBOBJS=$ac_libobjs
24336 LTLIBOBJS=$ac_ltlibobjs
24340 : ${CONFIG_STATUS=./config.status}
24341 ac_clean_files_save=$ac_clean_files
24342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24343 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24344 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24345 cat >$CONFIG_STATUS <<_ACEOF
24346 #! $SHELL
24347 # Generated by $as_me.
24348 # Run this file to recreate the current configuration.
24349 # Compiler output produced by configure, useful for debugging
24350 # configure, is in config.log if it exists.
24352 debug=false
24353 ac_cs_recheck=false
24354 ac_cs_silent=false
24355 SHELL=\${CONFIG_SHELL-$SHELL}
24356 _ACEOF
24358 cat >>$CONFIG_STATUS <<\_ACEOF
24359 ## --------------------- ##
24360 ## M4sh Initialization. ##
24361 ## --------------------- ##
24363 # Be Bourne compatible
24364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24365 emulate sh
24366 NULLCMD=:
24367 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24368 # is contrary to our usage. Disable this feature.
24369 alias -g '${1+"$@"}'='"$@"'
24370 setopt NO_GLOB_SUBST
24371 else
24372 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24374 BIN_SH=xpg4; export BIN_SH # for Tru64
24375 DUALCASE=1; export DUALCASE # for MKS sh
24378 # PATH needs CR
24379 # Avoid depending upon Character Ranges.
24380 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24381 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24382 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24383 as_cr_digits='0123456789'
24384 as_cr_alnum=$as_cr_Letters$as_cr_digits
24386 # The user is always right.
24387 if test "${PATH_SEPARATOR+set}" != set; then
24388 echo "#! /bin/sh" >conf$$.sh
24389 echo "exit 0" >>conf$$.sh
24390 chmod +x conf$$.sh
24391 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24392 PATH_SEPARATOR=';'
24393 else
24394 PATH_SEPARATOR=:
24396 rm -f conf$$.sh
24399 # Support unset when possible.
24400 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24401 as_unset=unset
24402 else
24403 as_unset=false
24407 # IFS
24408 # We need space, tab and new line, in precisely that order. Quoting is
24409 # there to prevent editors from complaining about space-tab.
24410 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24411 # splitting by setting IFS to empty value.)
24412 as_nl='
24414 IFS=" "" $as_nl"
24416 # Find who we are. Look in the path if we contain no directory separator.
24417 case $0 in
24418 *[\\/]* ) as_myself=$0 ;;
24419 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24420 for as_dir in $PATH
24422 IFS=$as_save_IFS
24423 test -z "$as_dir" && as_dir=.
24424 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24425 done
24426 IFS=$as_save_IFS
24429 esac
24430 # We did not find ourselves, most probably we were run as `sh COMMAND'
24431 # in which case we are not to be found in the path.
24432 if test "x$as_myself" = x; then
24433 as_myself=$0
24435 if test ! -f "$as_myself"; then
24436 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24437 { (exit 1); exit 1; }
24440 # Work around bugs in pre-3.0 UWIN ksh.
24441 for as_var in ENV MAIL MAILPATH
24442 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24443 done
24444 PS1='$ '
24445 PS2='> '
24446 PS4='+ '
24448 # NLS nuisances.
24449 for as_var in \
24450 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24451 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24452 LC_TELEPHONE LC_TIME
24454 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24455 eval $as_var=C; export $as_var
24456 else
24457 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24459 done
24461 # Required to use basename.
24462 if expr a : '\(a\)' >/dev/null 2>&1 &&
24463 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24464 as_expr=expr
24465 else
24466 as_expr=false
24469 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24470 as_basename=basename
24471 else
24472 as_basename=false
24476 # Name of the executable.
24477 as_me=`$as_basename -- "$0" ||
24478 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24479 X"$0" : 'X\(//\)$' \| \
24480 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24481 echo X/"$0" |
24482 sed '/^.*\/\([^/][^/]*\)\/*$/{
24483 s//\1/
24486 /^X\/\(\/\/\)$/{
24487 s//\1/
24490 /^X\/\(\/\).*/{
24491 s//\1/
24494 s/.*/./; q'`
24496 # CDPATH.
24497 $as_unset CDPATH
24501 as_lineno_1=$LINENO
24502 as_lineno_2=$LINENO
24503 test "x$as_lineno_1" != "x$as_lineno_2" &&
24504 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24506 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24507 # uniformly replaced by the line number. The first 'sed' inserts a
24508 # line-number line after each line using $LINENO; the second 'sed'
24509 # does the real work. The second script uses 'N' to pair each
24510 # line-number line with the line containing $LINENO, and appends
24511 # trailing '-' during substitution so that $LINENO is not a special
24512 # case at line end.
24513 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24514 # scripts with optimization help from Paolo Bonzini. Blame Lee
24515 # E. McMahon (1931-1989) for sed's syntax. :-)
24516 sed -n '
24518 /[$]LINENO/=
24519 ' <$as_myself |
24520 sed '
24521 s/[$]LINENO.*/&-/
24522 t lineno
24524 :lineno
24526 :loop
24527 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24528 t loop
24529 s/-\n.*//
24530 ' >$as_me.lineno &&
24531 chmod +x "$as_me.lineno" ||
24532 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24533 { (exit 1); exit 1; }; }
24535 # Don't try to exec as it changes $[0], causing all sort of problems
24536 # (the dirname of $[0] is not the place where we might find the
24537 # original and so on. Autoconf is especially sensitive to this).
24538 . "./$as_me.lineno"
24539 # Exit status is that of the last command.
24540 exit
24544 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24545 as_dirname=dirname
24546 else
24547 as_dirname=false
24550 ECHO_C= ECHO_N= ECHO_T=
24551 case `echo -n x` in
24552 -n*)
24553 case `echo 'x\c'` in
24554 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24555 *) ECHO_C='\c';;
24556 esac;;
24558 ECHO_N='-n';;
24559 esac
24561 if expr a : '\(a\)' >/dev/null 2>&1 &&
24562 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24563 as_expr=expr
24564 else
24565 as_expr=false
24568 rm -f conf$$ conf$$.exe conf$$.file
24569 if test -d conf$$.dir; then
24570 rm -f conf$$.dir/conf$$.file
24571 else
24572 rm -f conf$$.dir
24573 mkdir conf$$.dir
24575 echo >conf$$.file
24576 if ln -s conf$$.file conf$$ 2>/dev/null; then
24577 as_ln_s='ln -s'
24578 # ... but there are two gotchas:
24579 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24580 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24581 # In both cases, we have to default to `cp -p'.
24582 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24583 as_ln_s='cp -p'
24584 elif ln conf$$.file conf$$ 2>/dev/null; then
24585 as_ln_s=ln
24586 else
24587 as_ln_s='cp -p'
24589 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24590 rmdir conf$$.dir 2>/dev/null
24592 if mkdir -p . 2>/dev/null; then
24593 as_mkdir_p=:
24594 else
24595 test -d ./-p && rmdir ./-p
24596 as_mkdir_p=false
24599 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24600 # systems may use methods other than mode bits to determine executability.
24601 cat >conf$$.file <<_ASEOF
24602 #! /bin/sh
24603 exit 0
24604 _ASEOF
24605 chmod +x conf$$.file
24606 if test -x conf$$.file >/dev/null 2>&1; then
24607 as_executable_p="test -x"
24608 else
24609 as_executable_p=:
24611 rm -f conf$$.file
24613 # Sed expression to map a string onto a valid CPP name.
24614 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24616 # Sed expression to map a string onto a valid variable name.
24617 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24620 exec 6>&1
24622 # Save the log message, to keep $[0] and so on meaningful, and to
24623 # report actual input values of CONFIG_FILES etc. instead of their
24624 # values after options handling.
24625 ac_log="
24626 This file was extended by Wine $as_me 0.9.18, which was
24627 generated by GNU Autoconf 2.60a. Invocation command line was
24629 CONFIG_FILES = $CONFIG_FILES
24630 CONFIG_HEADERS = $CONFIG_HEADERS
24631 CONFIG_LINKS = $CONFIG_LINKS
24632 CONFIG_COMMANDS = $CONFIG_COMMANDS
24633 $ $0 $@
24635 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24638 _ACEOF
24640 cat >>$CONFIG_STATUS <<_ACEOF
24641 # Files that config.status was made for.
24642 config_files="$ac_config_files"
24643 config_headers="$ac_config_headers"
24644 config_commands="$ac_config_commands"
24646 _ACEOF
24648 cat >>$CONFIG_STATUS <<\_ACEOF
24649 ac_cs_usage="\
24650 \`$as_me' instantiates files from templates according to the
24651 current configuration.
24653 Usage: $0 [OPTIONS] [FILE]...
24655 -h, --help print this help, then exit
24656 -V, --version print version number, then exit
24657 -q, --quiet do not print progress messages
24658 -d, --debug don't remove temporary files
24659 --recheck update $as_me by reconfiguring in the same conditions
24660 --file=FILE[:TEMPLATE]
24661 instantiate the configuration file FILE
24662 --header=FILE[:TEMPLATE]
24663 instantiate the configuration header FILE
24665 Configuration files:
24666 $config_files
24668 Configuration headers:
24669 $config_headers
24671 Configuration commands:
24672 $config_commands
24674 Report bugs to <bug-autoconf@gnu.org>."
24676 _ACEOF
24677 cat >>$CONFIG_STATUS <<_ACEOF
24678 ac_cs_version="\\
24679 Wine config.status 0.9.18
24680 configured by $0, generated by GNU Autoconf 2.60a,
24681 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24683 Copyright (C) 2006 Free Software Foundation, Inc.
24684 This config.status script is free software; the Free Software Foundation
24685 gives unlimited permission to copy, distribute and modify it."
24687 ac_pwd='$ac_pwd'
24688 srcdir='$srcdir'
24689 INSTALL='$INSTALL'
24690 _ACEOF
24692 cat >>$CONFIG_STATUS <<\_ACEOF
24693 # If no file are specified by the user, then we need to provide default
24694 # value. By we need to know if files were specified by the user.
24695 ac_need_defaults=:
24696 while test $# != 0
24698 case $1 in
24699 --*=*)
24700 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24702 ac_shift=:
24705 ac_option=$1
24706 ac_optarg=$2
24707 ac_shift=shift
24709 esac
24711 case $ac_option in
24712 # Handling of the options.
24713 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24714 ac_cs_recheck=: ;;
24715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24716 echo "$ac_cs_version"; exit ;;
24717 --debug | --debu | --deb | --de | --d | -d )
24718 debug=: ;;
24719 --file | --fil | --fi | --f )
24720 $ac_shift
24721 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24722 ac_need_defaults=false;;
24723 --header | --heade | --head | --hea )
24724 $ac_shift
24725 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24726 ac_need_defaults=false;;
24727 --he | --h)
24728 # Conflict between --help and --header
24729 { echo "$as_me: error: ambiguous option: $1
24730 Try \`$0 --help' for more information." >&2
24731 { (exit 1); exit 1; }; };;
24732 --help | --hel | -h )
24733 echo "$ac_cs_usage"; exit ;;
24734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24735 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24736 ac_cs_silent=: ;;
24738 # This is an error.
24739 -*) { echo "$as_me: error: unrecognized option: $1
24740 Try \`$0 --help' for more information." >&2
24741 { (exit 1); exit 1; }; } ;;
24743 *) ac_config_targets="$ac_config_targets $1"
24744 ac_need_defaults=false ;;
24746 esac
24747 shift
24748 done
24750 ac_configure_extra_args=
24752 if $ac_cs_silent; then
24753 exec 6>/dev/null
24754 ac_configure_extra_args="$ac_configure_extra_args --silent"
24757 _ACEOF
24758 cat >>$CONFIG_STATUS <<_ACEOF
24759 if \$ac_cs_recheck; then
24760 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24761 CONFIG_SHELL=$SHELL
24762 export CONFIG_SHELL
24763 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24766 _ACEOF
24767 cat >>$CONFIG_STATUS <<\_ACEOF
24768 exec 5>>config.log
24770 echo
24771 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24772 ## Running $as_me. ##
24773 _ASBOX
24774 echo "$ac_log"
24775 } >&5
24777 _ACEOF
24778 cat >>$CONFIG_STATUS <<_ACEOF
24779 _ACEOF
24781 cat >>$CONFIG_STATUS <<\_ACEOF
24783 # Handling of arguments.
24784 for ac_config_target in $ac_config_targets
24786 case $ac_config_target in
24787 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24788 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24789 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24790 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24791 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24792 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24793 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24794 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24795 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24796 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24797 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24798 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24799 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24800 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24801 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24802 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24803 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24804 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24805 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24806 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24807 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24808 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24809 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24810 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24811 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24812 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24813 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24814 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24815 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24816 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24817 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24818 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24819 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24820 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24821 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24822 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24823 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24824 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24825 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24826 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24827 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24828 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24829 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24830 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24831 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24832 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24833 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24834 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24835 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24836 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24837 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24838 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24839 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24840 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24841 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24842 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24843 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24844 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24845 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24846 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24847 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24848 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24849 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24850 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24851 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24852 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24853 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24854 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24855 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24856 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24857 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24858 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24859 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24860 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24861 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24862 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24863 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24864 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24865 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24866 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24867 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24868 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24869 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24870 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24871 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24872 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24873 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24874 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24875 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24876 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24877 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24878 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24879 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24880 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24881 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24882 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24883 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24884 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24885 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24886 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24887 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24888 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24889 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24890 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24891 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24892 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24893 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24894 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24895 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24896 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24897 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24898 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24899 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24900 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24901 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24902 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24903 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24904 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24905 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24906 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24907 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24908 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24909 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24910 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24911 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24912 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24913 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24914 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24915 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24916 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24917 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24918 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24919 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24920 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24921 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24922 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24923 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24924 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24925 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24926 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24927 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24928 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24929 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24930 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24931 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24932 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24933 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24934 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24935 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24936 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24937 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24938 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24939 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24940 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24941 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24942 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24943 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24944 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24945 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24946 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24947 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24948 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24949 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24950 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24951 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24952 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24953 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24954 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24955 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24956 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24957 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24958 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24959 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24960 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24961 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24962 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24963 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24964 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24965 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24966 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24967 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24968 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24969 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24970 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24971 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24972 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24973 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24974 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24975 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24976 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24977 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24978 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24979 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24980 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24981 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24982 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24983 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24984 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24985 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24986 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24987 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24988 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24989 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24990 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24991 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24992 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24993 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24994 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24995 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24996 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24997 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24998 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24999 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
25000 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25001 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25002 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25003 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25004 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
25005 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25006 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25007 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25008 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25009 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25010 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25011 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25012 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25013 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25014 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
25015 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25016 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25017 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25018 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
25019 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25020 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
25021 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25022 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25023 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25024 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25025 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25026 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25027 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25028 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25029 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25030 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25031 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25032 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25033 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25034 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25035 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25036 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25037 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25038 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
25039 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25040 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25041 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25042 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25043 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
25044 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
25045 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25046 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
25047 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
25048 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
25049 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
25050 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
25051 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
25052 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
25053 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25054 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
25055 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
25056 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
25057 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
25058 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
25059 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
25060 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
25061 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
25062 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
25063 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
25064 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
25065 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
25066 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25067 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
25068 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
25069 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
25070 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25071 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25072 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
25073 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
25074 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
25075 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25076 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
25077 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25078 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
25079 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
25080 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25081 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
25082 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
25083 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
25084 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
25085 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
25086 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
25087 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
25088 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25089 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25090 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
25091 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
25092 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
25093 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
25094 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
25095 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
25096 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
25098 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25099 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25100 { (exit 1); exit 1; }; };;
25101 esac
25102 done
25105 # If the user did not use the arguments to specify the items to instantiate,
25106 # then the envvar interface is used. Set only those that are not.
25107 # We use the long form for the default assignment because of an extremely
25108 # bizarre bug on SunOS 4.1.3.
25109 if $ac_need_defaults; then
25110 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25111 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25112 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25115 # Have a temporary directory for convenience. Make it in the build tree
25116 # simply because there is no reason against having it here, and in addition,
25117 # creating and moving files from /tmp can sometimes cause problems.
25118 # Hook for its removal unless debugging.
25119 # Note that there is a small window in which the directory will not be cleaned:
25120 # after its creation but before its name has been assigned to `$tmp'.
25121 $debug ||
25123 tmp=
25124 trap 'exit_status=$?
25125 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25127 trap '{ (exit 1); exit 1; }' 1 2 13 15
25129 # Create a (secure) tmp directory for tmp files.
25132 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25133 test -n "$tmp" && test -d "$tmp"
25134 } ||
25136 tmp=./conf$$-$RANDOM
25137 (umask 077 && mkdir "$tmp")
25138 } ||
25140 echo "$me: cannot create a temporary directory in ." >&2
25141 { (exit 1); exit 1; }
25145 # Set up the sed scripts for CONFIG_FILES section.
25148 # No need to generate the scripts if there are no CONFIG_FILES.
25149 # This happens for instance when ./config.status config.h
25150 if test -n "$CONFIG_FILES"; then
25152 _ACEOF
25154 # Create sed commands to just substitute file output variables.
25156 # Remaining file output variables are in a fragment that also has non-file
25157 # output varibles.
25161 ac_delim='%!_!# '
25162 for ac_last_try in false false false false false :; do
25163 cat >conf$$subs.sed <<_ACEOF
25164 SHELL!$SHELL$ac_delim
25165 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25166 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25167 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25168 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25169 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25170 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25171 exec_prefix!$exec_prefix$ac_delim
25172 prefix!$prefix$ac_delim
25173 program_transform_name!$program_transform_name$ac_delim
25174 bindir!$bindir$ac_delim
25175 sbindir!$sbindir$ac_delim
25176 libexecdir!$libexecdir$ac_delim
25177 datarootdir!$datarootdir$ac_delim
25178 datadir!$datadir$ac_delim
25179 sysconfdir!$sysconfdir$ac_delim
25180 sharedstatedir!$sharedstatedir$ac_delim
25181 localstatedir!$localstatedir$ac_delim
25182 includedir!$includedir$ac_delim
25183 oldincludedir!$oldincludedir$ac_delim
25184 docdir!$docdir$ac_delim
25185 infodir!$infodir$ac_delim
25186 htmldir!$htmldir$ac_delim
25187 dvidir!$dvidir$ac_delim
25188 pdfdir!$pdfdir$ac_delim
25189 psdir!$psdir$ac_delim
25190 libdir!$libdir$ac_delim
25191 localedir!$localedir$ac_delim
25192 mandir!$mandir$ac_delim
25193 DEFS!$DEFS$ac_delim
25194 ECHO_C!$ECHO_C$ac_delim
25195 ECHO_N!$ECHO_N$ac_delim
25196 ECHO_T!$ECHO_T$ac_delim
25197 LIBS!$LIBS$ac_delim
25198 build_alias!$build_alias$ac_delim
25199 host_alias!$host_alias$ac_delim
25200 target_alias!$target_alias$ac_delim
25201 build!$build$ac_delim
25202 build_cpu!$build_cpu$ac_delim
25203 build_vendor!$build_vendor$ac_delim
25204 build_os!$build_os$ac_delim
25205 host!$host$ac_delim
25206 host_cpu!$host_cpu$ac_delim
25207 host_vendor!$host_vendor$ac_delim
25208 host_os!$host_os$ac_delim
25209 WIN16_FILES!$WIN16_FILES$ac_delim
25210 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25211 SET_MAKE!$SET_MAKE$ac_delim
25212 CC!$CC$ac_delim
25213 CFLAGS!$CFLAGS$ac_delim
25214 LDFLAGS!$LDFLAGS$ac_delim
25215 CPPFLAGS!$CPPFLAGS$ac_delim
25216 ac_ct_CC!$ac_ct_CC$ac_delim
25217 EXEEXT!$EXEEXT$ac_delim
25218 OBJEXT!$OBJEXT$ac_delim
25219 CXX!$CXX$ac_delim
25220 CXXFLAGS!$CXXFLAGS$ac_delim
25221 ac_ct_CXX!$ac_ct_CXX$ac_delim
25222 CPPBIN!$CPPBIN$ac_delim
25223 TOOLSDIR!$TOOLSDIR$ac_delim
25224 XMKMF!$XMKMF$ac_delim
25225 CPP!$CPP$ac_delim
25226 X_CFLAGS!$X_CFLAGS$ac_delim
25227 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25228 X_LIBS!$X_LIBS$ac_delim
25229 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25230 LEX!$LEX$ac_delim
25231 LEXLIB!$LEXLIB$ac_delim
25232 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25233 XLEX!$XLEX$ac_delim
25234 BISON!$BISON$ac_delim
25235 AS!$AS$ac_delim
25236 ac_ct_AS!$ac_ct_AS$ac_delim
25237 LD!$LD$ac_delim
25238 AR!$AR$ac_delim
25239 RANLIB!$RANLIB$ac_delim
25240 STRIP!$STRIP$ac_delim
25241 WINDRES!$WINDRES$ac_delim
25242 LN_S!$LN_S$ac_delim
25243 LN!$LN$ac_delim
25244 GREP!$GREP$ac_delim
25245 EGREP!$EGREP$ac_delim
25246 _ACEOF
25248 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
25249 break
25250 elif $ac_last_try; then
25251 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25252 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25253 { (exit 1); exit 1; }; }
25254 else
25255 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25257 done
25259 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25260 if test -n "$ac_eof"; then
25261 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25262 ac_eof=`expr $ac_eof + 1`
25265 cat >>$CONFIG_STATUS <<_ACEOF
25266 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25268 /^[ ]*@MAKE_RULES@[ ]*$/{
25269 r $MAKE_RULES
25272 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25273 r $MAKE_DLL_RULES
25276 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25277 r $MAKE_IMPLIB_RULES
25280 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25281 r $MAKE_TEST_RULES
25284 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25285 r $MAKE_PROG_RULES
25288 _ACEOF
25289 sed '
25290 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25291 s/^/s,@/; s/!/@,|#_!!_#|/
25294 s/'"$ac_delim"'$/,g/; t
25295 s/$/\\/; p
25296 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25297 ' >>$CONFIG_STATUS <conf$$subs.sed
25298 rm -f conf$$subs.sed
25299 cat >>$CONFIG_STATUS <<_ACEOF
25300 CEOF$ac_eof
25301 _ACEOF
25304 ac_delim='%!_!# '
25305 for ac_last_try in false false false false false :; do
25306 cat >conf$$subs.sed <<_ACEOF
25307 LDCONFIG!$LDCONFIG$ac_delim
25308 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25309 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25310 INSTALL_DATA!$INSTALL_DATA$ac_delim
25311 LINT!$LINT$ac_delim
25312 LINTFLAGS!$LINTFLAGS$ac_delim
25313 FONTFORGE!$FONTFORGE$ac_delim
25314 PKG_CONFIG!$PKG_CONFIG$ac_delim
25315 PRELINK!$PRELINK$ac_delim
25316 LIBPTHREAD!$LIBPTHREAD$ac_delim
25317 XLIB!$XLIB$ac_delim
25318 XFILES!$XFILES$ac_delim
25319 OPENGLFILES!$OPENGLFILES$ac_delim
25320 GLU32FILES!$GLU32FILES$ac_delim
25321 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25322 GLUT_LIBS!$GLUT_LIBS$ac_delim
25323 GLUT32FILES!$GLUT32FILES$ac_delim
25324 NASLIBS!$NASLIBS$ac_delim
25325 XML2LIBS!$XML2LIBS$ac_delim
25326 XML2INCL!$XML2INCL$ac_delim
25327 XSLTLIBS!$XSLTLIBS$ac_delim
25328 XSLTINCL!$XSLTINCL$ac_delim
25329 HALINCL!$HALINCL$ac_delim
25330 CURSESLIBS!$CURSESLIBS$ac_delim
25331 sane_devel!$sane_devel$ac_delim
25332 SANELIBS!$SANELIBS$ac_delim
25333 SANEINCL!$SANEINCL$ac_delim
25334 gphoto2_devel!$gphoto2_devel$ac_delim
25335 gphoto2port_devel!$gphoto2port_devel$ac_delim
25336 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25337 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25338 ICULIBS!$ICULIBS$ac_delim
25339 RESOLVLIBS!$RESOLVLIBS$ac_delim
25340 LCMSLIBS!$LCMSLIBS$ac_delim
25341 LDAPLIBS!$LDAPLIBS$ac_delim
25342 FREETYPELIBS!$FREETYPELIBS$ac_delim
25343 FREETYPEINCL!$FREETYPEINCL$ac_delim
25344 ft_devel!$ft_devel$ac_delim
25345 ft_devel2!$ft_devel2$ac_delim
25346 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25347 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25348 ARTSLIBS!$ARTSLIBS$ac_delim
25349 ARTSINCL!$ARTSINCL$ac_delim
25350 ESDCONFIG!$ESDCONFIG$ac_delim
25351 ESDLIBS!$ESDLIBS$ac_delim
25352 ESDINCL!$ESDINCL$ac_delim
25353 ALSALIBS!$ALSALIBS$ac_delim
25354 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25355 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25356 BUILTINFLAG!$BUILTINFLAG$ac_delim
25357 DLLEXT!$DLLEXT$ac_delim
25358 DLLFLAGS!$DLLFLAGS$ac_delim
25359 DLLIBS!$DLLIBS$ac_delim
25360 LDSHARED!$LDSHARED$ac_delim
25361 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25362 LIBEXT!$LIBEXT$ac_delim
25363 IMPLIBEXT!$IMPLIBEXT$ac_delim
25364 DLLTOOL!$DLLTOOL$ac_delim
25365 DLLWRAP!$DLLWRAP$ac_delim
25366 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25367 LDEXERPATH!$LDEXERPATH$ac_delim
25368 LDDLLRPATH!$LDDLLRPATH$ac_delim
25369 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25370 IOKITLIB!$IOKITLIB$ac_delim
25371 COREAUDIO!$COREAUDIO$ac_delim
25372 CROSSTEST!$CROSSTEST$ac_delim
25373 CROSSCC!$CROSSCC$ac_delim
25374 CROSSWINDRES!$CROSSWINDRES$ac_delim
25375 LDPATH!$LDPATH$ac_delim
25376 CRTLIBS!$CRTLIBS$ac_delim
25377 SOCKETLIBS!$SOCKETLIBS$ac_delim
25378 MAIN_BINARY!$MAIN_BINARY$ac_delim
25379 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25380 LDD!$LDD$ac_delim
25381 LIBOBJS!$LIBOBJS$ac_delim
25382 LTLIBOBJS!$LTLIBOBJS$ac_delim
25383 _ACEOF
25385 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25386 break
25387 elif $ac_last_try; then
25388 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25389 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25390 { (exit 1); exit 1; }; }
25391 else
25392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25394 done
25396 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25397 if test -n "$ac_eof"; then
25398 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25399 ac_eof=`expr $ac_eof + 1`
25402 cat >>$CONFIG_STATUS <<_ACEOF
25403 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25404 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25405 _ACEOF
25406 sed '
25407 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25408 s/^/s,@/; s/!/@,|#_!!_#|/
25411 s/'"$ac_delim"'$/,g/; t
25412 s/$/\\/; p
25413 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25414 ' >>$CONFIG_STATUS <conf$$subs.sed
25415 rm -f conf$$subs.sed
25416 cat >>$CONFIG_STATUS <<_ACEOF
25417 :end
25418 s/|#_!!_#|//g
25419 CEOF$ac_eof
25420 _ACEOF
25423 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25424 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25425 # trailing colons and then remove the whole line if VPATH becomes empty
25426 # (actually we leave an empty line to preserve line numbers).
25427 if test "x$srcdir" = x.; then
25428 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25429 s/:*\$(srcdir):*/:/
25430 s/:*\${srcdir}:*/:/
25431 s/:*@srcdir@:*/:/
25432 s/^\([^=]*=[ ]*\):*/\1/
25433 s/:*$//
25434 s/^[^=]*=[ ]*$//
25438 cat >>$CONFIG_STATUS <<\_ACEOF
25439 fi # test -n "$CONFIG_FILES"
25442 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25444 case $ac_tag in
25445 :[FHLC]) ac_mode=$ac_tag; continue;;
25446 esac
25447 case $ac_mode$ac_tag in
25448 :[FHL]*:*);;
25449 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25450 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25451 { (exit 1); exit 1; }; };;
25452 :[FH]-) ac_tag=-:-;;
25453 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25454 esac
25455 ac_save_IFS=$IFS
25456 IFS=:
25457 set x $ac_tag
25458 IFS=$ac_save_IFS
25459 shift
25460 ac_file=$1
25461 shift
25463 case $ac_mode in
25464 :L) ac_source=$1;;
25465 :[FH])
25466 ac_file_inputs=
25467 for ac_f
25469 case $ac_f in
25470 -) ac_f="$tmp/stdin";;
25471 *) # Look for the file first in the build tree, then in the source tree
25472 # (if the path is not absolute). The absolute path cannot be DOS-style,
25473 # because $ac_f cannot contain `:'.
25474 test -f "$ac_f" ||
25475 case $ac_f in
25476 [\\/$]*) false;;
25477 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25478 esac ||
25479 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25480 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25481 { (exit 1); exit 1; }; };;
25482 esac
25483 ac_file_inputs="$ac_file_inputs $ac_f"
25484 done
25486 # Let's still pretend it is `configure' which instantiates (i.e., don't
25487 # use $as_me), people would be surprised to read:
25488 # /* config.h. Generated by config.status. */
25489 configure_input="Generated from "`IFS=:
25490 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25491 if test x"$ac_file" != x-; then
25492 configure_input="$ac_file. $configure_input"
25493 { echo "$as_me:$LINENO: creating $ac_file" >&5
25494 echo "$as_me: creating $ac_file" >&6;}
25497 case $ac_tag in
25498 *:-:* | *:-) cat >"$tmp/stdin";;
25499 esac
25501 esac
25503 ac_dir=`$as_dirname -- "$ac_file" ||
25504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25505 X"$ac_file" : 'X\(//\)[^/]' \| \
25506 X"$ac_file" : 'X\(//\)$' \| \
25507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25508 echo X"$ac_file" |
25509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25510 s//\1/
25513 /^X\(\/\/\)[^/].*/{
25514 s//\1/
25517 /^X\(\/\/\)$/{
25518 s//\1/
25521 /^X\(\/\).*/{
25522 s//\1/
25525 s/.*/./; q'`
25526 { as_dir="$ac_dir"
25527 case $as_dir in #(
25528 -*) as_dir=./$as_dir;;
25529 esac
25530 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25531 as_dirs=
25532 while :; do
25533 case $as_dir in #(
25534 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25535 *) as_qdir=$as_dir;;
25536 esac
25537 as_dirs="'$as_qdir' $as_dirs"
25538 as_dir=`$as_dirname -- "$as_dir" ||
25539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25540 X"$as_dir" : 'X\(//\)[^/]' \| \
25541 X"$as_dir" : 'X\(//\)$' \| \
25542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25543 echo X"$as_dir" |
25544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25545 s//\1/
25548 /^X\(\/\/\)[^/].*/{
25549 s//\1/
25552 /^X\(\/\/\)$/{
25553 s//\1/
25556 /^X\(\/\).*/{
25557 s//\1/
25560 s/.*/./; q'`
25561 test -d "$as_dir" && break
25562 done
25563 test -z "$as_dirs" || eval "mkdir $as_dirs"
25564 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25565 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25566 { (exit 1); exit 1; }; }; }
25567 ac_builddir=.
25569 case "$ac_dir" in
25570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25572 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25573 # A ".." for each directory in $ac_dir_suffix.
25574 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25575 case $ac_top_builddir_sub in
25576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25578 esac ;;
25579 esac
25580 ac_abs_top_builddir=$ac_pwd
25581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25582 # for backward compatibility:
25583 ac_top_builddir=$ac_top_build_prefix
25585 case $srcdir in
25586 .) # We are building in place.
25587 ac_srcdir=.
25588 ac_top_srcdir=$ac_top_builddir_sub
25589 ac_abs_top_srcdir=$ac_pwd ;;
25590 [\\/]* | ?:[\\/]* ) # Absolute name.
25591 ac_srcdir=$srcdir$ac_dir_suffix;
25592 ac_top_srcdir=$srcdir
25593 ac_abs_top_srcdir=$srcdir ;;
25594 *) # Relative name.
25595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25596 ac_top_srcdir=$ac_top_build_prefix$srcdir
25597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25598 esac
25599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25602 case $ac_mode in
25605 # CONFIG_FILE
25608 case $INSTALL in
25609 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25610 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25611 esac
25612 _ACEOF
25614 cat >>$CONFIG_STATUS <<\_ACEOF
25615 # If the template does not know about datarootdir, expand it.
25616 # FIXME: This hack should be removed a few years after 2.60.
25617 ac_datarootdir_hack=; ac_datarootdir_seen=
25619 case `sed -n '/datarootdir/ {
25623 /@datadir@/p
25624 /@docdir@/p
25625 /@infodir@/p
25626 /@localedir@/p
25627 /@mandir@/p
25628 ' $ac_file_inputs` in
25629 *datarootdir*) ac_datarootdir_seen=yes;;
25630 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25631 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25632 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25633 _ACEOF
25634 cat >>$CONFIG_STATUS <<_ACEOF
25635 ac_datarootdir_hack='
25636 s&@datadir@&$datadir&g
25637 s&@docdir@&$docdir&g
25638 s&@infodir@&$infodir&g
25639 s&@localedir@&$localedir&g
25640 s&@mandir@&$mandir&g
25641 s&\\\${datarootdir}&$datarootdir&g' ;;
25642 esac
25643 _ACEOF
25645 # Neutralize VPATH when `$srcdir' = `.'.
25646 # Shell code in configure.ac might set extrasub.
25647 # FIXME: do we really want to maintain this feature?
25648 cat >>$CONFIG_STATUS <<_ACEOF
25649 sed "$ac_vpsub
25650 $extrasub
25651 _ACEOF
25652 cat >>$CONFIG_STATUS <<\_ACEOF
25654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25655 s&@configure_input@&$configure_input&;t t
25656 s&@top_builddir@&$ac_top_builddir_sub&;t t
25657 s&@srcdir@&$ac_srcdir&;t t
25658 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25659 s&@top_srcdir@&$ac_top_srcdir&;t t
25660 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25661 s&@builddir@&$ac_builddir&;t t
25662 s&@abs_builddir@&$ac_abs_builddir&;t t
25663 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25664 s&@INSTALL@&$ac_INSTALL&;t t
25665 $ac_datarootdir_hack
25666 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25669 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25671 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25672 which seems to be undefined. Please make sure it is defined." >&5
25673 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25674 which seems to be undefined. Please make sure it is defined." >&2;}
25676 rm -f "$tmp/stdin"
25677 case $ac_file in
25678 -) cat "$tmp/out"; rm -f "$tmp/out";;
25679 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25680 esac
25684 # CONFIG_HEADER
25686 _ACEOF
25688 # Transform confdefs.h into a sed script `conftest.defines', that
25689 # substitutes the proper values into config.h.in to produce config.h.
25690 rm -f conftest.defines conftest.tail
25691 # First, append a space to every undef/define line, to ease matching.
25692 echo 's/$/ /' >conftest.defines
25693 # Then, protect against being on the right side of a sed subst, or in
25694 # an unquoted here document, in config.status. If some macros were
25695 # called several times there might be several #defines for the same
25696 # symbol, which is useless. But do not sort them, since the last
25697 # AC_DEFINE must be honored.
25698 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25699 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25700 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25701 # PARAMS is the parameter list in the macro definition--in most cases, it's
25702 # just an empty string.
25703 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25704 ac_dB='\\)[ (].*,\\1define\\2'
25705 ac_dC=' '
25706 ac_dD=' ,'
25708 uniq confdefs.h |
25709 sed -n '
25710 t rset
25711 :rset
25712 s/^[ ]*#[ ]*define[ ][ ]*//
25713 t ok
25716 s/[\\&,]/\\&/g
25717 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25718 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25719 ' >>conftest.defines
25721 # Remove the space that was appended to ease matching.
25722 # Then replace #undef with comments. This is necessary, for
25723 # example, in the case of _POSIX_SOURCE, which is predefined and required
25724 # on some systems where configure will not decide to define it.
25725 # (The regexp can be short, since the line contains either #define or #undef.)
25726 echo 's/ $//
25727 s,^[ #]*u.*,/* & */,' >>conftest.defines
25729 # Break up conftest.defines:
25730 ac_max_sed_lines=50
25732 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25733 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25734 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25735 # et cetera.
25736 ac_in='$ac_file_inputs'
25737 ac_out='"$tmp/out1"'
25738 ac_nxt='"$tmp/out2"'
25740 while :
25742 # Write a here document:
25743 cat >>$CONFIG_STATUS <<_ACEOF
25744 # First, check the format of the line:
25745 cat >"\$tmp/defines.sed" <<\\CEOF
25746 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25747 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25749 :def
25750 _ACEOF
25751 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25752 echo 'CEOF
25753 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25754 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25755 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25756 grep . conftest.tail >/dev/null || break
25757 rm -f conftest.defines
25758 mv conftest.tail conftest.defines
25759 done
25760 rm -f conftest.defines conftest.tail
25762 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25763 cat >>$CONFIG_STATUS <<\_ACEOF
25764 if test x"$ac_file" != x-; then
25765 echo "/* $configure_input */" >"$tmp/config.h"
25766 cat "$ac_result" >>"$tmp/config.h"
25767 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25768 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25769 echo "$as_me: $ac_file is unchanged" >&6;}
25770 else
25771 rm -f $ac_file
25772 mv "$tmp/config.h" $ac_file
25774 else
25775 echo "/* $configure_input */"
25776 cat "$ac_result"
25778 rm -f "$tmp/out12"
25781 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25782 echo "$as_me: executing $ac_file commands" >&6;}
25784 esac
25787 case $ac_file$ac_mode in
25788 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25789 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25790 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25791 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25792 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25793 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25794 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25795 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25796 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25797 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25798 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25799 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25801 esac
25802 done # for ac_tag
25805 { (exit 0); exit 0; }
25806 _ACEOF
25807 chmod +x $CONFIG_STATUS
25808 ac_clean_files=$ac_clean_files_save
25811 # configure is writing to config.log, and then calls config.status.
25812 # config.status does its own redirection, appending to config.log.
25813 # Unfortunately, on DOS this fails, as config.log is still kept open
25814 # by configure, so config.status won't be able to write to it; its
25815 # output is simply discarded. So we exec the FD to /dev/null,
25816 # effectively closing config.log, so it can be properly (re)opened and
25817 # appended to by config.status. When coming back to configure, we
25818 # need to make the FD available again.
25819 if test "$no_create" != yes; then
25820 ac_cs_success=:
25821 ac_config_status_args=
25822 test "$silent" = yes &&
25823 ac_config_status_args="$ac_config_status_args --quiet"
25824 exec 5>/dev/null
25825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25826 exec 5>>config.log
25827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25828 # would make configure fail if this is the last instruction.
25829 $ac_cs_success || { (exit 1); exit 1; }
25833 if test "$have_x" = "no"
25834 then
25835 echo >&2
25836 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25837 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25838 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25839 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25840 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25841 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25842 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25843 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25846 if test "$wine_cv_opengl_version_OK" = "no"
25847 then
25848 echo >&2
25849 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25850 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25851 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25852 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25855 if test "$wine_cv_msg_freetype" = "yes"
25856 then
25857 echo >&2
25858 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25859 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25860 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25861 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25862 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25863 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25864 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25865 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25868 if test -z "$FONTSSUBDIRS"
25869 then
25870 echo >&2
25871 if test "$FONTFORGE" = "false"
25872 then
25873 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25874 echo "$as_me: WARNING: FontForge is missing." >&2;}
25875 else
25876 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25877 echo "$as_me: WARNING: FreeType is missing." >&2;}
25879 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25880 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25883 if test -z "$ALSALIBS" -a \
25884 -z "$ARTSC_LIBS" -a \
25885 -z "$AUDIOIOLIBS" -a \
25886 -z "$NASLIBS" -a \
25887 -z "$ESD_LIBS" -a \
25888 -z "$ac_cv_lib_soname_jack" -a \
25889 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25890 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25891 "$ac_cv_header_soundcard_h" != "yes"
25892 then
25893 echo >&2
25894 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25895 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25896 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25897 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25898 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25899 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25902 echo
25903 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25904 echo