d3d8: Add refcount tests for implicit surfaces.
[wine.git] / configure
blob2e0965e0a11949f1153513a4af08de86012d7c83
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.24.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230 done
231 IFS=$as_save_IFS
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
273 (as_func_return () {
274 (exit $1)
276 as_func_success () {
277 as_func_return 0
279 as_func_failure () {
280 as_func_return 1
282 as_func_ret_success () {
283 return 0
285 as_func_ret_failure () {
286 return 1
289 exitcode=0
290 if as_func_success; then
292 else
293 exitcode=1
294 echo as_func_success failed.
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 else
317 exitcode=1
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329 _ASEOF
330 }; then
331 break
336 done
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
363 (exit \$1)
365 as_func_success () {
366 as_func_return 0
368 as_func_failure () {
369 as_func_return 1
371 as_func_ret_success () {
372 return 0
374 as_func_ret_failure () {
375 return 1
378 exitcode=0
379 if as_func_success; then
381 else
382 exitcode=1
383 echo as_func_success failed.
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 else
406 exitcode=1
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
476 ECHO_N='-n';;
477 esac
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
529 rm -f conf$$.file
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='Wine'
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.24'
563 PACKAGE_STRING='Wine 0.9.24'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #ifdef STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # ifdef HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #ifdef HAVE_STRING_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #ifdef HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #ifdef HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEX_OUTPUT_ROOT
671 LEXLIB
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 QUARTZFILES
701 GLUT_LIBS
702 GLUT32FILES
703 NASLIBS
704 XML2LIBS
705 XML2INCL
706 XSLTLIBS
707 XSLTINCL
708 HALINCL
709 CURSESLIBS
710 sane_devel
711 SANELIBS
712 SANEINCL
713 gphoto2_devel
714 gphoto2port_devel
715 GPHOTO2LIBS
716 GPHOTO2INCL
717 ICULIBS
718 RESOLVLIBS
719 LCMSLIBS
720 LDAPLIBS
721 FREETYPELIBS
722 FREETYPEINCL
723 ft_devel
724 ft_devel2
725 FONTSSUBDIRS
726 ARTSCCONFIG
727 ARTSLIBS
728 ARTSINCL
729 ESDCONFIG
730 ESDLIBS
731 ESDINCL
732 ALSALIBS
733 AUDIOIOLIBS
734 EXTRACFLAGS
735 BUILTINFLAG
736 DLLEXT
737 DLLFLAGS
738 LDSHARED
739 LDDLLFLAGS
740 LIBEXT
741 IMPLIBEXT
742 LIBWINE_LDFLAGS
743 DLLTOOL
744 DLLWRAP
745 COREFOUNDATIONLIB
746 IOKITLIB
747 LDEXECFLAGS
748 DISKARBITRATIONLIB
749 COREAUDIO
750 CROSSTEST
751 CROSSCC
752 CROSSWINDRES
753 LDPATH
754 CRTLIBS
755 SOCKETLIBS
756 MAIN_BINARY
757 EXTRA_BINARIES
759 LIBDL
760 LIBPOLL
761 DEPENDENCIES
762 LIBOBJS
763 LTLIBOBJS'
764 ac_subst_files='MAKE_RULES
765 MAKE_DLL_RULES
766 MAKE_IMPLIB_RULES
767 MAKE_TEST_RULES
768 MAKE_PROG_RULES'
769 ac_precious_vars='build_alias
770 host_alias
771 target_alias
773 CFLAGS
774 LDFLAGS
775 CPPFLAGS
777 CXXFLAGS
779 XMKMF
780 CPP'
783 # Initialize some variables set by options.
784 ac_init_help=
785 ac_init_version=false
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
788 cache_file=/dev/null
789 exec_prefix=NONE
790 no_create=
791 no_recursion=
792 prefix=NONE
793 program_prefix=NONE
794 program_suffix=NONE
795 program_transform_name=s,x,x,
796 silent=
797 site=
798 srcdir=
799 verbose=
800 x_includes=NONE
801 x_libraries=NONE
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
821 htmldir='${docdir}'
822 dvidir='${docdir}'
823 pdfdir='${docdir}'
824 psdir='${docdir}'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
829 ac_prev=
830 ac_dashdash=
831 for ac_option
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
836 ac_prev=
837 continue
840 case $ac_option in
841 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *) ac_optarg=yes ;;
843 esac
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
849 ac_dashdash=yes ;;
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
852 ac_prev=bindir ;;
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
854 bindir=$ac_optarg ;;
856 -build | --build | --buil | --bui | --bu)
857 ac_prev=build_alias ;;
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
859 build_alias=$ac_optarg ;;
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
863 ac_prev=cache_file ;;
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
866 cache_file=$ac_optarg ;;
868 --config-cache | -C)
869 cache_file=config.cache ;;
871 -datadir | --datadir | --datadi | --datad)
872 ac_prev=datadir ;;
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
874 datadir=$ac_optarg ;;
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
877 | --dataroo | --dataro | --datar)
878 ac_prev=datarootdir ;;
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
881 datarootdir=$ac_optarg ;;
883 -disable-* | --disable-*)
884 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
887 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
888 { (exit 1); exit 1; }; }
889 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
890 eval enable_$ac_feature=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
893 ac_prev=docdir ;;
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 docdir=$ac_optarg ;;
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898 ac_prev=dvidir ;;
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 dvidir=$ac_optarg ;;
902 -enable-* | --enable-*)
903 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
909 eval enable_$ac_feature=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
922 with_gas=yes ;;
924 -help | --help | --hel | --he | -h)
925 ac_init_help=long ;;
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 ac_prev=htmldir ;;
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 | --ht=*)
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 ac_prev=infodir ;;
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
955 ac_prev=libdir ;;
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 libdir=$ac_optarg ;;
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
967 ac_prev=localedir ;;
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 ac_prev=mandir ;;
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 mandir=$ac_optarg ;;
983 -nfp | --nfp | --nf)
984 # Obsolete; use --without-fp.
985 with_fp=no ;;
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
989 no_create=yes ;;
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 no_recursion=yes ;;
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 ac_prev=prefix ;;
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 ac_prev=pdfdir ;;
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1046 ac_prev=psdir ;;
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 psdir=$ac_optarg ;;
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1052 silent=yes ;;
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 ac_prev=sbindir ;;
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 | --sbi=* | --sb=*)
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1063 | --sha | --sh)
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 | --sha=* | --sh=*)
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1072 ac_prev=site ;;
1073 -site=* | --site=* | --sit=*)
1074 site=$ac_optarg ;;
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 ac_prev=srcdir ;;
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 verbose=yes ;;
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1099 -with-* | --with-*)
1100 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1103 { echo "$as_me: error: invalid package name: $ac_package" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_package=`echo $ac_package| sed 's/-/_/g'`
1106 eval with_$ac_package=\$ac_optarg ;;
1108 -without-* | --without-*)
1109 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/-/_/g'`
1115 eval with_$ac_package=no ;;
1117 --x)
1118 # Obsolete; use --with-x.
1119 with_x=yes ;;
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) { echo "$as_me: error: unrecognized option: $ac_option
1136 Try \`$0 --help' for more information." >&2
1137 { (exit 1); exit 1; }; }
1140 *=*)
1141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1144 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1145 { (exit 1); exit 1; }; }
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 esac
1158 done
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 { echo "$as_me: error: missing argument to $ac_option" >&2
1163 { (exit 1); exit 1; }; }
1166 # Be sure to have absolute directory names.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val=\$$ac_var
1173 case $ac_val in
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 esac
1177 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178 { (exit 1); exit 1; }; }
1179 done
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1184 build=$build_alias
1185 host=$host_alias
1186 target=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x; then
1190 if test "x$build_alias" = x; then
1191 cross_compiling=maybe
1192 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1195 cross_compiling=yes
1199 ac_tool_prefix=
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 { echo "$as_me: error: Working directory cannot be determined" >&2
1209 { (exit 1); exit 1; }; }
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 { echo "$as_me: error: pwd does not report name of working directory" >&2
1212 { (exit 1); exit 1; }; }
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$0" ||
1220 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$0" : 'X\(//\)[^/]' \| \
1222 X"$0" : 'X\(//\)$' \| \
1223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1224 echo X"$0" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 s//\1/
1229 /^X\(\/\/\)[^/].*/{
1230 s//\1/
1233 /^X\(\/\/\)$/{
1234 s//\1/
1237 /^X\(\/\).*/{
1238 s//\1/
1241 s/.*/./; q'`
1242 srcdir=$ac_confdir
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 srcdir=..
1246 else
1247 ac_srcdir_defaulted=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1252 { (exit 1); exit 1; }; }
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 ac_abs_confdir=`(
1256 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1257 { (exit 1); exit 1; }; }
1258 pwd)`
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 srcdir=.
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1266 case $srcdir in
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 esac
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1274 done
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1282 cat <<_ACEOF
1283 \`configure' configures Wine 0.9.24 to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1292 Configuration:
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 [PREFIX]
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1338 cat <<\_ACEOF
1340 X features:
1341 --x-includes=DIR X include files are in DIR
1342 --x-libraries=DIR X library files are in DIR
1344 System types:
1345 --build=BUILD configure for building on BUILD [guessed]
1346 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1347 _ACEOF
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive ) echo "Configuration of Wine 0.9.24:";;
1353 esac
1354 cat <<\_ACEOF
1356 Optional Features:
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --disable-win16 do not include Win16 support
1360 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1361 binaries)
1363 Optional Packages:
1364 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1365 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1366 --without-opengl do not use OpenGL
1367 --without-curses do not use curses
1368 --with-wine-tools=<dir> use Wine tools from directory <dir>
1369 --with-x use the X Window System
1371 Some influential environment variables:
1372 CC C compiler command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1375 nonstandard directory <lib dir>
1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1378 CXX C++ compiler command
1379 CXXFLAGS C++ compiler flags
1380 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 CPP C preprocessor
1383 Use these variables to override the choices made by `configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1386 Report bugs to <wine-devel@winehq.org>.
1387 _ACEOF
1388 ac_status=$?
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" || continue
1395 ac_builddir=.
1397 case "$ac_dir" in
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 esac ;;
1407 esac
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1413 case $srcdir in
1414 .) # We are building in place.
1415 ac_srcdir=.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1422 *) # Relative name.
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 esac
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1435 echo &&
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1437 else
1438 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 fi || ac_status=$?
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1441 done
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1446 cat <<\_ACEOF
1447 Wine configure 0.9.24
1448 generated by GNU Autoconf 2.60a
1450 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1451 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1454 _ACEOF
1455 exit
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1461 It was created by Wine $as_me 0.9.24, which was
1462 generated by GNU Autoconf 2.60a. Invocation command line was
1464 $ $0 $@
1466 _ACEOF
1467 exec 5>>config.log
1469 cat <<_ASUNAME
1470 ## --------- ##
1471 ## Platform. ##
1472 ## --------- ##
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 _ASUNAME
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 for as_dir in $PATH
1496 IFS=$as_save_IFS
1497 test -z "$as_dir" && as_dir=.
1498 echo "PATH: $as_dir"
1499 done
1500 IFS=$as_save_IFS
1502 } >&5
1504 cat >&5 <<_ACEOF
1507 ## ----------- ##
1508 ## Core tests. ##
1509 ## ----------- ##
1511 _ACEOF
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_configure_args=
1520 ac_configure_args0=
1521 ac_configure_args1=
1522 ac_must_keep_next=false
1523 for ac_pass in 1 2
1525 for ac_arg
1527 case $ac_arg in
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1531 continue ;;
1532 *\'*)
1533 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 esac
1535 case $ac_pass in
1536 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1538 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1541 else
1542 case $ac_arg in
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 esac
1551 -* ) ac_must_keep_next=true ;;
1552 esac
1554 ac_configure_args="$ac_configure_args '$ac_arg'"
1556 esac
1557 done
1558 done
1559 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1560 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1570 echo
1572 cat <<\_ASBOX
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1576 _ASBOX
1577 echo
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581 eval ac_val=\$$ac_var
1582 case $ac_val in #(
1583 *${as_nl}*)
1584 case $ac_var in #(
1585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 esac
1588 case $ac_var in #(
1589 _ | IFS | as_nl) ;; #(
1590 *) $as_unset $ac_var ;;
1591 esac ;;
1592 esac
1593 done
1594 (set) 2>&1 |
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1597 sed -n \
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 ;; #(
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1604 esac |
1605 sort
1607 echo
1609 cat <<\_ASBOX
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1613 _ASBOX
1614 echo
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1618 case $ac_val in
1619 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 esac
1621 echo "$ac_var='\''$ac_val'\''"
1622 done | sort
1623 echo
1625 if test -n "$ac_subst_files"; then
1626 cat <<\_ASBOX
1627 ## ------------------- ##
1628 ## File substitutions. ##
1629 ## ------------------- ##
1630 _ASBOX
1631 echo
1632 for ac_var in $ac_subst_files
1634 eval ac_val=\$$ac_var
1635 case $ac_val in
1636 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637 esac
1638 echo "$ac_var='\''$ac_val'\''"
1639 done | sort
1640 echo
1643 if test -s confdefs.h; then
1644 cat <<\_ASBOX
1645 ## ----------- ##
1646 ## confdefs.h. ##
1647 ## ----------- ##
1648 _ASBOX
1649 echo
1650 cat confdefs.h
1651 echo
1653 test "$ac_signal" != 0 &&
1654 echo "$as_me: caught signal $ac_signal"
1655 echo "$as_me: exit $exit_status"
1656 } >&5
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 exit $exit_status
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1663 done
1664 ac_signal=0
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 # Predefined preprocessor variables.
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_NAME "$PACKAGE_NAME"
1673 _ACEOF
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1678 _ACEOF
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1683 _ACEOF
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_STRING "$PACKAGE_STRING"
1688 _ACEOF
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693 _ACEOF
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 set x "$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1702 else
1703 set x "$ac_default_prefix/share/config.site" \
1704 "$ac_default_prefix/etc/config.site"
1706 shift
1707 for ac_site_file
1709 if test -r "$ac_site_file"; then
1710 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1711 echo "$as_me: loading site script $ac_site_file" >&6;}
1712 sed 's/^/| /' "$ac_site_file" >&5
1713 . "$ac_site_file"
1715 done
1717 if test -r "$cache_file"; then
1718 # Some versions of bash will fail to source /dev/null (special
1719 # files actually), so we avoid doing that.
1720 if test -f "$cache_file"; then
1721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1722 echo "$as_me: loading cache $cache_file" >&6;}
1723 case $cache_file in
1724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1725 *) . "./$cache_file";;
1726 esac
1728 else
1729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1730 echo "$as_me: creating cache $cache_file" >&6;}
1731 >$cache_file
1734 # Check that the precious variables saved in the cache have kept the same
1735 # value.
1736 ac_cache_corrupted=false
1737 for ac_var in $ac_precious_vars; do
1738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1739 eval ac_new_set=\$ac_env_${ac_var}_set
1740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1741 eval ac_new_val=\$ac_env_${ac_var}_value
1742 case $ac_old_set,$ac_new_set in
1743 set,)
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1745 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1746 ac_cache_corrupted=: ;;
1747 ,set)
1748 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1749 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1750 ac_cache_corrupted=: ;;
1751 ,);;
1753 if test "x$ac_old_val" != "x$ac_new_val"; then
1754 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1756 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1757 echo "$as_me: former value: $ac_old_val" >&2;}
1758 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1759 echo "$as_me: current value: $ac_new_val" >&2;}
1760 ac_cache_corrupted=:
1761 fi;;
1762 esac
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1765 case $ac_new_val in
1766 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1768 esac
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1772 esac
1774 done
1775 if $ac_cache_corrupted; then
1776 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1777 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1779 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1780 { (exit 1); exit 1; }; }
1807 ac_ext=c
1808 ac_cpp='$CPP $CPPFLAGS'
1809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 ac_config_headers="$ac_config_headers include/config.h"
1817 ac_aux_dir=
1818 for ac_dir in tools "$srcdir"/tools; do
1819 if test -f "$ac_dir/install-sh"; then
1820 ac_aux_dir=$ac_dir
1821 ac_install_sh="$ac_aux_dir/install-sh -c"
1822 break
1823 elif test -f "$ac_dir/install.sh"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1826 break
1827 elif test -f "$ac_dir/shtool"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1830 break
1832 done
1833 if test -z "$ac_aux_dir"; then
1834 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1835 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1836 { (exit 1); exit 1; }; }
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1850 # Check whether --enable-win16 was given.
1851 if test "${enable_win16+set}" = set; then
1852 enableval=$enable_win16;
1855 # Check whether --enable-win64 was given.
1856 if test "${enable_win64+set}" = set; then
1857 enableval=$enable_win64;
1862 # Check whether --with-opengl was given.
1863 if test "${with_opengl+set}" = set; then
1864 withval=$with_opengl;
1868 # Check whether --with-curses was given.
1869 if test "${with_curses+set}" = set; then
1870 withval=$with_curses;
1874 # Check whether --with-wine-tools was given.
1875 if test "${with_wine_tools+set}" = set; then
1876 withval=$with_wine_tools;
1880 # Make sure we can run config.sub.
1881 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1882 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1883 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1884 { (exit 1); exit 1; }; }
1886 { echo "$as_me:$LINENO: checking build system type" >&5
1887 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1888 if test "${ac_cv_build+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 ac_build_alias=$build_alias
1892 test "x$ac_build_alias" = x &&
1893 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1894 test "x$ac_build_alias" = x &&
1895 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1896 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1897 { (exit 1); exit 1; }; }
1898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1901 { (exit 1); exit 1; }; }
1904 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1905 echo "${ECHO_T}$ac_cv_build" >&6; }
1906 case $ac_cv_build in
1907 *-*-*) ;;
1908 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1909 echo "$as_me: error: invalid value of canonical build" >&2;}
1910 { (exit 1); exit 1; }; };;
1911 esac
1912 build=$ac_cv_build
1913 ac_save_IFS=$IFS; IFS='-'
1914 set x $ac_cv_build
1915 shift
1916 build_cpu=$1
1917 build_vendor=$2
1918 shift; shift
1919 # Remember, the first character of IFS is used to create $*,
1920 # except with old shells:
1921 build_os=$*
1922 IFS=$ac_save_IFS
1923 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1926 { echo "$as_me:$LINENO: checking host system type" >&5
1927 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1928 if test "${ac_cv_host+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else
1931 if test "x$host_alias" = x; then
1932 ac_cv_host=$ac_cv_build
1933 else
1934 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1935 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1936 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1937 { (exit 1); exit 1; }; }
1941 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1942 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 case $ac_cv_host in
1944 *-*-*) ;;
1945 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1946 echo "$as_me: error: invalid value of canonical host" >&2;}
1947 { (exit 1); exit 1; }; };;
1948 esac
1949 host=$ac_cv_host
1950 ac_save_IFS=$IFS; IFS='-'
1951 set x $ac_cv_host
1952 shift
1953 host_cpu=$1
1954 host_vendor=$2
1955 shift; shift
1956 # Remember, the first character of IFS is used to create $*,
1957 # except with old shells:
1958 host_os=$*
1959 IFS=$ac_save_IFS
1960 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 case $host in
1964 x86_64*linux*)
1965 if test "x$enable_win64" != "xyes"
1966 then
1967 test -n "$CC" || CC="gcc -m32"
1968 test -n "$LD" || LD="ld -m elf_i386"
1969 test -n "$AS" || AS="as --32"
1970 host_cpu="i386"
1973 esac
1975 case $host_cpu in
1976 *i[3456789]86*)
1977 if test "x$enable_win16" != "xno"
1978 then
1979 enable_win16="yes"
1982 esac
1984 WIN16_FILES="\$(WIN16_FILES)"
1986 WIN16_INSTALL="\$(WIN16_INSTALL)"
1988 if test "x$enable_win16" != "xyes"
1989 then
1990 WIN16_FILES=""
1991 WIN16_INSTALL=""
1995 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1996 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1997 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1998 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 else
2001 cat >conftest.make <<\_ACEOF
2002 SHELL = /bin/sh
2003 all:
2004 @echo '@@@%%%=$(MAKE)=@@@%%%'
2005 _ACEOF
2006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2008 *@@@%%%=?*=@@@%%%*)
2009 eval ac_cv_prog_make_${ac_make}_set=yes;;
2011 eval ac_cv_prog_make_${ac_make}_set=no;;
2012 esac
2013 rm -f conftest.make
2015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2016 { echo "$as_me:$LINENO: result: yes" >&5
2017 echo "${ECHO_T}yes" >&6; }
2018 SET_MAKE=
2019 else
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2022 SET_MAKE="MAKE=${MAKE-make}"
2025 ac_ext=c
2026 ac_cpp='$CPP $CPPFLAGS'
2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030 if test -n "$ac_tool_prefix"; then
2031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2032 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 else
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC="$CC" # Let the user override the test.
2040 else
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 for as_dir in $PATH
2044 IFS=$as_save_IFS
2045 test -z "$as_dir" && as_dir=.
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2048 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 break 2
2052 done
2053 done
2054 IFS=$as_save_IFS
2058 CC=$ac_cv_prog_CC
2059 if test -n "$CC"; then
2060 { echo "$as_me:$LINENO: result: $CC" >&5
2061 echo "${ECHO_T}$CC" >&6; }
2062 else
2063 { echo "$as_me:$LINENO: result: no" >&5
2064 echo "${ECHO_T}no" >&6; }
2069 if test -z "$ac_cv_prog_CC"; then
2070 ac_ct_CC=$CC
2071 # Extract the first word of "gcc", so it can be a program name with args.
2072 set dummy gcc; ac_word=$2
2073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 else
2078 if test -n "$ac_ct_CC"; then
2079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2080 else
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_ac_ct_CC="gcc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 break 2
2092 done
2093 done
2094 IFS=$as_save_IFS
2098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2099 if test -n "$ac_ct_CC"; then
2100 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101 echo "${ECHO_T}$ac_ct_CC" >&6; }
2102 else
2103 { echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6; }
2107 if test "x$ac_ct_CC" = x; then
2108 CC=""
2109 else
2110 case $cross_compiling:$ac_tool_warned in
2111 yes:)
2112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&5
2115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2116 whose name does not start with the host triplet. If you think this
2117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2118 ac_tool_warned=yes ;;
2119 esac
2120 CC=$ac_ct_CC
2122 else
2123 CC="$ac_cv_prog_CC"
2126 if test -z "$CC"; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}cc; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_CC="${ac_tool_prefix}cc"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2149 done
2150 done
2151 IFS=$as_save_IFS
2155 CC=$ac_cv_prog_CC
2156 if test -n "$CC"; then
2157 { echo "$as_me:$LINENO: result: $CC" >&5
2158 echo "${ECHO_T}$CC" >&6; }
2159 else
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 else
2178 ac_prog_rejected=no
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH
2182 IFS=$as_save_IFS
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2188 continue
2190 ac_cv_prog_CC="cc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2194 done
2195 done
2196 IFS=$as_save_IFS
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2201 shift
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2206 shift
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 CC=$ac_cv_prog_CC
2213 if test -n "$CC"; then
2214 { echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6; }
2216 else
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2225 for ac_prog in cl.exe
2227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231 if test "${ac_cv_prog_CC+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 else
2234 if test -n "$CC"; then
2235 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 else
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2240 IFS=$as_save_IFS
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2244 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 break 2
2248 done
2249 done
2250 IFS=$as_save_IFS
2254 CC=$ac_cv_prog_CC
2255 if test -n "$CC"; then
2256 { echo "$as_me:$LINENO: result: $CC" >&5
2257 echo "${ECHO_T}$CC" >&6; }
2258 else
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2264 test -n "$CC" && break
2265 done
2267 if test -z "$CC"; then
2268 ac_ct_CC=$CC
2269 for ac_prog in cl.exe
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_ac_ct_CC="$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2294 IFS=$as_save_IFS
2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2301 echo "${ECHO_T}$ac_ct_CC" >&6; }
2302 else
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2308 test -n "$ac_ct_CC" && break
2309 done
2311 if test "x$ac_ct_CC" = x; then
2312 CC=""
2313 else
2314 case $cross_compiling:$ac_tool_warned in
2315 yes:)
2316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&5
2319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2320 whose name does not start with the host triplet. If you think this
2321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2322 ac_tool_warned=yes ;;
2323 esac
2324 CC=$ac_ct_CC
2331 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&5
2333 echo "$as_me: error: no acceptable C compiler found in \$PATH
2334 See \`config.log' for more details." >&2;}
2335 { (exit 1); exit 1; }; }
2337 # Provide some information about the compiler.
2338 echo "$as_me:$LINENO: checking for C compiler version" >&5
2339 ac_compiler=`set X $ac_compile; echo $2`
2340 { (ac_try="$ac_compiler --version >&5"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2346 (eval "$ac_compiler --version >&5") 2>&5
2347 ac_status=$?
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (ac_try="$ac_compiler -v >&5"
2351 case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354 esac
2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2356 (eval "$ac_compiler -v >&5") 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2360 { (ac_try="$ac_compiler -V >&5"
2361 case "(($ac_try" in
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2364 esac
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler -V >&5") 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2379 main ()
2383 return 0;
2385 _ACEOF
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2390 # of exeext.
2391 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2392 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2395 # List of possible output files, starting from the most likely.
2396 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2397 # only as a last resort. b.out is created by i960 compilers.
2398 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2400 # The IRIX 6 linker writes into existing files which may not be
2401 # executable, retaining their permissions. Remove them first so a
2402 # subsequent execution test works.
2403 ac_rmfiles=
2404 for ac_file in $ac_files
2406 case $ac_file in
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2408 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2409 esac
2410 done
2411 rm -f $ac_rmfiles
2413 if { (ac_try="$ac_link_default"
2414 case "(($ac_try" in
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2417 esac
2418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval "$ac_link_default") 2>&5
2420 ac_status=$?
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; then
2423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2426 # so that the user can short-circuit this test for compilers unknown to
2427 # Autoconf.
2428 for ac_file in $ac_files ''
2430 test -f "$ac_file" || continue
2431 case $ac_file in
2432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2434 [ab].out )
2435 # We found the default executable, but exeext='' is most
2436 # certainly right.
2437 break;;
2438 *.* )
2439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2440 then :; else
2441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2443 # We set ac_cv_exeext here because the later test for it is not
2444 # safe: cross compilers may not add the suffix if given an `-o'
2445 # argument, so we may need to know it at that point already.
2446 # Even if this section looks crufty: it has the advantage of
2447 # actually working.
2448 break;;
2450 break;;
2451 esac
2452 done
2453 test "$ac_cv_exeext" = no && ac_cv_exeext=
2455 else
2456 ac_file=''
2459 { echo "$as_me:$LINENO: result: $ac_file" >&5
2460 echo "${ECHO_T}$ac_file" >&6; }
2461 if test -z "$ac_file"; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: C compiler cannot create executables
2468 See \`config.log' for more details." >&2;}
2469 { (exit 77); exit 77; }; }
2472 ac_exeext=$ac_cv_exeext
2474 # Check that the compiler produces executables we can run. If not, either
2475 # the compiler is broken, or we cross compile.
2476 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2477 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2478 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2479 # If not cross compiling, check that we can run a simple program.
2480 if test "$cross_compiling" != yes; then
2481 if { ac_try='./$ac_file'
2482 { (case "(($ac_try" in
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2485 esac
2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2487 (eval "$ac_try") 2>&5
2488 ac_status=$?
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; }; then
2491 cross_compiling=no
2492 else
2493 if test "$cross_compiling" = maybe; then
2494 cross_compiling=yes
2495 else
2496 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&5
2499 echo "$as_me: error: cannot run C compiled programs.
2500 If you meant to cross compile, use \`--host'.
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2506 { echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6; }
2509 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2510 ac_clean_files=$ac_clean_files_save
2511 # Check that the compiler produces executables we can run. If not, either
2512 # the compiler is broken, or we cross compile.
2513 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2514 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2515 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2516 echo "${ECHO_T}$cross_compiling" >&6; }
2518 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2519 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2520 if { (ac_try="$ac_link"
2521 case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_link") 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2531 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2532 # work properly (i.e., refer to `conftest.exe'), while it won't with
2533 # `rm'.
2534 for ac_file in conftest.exe conftest conftest.*; do
2535 test -f "$ac_file" || continue
2536 case $ac_file in
2537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2538 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2539 break;;
2540 * ) break;;
2541 esac
2542 done
2543 else
2544 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2547 See \`config.log' for more details." >&2;}
2548 { (exit 1); exit 1; }; }
2551 rm -f conftest$ac_cv_exeext
2552 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2553 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2555 rm -f conftest.$ac_ext
2556 EXEEXT=$ac_cv_exeext
2557 ac_exeext=$EXEEXT
2558 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2559 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2560 if test "${ac_cv_objext+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563 cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h. */
2565 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2571 main ()
2575 return 0;
2577 _ACEOF
2578 rm -f conftest.o conftest.obj
2579 if { (ac_try="$ac_compile"
2580 case "(($ac_try" in
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2583 esac
2584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2585 (eval "$ac_compile") 2>&5
2586 ac_status=$?
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; then
2589 for ac_file in conftest.o conftest.obj conftest.*; do
2590 test -f "$ac_file" || continue;
2591 case $ac_file in
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2594 break;;
2595 esac
2596 done
2597 else
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2601 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&5
2603 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2604 See \`config.log' for more details." >&2;}
2605 { (exit 1); exit 1; }; }
2608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2611 echo "${ECHO_T}$ac_cv_objext" >&6; }
2612 OBJEXT=$ac_cv_objext
2613 ac_objext=$OBJEXT
2614 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2615 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 else
2619 cat >conftest.$ac_ext <<_ACEOF
2620 /* confdefs.h. */
2621 _ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2627 main ()
2629 #ifndef __GNUC__
2630 choke me
2631 #endif
2634 return 0;
2636 _ACEOF
2637 rm -f conftest.$ac_objext
2638 if { (ac_try="$ac_compile"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2644 (eval "$ac_compile") 2>conftest.er1
2645 ac_status=$?
2646 grep -v '^ *+' conftest.er1 >conftest.err
2647 rm -f conftest.er1
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_try") 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_try") 2>&5
2668 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 ac_compiler_gnu=yes
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_compiler_gnu=no
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 else
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2695 ac_cv_prog_cc_g=no
2696 CFLAGS="-g"
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2720 ac_status=$?
2721 grep -v '^ *+' conftest.er1 >conftest.err
2722 rm -f conftest.er1
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2727 { (case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_try") 2>&5
2733 ac_status=$?
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; } &&
2736 { ac_try='test -s conftest.$ac_objext'
2737 { (case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_try") 2>&5
2743 ac_status=$?
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 CFLAGS=""
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2775 ac_status=$?
2776 grep -v '^ *+' conftest.er1 >conftest.err
2777 rm -f conftest.er1
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2782 { (case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_try") 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try='test -s conftest.$ac_objext'
2792 { (case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_try") 2>&5
2798 ac_status=$?
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2802 else
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_c_werror_flag=$ac_save_c_werror_flag
2807 CFLAGS="-g"
2808 cat >conftest.$ac_ext <<_ACEOF
2809 /* confdefs.h. */
2810 _ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2816 main ()
2820 return 0;
2822 _ACEOF
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2825 case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2838 { (case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_try") 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try='test -s conftest.$ac_objext'
2848 { (case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851 esac
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_try") 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 ac_cv_prog_cc_g=yes
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 ac_c_werror_flag=$ac_save_c_werror_flag
2874 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2875 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2876 if test "$ac_test_CFLAGS" = set; then
2877 CFLAGS=$ac_save_CFLAGS
2878 elif test $ac_cv_prog_cc_g = yes; then
2879 if test "$GCC" = yes; then
2880 CFLAGS="-g -O2"
2881 else
2882 CFLAGS="-g"
2884 else
2885 if test "$GCC" = yes; then
2886 CFLAGS="-O2"
2887 else
2888 CFLAGS=
2891 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2892 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_cc_c89+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 else
2896 ac_cv_prog_cc_c89=no
2897 ac_save_CC=$CC
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2904 #include <stdarg.h>
2905 #include <stdio.h>
2906 #include <sys/types.h>
2907 #include <sys/stat.h>
2908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2909 struct buf { int x; };
2910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2911 static char *e (p, i)
2912 char **p;
2913 int i;
2915 return p[i];
2917 static char *f (char * (*g) (char **, int), char **p, ...)
2919 char *s;
2920 va_list v;
2921 va_start (v,p);
2922 s = g (p, va_arg (v,int));
2923 va_end (v);
2924 return s;
2927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2928 function prototypes and stuff, but not '\xHH' hex character constants.
2929 These don't provoke an error unfortunately, instead are silently treated
2930 as 'x'. The following induces an error, until -std is added to get
2931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2932 array size at least. It's necessary to write '\x00'==0 to get something
2933 that's true only with -std. */
2934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2936 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2937 inside strings and character constants. */
2938 #define FOO(x) 'x'
2939 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2941 int test (int i, double x);
2942 struct s1 {int (*f) (int a);};
2943 struct s2 {int (*f) (double a);};
2944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2945 int argc;
2946 char **argv;
2948 main ()
2950 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2952 return 0;
2954 _ACEOF
2955 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2956 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2958 CC="$ac_save_CC $ac_arg"
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2967 ac_status=$?
2968 grep -v '^ *+' conftest.er1 >conftest.err
2969 rm -f conftest.er1
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2974 { (case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2977 esac
2978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979 (eval "$ac_try") 2>&5
2980 ac_status=$?
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; } &&
2983 { ac_try='test -s conftest.$ac_objext'
2984 { (case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_try") 2>&5
2990 ac_status=$?
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2993 ac_cv_prog_cc_c89=$ac_arg
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
3001 rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3003 done
3004 rm -f conftest.$ac_ext
3005 CC=$ac_save_CC
3008 # AC_CACHE_VAL
3009 case "x$ac_cv_prog_cc_c89" in
3011 { echo "$as_me:$LINENO: result: none needed" >&5
3012 echo "${ECHO_T}none needed" >&6; } ;;
3013 xno)
3014 { echo "$as_me:$LINENO: result: unsupported" >&5
3015 echo "${ECHO_T}unsupported" >&6; } ;;
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3020 esac
3023 ac_ext=c
3024 ac_cpp='$CPP $CPPFLAGS'
3025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029 ac_ext=cpp
3030 ac_cpp='$CXXCPP $CPPFLAGS'
3031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3034 if test -z "$CXX"; then
3035 if test -n "$CCC"; then
3036 CXX=$CCC
3037 else
3038 if test -n "$ac_tool_prefix"; then
3039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3045 if test "${ac_cv_prog_CXX+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 else
3048 if test -n "$CXX"; then
3049 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3050 else
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in $PATH
3054 IFS=$as_save_IFS
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 break 2
3062 done
3063 done
3064 IFS=$as_save_IFS
3068 CXX=$ac_cv_prog_CXX
3069 if test -n "$CXX"; then
3070 { echo "$as_me:$LINENO: result: $CXX" >&5
3071 echo "${ECHO_T}$CXX" >&6; }
3072 else
3073 { echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6; }
3078 test -n "$CXX" && break
3079 done
3081 if test -z "$CXX"; then
3082 ac_ct_CXX=$CXX
3083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
3086 set dummy $ac_prog; ac_word=$2
3087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3089 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 else
3092 if test -n "$ac_ct_CXX"; then
3093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CXX="$ac_prog"
3103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 break 2
3106 done
3107 done
3108 IFS=$as_save_IFS
3112 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3113 if test -n "$ac_ct_CXX"; then
3114 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3115 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3116 else
3117 { echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6; }
3122 test -n "$ac_ct_CXX" && break
3123 done
3125 if test "x$ac_ct_CXX" = x; then
3126 CXX="g++"
3127 else
3128 case $cross_compiling:$ac_tool_warned in
3129 yes:)
3130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3131 whose name does not start with the host triplet. If you think this
3132 configuration is useful to you, please write to autoconf@gnu.org." >&5
3133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3134 whose name does not start with the host triplet. If you think this
3135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3136 ac_tool_warned=yes ;;
3137 esac
3138 CXX=$ac_ct_CXX
3144 # Provide some information about the compiler.
3145 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3146 ac_compiler=`set X $ac_compile; echo $2`
3147 { (ac_try="$ac_compiler --version >&5"
3148 case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_compiler --version >&5") 2>&5
3154 ac_status=$?
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }
3157 { (ac_try="$ac_compiler -v >&5"
3158 case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161 esac
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compiler -v >&5") 2>&5
3164 ac_status=$?
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }
3167 { (ac_try="$ac_compiler -V >&5"
3168 case "(($ac_try" in
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3171 esac
3172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173 (eval "$ac_compiler -V >&5") 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }
3178 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3179 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3180 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3191 main ()
3193 #ifndef __GNUC__
3194 choke me
3195 #endif
3198 return 0;
3200 _ACEOF
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3203 case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206 esac
3207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208 (eval "$ac_compile") 2>conftest.er1
3209 ac_status=$?
3210 grep -v '^ *+' conftest.er1 >conftest.err
3211 rm -f conftest.er1
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3216 { (case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3219 esac
3220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3221 (eval "$ac_try") 2>&5
3222 ac_status=$?
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try='test -s conftest.$ac_objext'
3226 { (case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_try") 2>&5
3232 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_compiler_gnu=yes
3236 else
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 ac_compiler_gnu=no
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3247 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3248 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3249 GXX=`test $ac_compiler_gnu = yes && echo yes`
3250 ac_test_CXXFLAGS=${CXXFLAGS+set}
3251 ac_save_CXXFLAGS=$CXXFLAGS
3252 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3253 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3254 if test "${ac_cv_prog_cxx_g+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 else
3257 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3258 ac_cxx_werror_flag=yes
3259 ac_cv_prog_cxx_g=no
3260 CXXFLAGS="-g"
3261 cat >conftest.$ac_ext <<_ACEOF
3262 /* confdefs.h. */
3263 _ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 main ()
3273 return 0;
3275 _ACEOF
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3278 case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3281 esac
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3284 ac_status=$?
3285 grep -v '^ *+' conftest.er1 >conftest.err
3286 rm -f conftest.er1
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3291 { (case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3294 esac
3295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3296 (eval "$ac_try") 2>&5
3297 ac_status=$?
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_try") 2>&5
3307 ac_status=$?
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_prog_cxx_g=yes
3311 else
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3315 CXXFLAGS=""
3316 cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h. */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3324 main ()
3328 return 0;
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3333 case "(($ac_try" in
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3336 esac
3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338 (eval "$ac_compile") 2>conftest.er1
3339 ac_status=$?
3340 grep -v '^ *+' conftest.er1 >conftest.err
3341 rm -f conftest.er1
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3346 { (case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3349 esac
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_try") 2>&5
3352 ac_status=$?
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; } &&
3355 { ac_try='test -s conftest.$ac_objext'
3356 { (case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3359 esac
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_try") 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3366 else
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3371 CXXFLAGS="-g"
3372 cat >conftest.$ac_ext <<_ACEOF
3373 /* confdefs.h. */
3374 _ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3380 main ()
3384 return 0;
3386 _ACEOF
3387 rm -f conftest.$ac_objext
3388 if { (ac_try="$ac_compile"
3389 case "(($ac_try" in
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3392 esac
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3395 ac_status=$?
3396 grep -v '^ *+' conftest.er1 >conftest.err
3397 rm -f conftest.er1
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3405 esac
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3408 ac_status=$?
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (case "(($ac_try" in
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3415 esac
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_try") 2>&5
3418 ac_status=$?
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_prog_cxx_g=yes
3422 else
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3438 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3439 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3440 if test "$ac_test_CXXFLAGS" = set; then
3441 CXXFLAGS=$ac_save_CXXFLAGS
3442 elif test $ac_cv_prog_cxx_g = yes; then
3443 if test "$GXX" = yes; then
3444 CXXFLAGS="-g -O2"
3445 else
3446 CXXFLAGS="-g"
3448 else
3449 if test "$GXX" = yes; then
3450 CXXFLAGS="-O2"
3451 else
3452 CXXFLAGS=
3455 ac_ext=c
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 if test -n "$ac_tool_prefix"; then
3462 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3463 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469 if test -n "$CPPBIN"; then
3470 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3471 else
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 for as_dir in $PATH
3475 IFS=$as_save_IFS
3476 test -z "$as_dir" && as_dir=.
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 break 2
3483 done
3484 done
3485 IFS=$as_save_IFS
3489 CPPBIN=$ac_cv_prog_CPPBIN
3490 if test -n "$CPPBIN"; then
3491 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3492 echo "${ECHO_T}$CPPBIN" >&6; }
3493 else
3494 { echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6; }
3500 if test -z "$ac_cv_prog_CPPBIN"; then
3501 ac_ct_CPPBIN=$CPPBIN
3502 # Extract the first word of "cpp", so it can be a program name with args.
3503 set dummy cpp; ac_word=$2
3504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3506 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 else
3509 if test -n "$ac_ct_CPPBIN"; then
3510 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3515 IFS=$as_save_IFS
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3519 ac_cv_prog_ac_ct_CPPBIN="cpp"
3520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 break 2
3523 done
3524 done
3525 IFS=$as_save_IFS
3529 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3530 if test -n "$ac_ct_CPPBIN"; then
3531 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3532 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3533 else
3534 { echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6; }
3538 if test "x$ac_ct_CPPBIN" = x; then
3539 CPPBIN="cpp"
3540 else
3541 case $cross_compiling:$ac_tool_warned in
3542 yes:)
3543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&5
3546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3547 whose name does not start with the host triplet. If you think this
3548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3549 ac_tool_warned=yes ;;
3550 esac
3551 CPPBIN=$ac_ct_CPPBIN
3553 else
3554 CPPBIN="$ac_cv_prog_CPPBIN"
3558 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3559 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3560 if test "${wine_cv_toolsdir+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 if test -z "$with_wine_tools"; then
3564 if test "$cross_compiling" = "yes"; then
3565 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3566 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3567 { (exit 1); exit 1; }; }
3568 else
3569 wine_cv_toolsdir="\$(TOPOBJDIR)"
3571 elif test -d "$with_wine_tools/tools/winebuild"; then
3572 case $with_wine_tools in
3573 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3574 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3575 esac
3576 else
3577 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3578 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3579 { (exit 1); exit 1; }; }
3582 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3583 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3584 TOOLSDIR=$wine_cv_toolsdir
3588 ac_ext=c
3589 ac_cpp='$CPP $CPPFLAGS'
3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3594 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3595 # On Suns, sometimes $CPP names a directory.
3596 if test -n "$CPP" && test -d "$CPP"; then
3597 CPP=
3599 if test -z "$CPP"; then
3600 if test "${ac_cv_prog_CPP+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 # Double quotes because CPP needs to be expanded
3604 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3606 ac_preproc_ok=false
3607 for ac_c_preproc_warn_flag in '' yes
3609 # Use a header file that comes with gcc, so configuring glibc
3610 # with a fresh cross-compiler works.
3611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3612 # <limits.h> exists even on freestanding compilers.
3613 # On the NeXT, cc -E runs the code through the compiler's parser,
3614 # not just through cpp. "Syntax error" is here to catch this case.
3615 cat >conftest.$ac_ext <<_ACEOF
3616 /* confdefs.h. */
3617 _ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 #ifdef __STDC__
3622 # include <limits.h>
3623 #else
3624 # include <assert.h>
3625 #endif
3626 Syntax error
3627 _ACEOF
3628 if { (ac_try="$ac_cpp conftest.$ac_ext"
3629 case "(($ac_try" in
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3632 esac
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3635 ac_status=$?
3636 grep -v '^ *+' conftest.er1 >conftest.err
3637 rm -f conftest.er1
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } >/dev/null; then
3641 if test -s conftest.err; then
3642 ac_cpp_err=$ac_c_preproc_warn_flag
3643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3644 else
3645 ac_cpp_err=
3647 else
3648 ac_cpp_err=yes
3650 if test -z "$ac_cpp_err"; then
3652 else
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Broken: fails on valid input.
3657 continue
3660 rm -f conftest.err conftest.$ac_ext
3662 # OK, works on sane cases. Now check whether nonexistent headers
3663 # can be detected and how.
3664 cat >conftest.$ac_ext <<_ACEOF
3665 /* confdefs.h. */
3666 _ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3670 #include <ac_nonexistent.h>
3671 _ACEOF
3672 if { (ac_try="$ac_cpp conftest.$ac_ext"
3673 case "(($ac_try" in
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3676 esac
3677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3679 ac_status=$?
3680 grep -v '^ *+' conftest.er1 >conftest.err
3681 rm -f conftest.er1
3682 cat conftest.err >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } >/dev/null; then
3685 if test -s conftest.err; then
3686 ac_cpp_err=$ac_c_preproc_warn_flag
3687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3688 else
3689 ac_cpp_err=
3691 else
3692 ac_cpp_err=yes
3694 if test -z "$ac_cpp_err"; then
3695 # Broken: success on invalid input.
3696 continue
3697 else
3698 echo "$as_me: failed program was:" >&5
3699 sed 's/^/| /' conftest.$ac_ext >&5
3701 # Passes both tests.
3702 ac_preproc_ok=:
3703 break
3706 rm -f conftest.err conftest.$ac_ext
3708 done
3709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710 rm -f conftest.err conftest.$ac_ext
3711 if $ac_preproc_ok; then
3712 break
3715 done
3716 ac_cv_prog_CPP=$CPP
3719 CPP=$ac_cv_prog_CPP
3720 else
3721 ac_cv_prog_CPP=$CPP
3723 { echo "$as_me:$LINENO: result: $CPP" >&5
3724 echo "${ECHO_T}$CPP" >&6; }
3725 ac_preproc_ok=false
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat >conftest.$ac_ext <<_ACEOF
3735 /* confdefs.h. */
3736 _ACEOF
3737 cat confdefs.h >>conftest.$ac_ext
3738 cat >>conftest.$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 #ifdef __STDC__
3741 # include <limits.h>
3742 #else
3743 # include <assert.h>
3744 #endif
3745 Syntax error
3746 _ACEOF
3747 if { (ac_try="$ac_cpp conftest.$ac_ext"
3748 case "(($ac_try" in
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3751 esac
3752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3754 ac_status=$?
3755 grep -v '^ *+' conftest.er1 >conftest.err
3756 rm -f conftest.er1
3757 cat conftest.err >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } >/dev/null; then
3760 if test -s conftest.err; then
3761 ac_cpp_err=$ac_c_preproc_warn_flag
3762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 else
3764 ac_cpp_err=
3766 else
3767 ac_cpp_err=yes
3769 if test -z "$ac_cpp_err"; then
3771 else
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3775 # Broken: fails on valid input.
3776 continue
3779 rm -f conftest.err conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */
3785 _ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <ac_nonexistent.h>
3790 _ACEOF
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3795 esac
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null; then
3804 if test -s conftest.err; then
3805 ac_cpp_err=$ac_c_preproc_warn_flag
3806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3807 else
3808 ac_cpp_err=
3810 else
3811 ac_cpp_err=yes
3813 if test -z "$ac_cpp_err"; then
3814 # Broken: success on invalid input.
3815 continue
3816 else
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 # Passes both tests.
3821 ac_preproc_ok=:
3822 break
3825 rm -f conftest.err conftest.$ac_ext
3827 done
3828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3829 rm -f conftest.err conftest.$ac_ext
3830 if $ac_preproc_ok; then
3832 else
3833 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log' for more details." >&5
3835 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3836 See \`config.log' for more details." >&2;}
3837 { (exit 1); exit 1; }; }
3840 ac_ext=c
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 { echo "$as_me:$LINENO: checking for X" >&5
3848 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3851 # Check whether --with-x was given.
3852 if test "${with_x+set}" = set; then
3853 withval=$with_x;
3856 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3857 if test "x$with_x" = xno; then
3858 # The user explicitly disabled X.
3859 have_x=disabled
3860 else
3861 case $x_includes,$x_libraries in #(
3862 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3863 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3864 { (exit 1); exit 1; }; };; #(
3865 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 else
3868 # One or both of the vars are not set, and there is no cached value.
3869 ac_x_includes=no ac_x_libraries=no
3870 rm -f -r conftest.dir
3871 if mkdir conftest.dir; then
3872 cd conftest.dir
3873 cat >Imakefile <<'_ACEOF'
3874 incroot:
3875 @echo incroot='${INCROOT}'
3876 usrlibdir:
3877 @echo usrlibdir='${USRLIBDIR}'
3878 libdir:
3879 @echo libdir='${LIBDIR}'
3880 _ACEOF
3881 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3882 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3883 for ac_var in incroot usrlibdir libdir; do
3884 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3885 done
3886 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3887 for ac_extension in a so sl; do
3888 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3889 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3890 ac_im_usrlibdir=$ac_im_libdir; break
3892 done
3893 # Screen out bogus values from the imake configuration. They are
3894 # bogus both because they are the default anyway, and because
3895 # using them would break gcc on systems where it needs fixed includes.
3896 case $ac_im_incroot in
3897 /usr/include) ac_x_includes= ;;
3898 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3899 esac
3900 case $ac_im_usrlibdir in
3901 /usr/lib | /lib) ;;
3902 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3903 esac
3905 cd ..
3906 rm -f -r conftest.dir
3909 # Standard set of common directories for X headers.
3910 # Check X11 before X11Rn because it is often a symlink to the current release.
3911 ac_x_header_dirs='
3912 /usr/X11/include
3913 /usr/X11R6/include
3914 /usr/X11R5/include
3915 /usr/X11R4/include
3917 /usr/include/X11
3918 /usr/include/X11R6
3919 /usr/include/X11R5
3920 /usr/include/X11R4
3922 /usr/local/X11/include
3923 /usr/local/X11R6/include
3924 /usr/local/X11R5/include
3925 /usr/local/X11R4/include
3927 /usr/local/include/X11
3928 /usr/local/include/X11R6
3929 /usr/local/include/X11R5
3930 /usr/local/include/X11R4
3932 /usr/X386/include
3933 /usr/x386/include
3934 /usr/XFree86/include/X11
3936 /usr/include
3937 /usr/local/include
3938 /usr/unsupported/include
3939 /usr/athena/include
3940 /usr/local/x11r5/include
3941 /usr/lpp/Xamples/include
3943 /usr/openwin/include
3944 /usr/openwin/share/include'
3946 if test "$ac_x_includes" = no; then
3947 # Guess where to find include files, by looking for Xlib.h.
3948 # First, try using that file with no special directory specified.
3949 cat >conftest.$ac_ext <<_ACEOF
3950 /* confdefs.h. */
3951 _ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 #include <X11/Xlib.h>
3956 _ACEOF
3957 if { (ac_try="$ac_cpp conftest.$ac_ext"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev/null; then
3970 if test -s conftest.err; then
3971 ac_cpp_err=$ac_c_preproc_warn_flag
3972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3973 else
3974 ac_cpp_err=
3976 else
3977 ac_cpp_err=yes
3979 if test -z "$ac_cpp_err"; then
3980 # We can compile using X headers with no special include directory.
3981 ac_x_includes=
3982 else
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 for ac_dir in $ac_x_header_dirs; do
3987 if test -r "$ac_dir/X11/Xlib.h"; then
3988 ac_x_includes=$ac_dir
3989 break
3991 done
3994 rm -f conftest.err conftest.$ac_ext
3995 fi # $ac_x_includes = no
3997 if test "$ac_x_libraries" = no; then
3998 # Check for the libraries.
3999 # See if we find them without any special options.
4000 # Don't add to $LIBS permanently.
4001 ac_save_LIBS=$LIBS
4002 LIBS="-lX11 $LIBS"
4003 cat >conftest.$ac_ext <<_ACEOF
4004 /* confdefs.h. */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 #include <X11/Xlib.h>
4011 main ()
4013 XrmInitialize ()
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4026 ac_status=$?
4027 grep -v '^ *+' conftest.er1 >conftest.err
4028 rm -f conftest.er1
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4033 { (case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_try") 2>&5
4039 ac_status=$?
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try='test -s conftest$ac_exeext'
4043 { (case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_try") 2>&5
4049 ac_status=$?
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4052 LIBS=$ac_save_LIBS
4053 # We can link X programs with no special library path.
4054 ac_x_libraries=
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 LIBS=$ac_save_LIBS
4060 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4062 # Don't even attempt the hair of trying to link an X program!
4063 for ac_extension in a so sl; do
4064 if test -r "$ac_dir/libX11.$ac_extension"; then
4065 ac_x_libraries=$ac_dir
4066 break 2
4068 done
4069 done
4072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4073 conftest$ac_exeext conftest.$ac_ext
4074 fi # $ac_x_libraries = no
4076 case $ac_x_includes,$ac_x_libraries in #(
4077 no,* | *,no | *\'*)
4078 # Didn't find X, or a directory has "'" in its name.
4079 ac_cv_have_x="have_x=no";; #(
4081 # Record where we found X for the cache.
4082 ac_cv_have_x="have_x=yes\
4083 ac_x_includes='$ac_x_includes'\
4084 ac_x_libraries='$ac_x_libraries'"
4085 esac
4087 ;; #(
4088 *) have_x=yes;;
4089 esac
4090 eval "$ac_cv_have_x"
4091 fi # $with_x != no
4093 if test "$have_x" != yes; then
4094 { echo "$as_me:$LINENO: result: $have_x" >&5
4095 echo "${ECHO_T}$have_x" >&6; }
4096 no_x=yes
4097 else
4098 # If each of the values was on the command line, it overrides each guess.
4099 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4100 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4101 # Update the cache value to reflect the command line values.
4102 ac_cv_have_x="have_x=yes\
4103 ac_x_includes='$x_includes'\
4104 ac_x_libraries='$x_libraries'"
4105 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4106 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4109 if test "$no_x" = yes; then
4110 # Not all programs may use this symbol, but it does not hurt to define it.
4112 cat >>confdefs.h <<\_ACEOF
4113 #define X_DISPLAY_MISSING 1
4114 _ACEOF
4116 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4117 else
4118 if test -n "$x_includes"; then
4119 X_CFLAGS="$X_CFLAGS -I$x_includes"
4122 # It would also be nice to do this for all -L options, not just this one.
4123 if test -n "$x_libraries"; then
4124 X_LIBS="$X_LIBS -L$x_libraries"
4125 # For Solaris; some versions of Sun CC require a space after -R and
4126 # others require no space. Words are not sufficient . . . .
4127 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4128 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4129 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4130 ac_xsave_c_werror_flag=$ac_c_werror_flag
4131 ac_c_werror_flag=yes
4132 cat >conftest.$ac_ext <<_ACEOF
4133 /* confdefs.h. */
4134 _ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4140 main ()
4144 return 0;
4146 _ACEOF
4147 rm -f conftest.$ac_objext conftest$ac_exeext
4148 if { (ac_try="$ac_link"
4149 case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4152 esac
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154 (eval "$ac_link") 2>conftest.er1
4155 ac_status=$?
4156 grep -v '^ *+' conftest.er1 >conftest.err
4157 rm -f conftest.er1
4158 cat conftest.err >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } &&
4161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4162 { (case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4165 esac
4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167 (eval "$ac_try") 2>&5
4168 ac_status=$?
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; } &&
4171 { ac_try='test -s conftest$ac_exeext'
4172 { (case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_try") 2>&5
4178 ac_status=$?
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 X_LIBS="$X_LIBS -R$x_libraries"
4184 else
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4188 LIBS="$ac_xsave_LIBS -R $x_libraries"
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4219 { (case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_try") 2>&5
4225 ac_status=$?
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try='test -s conftest$ac_exeext'
4229 { (case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4232 esac
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_try") 2>&5
4235 ac_status=$?
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4238 { echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6; }
4240 X_LIBS="$X_LIBS -R $x_libraries"
4241 else
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 { echo "$as_me:$LINENO: result: neither works" >&5
4246 echo "${ECHO_T}neither works" >&6; }
4249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4250 conftest$ac_exeext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254 conftest$ac_exeext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_xsave_c_werror_flag
4256 LIBS=$ac_xsave_LIBS
4259 # Check for system-dependent libraries X programs must link with.
4260 # Do this before checking for the system-independent R6 libraries
4261 # (-lICE), since we may need -lsocket or whatever for X linking.
4263 if test "$ISC" = yes; then
4264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 else
4266 # Martyn Johnson says this is needed for Ultrix, if the X
4267 # libraries were built with DECnet support. And Karl Berry says
4268 # the Alpha needs dnet_stub (dnet does not exist).
4269 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4270 cat >conftest.$ac_ext <<_ACEOF
4271 /* confdefs.h. */
4272 _ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4277 /* Override any GCC internal prototype to avoid an error.
4278 Use char because int might match the return type of a GCC
4279 builtin and then its argument prototype would still apply. */
4280 #ifdef __cplusplus
4281 extern "C"
4282 #endif
4283 char XOpenDisplay ();
4285 main ()
4287 return XOpenDisplay ();
4289 return 0;
4291 _ACEOF
4292 rm -f conftest.$ac_objext conftest$ac_exeext
4293 if { (ac_try="$ac_link"
4294 case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4297 esac
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4300 ac_status=$?
4301 grep -v '^ *+' conftest.er1 >conftest.err
4302 rm -f conftest.er1
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4307 { (case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4310 esac
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4313 ac_status=$?
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; } &&
4316 { ac_try='test -s conftest$ac_exeext'
4317 { (case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4323 ac_status=$?
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4327 else
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4332 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4333 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336 ac_check_lib_save_LIBS=$LIBS
4337 LIBS="-ldnet $LIBS"
4338 cat >conftest.$ac_ext <<_ACEOF
4339 /* confdefs.h. */
4340 _ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4345 /* Override any GCC internal prototype to avoid an error.
4346 Use char because int might match the return type of a GCC
4347 builtin and then its argument prototype would still apply. */
4348 #ifdef __cplusplus
4349 extern "C"
4350 #endif
4351 char dnet_ntoa ();
4353 main ()
4355 return dnet_ntoa ();
4357 return 0;
4359 _ACEOF
4360 rm -f conftest.$ac_objext conftest$ac_exeext
4361 if { (ac_try="$ac_link"
4362 case "(($ac_try" in
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4365 esac
4366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4367 (eval "$ac_link") 2>conftest.er1
4368 ac_status=$?
4369 grep -v '^ *+' conftest.er1 >conftest.err
4370 rm -f conftest.er1
4371 cat conftest.err >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4375 { (case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4378 esac
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_try") 2>&5
4381 ac_status=$?
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_try") 2>&5
4391 ac_status=$?
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4394 ac_cv_lib_dnet_dnet_ntoa=yes
4395 else
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 ac_cv_lib_dnet_dnet_ntoa=no
4402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4403 conftest$ac_exeext conftest.$ac_ext
4404 LIBS=$ac_check_lib_save_LIBS
4406 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4407 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4408 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4412 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4413 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4414 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4415 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 ac_check_lib_save_LIBS=$LIBS
4419 LIBS="-ldnet_stub $LIBS"
4420 cat >conftest.$ac_ext <<_ACEOF
4421 /* confdefs.h. */
4422 _ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4427 /* Override any GCC internal prototype to avoid an error.
4428 Use char because int might match the return type of a GCC
4429 builtin and then its argument prototype would still apply. */
4430 #ifdef __cplusplus
4431 extern "C"
4432 #endif
4433 char dnet_ntoa ();
4435 main ()
4437 return dnet_ntoa ();
4439 return 0;
4441 _ACEOF
4442 rm -f conftest.$ac_objext conftest$ac_exeext
4443 if { (ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_link") 2>conftest.er1
4450 ac_status=$?
4451 grep -v '^ *+' conftest.er1 >conftest.err
4452 rm -f conftest.er1
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } &&
4456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4457 { (case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_try") 2>&5
4463 ac_status=$?
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; } &&
4466 { ac_try='test -s conftest$ac_exeext'
4467 { (case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4470 esac
4471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4472 (eval "$ac_try") 2>&5
4473 ac_status=$?
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4476 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4477 else
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 ac_cv_lib_dnet_stub_dnet_ntoa=no
4484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4485 conftest$ac_exeext conftest.$ac_ext
4486 LIBS=$ac_check_lib_save_LIBS
4488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4489 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4490 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4491 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4498 conftest$ac_exeext conftest.$ac_ext
4499 LIBS="$ac_xsave_LIBS"
4501 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4502 # to get the SysV transport functions.
4503 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # needs -lnsl.
4505 # The nsl library prevents programs from opening the X display
4506 # on Irix 5.2, according to T.E. Dickey.
4507 # The functions gethostbyname, getservbyname, and inet_addr are
4508 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4509 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4510 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4511 if test "${ac_cv_func_gethostbyname+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 else
4514 cat >conftest.$ac_ext <<_ACEOF
4515 /* confdefs.h. */
4516 _ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4522 #define gethostbyname innocuous_gethostbyname
4524 /* System header to define __stub macros and hopefully few prototypes,
4525 which can conflict with char gethostbyname (); below.
4526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4527 <limits.h> exists even on freestanding compilers. */
4529 #ifdef __STDC__
4530 # include <limits.h>
4531 #else
4532 # include <assert.h>
4533 #endif
4535 #undef gethostbyname
4537 /* Override any GCC internal prototype to avoid an error.
4538 Use char because int might match the return type of a GCC
4539 builtin and then its argument prototype would still apply. */
4540 #ifdef __cplusplus
4541 extern "C"
4542 #endif
4543 char gethostbyname ();
4544 /* The GNU C library defines this for functions which it implements
4545 to always fail with ENOSYS. Some functions are actually named
4546 something starting with __ and the normal name is an alias. */
4547 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4548 choke me
4549 #endif
4552 main ()
4554 return gethostbyname ();
4556 return 0;
4558 _ACEOF
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (ac_try="$ac_link"
4561 case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4564 esac
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4567 ac_status=$?
4568 grep -v '^ *+' conftest.er1 >conftest.err
4569 rm -f conftest.er1
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4574 { (case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4577 esac
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_try") 2>&5
4580 ac_status=$?
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; } &&
4583 { ac_try='test -s conftest$ac_exeext'
4584 { (case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589 (eval "$ac_try") 2>&5
4590 ac_status=$?
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_cv_func_gethostbyname=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_func_gethostbyname=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4604 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4605 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4607 if test $ac_cv_func_gethostbyname = no; then
4608 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4609 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4610 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 else
4613 ac_check_lib_save_LIBS=$LIBS
4614 LIBS="-lnsl $LIBS"
4615 cat >conftest.$ac_ext <<_ACEOF
4616 /* confdefs.h. */
4617 _ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any GCC internal prototype to avoid an error.
4623 Use char because int might match the return type of a GCC
4624 builtin and then its argument prototype would still apply. */
4625 #ifdef __cplusplus
4626 extern "C"
4627 #endif
4628 char gethostbyname ();
4630 main ()
4632 return gethostbyname ();
4634 return 0;
4636 _ACEOF
4637 rm -f conftest.$ac_objext conftest$ac_exeext
4638 if { (ac_try="$ac_link"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4644 (eval "$ac_link") 2>conftest.er1
4645 ac_status=$?
4646 grep -v '^ *+' conftest.er1 >conftest.err
4647 rm -f conftest.er1
4648 cat conftest.err >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4652 { (case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_try") 2>&5
4658 ac_status=$?
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try='test -s conftest$ac_exeext'
4662 { (case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4667 (eval "$ac_try") 2>&5
4668 ac_status=$?
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_lib_nsl_gethostbyname=yes
4672 else
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4676 ac_cv_lib_nsl_gethostbyname=no
4679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4680 conftest$ac_exeext conftest.$ac_ext
4681 LIBS=$ac_check_lib_save_LIBS
4683 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4684 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4685 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4686 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4689 if test $ac_cv_lib_nsl_gethostbyname = no; then
4690 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4691 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 else
4695 ac_check_lib_save_LIBS=$LIBS
4696 LIBS="-lbsd $LIBS"
4697 cat >conftest.$ac_ext <<_ACEOF
4698 /* confdefs.h. */
4699 _ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4707 #ifdef __cplusplus
4708 extern "C"
4709 #endif
4710 char gethostbyname ();
4712 main ()
4714 return gethostbyname ();
4716 return 0;
4718 _ACEOF
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4727 ac_status=$?
4728 grep -v '^ *+' conftest.er1 >conftest.err
4729 rm -f conftest.er1
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4734 { (case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_try") 2>&5
4740 ac_status=$?
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try='test -s conftest$ac_exeext'
4744 { (case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4749 (eval "$ac_try") 2>&5
4750 ac_status=$?
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_lib_bsd_gethostbyname=yes
4754 else
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 ac_cv_lib_bsd_gethostbyname=no
4761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4762 conftest$ac_exeext conftest.$ac_ext
4763 LIBS=$ac_check_lib_save_LIBS
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4775 # socket/setsockopt and other routines are undefined under SCO ODT
4776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4777 # on later versions), says Simon Leinen: it contains gethostby*
4778 # variants that don't use the name server (or something). -lsocket
4779 # must be given before -lnsl if both are needed. We assume that
4780 # if connect needs -lnsl, so does gethostbyname.
4781 { echo "$as_me:$LINENO: checking for connect" >&5
4782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4783 if test "${ac_cv_func_connect+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 else
4786 cat >conftest.$ac_ext <<_ACEOF
4787 /* confdefs.h. */
4788 _ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4794 #define connect innocuous_connect
4796 /* System header to define __stub macros and hopefully few prototypes,
4797 which can conflict with char connect (); below.
4798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799 <limits.h> exists even on freestanding compilers. */
4801 #ifdef __STDC__
4802 # include <limits.h>
4803 #else
4804 # include <assert.h>
4805 #endif
4807 #undef connect
4809 /* Override any GCC internal prototype to avoid an error.
4810 Use char because int might match the return type of a GCC
4811 builtin and then its argument prototype would still apply. */
4812 #ifdef __cplusplus
4813 extern "C"
4814 #endif
4815 char connect ();
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined __stub_connect || defined __stub___connect
4820 choke me
4821 #endif
4824 main ()
4826 return connect ();
4828 return 0;
4830 _ACEOF
4831 rm -f conftest.$ac_objext conftest$ac_exeext
4832 if { (ac_try="$ac_link"
4833 case "(($ac_try" in
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4836 esac
4837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4838 (eval "$ac_link") 2>conftest.er1
4839 ac_status=$?
4840 grep -v '^ *+' conftest.er1 >conftest.err
4841 rm -f conftest.er1
4842 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 { (case "(($ac_try" in
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4849 esac
4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4851 (eval "$ac_try") 2>&5
4852 ac_status=$?
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; } &&
4855 { ac_try='test -s conftest$ac_exeext'
4856 { (case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4859 esac
4860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4861 (eval "$ac_try") 2>&5
4862 ac_status=$?
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4865 ac_cv_func_connect=yes
4866 else
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5
4870 ac_cv_func_connect=no
4873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4874 conftest$ac_exeext conftest.$ac_ext
4876 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4877 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4879 if test $ac_cv_func_connect = no; then
4880 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4881 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4882 if test "${ac_cv_lib_socket_connect+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 else
4885 ac_check_lib_save_LIBS=$LIBS
4886 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4887 cat >conftest.$ac_ext <<_ACEOF
4888 /* confdefs.h. */
4889 _ACEOF
4890 cat confdefs.h >>conftest.$ac_ext
4891 cat >>conftest.$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4894 /* Override any GCC internal prototype to avoid an error.
4895 Use char because int might match the return type of a GCC
4896 builtin and then its argument prototype would still apply. */
4897 #ifdef __cplusplus
4898 extern "C"
4899 #endif
4900 char connect ();
4902 main ()
4904 return connect ();
4906 return 0;
4908 _ACEOF
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4917 ac_status=$?
4918 grep -v '^ *+' conftest.er1 >conftest.err
4919 rm -f conftest.er1
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4924 { (case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929 (eval "$ac_try") 2>&5
4930 ac_status=$?
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try='test -s conftest$ac_exeext'
4934 { (case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4939 (eval "$ac_try") 2>&5
4940 ac_status=$?
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 ac_cv_lib_socket_connect=yes
4944 else
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_lib_socket_connect=no
4951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4952 conftest$ac_exeext conftest.$ac_ext
4953 LIBS=$ac_check_lib_save_LIBS
4955 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4956 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4957 if test $ac_cv_lib_socket_connect = yes; then
4958 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4963 # Guillermo Gomez says -lposix is necessary on A/UX.
4964 { echo "$as_me:$LINENO: checking for remove" >&5
4965 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4966 if test "${ac_cv_func_remove+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 else
4969 cat >conftest.$ac_ext <<_ACEOF
4970 /* confdefs.h. */
4971 _ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4975 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4977 #define remove innocuous_remove
4979 /* System header to define __stub macros and hopefully few prototypes,
4980 which can conflict with char remove (); below.
4981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4982 <limits.h> exists even on freestanding compilers. */
4984 #ifdef __STDC__
4985 # include <limits.h>
4986 #else
4987 # include <assert.h>
4988 #endif
4990 #undef remove
4992 /* Override any GCC internal prototype to avoid an error.
4993 Use char because int might match the return type of a GCC
4994 builtin and then its argument prototype would still apply. */
4995 #ifdef __cplusplus
4996 extern "C"
4997 #endif
4998 char remove ();
4999 /* The GNU C library defines this for functions which it implements
5000 to always fail with ENOSYS. Some functions are actually named
5001 something starting with __ and the normal name is an alias. */
5002 #if defined __stub_remove || defined __stub___remove
5003 choke me
5004 #endif
5007 main ()
5009 return remove ();
5011 return 0;
5013 _ACEOF
5014 rm -f conftest.$ac_objext conftest$ac_exeext
5015 if { (ac_try="$ac_link"
5016 case "(($ac_try" in
5017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5019 esac
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_link") 2>conftest.er1
5022 ac_status=$?
5023 grep -v '^ *+' conftest.er1 >conftest.err
5024 rm -f conftest.er1
5025 cat conftest.err >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5032 esac
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5035 ac_status=$?
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try='test -s conftest$ac_exeext'
5039 { (case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5042 esac
5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044 (eval "$ac_try") 2>&5
5045 ac_status=$?
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_cv_func_remove=yes
5049 else
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_cv_func_remove=no
5056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5057 conftest$ac_exeext conftest.$ac_ext
5059 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5060 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5062 if test $ac_cv_func_remove = no; then
5063 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5064 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5065 if test "${ac_cv_lib_posix_remove+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 else
5068 ac_check_lib_save_LIBS=$LIBS
5069 LIBS="-lposix $LIBS"
5070 cat >conftest.$ac_ext <<_ACEOF
5071 /* confdefs.h. */
5072 _ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any GCC internal prototype to avoid an error.
5078 Use char because int might match the return type of a GCC
5079 builtin and then its argument prototype would still apply. */
5080 #ifdef __cplusplus
5081 extern "C"
5082 #endif
5083 char remove ();
5085 main ()
5087 return remove ();
5089 return 0;
5091 _ACEOF
5092 rm -f conftest.$ac_objext conftest$ac_exeext
5093 if { (ac_try="$ac_link"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_link") 2>conftest.er1
5100 ac_status=$?
5101 grep -v '^ *+' conftest.er1 >conftest.err
5102 rm -f conftest.er1
5103 cat conftest.err >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5107 { (case "(($ac_try" in
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5110 esac
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_try") 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; } &&
5116 { ac_try='test -s conftest$ac_exeext'
5117 { (case "(($ac_try" in
5118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5120 esac
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_try") 2>&5
5123 ac_status=$?
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; }; then
5126 ac_cv_lib_posix_remove=yes
5127 else
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5131 ac_cv_lib_posix_remove=no
5134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5135 conftest$ac_exeext conftest.$ac_ext
5136 LIBS=$ac_check_lib_save_LIBS
5138 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5139 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5140 if test $ac_cv_lib_posix_remove = yes; then
5141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5146 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5147 { echo "$as_me:$LINENO: checking for shmat" >&5
5148 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5149 if test "${ac_cv_func_shmat+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 else
5152 cat >conftest.$ac_ext <<_ACEOF
5153 /* confdefs.h. */
5154 _ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5160 #define shmat innocuous_shmat
5162 /* System header to define __stub macros and hopefully few prototypes,
5163 which can conflict with char shmat (); below.
5164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5165 <limits.h> exists even on freestanding compilers. */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5173 #undef shmat
5175 /* Override any GCC internal prototype to avoid an error.
5176 Use char because int might match the return type of a GCC
5177 builtin and then its argument prototype would still apply. */
5178 #ifdef __cplusplus
5179 extern "C"
5180 #endif
5181 char shmat ();
5182 /* The GNU C library defines this for functions which it implements
5183 to always fail with ENOSYS. Some functions are actually named
5184 something starting with __ and the normal name is an alias. */
5185 #if defined __stub_shmat || defined __stub___shmat
5186 choke me
5187 #endif
5190 main ()
5192 return shmat ();
5194 return 0;
5196 _ACEOF
5197 rm -f conftest.$ac_objext conftest$ac_exeext
5198 if { (ac_try="$ac_link"
5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_link") 2>conftest.er1
5205 ac_status=$?
5206 grep -v '^ *+' conftest.er1 >conftest.err
5207 rm -f conftest.er1
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5212 { (case "(($ac_try" in
5213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5214 *) ac_try_echo=$ac_try;;
5215 esac
5216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5217 (eval "$ac_try") 2>&5
5218 ac_status=$?
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try='test -s conftest$ac_exeext'
5222 { (case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_try") 2>&5
5228 ac_status=$?
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; }; then
5231 ac_cv_func_shmat=yes
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 ac_cv_func_shmat=no
5239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5240 conftest$ac_exeext conftest.$ac_ext
5242 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5243 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5245 if test $ac_cv_func_shmat = no; then
5246 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 ac_check_lib_save_LIBS=$LIBS
5252 LIBS="-lipc $LIBS"
5253 cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h. */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5260 /* Override any GCC internal prototype to avoid an error.
5261 Use char because int might match the return type of a GCC
5262 builtin and then its argument prototype would still apply. */
5263 #ifdef __cplusplus
5264 extern "C"
5265 #endif
5266 char shmat ();
5268 main ()
5270 return shmat ();
5272 return 0;
5274 _ACEOF
5275 rm -f conftest.$ac_objext conftest$ac_exeext
5276 if { (ac_try="$ac_link"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282 (eval "$ac_link") 2>conftest.er1
5283 ac_status=$?
5284 grep -v '^ *+' conftest.er1 >conftest.err
5285 rm -f conftest.er1
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5290 { (case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_try") 2>&5
5296 ac_status=$?
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; } &&
5299 { ac_try='test -s conftest$ac_exeext'
5300 { (case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5303 esac
5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305 (eval "$ac_try") 2>&5
5306 ac_status=$?
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; }; then
5309 ac_cv_lib_ipc_shmat=yes
5310 else
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5314 ac_cv_lib_ipc_shmat=no
5317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5318 conftest$ac_exeext conftest.$ac_ext
5319 LIBS=$ac_check_lib_save_LIBS
5321 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5322 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5323 if test $ac_cv_lib_ipc_shmat = yes; then
5324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5330 # Check for libraries that X11R6 Xt/Xaw programs need.
5331 ac_save_LDFLAGS=$LDFLAGS
5332 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5333 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5334 # check for ICE first), but we must link in the order -lSM -lICE or
5335 # we get undefined symbols. So assume we have SM if we have ICE.
5336 # These have to be linked with before -lX11, unlike the other
5337 # libraries we check for below, so use a different variable.
5338 # John Interrante, Karl Berry
5339 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5340 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5341 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 else
5344 ac_check_lib_save_LIBS=$LIBS
5345 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5346 cat >conftest.$ac_ext <<_ACEOF
5347 /* confdefs.h. */
5348 _ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5353 /* Override any GCC internal prototype to avoid an error.
5354 Use char because int might match the return type of a GCC
5355 builtin and then its argument prototype would still apply. */
5356 #ifdef __cplusplus
5357 extern "C"
5358 #endif
5359 char IceConnectionNumber ();
5361 main ()
5363 return IceConnectionNumber ();
5365 return 0;
5367 _ACEOF
5368 rm -f conftest.$ac_objext conftest$ac_exeext
5369 if { (ac_try="$ac_link"
5370 case "(($ac_try" in
5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5373 esac
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_link") 2>conftest.er1
5376 ac_status=$?
5377 grep -v '^ *+' conftest.er1 >conftest.err
5378 rm -f conftest.er1
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5383 { (case "(($ac_try" in
5384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5386 esac
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_try") 2>&5
5389 ac_status=$?
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }; } &&
5392 { ac_try='test -s conftest$ac_exeext'
5393 { (case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_try") 2>&5
5399 ac_status=$?
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; }; then
5402 ac_cv_lib_ICE_IceConnectionNumber=yes
5403 else
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 ac_cv_lib_ICE_IceConnectionNumber=no
5410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5411 conftest$ac_exeext conftest.$ac_ext
5412 LIBS=$ac_check_lib_save_LIBS
5414 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5415 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5416 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5417 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5420 LDFLAGS=$ac_save_LDFLAGS
5424 for ac_prog in flex lex
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy $ac_prog; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LEX+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433 if test -n "$LEX"; then
5434 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LEX="$ac_prog"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 LEX=$ac_cv_prog_LEX
5454 if test -n "$LEX"; then
5455 { echo "$as_me:$LINENO: result: $LEX" >&5
5456 echo "${ECHO_T}$LEX" >&6; }
5457 else
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5463 test -n "$LEX" && break
5464 done
5465 test -n "$LEX" || LEX=":"
5467 if test "x$LEX" != "x:"; then
5468 cat >conftest.l <<_ACEOF
5470 a { ECHO; }
5471 b { REJECT; }
5472 c { yymore (); }
5473 d { yyless (1); }
5474 e { yyless (input () != 0); }
5475 f { unput (yytext[0]); }
5476 . { BEGIN INITIAL; }
5478 #ifdef YYTEXT_POINTER
5479 extern char *yytext;
5480 #endif
5482 main (void)
5484 return ! yylex () + ! yywrap ();
5486 _ACEOF
5487 { (ac_try="$LEX conftest.l"
5488 case "(($ac_try" in
5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490 *) ac_try_echo=$ac_try;;
5491 esac
5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5493 (eval "$LEX conftest.l") 2>&5
5494 ac_status=$?
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }
5497 { echo "$as_me:$LINENO: checking lex output file root" >&5
5498 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5499 if test "${ac_cv_prog_lex_root+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5503 if test -f lex.yy.c; then
5504 ac_cv_prog_lex_root=lex.yy
5505 elif test -f lexyy.c; then
5506 ac_cv_prog_lex_root=lexyy
5507 else
5508 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5509 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5510 { (exit 1); exit 1; }; }
5513 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5514 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5515 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5517 if test -z "${LEXLIB+set}"; then
5518 { echo "$as_me:$LINENO: checking lex library" >&5
5519 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5520 if test "${ac_cv_lib_lex+set}" = set; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 else
5524 ac_save_LIBS=$LIBS
5525 ac_cv_lib_lex='none needed'
5526 for ac_lib in '' -lfl -ll; do
5527 LIBS="$ac_lib $ac_save_LIBS"
5528 cat >conftest.$ac_ext <<_ACEOF
5529 `cat $LEX_OUTPUT_ROOT.c`
5530 _ACEOF
5531 rm -f conftest.$ac_objext conftest$ac_exeext
5532 if { (ac_try="$ac_link"
5533 case "(($ac_try" in
5534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5536 esac
5537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538 (eval "$ac_link") 2>conftest.er1
5539 ac_status=$?
5540 grep -v '^ *+' conftest.er1 >conftest.err
5541 rm -f conftest.er1
5542 cat conftest.err >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5546 { (case "(($ac_try" in
5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548 *) ac_try_echo=$ac_try;;
5549 esac
5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_try") 2>&5
5552 ac_status=$?
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; } &&
5555 { ac_try='test -s conftest$ac_exeext'
5556 { (case "(($ac_try" in
5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5559 esac
5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_try") 2>&5
5562 ac_status=$?
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5565 ac_cv_lib_lex=$ac_lib
5566 else
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5574 conftest$ac_exeext conftest.$ac_ext
5575 test "$ac_cv_lib_lex" != 'none needed' && break
5576 done
5577 LIBS=$ac_save_LIBS
5580 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5581 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5582 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5586 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5587 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 # POSIX says lex can declare yytext either as a pointer or an array; the
5592 # default is implementation-dependent. Figure out which it is, since
5593 # not all implementations provide the %pointer and %array declarations.
5594 ac_cv_prog_lex_yytext_pointer=no
5595 ac_save_LIBS=$LIBS
5596 LIBS="$LEXLIB $ac_save_LIBS"
5597 cat >conftest.$ac_ext <<_ACEOF
5598 #define YYTEXT_POINTER 1
5599 `cat $LEX_OUTPUT_ROOT.c`
5600 _ACEOF
5601 rm -f conftest.$ac_objext conftest$ac_exeext
5602 if { (ac_try="$ac_link"
5603 case "(($ac_try" in
5604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5605 *) ac_try_echo=$ac_try;;
5606 esac
5607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5608 (eval "$ac_link") 2>conftest.er1
5609 ac_status=$?
5610 grep -v '^ *+' conftest.er1 >conftest.err
5611 rm -f conftest.er1
5612 cat conftest.err >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5616 { (case "(($ac_try" in
5617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5618 *) ac_try_echo=$ac_try;;
5619 esac
5620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5621 (eval "$ac_try") 2>&5
5622 ac_status=$?
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; } &&
5625 { ac_try='test -s conftest$ac_exeext'
5626 { (case "(($ac_try" in
5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5628 *) ac_try_echo=$ac_try;;
5629 esac
5630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5631 (eval "$ac_try") 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; }; then
5635 ac_cv_prog_lex_yytext_pointer=yes
5636 else
5637 echo "$as_me: failed program was:" >&5
5638 sed 's/^/| /' conftest.$ac_ext >&5
5643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5644 conftest$ac_exeext conftest.$ac_ext
5645 LIBS=$ac_save_LIBS
5648 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5649 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5650 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5652 cat >>confdefs.h <<\_ACEOF
5653 #define YYTEXT_POINTER 1
5654 _ACEOF
5657 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5661 for ac_prog in $LEX flex lex
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy $ac_prog; ac_word=$2
5665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5667 if test "${ac_cv_prog_XLEX+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 else
5670 if test -n "$XLEX"; then
5671 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5680 ac_cv_prog_XLEX="$ac_prog"
5681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5690 XLEX=$ac_cv_prog_XLEX
5691 if test -n "$XLEX"; then
5692 { echo "$as_me:$LINENO: result: $XLEX" >&5
5693 echo "${ECHO_T}$XLEX" >&6; }
5694 else
5695 { echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6; }
5700 test -n "$XLEX" && break
5701 done
5702 test -n "$XLEX" || XLEX="none"
5704 if test "$XLEX" = "none"
5705 then
5706 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5707 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5708 { (exit 1); exit 1; }; }
5711 for ac_prog in bison
5713 # Extract the first word of "$ac_prog", so it can be a program name with args.
5714 set dummy $ac_prog; ac_word=$2
5715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5717 if test "${ac_cv_prog_BISON+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 else
5720 if test -n "$BISON"; then
5721 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5726 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_prog_BISON="$ac_prog"
5731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 BISON=$ac_cv_prog_BISON
5741 if test -n "$BISON"; then
5742 { echo "$as_me:$LINENO: result: $BISON" >&5
5743 echo "${ECHO_T}$BISON" >&6; }
5744 else
5745 { echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6; }
5750 test -n "$BISON" && break
5751 done
5752 test -n "$BISON" || BISON="none"
5754 if test "$BISON" = "none"
5755 then
5756 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5757 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5758 { (exit 1); exit 1; }; }
5761 if test -n "$ac_tool_prefix"; then
5762 for ac_prog in gas as
5764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5765 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5768 if test "${ac_cv_prog_AS+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 else
5771 if test -n "$AS"; then
5772 ac_cv_prog_AS="$AS" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5785 done
5786 done
5787 IFS=$as_save_IFS
5791 AS=$ac_cv_prog_AS
5792 if test -n "$AS"; then
5793 { echo "$as_me:$LINENO: result: $AS" >&5
5794 echo "${ECHO_T}$AS" >&6; }
5795 else
5796 { echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6; }
5801 test -n "$AS" && break
5802 done
5804 if test -z "$AS"; then
5805 ac_ct_AS=$AS
5806 for ac_prog in gas as
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy $ac_prog; ac_word=$2
5810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5812 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 else
5815 if test -n "$ac_ct_AS"; then
5816 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5817 else
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5825 ac_cv_prog_ac_ct_AS="$ac_prog"
5826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5835 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5836 if test -n "$ac_ct_AS"; then
5837 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5838 echo "${ECHO_T}$ac_ct_AS" >&6; }
5839 else
5840 { echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6; }
5845 test -n "$ac_ct_AS" && break
5846 done
5848 if test "x$ac_ct_AS" = x; then
5849 AS="as"
5850 else
5851 case $cross_compiling:$ac_tool_warned in
5852 yes:)
5853 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5854 whose name does not start with the host triplet. If you think this
5855 configuration is useful to you, please write to autoconf@gnu.org." >&5
5856 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5857 whose name does not start with the host triplet. If you think this
5858 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5859 ac_tool_warned=yes ;;
5860 esac
5861 AS=$ac_ct_AS
5865 if test -n "$ac_tool_prefix"; then
5866 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5867 set dummy ${ac_tool_prefix}ld; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_LD+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 else
5873 if test -n "$LD"; then
5874 ac_cv_prog_LD="$LD" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_LD="${ac_tool_prefix}ld"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 LD=$ac_cv_prog_LD
5894 if test -n "$LD"; then
5895 { echo "$as_me:$LINENO: result: $LD" >&5
5896 echo "${ECHO_T}$LD" >&6; }
5897 else
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5904 if test -z "$ac_cv_prog_LD"; then
5905 ac_ct_LD=$LD
5906 # Extract the first word of "ld", so it can be a program name with args.
5907 set dummy ld; ac_word=$2
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5910 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 else
5913 if test -n "$ac_ct_LD"; then
5914 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5919 IFS=$as_save_IFS
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_ac_ct_LD="ld"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 break 2
5927 done
5928 done
5929 IFS=$as_save_IFS
5933 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5934 if test -n "$ac_ct_LD"; then
5935 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5936 echo "${ECHO_T}$ac_ct_LD" >&6; }
5937 else
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5942 if test "x$ac_ct_LD" = x; then
5943 LD="ld"
5944 else
5945 case $cross_compiling:$ac_tool_warned in
5946 yes:)
5947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5948 whose name does not start with the host triplet. If you think this
5949 configuration is useful to you, please write to autoconf@gnu.org." >&5
5950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5951 whose name does not start with the host triplet. If you think this
5952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5953 ac_tool_warned=yes ;;
5954 esac
5955 LD=$ac_ct_LD
5957 else
5958 LD="$ac_cv_prog_LD"
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}ar; ac_word=$2
5964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5966 if test "${ac_cv_prog_AR+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 else
5969 if test -n "$AR"; then
5970 ac_cv_prog_AR="$AR" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5979 ac_cv_prog_AR="${ac_tool_prefix}ar"
5980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5989 AR=$ac_cv_prog_AR
5990 if test -n "$AR"; then
5991 { echo "$as_me:$LINENO: result: $AR" >&5
5992 echo "${ECHO_T}$AR" >&6; }
5993 else
5994 { echo "$as_me:$LINENO: result: no" >&5
5995 echo "${ECHO_T}no" >&6; }
6000 if test -z "$ac_cv_prog_AR"; then
6001 ac_ct_AR=$AR
6002 # Extract the first word of "ar", so it can be a program name with args.
6003 set dummy ar; ac_word=$2
6004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6006 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 else
6009 if test -n "$ac_ct_AR"; then
6010 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 ac_cv_prog_ac_ct_AR="ar"
6020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6030 if test -n "$ac_ct_AR"; then
6031 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6032 echo "${ECHO_T}$ac_ct_AR" >&6; }
6033 else
6034 { echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6; }
6038 if test "x$ac_ct_AR" = x; then
6039 AR="ar"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6044 whose name does not start with the host triplet. If you think this
6045 configuration is useful to you, please write to autoconf@gnu.org." >&5
6046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6047 whose name does not start with the host triplet. If you think this
6048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6049 ac_tool_warned=yes ;;
6050 esac
6051 AR=$ac_ct_AR
6053 else
6054 AR="$ac_cv_prog_AR"
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6062 if test "${ac_cv_prog_RANLIB+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 else
6065 if test -n "$RANLIB"; then
6066 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 RANLIB=$ac_cv_prog_RANLIB
6086 if test -n "$RANLIB"; then
6087 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6088 echo "${ECHO_T}$RANLIB" >&6; }
6089 else
6090 { echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6; }
6096 if test -z "$ac_cv_prog_RANLIB"; then
6097 ac_ct_RANLIB=$RANLIB
6098 # Extract the first word of "ranlib", so it can be a program name with args.
6099 set dummy ranlib; ac_word=$2
6100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6102 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 else
6105 if test -n "$ac_ct_RANLIB"; then
6106 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_prog_ac_ct_RANLIB="ranlib"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6126 if test -n "$ac_ct_RANLIB"; then
6127 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6128 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6129 else
6130 { echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6; }
6134 if test "x$ac_ct_RANLIB" = x; then
6135 RANLIB=":"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6140 whose name does not start with the host triplet. If you think this
6141 configuration is useful to you, please write to autoconf@gnu.org." >&5
6142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6143 whose name does not start with the host triplet. If you think this
6144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6145 ac_tool_warned=yes ;;
6146 esac
6147 RANLIB=$ac_ct_RANLIB
6149 else
6150 RANLIB="$ac_cv_prog_RANLIB"
6153 if test -n "$ac_tool_prefix"; then
6154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6155 set dummy ${ac_tool_prefix}strip; ac_word=$2
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6158 if test "${ac_cv_prog_STRIP+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 else
6161 if test -n "$STRIP"; then
6162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6181 STRIP=$ac_cv_prog_STRIP
6182 if test -n "$STRIP"; then
6183 { echo "$as_me:$LINENO: result: $STRIP" >&5
6184 echo "${ECHO_T}$STRIP" >&6; }
6185 else
6186 { echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6; }
6192 if test -z "$ac_cv_prog_STRIP"; then
6193 ac_ct_STRIP=$STRIP
6194 # Extract the first word of "strip", so it can be a program name with args.
6195 set dummy strip; ac_word=$2
6196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6198 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 else
6201 if test -n "$ac_ct_STRIP"; then
6202 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_ac_ct_STRIP="strip"
6212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6222 if test -n "$ac_ct_STRIP"; then
6223 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6224 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6225 else
6226 { echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6; }
6230 if test "x$ac_ct_STRIP" = x; then
6231 STRIP="strip"
6232 else
6233 case $cross_compiling:$ac_tool_warned in
6234 yes:)
6235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6236 whose name does not start with the host triplet. If you think this
6237 configuration is useful to you, please write to autoconf@gnu.org." >&5
6238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6239 whose name does not start with the host triplet. If you think this
6240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6241 ac_tool_warned=yes ;;
6242 esac
6243 STRIP=$ac_ct_STRIP
6245 else
6246 STRIP="$ac_cv_prog_STRIP"
6249 if test -n "$ac_tool_prefix"; then
6250 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6251 set dummy ${ac_tool_prefix}windres; ac_word=$2
6252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6254 if test "${ac_cv_prog_WINDRES+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 else
6257 if test -n "$WINDRES"; then
6258 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6259 else
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6267 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 break 2
6271 done
6272 done
6273 IFS=$as_save_IFS
6277 WINDRES=$ac_cv_prog_WINDRES
6278 if test -n "$WINDRES"; then
6279 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6280 echo "${ECHO_T}$WINDRES" >&6; }
6281 else
6282 { echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6; }
6288 if test -z "$ac_cv_prog_WINDRES"; then
6289 ac_ct_WINDRES=$WINDRES
6290 # Extract the first word of "windres", so it can be a program name with args.
6291 set dummy windres; ac_word=$2
6292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6294 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 else
6297 if test -n "$ac_ct_WINDRES"; then
6298 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6307 ac_cv_prog_ac_ct_WINDRES="windres"
6308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6311 done
6312 done
6313 IFS=$as_save_IFS
6317 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6318 if test -n "$ac_ct_WINDRES"; then
6319 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6320 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6321 else
6322 { echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6; }
6326 if test "x$ac_ct_WINDRES" = x; then
6327 WINDRES="false"
6328 else
6329 case $cross_compiling:$ac_tool_warned in
6330 yes:)
6331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6332 whose name does not start with the host triplet. If you think this
6333 configuration is useful to you, please write to autoconf@gnu.org." >&5
6334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6335 whose name does not start with the host triplet. If you think this
6336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6337 ac_tool_warned=yes ;;
6338 esac
6339 WINDRES=$ac_ct_WINDRES
6341 else
6342 WINDRES="$ac_cv_prog_WINDRES"
6345 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6346 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6347 LN_S=$as_ln_s
6348 if test "$LN_S" = "ln -s"; then
6349 { echo "$as_me:$LINENO: result: yes" >&5
6350 echo "${ECHO_T}yes" >&6; }
6351 else
6352 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6353 echo "${ECHO_T}no, using $LN_S" >&6; }
6356 { echo "$as_me:$LINENO: checking whether ln works" >&5
6357 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6358 rm -f conf$$ conf$$.file
6359 echo >conf$$.file
6360 if ln conf$$.file conf$$ 2>/dev/null; then
6361 LN=ln
6363 { echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6; }
6365 else
6366 LN="cp -p"
6368 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6369 echo "${ECHO_T}no, using $LN" >&6; }
6371 rm -f conf$$ conf$$.file
6372 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6373 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6374 if test "${ac_cv_path_GREP+set}" = set; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 else
6377 # Extract the first word of "grep ggrep" to use in msg output
6378 if test -z "$GREP"; then
6379 set dummy grep ggrep; ac_prog_name=$2
6380 if test "${ac_cv_path_GREP+set}" = set; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 else
6383 ac_path_GREP_found=false
6384 # Loop through the user's path and test for each of PROGNAME-LIST
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6388 IFS=$as_save_IFS
6389 test -z "$as_dir" && as_dir=.
6390 for ac_prog in grep ggrep; do
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6393 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6394 # Check for GNU ac_path_GREP and select it if it is found.
6395 # Check for GNU $ac_path_GREP
6396 case `"$ac_path_GREP" --version 2>&1` in
6397 *GNU*)
6398 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6400 ac_count=0
6401 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6402 while :
6404 cat "conftest.in" "conftest.in" >"conftest.tmp"
6405 mv "conftest.tmp" "conftest.in"
6406 cp "conftest.in" "conftest.nl"
6407 echo 'GREP' >> "conftest.nl"
6408 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6410 ac_count=`expr $ac_count + 1`
6411 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6412 # Best one so far, save it but keep looking for a better one
6413 ac_cv_path_GREP="$ac_path_GREP"
6414 ac_path_GREP_max=$ac_count
6416 # 10*(2^10) chars as input seems more than enough
6417 test $ac_count -gt 10 && break
6418 done
6419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6420 esac
6423 $ac_path_GREP_found && break 3
6424 done
6425 done
6427 done
6428 IFS=$as_save_IFS
6433 GREP="$ac_cv_path_GREP"
6434 if test -z "$GREP"; then
6435 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6436 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6437 { (exit 1); exit 1; }; }
6440 else
6441 ac_cv_path_GREP=$GREP
6446 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6447 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6448 GREP="$ac_cv_path_GREP"
6451 { echo "$as_me:$LINENO: checking for egrep" >&5
6452 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6453 if test "${ac_cv_path_EGREP+set}" = set; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 else
6456 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6457 then ac_cv_path_EGREP="$GREP -E"
6458 else
6459 # Extract the first word of "egrep" to use in msg output
6460 if test -z "$EGREP"; then
6461 set dummy egrep; ac_prog_name=$2
6462 if test "${ac_cv_path_EGREP+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 else
6465 ac_path_EGREP_found=false
6466 # Loop through the user's path and test for each of PROGNAME-LIST
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_prog in egrep; do
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6475 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6476 # Check for GNU ac_path_EGREP and select it if it is found.
6477 # Check for GNU $ac_path_EGREP
6478 case `"$ac_path_EGREP" --version 2>&1` in
6479 *GNU*)
6480 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6482 ac_count=0
6483 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6484 while :
6486 cat "conftest.in" "conftest.in" >"conftest.tmp"
6487 mv "conftest.tmp" "conftest.in"
6488 cp "conftest.in" "conftest.nl"
6489 echo 'EGREP' >> "conftest.nl"
6490 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6492 ac_count=`expr $ac_count + 1`
6493 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6494 # Best one so far, save it but keep looking for a better one
6495 ac_cv_path_EGREP="$ac_path_EGREP"
6496 ac_path_EGREP_max=$ac_count
6498 # 10*(2^10) chars as input seems more than enough
6499 test $ac_count -gt 10 && break
6500 done
6501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6502 esac
6505 $ac_path_EGREP_found && break 3
6506 done
6507 done
6509 done
6510 IFS=$as_save_IFS
6515 EGREP="$ac_cv_path_EGREP"
6516 if test -z "$EGREP"; then
6517 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6518 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6519 { (exit 1); exit 1; }; }
6522 else
6523 ac_cv_path_EGREP=$EGREP
6529 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6530 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6531 EGREP="$ac_cv_path_EGREP"
6534 # Extract the first word of "ldconfig", so it can be a program name with args.
6535 set dummy ldconfig; ac_word=$2
6536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6538 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 else
6541 case $LDCONFIG in
6542 [\\/]* | ?:[\\/]*)
6543 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in /sbin /usr/sbin $PATH
6549 IFS=$as_save_IFS
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6553 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6555 break 2
6557 done
6558 done
6559 IFS=$as_save_IFS
6561 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6563 esac
6565 LDCONFIG=$ac_cv_path_LDCONFIG
6566 if test -n "$LDCONFIG"; then
6567 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6568 echo "${ECHO_T}$LDCONFIG" >&6; }
6569 else
6570 { echo "$as_me:$LINENO: result: no" >&5
6571 echo "${ECHO_T}no" >&6; }
6575 # Find a good install program. We prefer a C program (faster),
6576 # so one script is as good as another. But avoid the broken or
6577 # incompatible versions:
6578 # SysV /etc/install, /usr/sbin/install
6579 # SunOS /usr/etc/install
6580 # IRIX /sbin/install
6581 # AIX /bin/install
6582 # AmigaOS /C/install, which installs bootblocks on floppy discs
6583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6586 # OS/2's system install, which has a completely different semantic
6587 # ./install, which can be erroneously created by make from ./install.sh.
6588 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6589 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6590 if test -z "$INSTALL"; then
6591 if test "${ac_cv_path_install+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6597 IFS=$as_save_IFS
6598 test -z "$as_dir" && as_dir=.
6599 # Account for people who put trailing slashes in PATH elements.
6600 case $as_dir/ in
6601 ./ | .// | /cC/* | \
6602 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6603 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6604 /usr/ucb/* ) ;;
6606 # OSF1 and SCO ODT 3.0 have their own names for install.
6607 # Don't use installbsd from OSF since it installs stuff as root
6608 # by default.
6609 for ac_prog in ginstall scoinst install; do
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6612 if test $ac_prog = install &&
6613 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6614 # AIX install. It has an incompatible calling convention.
6616 elif test $ac_prog = install &&
6617 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6618 # program-specific install script used by HP pwplus--don't use.
6620 else
6621 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6622 break 3
6625 done
6626 done
6628 esac
6629 done
6630 IFS=$as_save_IFS
6634 if test "${ac_cv_path_install+set}" = set; then
6635 INSTALL=$ac_cv_path_install
6636 else
6637 # As a last resort, use the slow shell script. Don't cache a
6638 # value for INSTALL within a source directory, because that will
6639 # break other packages using the cache if that directory is
6640 # removed, or if the value is a relative name.
6641 INSTALL=$ac_install_sh
6644 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6645 echo "${ECHO_T}$INSTALL" >&6; }
6647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6648 # It thinks the first close brace ends the variable substitution.
6649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6653 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6655 case "$INSTALL" in
6656 [\\/$]* | ?:[\\/]* ) ;;
6657 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6658 esac
6660 for ac_prog in lclint lint
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6666 if test "${ac_cv_prog_LINT+set}" = set; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 else
6669 if test -n "$LINT"; then
6670 ac_cv_prog_LINT="$LINT" # Let the user override the test.
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 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_prog_LINT="$ac_prog"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 LINT=$ac_cv_prog_LINT
6690 if test -n "$LINT"; then
6691 { echo "$as_me:$LINENO: result: $LINT" >&5
6692 echo "${ECHO_T}$LINT" >&6; }
6693 else
6694 { echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6; }
6699 test -n "$LINT" && break
6700 done
6702 if test "$LINT" = "lint"
6703 then
6704 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6709 for ac_prog in fontforge
6711 # Extract the first word of "$ac_prog", so it can be a program name with args.
6712 set dummy $ac_prog; ac_word=$2
6713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6715 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 else
6718 if test -n "$FONTFORGE"; then
6719 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6724 IFS=$as_save_IFS
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_FONTFORGE="$ac_prog"
6729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 break 2
6732 done
6733 done
6734 IFS=$as_save_IFS
6738 FONTFORGE=$ac_cv_prog_FONTFORGE
6739 if test -n "$FONTFORGE"; then
6740 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6741 echo "${ECHO_T}$FONTFORGE" >&6; }
6742 else
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6748 test -n "$FONTFORGE" && break
6749 done
6750 test -n "$FONTFORGE" || FONTFORGE="false"
6752 for ac_prog in pkg-config
6754 # Extract the first word of "$ac_prog", so it can be a program name with args.
6755 set dummy $ac_prog; ac_word=$2
6756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6758 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 else
6761 if test -n "$PKG_CONFIG"; then
6762 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6763 else
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 for as_dir in $PATH
6767 IFS=$as_save_IFS
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_PKG_CONFIG="$ac_prog"
6772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6782 if test -n "$PKG_CONFIG"; then
6783 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6784 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6785 else
6786 { echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6; }
6791 test -n "$PKG_CONFIG" && break
6792 done
6793 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6796 case $host_cpu in
6797 *i[3456789]86*)
6798 # Extract the first word of "prelink", so it can be a program name with args.
6799 set dummy prelink; ac_word=$2
6800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6802 if test "${ac_cv_path_PRELINK+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 else
6805 case $PRELINK in
6806 [\\/]* | ?:[\\/]*)
6807 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 for as_dir in /sbin /usr/sbin $PATH
6813 IFS=$as_save_IFS
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 break 2
6821 done
6822 done
6823 IFS=$as_save_IFS
6825 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6827 esac
6829 PRELINK=$ac_cv_path_PRELINK
6830 if test -n "$PRELINK"; then
6831 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6832 echo "${ECHO_T}$PRELINK" >&6; }
6833 else
6834 { echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6; }
6840 esac
6844 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6845 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6846 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6848 else
6849 ac_check_lib_save_LIBS=$LIBS
6850 LIBS="-li386 $LIBS"
6851 cat >conftest.$ac_ext <<_ACEOF
6852 /* confdefs.h. */
6853 _ACEOF
6854 cat confdefs.h >>conftest.$ac_ext
6855 cat >>conftest.$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6858 /* Override any GCC internal prototype to avoid an error.
6859 Use char because int might match the return type of a GCC
6860 builtin and then its argument prototype would still apply. */
6861 #ifdef __cplusplus
6862 extern "C"
6863 #endif
6864 char i386_set_ldt ();
6866 main ()
6868 return i386_set_ldt ();
6870 return 0;
6872 _ACEOF
6873 rm -f conftest.$ac_objext conftest$ac_exeext
6874 if { (ac_try="$ac_link"
6875 case "(($ac_try" in
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6878 esac
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_link") 2>conftest.er1
6881 ac_status=$?
6882 grep -v '^ *+' conftest.er1 >conftest.err
6883 rm -f conftest.er1
6884 cat conftest.err >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6888 { (case "(($ac_try" in
6889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6891 esac
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_try") 2>&5
6894 ac_status=$?
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; } &&
6897 { ac_try='test -s conftest$ac_exeext'
6898 { (case "(($ac_try" in
6899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6900 *) ac_try_echo=$ac_try;;
6901 esac
6902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6903 (eval "$ac_try") 2>&5
6904 ac_status=$?
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 ac_cv_lib_i386_i386_set_ldt=yes
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 ac_cv_lib_i386_i386_set_ldt=no
6915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6916 conftest$ac_exeext conftest.$ac_ext
6917 LIBS=$ac_check_lib_save_LIBS
6919 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6920 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6921 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6922 cat >>confdefs.h <<_ACEOF
6923 #define HAVE_LIBI386 1
6924 _ACEOF
6926 LIBS="-li386 $LIBS"
6931 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6932 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6933 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 else
6936 ac_check_lib_save_LIBS=$LIBS
6937 LIBS="-lossaudio $LIBS"
6938 cat >conftest.$ac_ext <<_ACEOF
6939 /* confdefs.h. */
6940 _ACEOF
6941 cat confdefs.h >>conftest.$ac_ext
6942 cat >>conftest.$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6945 /* Override any GCC internal prototype to avoid an error.
6946 Use char because int might match the return type of a GCC
6947 builtin and then its argument prototype would still apply. */
6948 #ifdef __cplusplus
6949 extern "C"
6950 #endif
6951 char _oss_ioctl ();
6953 main ()
6955 return _oss_ioctl ();
6957 return 0;
6959 _ACEOF
6960 rm -f conftest.$ac_objext conftest$ac_exeext
6961 if { (ac_try="$ac_link"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_link") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6975 { (case "(($ac_try" in
6976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6977 *) ac_try_echo=$ac_try;;
6978 esac
6979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6980 (eval "$ac_try") 2>&5
6981 ac_status=$?
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; } &&
6984 { ac_try='test -s conftest$ac_exeext'
6985 { (case "(($ac_try" in
6986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6988 esac
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_try") 2>&5
6991 ac_status=$?
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; }; then
6994 ac_cv_lib_ossaudio__oss_ioctl=yes
6995 else
6996 echo "$as_me: failed program was:" >&5
6997 sed 's/^/| /' conftest.$ac_ext >&5
6999 ac_cv_lib_ossaudio__oss_ioctl=no
7002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7003 conftest$ac_exeext conftest.$ac_ext
7004 LIBS=$ac_check_lib_save_LIBS
7006 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7007 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7008 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7009 cat >>confdefs.h <<_ACEOF
7010 #define HAVE_LIBOSSAUDIO 1
7011 _ACEOF
7013 LIBS="-lossaudio $LIBS"
7018 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7019 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7020 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 else
7023 ac_check_lib_save_LIBS=$LIBS
7024 LIBS="-lxpg4 $LIBS"
7025 cat >conftest.$ac_ext <<_ACEOF
7026 /* confdefs.h. */
7027 _ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7032 /* Override any GCC internal prototype to avoid an error.
7033 Use char because int might match the return type of a GCC
7034 builtin and then its argument prototype would still apply. */
7035 #ifdef __cplusplus
7036 extern "C"
7037 #endif
7038 char _xpg4_setrunelocale ();
7040 main ()
7042 return _xpg4_setrunelocale ();
7044 return 0;
7046 _ACEOF
7047 rm -f conftest.$ac_objext conftest$ac_exeext
7048 if { (ac_try="$ac_link"
7049 case "(($ac_try" in
7050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7051 *) ac_try_echo=$ac_try;;
7052 esac
7053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7054 (eval "$ac_link") 2>conftest.er1
7055 ac_status=$?
7056 grep -v '^ *+' conftest.er1 >conftest.err
7057 rm -f conftest.er1
7058 cat conftest.err >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } &&
7061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7062 { (case "(($ac_try" in
7063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7064 *) ac_try_echo=$ac_try;;
7065 esac
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_try") 2>&5
7068 ac_status=$?
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; } &&
7071 { ac_try='test -s conftest$ac_exeext'
7072 { (case "(($ac_try" in
7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074 *) ac_try_echo=$ac_try;;
7075 esac
7076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7077 (eval "$ac_try") 2>&5
7078 ac_status=$?
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; }; then
7081 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7082 else
7083 echo "$as_me: failed program was:" >&5
7084 sed 's/^/| /' conftest.$ac_ext >&5
7086 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7090 conftest$ac_exeext conftest.$ac_ext
7091 LIBS=$ac_check_lib_save_LIBS
7093 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7094 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7095 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7096 cat >>confdefs.h <<_ACEOF
7097 #define HAVE_LIBXPG4 1
7098 _ACEOF
7100 LIBS="-lxpg4 $LIBS"
7104 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7105 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7106 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 else
7109 ac_check_lib_save_LIBS=$LIBS
7110 LIBS="-lpthread $LIBS"
7111 cat >conftest.$ac_ext <<_ACEOF
7112 /* confdefs.h. */
7113 _ACEOF
7114 cat confdefs.h >>conftest.$ac_ext
7115 cat >>conftest.$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7118 /* Override any GCC internal prototype to avoid an error.
7119 Use char because int might match the return type of a GCC
7120 builtin and then its argument prototype would still apply. */
7121 #ifdef __cplusplus
7122 extern "C"
7123 #endif
7124 char pthread_create ();
7126 main ()
7128 return pthread_create ();
7130 return 0;
7132 _ACEOF
7133 rm -f conftest.$ac_objext conftest$ac_exeext
7134 if { (ac_try="$ac_link"
7135 case "(($ac_try" in
7136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7138 esac
7139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7140 (eval "$ac_link") 2>conftest.er1
7141 ac_status=$?
7142 grep -v '^ *+' conftest.er1 >conftest.err
7143 rm -f conftest.er1
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7148 { (case "(($ac_try" in
7149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7150 *) ac_try_echo=$ac_try;;
7151 esac
7152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7153 (eval "$ac_try") 2>&5
7154 ac_status=$?
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try='test -s conftest$ac_exeext'
7158 { (case "(($ac_try" in
7159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7160 *) ac_try_echo=$ac_try;;
7161 esac
7162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7163 (eval "$ac_try") 2>&5
7164 ac_status=$?
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; }; then
7167 ac_cv_lib_pthread_pthread_create=yes
7168 else
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.$ac_ext >&5
7172 ac_cv_lib_pthread_pthread_create=no
7175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7176 conftest$ac_exeext conftest.$ac_ext
7177 LIBS=$ac_check_lib_save_LIBS
7179 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7180 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7181 if test $ac_cv_lib_pthread_pthread_create = yes; then
7182 LIBPTHREAD="-lpthread"
7187 XLIB=""
7189 XFILES=""
7191 OPENGLFILES=""
7193 GLU32FILES=""
7195 OPENGL_LIBS=""
7197 QUARTZFILES=""
7201 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7202 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7203 if test "${ac_cv_header_stdc+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6
7205 else
7206 cat >conftest.$ac_ext <<_ACEOF
7207 /* confdefs.h. */
7208 _ACEOF
7209 cat confdefs.h >>conftest.$ac_ext
7210 cat >>conftest.$ac_ext <<_ACEOF
7211 /* end confdefs.h. */
7212 #include <stdlib.h>
7213 #include <stdarg.h>
7214 #include <string.h>
7215 #include <float.h>
7218 main ()
7222 return 0;
7224 _ACEOF
7225 rm -f conftest.$ac_objext
7226 if { (ac_try="$ac_compile"
7227 case "(($ac_try" in
7228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7229 *) ac_try_echo=$ac_try;;
7230 esac
7231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7232 (eval "$ac_compile") 2>conftest.er1
7233 ac_status=$?
7234 grep -v '^ *+' conftest.er1 >conftest.err
7235 rm -f conftest.er1
7236 cat conftest.err >&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } &&
7239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7240 { (case "(($ac_try" in
7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7243 esac
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_try") 2>&5
7246 ac_status=$?
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; } &&
7249 { ac_try='test -s conftest.$ac_objext'
7250 { (case "(($ac_try" in
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7253 esac
7254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_try") 2>&5
7256 ac_status=$?
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7259 ac_cv_header_stdc=yes
7260 else
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 ac_cv_header_stdc=no
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 if test $ac_cv_header_stdc = yes; then
7270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7271 cat >conftest.$ac_ext <<_ACEOF
7272 /* confdefs.h. */
7273 _ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7277 #include <string.h>
7279 _ACEOF
7280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7281 $EGREP "memchr" >/dev/null 2>&1; then
7283 else
7284 ac_cv_header_stdc=no
7286 rm -f conftest*
7290 if test $ac_cv_header_stdc = yes; then
7291 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7292 cat >conftest.$ac_ext <<_ACEOF
7293 /* confdefs.h. */
7294 _ACEOF
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 #include <stdlib.h>
7300 _ACEOF
7301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7302 $EGREP "free" >/dev/null 2>&1; then
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f conftest*
7311 if test $ac_cv_header_stdc = yes; then
7312 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7313 if test "$cross_compiling" = yes; then
7315 else
7316 cat >conftest.$ac_ext <<_ACEOF
7317 /* confdefs.h. */
7318 _ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 #include <ctype.h>
7323 #include <stdlib.h>
7324 #if ((' ' & 0x0FF) == 0x020)
7325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7327 #else
7328 # define ISLOWER(c) \
7329 (('a' <= (c) && (c) <= 'i') \
7330 || ('j' <= (c) && (c) <= 'r') \
7331 || ('s' <= (c) && (c) <= 'z'))
7332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7333 #endif
7335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7337 main ()
7339 int i;
7340 for (i = 0; i < 256; i++)
7341 if (XOR (islower (i), ISLOWER (i))
7342 || toupper (i) != TOUPPER (i))
7343 return 2;
7344 return 0;
7346 _ACEOF
7347 rm -f 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>&5
7355 ac_status=$?
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7358 { (case "(($ac_try" in
7359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7360 *) ac_try_echo=$ac_try;;
7361 esac
7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7363 (eval "$ac_try") 2>&5
7364 ac_status=$?
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; }; then
7368 else
7369 echo "$as_me: program exited with status $ac_status" >&5
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ( exit $ac_status )
7374 ac_cv_header_stdc=no
7376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7382 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7383 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7384 if test $ac_cv_header_stdc = yes; then
7386 cat >>confdefs.h <<\_ACEOF
7387 #define STDC_HEADERS 1
7388 _ACEOF
7392 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7402 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7403 inttypes.h stdint.h unistd.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 else
7411 cat >conftest.$ac_ext <<_ACEOF
7412 /* confdefs.h. */
7413 _ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 $ac_includes_default
7419 #include <$ac_header>
7420 _ACEOF
7421 rm -f conftest.$ac_objext
7422 if { (ac_try="$ac_compile"
7423 case "(($ac_try" in
7424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7426 esac
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_compile") 2>conftest.er1
7429 ac_status=$?
7430 grep -v '^ *+' conftest.er1 >conftest.err
7431 rm -f conftest.er1
7432 cat conftest.err >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } &&
7435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7436 { (case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7439 esac
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_try") 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7455 eval "$as_ac_Header=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_Header=no"
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 ac_res=`eval echo '${'$as_ac_Header'}'`
7466 { echo "$as_me:$LINENO: result: $ac_res" >&5
7467 echo "${ECHO_T}$ac_res" >&6; }
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 _ACEOF
7475 done
7586 for ac_header in \
7587 AudioUnit/AudioUnit.h \
7588 Carbon/Carbon.h \
7589 CoreAudio/CoreAudio.h \
7590 DiskArbitration/DiskArbitration.h \
7591 IOKit/IOKitLib.h \
7592 alsa/asoundlib.h \
7593 arpa/inet.h \
7594 arpa/nameser.h \
7595 asm/types.h \
7596 capi20.h \
7597 cups/cups.h \
7598 curses.h \
7599 direct.h \
7600 dlfcn.h \
7601 elf.h \
7602 float.h \
7603 fontconfig/fontconfig.h \
7604 getopt.h \
7605 ieeefp.h \
7606 io.h \
7607 jack/jack.h \
7608 jpeglib.h \
7609 lber.h \
7610 lcms.h \
7611 lcms/lcms.h \
7612 ldap.h \
7613 libaudioio.h \
7614 link.h \
7615 linux/cdrom.h \
7616 linux/compiler.h \
7617 linux/hdreg.h \
7618 linux/input.h \
7619 linux/ioctl.h \
7620 linux/joystick.h \
7621 linux/major.h \
7622 linux/param.h \
7623 linux/serial.h \
7624 linux/ucdrom.h \
7625 mach/machine.h \
7626 machine/cpu.h \
7627 machine/limits.h \
7628 machine/soundcard.h \
7629 mntent.h \
7630 ncurses.h \
7631 netdb.h \
7632 netinet/in.h \
7633 netinet/in_systm.h \
7634 netinet/tcp.h \
7635 netinet/tcp_fsm.h \
7636 openssl/err.h \
7637 openssl/ssl.h \
7638 poll.h \
7639 process.h \
7640 pthread.h \
7641 pwd.h \
7642 regex.h \
7643 sched.h \
7644 scsi/scsi.h \
7645 scsi/scsi_ioctl.h \
7646 scsi/sg.h \
7647 soundcard.h \
7648 stdint.h \
7649 strings.h \
7650 sys/asoundlib.h \
7651 sys/cdio.h \
7652 sys/elf32.h \
7653 sys/epoll.h \
7654 sys/errno.h \
7655 sys/event.h \
7656 sys/exec_elf.h \
7657 sys/filio.h \
7658 sys/ioctl.h \
7659 sys/ipc.h \
7660 sys/limits.h \
7661 sys/link.h \
7662 sys/lwp.h \
7663 sys/mman.h \
7664 sys/modem.h \
7665 sys/msg.h \
7666 sys/mtio.h \
7667 sys/param.h \
7668 sys/poll.h \
7669 sys/prctl.h \
7670 sys/ptrace.h \
7671 sys/reg.h \
7672 sys/resource.h \
7673 sys/scsiio.h \
7674 sys/shm.h \
7675 sys/signal.h \
7676 sys/socket.h \
7677 sys/sockio.h \
7678 sys/soundcard.h \
7679 sys/statvfs.h \
7680 sys/strtio.h \
7681 sys/syscall.h \
7682 sys/sysctl.h \
7683 sys/time.h \
7684 sys/times.h \
7685 sys/uio.h \
7686 sys/un.h \
7687 sys/vm86.h \
7688 sys/wait.h \
7689 syscall.h \
7690 termios.h \
7691 unicode/ubidi.h \
7692 unistd.h \
7693 utime.h \
7694 valgrind/memcheck.h
7697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 ac_res=`eval echo '${'$as_ac_Header'}'`
7705 { echo "$as_me:$LINENO: result: $ac_res" >&5
7706 echo "${ECHO_T}$ac_res" >&6; }
7707 else
7708 # Is the header compilable?
7709 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7711 cat >conftest.$ac_ext <<_ACEOF
7712 /* confdefs.h. */
7713 _ACEOF
7714 cat confdefs.h >>conftest.$ac_ext
7715 cat >>conftest.$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7717 $ac_includes_default
7718 #include <$ac_header>
7719 _ACEOF
7720 rm -f conftest.$ac_objext
7721 if { (ac_try="$ac_compile"
7722 case "(($ac_try" in
7723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7724 *) ac_try_echo=$ac_try;;
7725 esac
7726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7727 (eval "$ac_compile") 2>conftest.er1
7728 ac_status=$?
7729 grep -v '^ *+' conftest.er1 >conftest.err
7730 rm -f conftest.er1
7731 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (case "(($ac_try" in
7736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7737 *) ac_try_echo=$ac_try;;
7738 esac
7739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7740 (eval "$ac_try") 2>&5
7741 ac_status=$?
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); }; } &&
7744 { ac_try='test -s conftest.$ac_objext'
7745 { (case "(($ac_try" in
7746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7747 *) ac_try_echo=$ac_try;;
7748 esac
7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7750 (eval "$ac_try") 2>&5
7751 ac_status=$?
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_header_compiler=yes
7755 else
7756 echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7759 ac_header_compiler=no
7762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7763 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7764 echo "${ECHO_T}$ac_header_compiler" >&6; }
7766 # Is the header present?
7767 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7769 cat >conftest.$ac_ext <<_ACEOF
7770 /* confdefs.h. */
7771 _ACEOF
7772 cat confdefs.h >>conftest.$ac_ext
7773 cat >>conftest.$ac_ext <<_ACEOF
7774 /* end confdefs.h. */
7775 #include <$ac_header>
7776 _ACEOF
7777 if { (ac_try="$ac_cpp conftest.$ac_ext"
7778 case "(($ac_try" in
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;;
7781 esac
7782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7784 ac_status=$?
7785 grep -v '^ *+' conftest.er1 >conftest.err
7786 rm -f conftest.er1
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } >/dev/null; then
7790 if test -s conftest.err; then
7791 ac_cpp_err=$ac_c_preproc_warn_flag
7792 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7793 else
7794 ac_cpp_err=
7796 else
7797 ac_cpp_err=yes
7799 if test -z "$ac_cpp_err"; then
7800 ac_header_preproc=yes
7801 else
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7805 ac_header_preproc=no
7808 rm -f conftest.err conftest.$ac_ext
7809 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7810 echo "${ECHO_T}$ac_header_preproc" >&6; }
7812 # So? What about this header?
7813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7814 yes:no: )
7815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7819 ac_header_preproc=yes
7821 no:yes:* )
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7834 ( cat <<\_ASBOX
7835 ## ------------------------------------ ##
7836 ## Report this to wine-devel@winehq.org ##
7837 ## ------------------------------------ ##
7838 _ASBOX
7839 ) | sed "s/^/$as_me: WARNING: /" >&2
7841 esac
7842 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 else
7847 eval "$as_ac_Header=\$ac_header_preproc"
7849 ac_res=`eval echo '${'$as_ac_Header'}'`
7850 { echo "$as_me:$LINENO: result: $ac_res" >&5
7851 echo "${ECHO_T}$ac_res" >&6; }
7854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7857 _ACEOF
7861 done
7863 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7864 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7865 if test "${ac_cv_header_stat_broken+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 else
7868 cat >conftest.$ac_ext <<_ACEOF
7869 /* confdefs.h. */
7870 _ACEOF
7871 cat confdefs.h >>conftest.$ac_ext
7872 cat >>conftest.$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7874 #include <sys/types.h>
7875 #include <sys/stat.h>
7877 #if defined S_ISBLK && defined S_IFDIR
7878 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7879 #endif
7881 #if defined S_ISBLK && defined S_IFCHR
7882 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7883 #endif
7885 #if defined S_ISLNK && defined S_IFREG
7886 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7887 #endif
7889 #if defined S_ISSOCK && defined S_IFREG
7890 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7891 #endif
7893 _ACEOF
7894 rm -f conftest.$ac_objext
7895 if { (ac_try="$ac_compile"
7896 case "(($ac_try" in
7897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7898 *) ac_try_echo=$ac_try;;
7899 esac
7900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7901 (eval "$ac_compile") 2>conftest.er1
7902 ac_status=$?
7903 grep -v '^ *+' conftest.er1 >conftest.err
7904 rm -f conftest.er1
7905 cat conftest.err >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } &&
7908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7909 { (case "(($ac_try" in
7910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7911 *) ac_try_echo=$ac_try;;
7912 esac
7913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7914 (eval "$ac_try") 2>&5
7915 ac_status=$?
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); }; } &&
7918 { ac_try='test -s conftest.$ac_objext'
7919 { (case "(($ac_try" in
7920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7921 *) ac_try_echo=$ac_try;;
7922 esac
7923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7924 (eval "$ac_try") 2>&5
7925 ac_status=$?
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 ac_cv_header_stat_broken=no
7929 else
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.$ac_ext >&5
7933 ac_cv_header_stat_broken=yes
7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7938 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7939 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7940 if test $ac_cv_header_stat_broken = yes; then
7942 cat >>confdefs.h <<\_ACEOF
7943 #define STAT_MACROS_BROKEN 1
7944 _ACEOF
7954 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7961 else
7962 cat >conftest.$ac_ext <<_ACEOF
7963 /* confdefs.h. */
7964 _ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7968 #include <sys/types.h>
7969 #if HAVE_SYS_PARAM_H
7970 # include <sys/param.h>
7971 #endif
7973 #include <$ac_header>
7974 _ACEOF
7975 rm -f conftest.$ac_objext
7976 if { (ac_try="$ac_compile"
7977 case "(($ac_try" in
7978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7979 *) ac_try_echo=$ac_try;;
7980 esac
7981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7982 (eval "$ac_compile") 2>conftest.er1
7983 ac_status=$?
7984 grep -v '^ *+' conftest.er1 >conftest.err
7985 rm -f conftest.er1
7986 cat conftest.err >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); } &&
7989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7990 { (case "(($ac_try" in
7991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7992 *) ac_try_echo=$ac_try;;
7993 esac
7994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7995 (eval "$ac_try") 2>&5
7996 ac_status=$?
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; } &&
7999 { ac_try='test -s conftest.$ac_objext'
8000 { (case "(($ac_try" in
8001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8002 *) ac_try_echo=$ac_try;;
8003 esac
8004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8005 (eval "$ac_try") 2>&5
8006 ac_status=$?
8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 (exit $ac_status); }; }; then
8009 eval "$as_ac_Header=yes"
8010 else
8011 echo "$as_me: failed program was:" >&5
8012 sed 's/^/| /' conftest.$ac_ext >&5
8014 eval "$as_ac_Header=no"
8017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8019 ac_res=`eval echo '${'$as_ac_Header'}'`
8020 { echo "$as_me:$LINENO: result: $ac_res" >&5
8021 echo "${ECHO_T}$ac_res" >&6; }
8022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8023 cat >>confdefs.h <<_ACEOF
8024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8025 _ACEOF
8029 done
8038 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
8040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8044 echo $ECHO_N "(cached) $ECHO_C" >&6
8045 else
8046 cat >conftest.$ac_ext <<_ACEOF
8047 /* confdefs.h. */
8048 _ACEOF
8049 cat confdefs.h >>conftest.$ac_ext
8050 cat >>conftest.$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8052 #include <sys/types.h>
8053 #if HAVE_SYS_SOCKET_H
8054 # include <sys/socket.h>
8055 #endif
8057 #include <$ac_header>
8058 _ACEOF
8059 rm -f conftest.$ac_objext
8060 if { (ac_try="$ac_compile"
8061 case "(($ac_try" in
8062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8064 esac
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_compile") 2>conftest.er1
8067 ac_status=$?
8068 grep -v '^ *+' conftest.er1 >conftest.err
8069 rm -f conftest.er1
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } &&
8073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8074 { (case "(($ac_try" in
8075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8076 *) ac_try_echo=$ac_try;;
8077 esac
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8079 (eval "$ac_try") 2>&5
8080 ac_status=$?
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; } &&
8083 { ac_try='test -s conftest.$ac_objext'
8084 { (case "(($ac_try" in
8085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8086 *) ac_try_echo=$ac_try;;
8087 esac
8088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8089 (eval "$ac_try") 2>&5
8090 ac_status=$?
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); }; }; then
8093 eval "$as_ac_Header=yes"
8094 else
8095 echo "$as_me: failed program was:" >&5
8096 sed 's/^/| /' conftest.$ac_ext >&5
8098 eval "$as_ac_Header=no"
8101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8103 ac_res=`eval echo '${'$as_ac_Header'}'`
8104 { echo "$as_me:$LINENO: result: $ac_res" >&5
8105 echo "${ECHO_T}$ac_res" >&6; }
8106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8107 cat >>confdefs.h <<_ACEOF
8108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8109 _ACEOF
8113 done
8117 for ac_header in linux/ipx.h
8119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8120 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8123 echo $ECHO_N "(cached) $ECHO_C" >&6
8124 else
8125 cat >conftest.$ac_ext <<_ACEOF
8126 /* confdefs.h. */
8127 _ACEOF
8128 cat confdefs.h >>conftest.$ac_ext
8129 cat >>conftest.$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8131 #include <sys/types.h>
8132 #ifdef HAVE_ASM_TYPES_H
8133 # include <asm/types.h>
8134 #endif
8135 #if HAVE_SYS_SOCKET_H
8136 # include <sys/socket.h>
8137 #endif
8139 #include <$ac_header>
8140 _ACEOF
8141 rm -f conftest.$ac_objext
8142 if { (ac_try="$ac_compile"
8143 case "(($ac_try" in
8144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8145 *) ac_try_echo=$ac_try;;
8146 esac
8147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8148 (eval "$ac_compile") 2>conftest.er1
8149 ac_status=$?
8150 grep -v '^ *+' conftest.er1 >conftest.err
8151 rm -f conftest.er1
8152 cat conftest.err >&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); } &&
8155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8156 { (case "(($ac_try" in
8157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8158 *) ac_try_echo=$ac_try;;
8159 esac
8160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8161 (eval "$ac_try") 2>&5
8162 ac_status=$?
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; } &&
8165 { ac_try='test -s conftest.$ac_objext'
8166 { (case "(($ac_try" in
8167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8168 *) ac_try_echo=$ac_try;;
8169 esac
8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8171 (eval "$ac_try") 2>&5
8172 ac_status=$?
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; }; then
8175 eval "$as_ac_Header=yes"
8176 else
8177 echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8180 eval "$as_ac_Header=no"
8183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8185 ac_res=`eval echo '${'$as_ac_Header'}'`
8186 { echo "$as_me:$LINENO: result: $ac_res" >&5
8187 echo "${ECHO_T}$ac_res" >&6; }
8188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8189 cat >>confdefs.h <<_ACEOF
8190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8191 _ACEOF
8195 done
8199 for ac_header in resolv.h
8201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8205 echo $ECHO_N "(cached) $ECHO_C" >&6
8206 else
8207 cat >conftest.$ac_ext <<_ACEOF
8208 /* confdefs.h. */
8209 _ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8213 #include <sys/types.h>
8214 #if HAVE_SYS_SOCKET_H
8215 # include <sys/socket.h>
8216 #endif
8217 #if HAVE_NETINET_IN_H
8218 # include <netinet/in.h>
8219 #endif
8220 #if HAVE_ARPA_NAMESER_H
8221 # include <arpa/nameser.h>
8222 #endif
8224 #include <$ac_header>
8225 _ACEOF
8226 rm -f conftest.$ac_objext
8227 if { (ac_try="$ac_compile"
8228 case "(($ac_try" in
8229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8230 *) ac_try_echo=$ac_try;;
8231 esac
8232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8233 (eval "$ac_compile") 2>conftest.er1
8234 ac_status=$?
8235 grep -v '^ *+' conftest.er1 >conftest.err
8236 rm -f conftest.er1
8237 cat conftest.err >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } &&
8240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8241 { (case "(($ac_try" in
8242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8243 *) ac_try_echo=$ac_try;;
8244 esac
8245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8246 (eval "$ac_try") 2>&5
8247 ac_status=$?
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try='test -s conftest.$ac_objext'
8251 { (case "(($ac_try" in
8252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8253 *) ac_try_echo=$ac_try;;
8254 esac
8255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8256 (eval "$ac_try") 2>&5
8257 ac_status=$?
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 eval "$as_ac_Header=yes"
8261 else
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 eval "$as_ac_Header=no"
8268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8270 ac_res=`eval echo '${'$as_ac_Header'}'`
8271 { echo "$as_me:$LINENO: result: $ac_res" >&5
8272 echo "${ECHO_T}$ac_res" >&6; }
8273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8274 cat >>confdefs.h <<_ACEOF
8275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8276 _ACEOF
8280 done
8284 for ac_header in ucontext.h
8286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8291 else
8292 cat >conftest.$ac_ext <<_ACEOF
8293 /* confdefs.h. */
8294 _ACEOF
8295 cat confdefs.h >>conftest.$ac_ext
8296 cat >>conftest.$ac_ext <<_ACEOF
8297 /* end confdefs.h. */
8298 #include <signal.h>
8300 #include <$ac_header>
8301 _ACEOF
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8304 case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8307 esac
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_compile") 2>conftest.er1
8310 ac_status=$?
8311 grep -v '^ *+' conftest.er1 >conftest.err
8312 rm -f conftest.er1
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } &&
8316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8317 { (case "(($ac_try" in
8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8320 esac
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_try") 2>&5
8323 ac_status=$?
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; } &&
8326 { ac_try='test -s conftest.$ac_objext'
8327 { (case "(($ac_try" in
8328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8329 *) ac_try_echo=$ac_try;;
8330 esac
8331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8332 (eval "$ac_try") 2>&5
8333 ac_status=$?
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); }; }; then
8336 eval "$as_ac_Header=yes"
8337 else
8338 echo "$as_me: failed program was:" >&5
8339 sed 's/^/| /' conftest.$ac_ext >&5
8341 eval "$as_ac_Header=no"
8344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8346 ac_res=`eval echo '${'$as_ac_Header'}'`
8347 { echo "$as_me:$LINENO: result: $ac_res" >&5
8348 echo "${ECHO_T}$ac_res" >&6; }
8349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8350 cat >>confdefs.h <<_ACEOF
8351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8352 _ACEOF
8356 done
8360 for ac_header in pthread_np.h
8362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 else
8368 cat >conftest.$ac_ext <<_ACEOF
8369 /* confdefs.h. */
8370 _ACEOF
8371 cat confdefs.h >>conftest.$ac_ext
8372 cat >>conftest.$ac_ext <<_ACEOF
8373 /* end confdefs.h. */
8374 #ifdef HAVE_PTHREAD_H
8375 #include <pthread.h>
8376 #endif
8378 #include <$ac_header>
8379 _ACEOF
8380 rm -f conftest.$ac_objext
8381 if { (ac_try="$ac_compile"
8382 case "(($ac_try" in
8383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8384 *) ac_try_echo=$ac_try;;
8385 esac
8386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8387 (eval "$ac_compile") 2>conftest.er1
8388 ac_status=$?
8389 grep -v '^ *+' conftest.er1 >conftest.err
8390 rm -f conftest.er1
8391 cat conftest.err >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8395 { (case "(($ac_try" in
8396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8397 *) ac_try_echo=$ac_try;;
8398 esac
8399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8400 (eval "$ac_try") 2>&5
8401 ac_status=$?
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; } &&
8404 { ac_try='test -s conftest.$ac_objext'
8405 { (case "(($ac_try" in
8406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8407 *) ac_try_echo=$ac_try;;
8408 esac
8409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8410 (eval "$ac_try") 2>&5
8411 ac_status=$?
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; }; then
8414 eval "$as_ac_Header=yes"
8415 else
8416 echo "$as_me: failed program was:" >&5
8417 sed 's/^/| /' conftest.$ac_ext >&5
8419 eval "$as_ac_Header=no"
8422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8424 ac_res=`eval echo '${'$as_ac_Header'}'`
8425 { echo "$as_me:$LINENO: result: $ac_res" >&5
8426 echo "${ECHO_T}$ac_res" >&6; }
8427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8428 cat >>confdefs.h <<_ACEOF
8429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8430 _ACEOF
8434 done
8438 for ac_header in linux/videodev.h
8440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 else
8446 cat >conftest.$ac_ext <<_ACEOF
8447 /* confdefs.h. */
8448 _ACEOF
8449 cat confdefs.h >>conftest.$ac_ext
8450 cat >>conftest.$ac_ext <<_ACEOF
8451 /* end confdefs.h. */
8452 #ifdef HAVE_SYS_TIME_H
8453 #include <sys/time.h>
8454 #endif
8455 #include <sys/types.h>
8456 #ifdef HAVE_ASM_TYPES_H
8457 #include <asm/types.h>
8458 #endif
8460 #include <$ac_header>
8461 _ACEOF
8462 rm -f conftest.$ac_objext
8463 if { (ac_try="$ac_compile"
8464 case "(($ac_try" in
8465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8466 *) ac_try_echo=$ac_try;;
8467 esac
8468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8469 (eval "$ac_compile") 2>conftest.er1
8470 ac_status=$?
8471 grep -v '^ *+' conftest.er1 >conftest.err
8472 rm -f conftest.er1
8473 cat conftest.err >&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); } &&
8476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8477 { (case "(($ac_try" in
8478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8479 *) ac_try_echo=$ac_try;;
8480 esac
8481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8482 (eval "$ac_try") 2>&5
8483 ac_status=$?
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; } &&
8486 { ac_try='test -s conftest.$ac_objext'
8487 { (case "(($ac_try" in
8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8490 esac
8491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492 (eval "$ac_try") 2>&5
8493 ac_status=$?
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; }; then
8496 eval "$as_ac_Header=yes"
8497 else
8498 echo "$as_me: failed program was:" >&5
8499 sed 's/^/| /' conftest.$ac_ext >&5
8501 eval "$as_ac_Header=no"
8504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 ac_res=`eval echo '${'$as_ac_Header'}'`
8507 { echo "$as_me:$LINENO: result: $ac_res" >&5
8508 echo "${ECHO_T}$ac_res" >&6; }
8509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8510 cat >>confdefs.h <<_ACEOF
8511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8512 _ACEOF
8516 done
8520 for ac_header in linux/capi.h
8522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 else
8528 cat >conftest.$ac_ext <<_ACEOF
8529 /* confdefs.h. */
8530 _ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8534 #define __user
8536 #include <$ac_header>
8537 _ACEOF
8538 rm -f conftest.$ac_objext
8539 if { (ac_try="$ac_compile"
8540 case "(($ac_try" in
8541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8542 *) ac_try_echo=$ac_try;;
8543 esac
8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 (eval "$ac_compile") 2>conftest.er1
8546 ac_status=$?
8547 grep -v '^ *+' conftest.er1 >conftest.err
8548 rm -f conftest.er1
8549 cat conftest.err >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } &&
8552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8553 { (case "(($ac_try" in
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8556 esac
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_try") 2>&5
8559 ac_status=$?
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; } &&
8562 { ac_try='test -s conftest.$ac_objext'
8563 { (case "(($ac_try" in
8564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8565 *) ac_try_echo=$ac_try;;
8566 esac
8567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8568 (eval "$ac_try") 2>&5
8569 ac_status=$?
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 eval "$as_ac_Header=yes"
8573 else
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5
8577 eval "$as_ac_Header=no"
8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 ac_res=`eval echo '${'$as_ac_Header'}'`
8583 { echo "$as_me:$LINENO: result: $ac_res" >&5
8584 echo "${ECHO_T}$ac_res" >&6; }
8585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8586 cat >>confdefs.h <<_ACEOF
8587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8588 _ACEOF
8592 done
8596 if test "$have_x" = "yes"
8597 then
8598 XLIB="-lXext -lX11"
8599 ac_save_CPPFLAGS="$CPPFLAGS"
8600 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8612 for ac_header in X11/Xlib.h \
8613 X11/XKBlib.h \
8614 X11/Xutil.h \
8615 X11/extensions/shape.h \
8616 X11/extensions/XInput.h \
8617 X11/extensions/XShm.h \
8618 X11/extensions/Xinerama.h \
8619 X11/extensions/Xrandr.h \
8620 X11/extensions/Xrender.h \
8621 X11/extensions/xf86vmode.h
8623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8627 echo $ECHO_N "(cached) $ECHO_C" >&6
8628 else
8629 cat >conftest.$ac_ext <<_ACEOF
8630 /* confdefs.h. */
8631 _ACEOF
8632 cat confdefs.h >>conftest.$ac_ext
8633 cat >>conftest.$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8635 #ifdef HAVE_X11_XLIB_H
8636 # include <X11/Xlib.h>
8637 #endif
8638 #ifdef HAVE_X11_XUTIL_H
8639 # include <X11/Xutil.h>
8640 #endif
8642 #include <$ac_header>
8643 _ACEOF
8644 rm -f conftest.$ac_objext
8645 if { (ac_try="$ac_compile"
8646 case "(($ac_try" in
8647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8648 *) ac_try_echo=$ac_try;;
8649 esac
8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_compile") 2>conftest.er1
8652 ac_status=$?
8653 grep -v '^ *+' conftest.er1 >conftest.err
8654 rm -f conftest.er1
8655 cat conftest.err >&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } &&
8658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8659 { (case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_try") 2>&5
8665 ac_status=$?
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; } &&
8668 { ac_try='test -s conftest.$ac_objext'
8669 { (case "(($ac_try" in
8670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8671 *) ac_try_echo=$ac_try;;
8672 esac
8673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8674 (eval "$ac_try") 2>&5
8675 ac_status=$?
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); }; }; then
8678 eval "$as_ac_Header=yes"
8679 else
8680 echo "$as_me: failed program was:" >&5
8681 sed 's/^/| /' conftest.$ac_ext >&5
8683 eval "$as_ac_Header=no"
8686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8688 ac_res=`eval echo '${'$as_ac_Header'}'`
8689 { echo "$as_me:$LINENO: result: $ac_res" >&5
8690 echo "${ECHO_T}$ac_res" >&6; }
8691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8692 cat >>confdefs.h <<_ACEOF
8693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8694 _ACEOF
8698 done
8701 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8702 then
8703 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8704 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8705 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 else
8708 ac_check_lib_save_LIBS=$LIBS
8709 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8710 cat >conftest.$ac_ext <<_ACEOF
8711 /* confdefs.h. */
8712 _ACEOF
8713 cat confdefs.h >>conftest.$ac_ext
8714 cat >>conftest.$ac_ext <<_ACEOF
8715 /* end confdefs.h. */
8717 /* Override any GCC internal prototype to avoid an error.
8718 Use char because int might match the return type of a GCC
8719 builtin and then its argument prototype would still apply. */
8720 #ifdef __cplusplus
8721 extern "C"
8722 #endif
8723 char XkbQueryExtension ();
8725 main ()
8727 return XkbQueryExtension ();
8729 return 0;
8731 _ACEOF
8732 rm -f conftest.$ac_objext conftest$ac_exeext
8733 if { (ac_try="$ac_link"
8734 case "(($ac_try" in
8735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8736 *) ac_try_echo=$ac_try;;
8737 esac
8738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8739 (eval "$ac_link") 2>conftest.er1
8740 ac_status=$?
8741 grep -v '^ *+' conftest.er1 >conftest.err
8742 rm -f conftest.er1
8743 cat conftest.err >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } &&
8746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8747 { (case "(($ac_try" in
8748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8749 *) ac_try_echo=$ac_try;;
8750 esac
8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8752 (eval "$ac_try") 2>&5
8753 ac_status=$?
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); }; } &&
8756 { ac_try='test -s conftest$ac_exeext'
8757 { (case "(($ac_try" in
8758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8759 *) ac_try_echo=$ac_try;;
8760 esac
8761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8762 (eval "$ac_try") 2>&5
8763 ac_status=$?
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); }; }; then
8766 ac_cv_lib_X11_XkbQueryExtension=yes
8767 else
8768 echo "$as_me: failed program was:" >&5
8769 sed 's/^/| /' conftest.$ac_ext >&5
8771 ac_cv_lib_X11_XkbQueryExtension=no
8774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8775 conftest$ac_exeext conftest.$ac_ext
8776 LIBS=$ac_check_lib_save_LIBS
8778 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8779 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8780 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8782 cat >>confdefs.h <<\_ACEOF
8783 #define HAVE_XKB 1
8784 _ACEOF
8790 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8791 then
8792 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8793 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8794 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8795 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 else
8797 ac_check_lib_save_LIBS=$LIBS
8798 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8799 cat >conftest.$ac_ext <<_ACEOF
8800 /* confdefs.h. */
8801 _ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8806 /* Override any GCC internal prototype to avoid an error.
8807 Use char because int might match the return type of a GCC
8808 builtin and then its argument prototype would still apply. */
8809 #ifdef __cplusplus
8810 extern "C"
8811 #endif
8812 char XShmQueryExtension ();
8814 main ()
8816 return XShmQueryExtension ();
8818 return 0;
8820 _ACEOF
8821 rm -f conftest.$ac_objext conftest$ac_exeext
8822 if { (ac_try="$ac_link"
8823 case "(($ac_try" in
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8826 esac
8827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8828 (eval "$ac_link") 2>conftest.er1
8829 ac_status=$?
8830 grep -v '^ *+' conftest.er1 >conftest.err
8831 rm -f conftest.er1
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } &&
8835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8836 { (case "(($ac_try" in
8837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8839 esac
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_try") 2>&5
8842 ac_status=$?
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; } &&
8845 { ac_try='test -s conftest$ac_exeext'
8846 { (case "(($ac_try" in
8847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848 *) ac_try_echo=$ac_try;;
8849 esac
8850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8851 (eval "$ac_try") 2>&5
8852 ac_status=$?
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); }; }; then
8855 ac_cv_lib_Xext_XShmQueryExtension=yes
8856 else
8857 echo "$as_me: failed program was:" >&5
8858 sed 's/^/| /' conftest.$ac_ext >&5
8860 ac_cv_lib_Xext_XShmQueryExtension=no
8863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8864 conftest$ac_exeext conftest.$ac_ext
8865 LIBS=$ac_check_lib_save_LIBS
8867 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8868 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8869 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8871 cat >>confdefs.h <<\_ACEOF
8872 #define HAVE_LIBXXSHM 1
8873 _ACEOF
8879 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8880 then
8881 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8882 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8883 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 else
8886 ac_check_lib_save_LIBS=$LIBS
8887 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8888 cat >conftest.$ac_ext <<_ACEOF
8889 /* confdefs.h. */
8890 _ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h. */
8895 /* Override any GCC internal prototype to avoid an error.
8896 Use char because int might match the return type of a GCC
8897 builtin and then its argument prototype would still apply. */
8898 #ifdef __cplusplus
8899 extern "C"
8900 #endif
8901 char XShapeQueryExtension ();
8903 main ()
8905 return XShapeQueryExtension ();
8907 return 0;
8909 _ACEOF
8910 rm -f conftest.$ac_objext conftest$ac_exeext
8911 if { (ac_try="$ac_link"
8912 case "(($ac_try" in
8913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8914 *) ac_try_echo=$ac_try;;
8915 esac
8916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8917 (eval "$ac_link") 2>conftest.er1
8918 ac_status=$?
8919 grep -v '^ *+' conftest.er1 >conftest.err
8920 rm -f conftest.er1
8921 cat conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } &&
8924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8925 { (case "(($ac_try" in
8926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8927 *) ac_try_echo=$ac_try;;
8928 esac
8929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8930 (eval "$ac_try") 2>&5
8931 ac_status=$?
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; } &&
8934 { ac_try='test -s conftest$ac_exeext'
8935 { (case "(($ac_try" in
8936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8937 *) ac_try_echo=$ac_try;;
8938 esac
8939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8940 (eval "$ac_try") 2>&5
8941 ac_status=$?
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 (exit $ac_status); }; }; then
8944 ac_cv_lib_Xext_XShapeQueryExtension=yes
8945 else
8946 echo "$as_me: failed program was:" >&5
8947 sed 's/^/| /' conftest.$ac_ext >&5
8949 ac_cv_lib_Xext_XShapeQueryExtension=no
8952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8953 conftest$ac_exeext conftest.$ac_ext
8954 LIBS=$ac_check_lib_save_LIBS
8956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8957 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8958 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8960 cat >>confdefs.h <<\_ACEOF
8961 #define HAVE_LIBXSHAPE 1
8962 _ACEOF
8968 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8969 then
8970 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8971 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8972 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8975 ac_check_lib_save_LIBS=$LIBS
8976 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8977 cat >conftest.$ac_ext <<_ACEOF
8978 /* confdefs.h. */
8979 _ACEOF
8980 cat confdefs.h >>conftest.$ac_ext
8981 cat >>conftest.$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8987 #ifdef __cplusplus
8988 extern "C"
8989 #endif
8990 char XF86VidModeQueryExtension ();
8992 main ()
8994 return XF86VidModeQueryExtension ();
8996 return 0;
8998 _ACEOF
8999 rm -f conftest.$ac_objext conftest$ac_exeext
9000 if { (ac_try="$ac_link"
9001 case "(($ac_try" in
9002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9003 *) ac_try_echo=$ac_try;;
9004 esac
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_link") 2>conftest.er1
9007 ac_status=$?
9008 grep -v '^ *+' conftest.er1 >conftest.err
9009 rm -f conftest.er1
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9014 { (case "(($ac_try" in
9015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9017 esac
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_try") 2>&5
9020 ac_status=$?
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; } &&
9023 { ac_try='test -s conftest$ac_exeext'
9024 { (case "(($ac_try" in
9025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9026 *) ac_try_echo=$ac_try;;
9027 esac
9028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9029 (eval "$ac_try") 2>&5
9030 ac_status=$?
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; }; then
9033 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9034 else
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.$ac_ext >&5
9038 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9042 conftest$ac_exeext conftest.$ac_ext
9043 LIBS=$ac_check_lib_save_LIBS
9045 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9046 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9047 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9049 cat >>confdefs.h <<\_ACEOF
9050 #define HAVE_LIBXXF86VM 1
9051 _ACEOF
9053 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9059 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9060 then
9061 cat >conftest.$ac_ext <<_ACEOF
9062 /* confdefs.h. */
9063 _ACEOF
9064 cat confdefs.h >>conftest.$ac_ext
9065 cat >>conftest.$ac_ext <<_ACEOF
9066 /* end confdefs.h. */
9067 #include <X11/Xlib.h>
9068 #include <X11/extensions/Xrandr.h>
9070 main ()
9072 static typeof(XRRSetScreenConfigAndRate) * func;
9074 return 0;
9076 _ACEOF
9077 rm -f conftest.$ac_objext
9078 if { (ac_try="$ac_compile"
9079 case "(($ac_try" in
9080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9081 *) ac_try_echo=$ac_try;;
9082 esac
9083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9084 (eval "$ac_compile") 2>conftest.er1
9085 ac_status=$?
9086 grep -v '^ *+' conftest.er1 >conftest.err
9087 rm -f conftest.er1
9088 cat conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); } &&
9091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9092 { (case "(($ac_try" in
9093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9094 *) ac_try_echo=$ac_try;;
9095 esac
9096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_try") 2>&5
9098 ac_status=$?
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; } &&
9101 { ac_try='test -s conftest.$ac_objext'
9102 { (case "(($ac_try" in
9103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9104 *) ac_try_echo=$ac_try;;
9105 esac
9106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9107 (eval "$ac_try") 2>&5
9108 ac_status=$?
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9112 cat >>confdefs.h <<\_ACEOF
9113 #define HAVE_LIBXRANDR 1
9114 _ACEOF
9116 else
9117 echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.$ac_ext >&5
9123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9126 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9127 then
9128 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9129 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9130 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9131 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 else
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9135 cat >conftest.$ac_ext <<_ACEOF
9136 /* confdefs.h. */
9137 _ACEOF
9138 cat confdefs.h >>conftest.$ac_ext
9139 cat >>conftest.$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9145 #ifdef __cplusplus
9146 extern "C"
9147 #endif
9148 char XRenderSetPictureTransform ();
9150 main ()
9152 return XRenderSetPictureTransform ();
9154 return 0;
9156 _ACEOF
9157 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (ac_try="$ac_link"
9159 case "(($ac_try" in
9160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9162 esac
9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9164 (eval "$ac_link") 2>conftest.er1
9165 ac_status=$?
9166 grep -v '^ *+' conftest.er1 >conftest.err
9167 rm -f conftest.er1
9168 cat conftest.err >&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } &&
9171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9172 { (case "(($ac_try" in
9173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9174 *) ac_try_echo=$ac_try;;
9175 esac
9176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9177 (eval "$ac_try") 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; } &&
9181 { ac_try='test -s conftest$ac_exeext'
9182 { (case "(($ac_try" in
9183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9184 *) ac_try_echo=$ac_try;;
9185 esac
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9187 (eval "$ac_try") 2>&5
9188 ac_status=$?
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); }; }; then
9191 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9192 else
9193 echo "$as_me: failed program was:" >&5
9194 sed 's/^/| /' conftest.$ac_ext >&5
9196 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_lib_save_LIBS
9203 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9204 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9205 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9207 cat >>confdefs.h <<\_ACEOF
9208 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9209 _ACEOF
9215 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9216 then
9217 cat >conftest.$ac_ext <<_ACEOF
9218 /* confdefs.h. */
9219 _ACEOF
9220 cat confdefs.h >>conftest.$ac_ext
9221 cat >>conftest.$ac_ext <<_ACEOF
9222 /* end confdefs.h. */
9223 #include <X11/Xlib.h>
9224 #include <X11/extensions/Xinerama.h>
9226 main ()
9228 static typeof(XineramaQueryScreens) * func;
9230 return 0;
9232 _ACEOF
9233 rm -f conftest.$ac_objext
9234 if { (ac_try="$ac_compile"
9235 case "(($ac_try" in
9236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9237 *) ac_try_echo=$ac_try;;
9238 esac
9239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9240 (eval "$ac_compile") 2>conftest.er1
9241 ac_status=$?
9242 grep -v '^ *+' conftest.er1 >conftest.err
9243 rm -f conftest.er1
9244 cat conftest.err >&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } &&
9247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9248 { (case "(($ac_try" in
9249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9250 *) ac_try_echo=$ac_try;;
9251 esac
9252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9253 (eval "$ac_try") 2>&5
9254 ac_status=$?
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); }; } &&
9257 { ac_try='test -s conftest.$ac_objext'
9258 { (case "(($ac_try" in
9259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9260 *) ac_try_echo=$ac_try;;
9261 esac
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9263 (eval "$ac_try") 2>&5
9264 ac_status=$?
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; }; then
9268 cat >>confdefs.h <<\_ACEOF
9269 #define HAVE_LIBXINERAMA 1
9270 _ACEOF
9272 else
9273 echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.$ac_ext >&5
9279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9283 if test "x$with_opengl" != "xno"
9284 then
9289 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 else
9297 cat >conftest.$ac_ext <<_ACEOF
9298 /* confdefs.h. */
9299 _ACEOF
9300 cat confdefs.h >>conftest.$ac_ext
9301 cat >>conftest.$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9303 #ifdef HAVE_GL_GLX_H
9304 # include <GL/glx.h>
9305 #endif
9307 #include <$ac_header>
9308 _ACEOF
9309 rm -f conftest.$ac_objext
9310 if { (ac_try="$ac_compile"
9311 case "(($ac_try" in
9312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9314 esac
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_compile") 2>conftest.er1
9317 ac_status=$?
9318 grep -v '^ *+' conftest.er1 >conftest.err
9319 rm -f conftest.er1
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } &&
9323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
9333 { ac_try='test -s conftest.$ac_objext'
9334 { (case "(($ac_try" in
9335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9336 *) ac_try_echo=$ac_try;;
9337 esac
9338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9339 (eval "$ac_try") 2>&5
9340 ac_status=$?
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then
9343 eval "$as_ac_Header=yes"
9344 else
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9348 eval "$as_ac_Header=no"
9351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9353 ac_res=`eval echo '${'$as_ac_Header'}'`
9354 { echo "$as_me:$LINENO: result: $ac_res" >&5
9355 echo "${ECHO_T}$ac_res" >&6; }
9356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9357 cat >>confdefs.h <<_ACEOF
9358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9359 _ACEOF
9363 done
9365 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9366 then
9367 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9368 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9369 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9370 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 else
9372 cat >conftest.$ac_ext <<_ACEOF
9373 /* confdefs.h. */
9374 _ACEOF
9375 cat confdefs.h >>conftest.$ac_ext
9376 cat >>conftest.$ac_ext <<_ACEOF
9377 /* end confdefs.h. */
9378 #include <GL/gl.h>
9380 main ()
9382 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9384 return 0;
9386 _ACEOF
9387 rm -f conftest.$ac_objext
9388 if { (ac_try="$ac_compile"
9389 case "(($ac_try" in
9390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9391 *) ac_try_echo=$ac_try;;
9392 esac
9393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9394 (eval "$ac_compile") 2>conftest.er1
9395 ac_status=$?
9396 grep -v '^ *+' conftest.er1 >conftest.err
9397 rm -f conftest.er1
9398 cat conftest.err >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); } &&
9401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9402 { (case "(($ac_try" in
9403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9404 *) ac_try_echo=$ac_try;;
9405 esac
9406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9407 (eval "$ac_try") 2>&5
9408 ac_status=$?
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); }; } &&
9411 { ac_try='test -s conftest.$ac_objext'
9412 { (case "(($ac_try" in
9413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9414 *) ac_try_echo=$ac_try;;
9415 esac
9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9417 (eval "$ac_try") 2>&5
9418 ac_status=$?
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; }; then
9421 wine_cv_opengl_header_version_OK="yes"
9422 else
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9426 wine_cv_opengl_header_version_OK="no"
9430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9433 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9434 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9436 if test "$wine_cv_opengl_header_version_OK" = "yes"
9437 then
9438 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9439 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9440 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9442 else
9443 ac_check_lib_save_LIBS=$LIBS
9444 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9445 cat >conftest.$ac_ext <<_ACEOF
9446 /* confdefs.h. */
9447 _ACEOF
9448 cat confdefs.h >>conftest.$ac_ext
9449 cat >>conftest.$ac_ext <<_ACEOF
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char glXCreateContext ();
9460 main ()
9462 return glXCreateContext ();
9464 return 0;
9466 _ACEOF
9467 rm -f conftest.$ac_objext conftest$ac_exeext
9468 if { (ac_try="$ac_link"
9469 case "(($ac_try" in
9470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9471 *) ac_try_echo=$ac_try;;
9472 esac
9473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9474 (eval "$ac_link") 2>conftest.er1
9475 ac_status=$?
9476 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1
9478 cat conftest.err >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } &&
9481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9482 { (case "(($ac_try" in
9483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9484 *) ac_try_echo=$ac_try;;
9485 esac
9486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9487 (eval "$ac_try") 2>&5
9488 ac_status=$?
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; } &&
9491 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
9501 ac_cv_lib_GL_glXCreateContext=yes
9502 else
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.$ac_ext >&5
9506 ac_cv_lib_GL_glXCreateContext=no
9509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9510 conftest$ac_exeext conftest.$ac_ext
9511 LIBS=$ac_check_lib_save_LIBS
9513 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9514 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9515 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9516 OPENGL_LIBS="-lGL"
9517 OPENGLFILES='$(OPENGLFILES)'
9519 cat >>confdefs.h <<\_ACEOF
9520 #define HAVE_OPENGL 1
9521 _ACEOF
9527 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9528 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9529 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9530 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9534 $LIBS"
9535 cat >conftest.$ac_ext <<_ACEOF
9536 /* confdefs.h. */
9537 _ACEOF
9538 cat confdefs.h >>conftest.$ac_ext
9539 cat >>conftest.$ac_ext <<_ACEOF
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9545 #ifdef __cplusplus
9546 extern "C"
9547 #endif
9548 char gluLookAt ();
9550 main ()
9552 return gluLookAt ();
9554 return 0;
9556 _ACEOF
9557 rm -f conftest.$ac_objext conftest$ac_exeext
9558 if { (ac_try="$ac_link"
9559 case "(($ac_try" in
9560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9561 *) ac_try_echo=$ac_try;;
9562 esac
9563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9564 (eval "$ac_link") 2>conftest.er1
9565 ac_status=$?
9566 grep -v '^ *+' conftest.er1 >conftest.err
9567 rm -f conftest.er1
9568 cat conftest.err >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); } &&
9571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9572 { (case "(($ac_try" in
9573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9574 *) ac_try_echo=$ac_try;;
9575 esac
9576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9577 (eval "$ac_try") 2>&5
9578 ac_status=$?
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; } &&
9581 { ac_try='test -s conftest$ac_exeext'
9582 { (case "(($ac_try" in
9583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9584 *) ac_try_echo=$ac_try;;
9585 esac
9586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9587 (eval "$ac_try") 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; }; then
9591 ac_cv_lib_GLU_gluLookAt=yes
9592 else
9593 echo "$as_me: failed program was:" >&5
9594 sed 's/^/| /' conftest.$ac_ext >&5
9596 ac_cv_lib_GLU_gluLookAt=no
9599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9600 conftest$ac_exeext conftest.$ac_ext
9601 LIBS=$ac_check_lib_save_LIBS
9603 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9604 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9605 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9606 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9607 GLU32FILES='$(GLU32FILES)'
9613 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9614 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9615 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 else
9618 ac_check_lib_save_LIBS=$LIBS
9619 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9620 cat >conftest.$ac_ext <<_ACEOF
9621 /* confdefs.h. */
9622 _ACEOF
9623 cat confdefs.h >>conftest.$ac_ext
9624 cat >>conftest.$ac_ext <<_ACEOF
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9630 #ifdef __cplusplus
9631 extern "C"
9632 #endif
9633 char glutMainLoop ();
9635 main ()
9637 return glutMainLoop ();
9639 return 0;
9641 _ACEOF
9642 rm -f conftest.$ac_objext conftest$ac_exeext
9643 if { (ac_try="$ac_link"
9644 case "(($ac_try" in
9645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9646 *) ac_try_echo=$ac_try;;
9647 esac
9648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9649 (eval "$ac_link") 2>conftest.er1
9650 ac_status=$?
9651 grep -v '^ *+' conftest.er1 >conftest.err
9652 rm -f conftest.er1
9653 cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } &&
9656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9657 { (case "(($ac_try" in
9658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9659 *) ac_try_echo=$ac_try;;
9660 esac
9661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9662 (eval "$ac_try") 2>&5
9663 ac_status=$?
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try='test -s conftest$ac_exeext'
9667 { (case "(($ac_try" in
9668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9669 *) ac_try_echo=$ac_try;;
9670 esac
9671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9672 (eval "$ac_try") 2>&5
9673 ac_status=$?
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; }; then
9676 ac_cv_lib_glut_glutMainLoop=yes
9677 else
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 ac_cv_lib_glut_glutMainLoop=no
9684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9685 conftest$ac_exeext conftest.$ac_ext
9686 LIBS=$ac_check_lib_save_LIBS
9688 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9689 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9690 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9691 GLUT_LIBS="-lglut -lXmu -lXi"
9693 GLUT32FILES='$(GLUT32FILES)'
9697 else
9698 wine_cv_opengl_headers_found="no"
9701 NASLIBS=""
9704 for ac_header in audio/audiolib.h
9706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9711 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 ac_res=`eval echo '${'$as_ac_Header'}'`
9714 { echo "$as_me:$LINENO: result: $ac_res" >&5
9715 echo "${ECHO_T}$ac_res" >&6; }
9716 else
9717 # Is the header compilable?
9718 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9720 cat >conftest.$ac_ext <<_ACEOF
9721 /* confdefs.h. */
9722 _ACEOF
9723 cat confdefs.h >>conftest.$ac_ext
9724 cat >>conftest.$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9726 $ac_includes_default
9727 #include <$ac_header>
9728 _ACEOF
9729 rm -f conftest.$ac_objext
9730 if { (ac_try="$ac_compile"
9731 case "(($ac_try" in
9732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9733 *) ac_try_echo=$ac_try;;
9734 esac
9735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9736 (eval "$ac_compile") 2>conftest.er1
9737 ac_status=$?
9738 grep -v '^ *+' conftest.er1 >conftest.err
9739 rm -f conftest.er1
9740 cat conftest.err >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } &&
9743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9744 { (case "(($ac_try" in
9745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9746 *) ac_try_echo=$ac_try;;
9747 esac
9748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9749 (eval "$ac_try") 2>&5
9750 ac_status=$?
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); }; } &&
9753 { ac_try='test -s conftest.$ac_objext'
9754 { (case "(($ac_try" in
9755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9756 *) ac_try_echo=$ac_try;;
9757 esac
9758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9759 (eval "$ac_try") 2>&5
9760 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 ac_header_compiler=yes
9764 else
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.$ac_ext >&5
9768 ac_header_compiler=no
9771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9772 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9773 echo "${ECHO_T}$ac_header_compiler" >&6; }
9775 # Is the header present?
9776 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9777 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9778 cat >conftest.$ac_ext <<_ACEOF
9779 /* confdefs.h. */
9780 _ACEOF
9781 cat confdefs.h >>conftest.$ac_ext
9782 cat >>conftest.$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9784 #include <$ac_header>
9785 _ACEOF
9786 if { (ac_try="$ac_cpp conftest.$ac_ext"
9787 case "(($ac_try" in
9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9789 *) ac_try_echo=$ac_try;;
9790 esac
9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9793 ac_status=$?
9794 grep -v '^ *+' conftest.er1 >conftest.err
9795 rm -f conftest.er1
9796 cat conftest.err >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } >/dev/null; then
9799 if test -s conftest.err; then
9800 ac_cpp_err=$ac_c_preproc_warn_flag
9801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9802 else
9803 ac_cpp_err=
9805 else
9806 ac_cpp_err=yes
9808 if test -z "$ac_cpp_err"; then
9809 ac_header_preproc=yes
9810 else
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.$ac_ext >&5
9814 ac_header_preproc=no
9817 rm -f conftest.err conftest.$ac_ext
9818 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9819 echo "${ECHO_T}$ac_header_preproc" >&6; }
9821 # So? What about this header?
9822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9823 yes:no: )
9824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9828 ac_header_preproc=yes
9830 no:yes:* )
9831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9843 ( cat <<\_ASBOX
9844 ## ------------------------------------ ##
9845 ## Report this to wine-devel@winehq.org ##
9846 ## ------------------------------------ ##
9847 _ASBOX
9848 ) | sed "s/^/$as_me: WARNING: /" >&2
9850 esac
9851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9855 else
9856 eval "$as_ac_Header=\$ac_header_preproc"
9858 ac_res=`eval echo '${'$as_ac_Header'}'`
9859 { echo "$as_me:$LINENO: result: $ac_res" >&5
9860 echo "${ECHO_T}$ac_res" >&6; }
9863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9864 cat >>confdefs.h <<_ACEOF
9865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9866 _ACEOF
9868 for ac_header in audio/soundlib.h
9870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9871 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 else
9876 cat >conftest.$ac_ext <<_ACEOF
9877 /* confdefs.h. */
9878 _ACEOF
9879 cat confdefs.h >>conftest.$ac_ext
9880 cat >>conftest.$ac_ext <<_ACEOF
9881 /* end confdefs.h. */
9882 #include <audio/audiolib.h>
9884 #include <$ac_header>
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 eval "$as_ac_Header=yes"
9921 else
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9925 eval "$as_ac_Header=no"
9928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9930 ac_res=`eval echo '${'$as_ac_Header'}'`
9931 { echo "$as_me:$LINENO: result: $ac_res" >&5
9932 echo "${ECHO_T}$ac_res" >&6; }
9933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9934 cat >>confdefs.h <<_ACEOF
9935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9936 _ACEOF
9940 done
9942 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9943 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9944 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 else
9947 ac_check_lib_save_LIBS=$LIBS
9948 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9949 cat >conftest.$ac_ext <<_ACEOF
9950 /* confdefs.h. */
9951 _ACEOF
9952 cat confdefs.h >>conftest.$ac_ext
9953 cat >>conftest.$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9959 #ifdef __cplusplus
9960 extern "C"
9961 #endif
9962 char AuCreateFlow ();
9964 main ()
9966 return AuCreateFlow ();
9968 return 0;
9970 _ACEOF
9971 rm -f conftest.$ac_objext conftest$ac_exeext
9972 if { (ac_try="$ac_link"
9973 case "(($ac_try" in
9974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9976 esac
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_link") 2>conftest.er1
9979 ac_status=$?
9980 grep -v '^ *+' conftest.er1 >conftest.err
9981 rm -f conftest.er1
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } &&
9985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9986 { (case "(($ac_try" in
9987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9988 *) ac_try_echo=$ac_try;;
9989 esac
9990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9991 (eval "$ac_try") 2>&5
9992 ac_status=$?
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; } &&
9995 { ac_try='test -s conftest$ac_exeext'
9996 { (case "(($ac_try" in
9997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9998 *) ac_try_echo=$ac_try;;
9999 esac
10000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10001 (eval "$ac_try") 2>&5
10002 ac_status=$?
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); }; }; then
10005 ac_cv_lib_audio_AuCreateFlow=yes
10006 else
10007 echo "$as_me: failed program was:" >&5
10008 sed 's/^/| /' conftest.$ac_ext >&5
10010 ac_cv_lib_audio_AuCreateFlow=no
10013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10014 conftest$ac_exeext conftest.$ac_ext
10015 LIBS=$ac_check_lib_save_LIBS
10017 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10018 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10019 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10021 cat >>confdefs.h <<\_ACEOF
10022 #define HAVE_NAS 1
10023 _ACEOF
10025 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10030 done
10033 CPPFLAGS="$ac_save_CPPFLAGS"
10034 XFILES='$(XFILES)'
10035 else
10036 XLIB=""
10037 X_CFLAGS=""
10038 X_LIBS=""
10042 XML2LIBS=""
10044 XML2INCL=""
10046 XSLTLIBS=""
10048 XSLTINCL=""
10050 if test "$PKG_CONFIG" != "false"
10051 then
10052 ac_save_CPPFLAGS="$CPPFLAGS"
10053 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10054 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10055 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10057 for ac_header in libxml/parser.h
10059 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10061 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 ac_res=`eval echo '${'$as_ac_Header'}'`
10067 { echo "$as_me:$LINENO: result: $ac_res" >&5
10068 echo "${ECHO_T}$ac_res" >&6; }
10069 else
10070 # Is the header compilable?
10071 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10073 cat >conftest.$ac_ext <<_ACEOF
10074 /* confdefs.h. */
10075 _ACEOF
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10079 $ac_includes_default
10080 #include <$ac_header>
10081 _ACEOF
10082 rm -f conftest.$ac_objext
10083 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
10090 ac_status=$?
10091 grep -v '^ *+' conftest.er1 >conftest.err
10092 rm -f conftest.er1
10093 cat conftest.err >&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); } &&
10096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10097 { (case "(($ac_try" in
10098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10099 *) ac_try_echo=$ac_try;;
10100 esac
10101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10102 (eval "$ac_try") 2>&5
10103 ac_status=$?
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } &&
10106 { ac_try='test -s conftest.$ac_objext'
10107 { (case "(($ac_try" in
10108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10110 esac
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_try") 2>&5
10113 ac_status=$?
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); }; }; then
10116 ac_header_compiler=yes
10117 else
10118 echo "$as_me: failed program was:" >&5
10119 sed 's/^/| /' conftest.$ac_ext >&5
10121 ac_header_compiler=no
10124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10125 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10126 echo "${ECHO_T}$ac_header_compiler" >&6; }
10128 # Is the header present?
10129 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10131 cat >conftest.$ac_ext <<_ACEOF
10132 /* confdefs.h. */
10133 _ACEOF
10134 cat confdefs.h >>conftest.$ac_ext
10135 cat >>conftest.$ac_ext <<_ACEOF
10136 /* end confdefs.h. */
10137 #include <$ac_header>
10138 _ACEOF
10139 if { (ac_try="$ac_cpp conftest.$ac_ext"
10140 case "(($ac_try" in
10141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10142 *) ac_try_echo=$ac_try;;
10143 esac
10144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10146 ac_status=$?
10147 grep -v '^ *+' conftest.er1 >conftest.err
10148 rm -f conftest.er1
10149 cat conftest.err >&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } >/dev/null; then
10152 if test -s conftest.err; then
10153 ac_cpp_err=$ac_c_preproc_warn_flag
10154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10155 else
10156 ac_cpp_err=
10158 else
10159 ac_cpp_err=yes
10161 if test -z "$ac_cpp_err"; then
10162 ac_header_preproc=yes
10163 else
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10167 ac_header_preproc=no
10170 rm -f conftest.err conftest.$ac_ext
10171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10172 echo "${ECHO_T}$ac_header_preproc" >&6; }
10174 # So? What about this header?
10175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10176 yes:no: )
10177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10181 ac_header_preproc=yes
10183 no:yes:* )
10184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10196 ( cat <<\_ASBOX
10197 ## ------------------------------------ ##
10198 ## Report this to wine-devel@winehq.org ##
10199 ## ------------------------------------ ##
10200 _ASBOX
10201 ) | sed "s/^/$as_me: WARNING: /" >&2
10203 esac
10204 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10208 else
10209 eval "$as_ac_Header=\$ac_header_preproc"
10211 ac_res=`eval echo '${'$as_ac_Header'}'`
10212 { echo "$as_me:$LINENO: result: $ac_res" >&5
10213 echo "${ECHO_T}$ac_res" >&6; }
10216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10217 cat >>confdefs.h <<_ACEOF
10218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10219 _ACEOF
10220 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10221 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10222 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 else
10225 ac_check_lib_save_LIBS=$LIBS
10226 LIBS="-lxml2 $ac_xml_libs $LIBS"
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char xmlParseMemory ();
10242 main ()
10244 return xmlParseMemory ();
10246 return 0;
10248 _ACEOF
10249 rm -f conftest.$ac_objext conftest$ac_exeext
10250 if { (ac_try="$ac_link"
10251 case "(($ac_try" in
10252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10253 *) ac_try_echo=$ac_try;;
10254 esac
10255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10256 (eval "$ac_link") 2>conftest.er1
10257 ac_status=$?
10258 grep -v '^ *+' conftest.er1 >conftest.err
10259 rm -f conftest.er1
10260 cat conftest.err >&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } &&
10263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10264 { (case "(($ac_try" in
10265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10266 *) ac_try_echo=$ac_try;;
10267 esac
10268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10269 (eval "$ac_try") 2>&5
10270 ac_status=$?
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } &&
10273 { ac_try='test -s conftest$ac_exeext'
10274 { (case "(($ac_try" in
10275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10276 *) ac_try_echo=$ac_try;;
10277 esac
10278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10279 (eval "$ac_try") 2>&5
10280 ac_status=$?
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }; }; then
10283 ac_cv_lib_xml2_xmlParseMemory=yes
10284 else
10285 echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.$ac_ext >&5
10288 ac_cv_lib_xml2_xmlParseMemory=no
10291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_lib_save_LIBS
10295 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10296 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10297 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10299 cat >>confdefs.h <<\_ACEOF
10300 #define HAVE_LIBXML2 1
10301 _ACEOF
10303 XML2LIBS="$ac_xml_libs"
10304 XML2INCL="$ac_xml_cflags"
10307 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10308 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10309 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 else
10312 ac_check_lib_save_LIBS=$LIBS
10313 LIBS="-lxml2 $ac_xml_libs $LIBS"
10314 cat >conftest.$ac_ext <<_ACEOF
10315 /* confdefs.h. */
10316 _ACEOF
10317 cat confdefs.h >>conftest.$ac_ext
10318 cat >>conftest.$ac_ext <<_ACEOF
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10324 #ifdef __cplusplus
10325 extern "C"
10326 #endif
10327 char xmlReadMemory ();
10329 main ()
10331 return xmlReadMemory ();
10333 return 0;
10335 _ACEOF
10336 rm -f conftest.$ac_objext conftest$ac_exeext
10337 if { (ac_try="$ac_link"
10338 case "(($ac_try" in
10339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10340 *) ac_try_echo=$ac_try;;
10341 esac
10342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10343 (eval "$ac_link") 2>conftest.er1
10344 ac_status=$?
10345 grep -v '^ *+' conftest.er1 >conftest.err
10346 rm -f conftest.er1
10347 cat conftest.err >&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10351 { (case "(($ac_try" in
10352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10354 esac
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_try") 2>&5
10357 ac_status=$?
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; } &&
10360 { ac_try='test -s conftest$ac_exeext'
10361 { (case "(($ac_try" in
10362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10363 *) ac_try_echo=$ac_try;;
10364 esac
10365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10366 (eval "$ac_try") 2>&5
10367 ac_status=$?
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; }; then
10370 ac_cv_lib_xml2_xmlReadMemory=yes
10371 else
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.$ac_ext >&5
10375 ac_cv_lib_xml2_xmlReadMemory=no
10378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10379 conftest$ac_exeext conftest.$ac_ext
10380 LIBS=$ac_check_lib_save_LIBS
10382 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10383 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10384 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10386 cat >>confdefs.h <<\_ACEOF
10387 #define HAVE_XMLREADMEMORY 1
10388 _ACEOF
10395 done
10397 CPPFLAGS="$ac_save_CPPFLAGS"
10398 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10399 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10400 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10403 for ac_header in libxslt/pattern.h libxslt/transform.h
10405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10409 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 else
10411 cat >conftest.$ac_ext <<_ACEOF
10412 /* confdefs.h. */
10413 _ACEOF
10414 cat confdefs.h >>conftest.$ac_ext
10415 cat >>conftest.$ac_ext <<_ACEOF
10416 /* end confdefs.h. */
10417 #ifdef HAVE_LIBXSLT_PATTERN_H
10418 # include <libxslt/pattern.h>
10419 #endif
10421 #include <$ac_header>
10422 _ACEOF
10423 rm -f conftest.$ac_objext
10424 if { (ac_try="$ac_compile"
10425 case "(($ac_try" in
10426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10427 *) ac_try_echo=$ac_try;;
10428 esac
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_compile") 2>conftest.er1
10431 ac_status=$?
10432 grep -v '^ *+' conftest.er1 >conftest.err
10433 rm -f conftest.er1
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } &&
10437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10438 { (case "(($ac_try" in
10439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10440 *) ac_try_echo=$ac_try;;
10441 esac
10442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10443 (eval "$ac_try") 2>&5
10444 ac_status=$?
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; } &&
10447 { ac_try='test -s conftest.$ac_objext'
10448 { (case "(($ac_try" in
10449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10450 *) ac_try_echo=$ac_try;;
10451 esac
10452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10453 (eval "$ac_try") 2>&5
10454 ac_status=$?
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; }; then
10457 eval "$as_ac_Header=yes"
10458 else
10459 echo "$as_me: failed program was:" >&5
10460 sed 's/^/| /' conftest.$ac_ext >&5
10462 eval "$as_ac_Header=no"
10465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10467 ac_res=`eval echo '${'$as_ac_Header'}'`
10468 { echo "$as_me:$LINENO: result: $ac_res" >&5
10469 echo "${ECHO_T}$ac_res" >&6; }
10470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10471 cat >>confdefs.h <<_ACEOF
10472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10473 _ACEOF
10474 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10475 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10476 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 else
10479 ac_check_lib_save_LIBS=$LIBS
10480 LIBS="-lxslt $ac_xslt_libs $LIBS"
10481 cat >conftest.$ac_ext <<_ACEOF
10482 /* confdefs.h. */
10483 _ACEOF
10484 cat confdefs.h >>conftest.$ac_ext
10485 cat >>conftest.$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10491 #ifdef __cplusplus
10492 extern "C"
10493 #endif
10494 char xsltCompilePattern ();
10496 main ()
10498 return xsltCompilePattern ();
10500 return 0;
10502 _ACEOF
10503 rm -f conftest.$ac_objext conftest$ac_exeext
10504 if { (ac_try="$ac_link"
10505 case "(($ac_try" in
10506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10507 *) ac_try_echo=$ac_try;;
10508 esac
10509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10510 (eval "$ac_link") 2>conftest.er1
10511 ac_status=$?
10512 grep -v '^ *+' conftest.er1 >conftest.err
10513 rm -f conftest.er1
10514 cat conftest.err >&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); } &&
10517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10518 { (case "(($ac_try" in
10519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10520 *) ac_try_echo=$ac_try;;
10521 esac
10522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10523 (eval "$ac_try") 2>&5
10524 ac_status=$?
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; } &&
10527 { ac_try='test -s conftest$ac_exeext'
10528 { (case "(($ac_try" in
10529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10530 *) ac_try_echo=$ac_try;;
10531 esac
10532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10533 (eval "$ac_try") 2>&5
10534 ac_status=$?
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; }; then
10537 ac_cv_lib_xslt_xsltCompilePattern=yes
10538 else
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.$ac_ext >&5
10542 ac_cv_lib_xslt_xsltCompilePattern=no
10545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10546 conftest$ac_exeext conftest.$ac_ext
10547 LIBS=$ac_check_lib_save_LIBS
10549 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10550 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10551 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10553 cat >>confdefs.h <<\_ACEOF
10554 #define HAVE_LIBXSLT 1
10555 _ACEOF
10557 XSLTLIBS="$ac_xslt_libs"
10558 XSLTINCL="$ac_xslt_cflags"
10564 done
10566 CPPFLAGS="$ac_save_CPPFLAGS"
10569 HALINCL=""
10571 if test "$PKG_CONFIG" != "false"
10572 then
10573 ac_save_CPPFLAGS="$CPPFLAGS"
10574 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10575 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10576 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10579 for ac_header in dbus/dbus.h hal/libhal.h
10581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10586 echo $ECHO_N "(cached) $ECHO_C" >&6
10588 ac_res=`eval echo '${'$as_ac_Header'}'`
10589 { echo "$as_me:$LINENO: result: $ac_res" >&5
10590 echo "${ECHO_T}$ac_res" >&6; }
10591 else
10592 # Is the header compilable?
10593 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10595 cat >conftest.$ac_ext <<_ACEOF
10596 /* confdefs.h. */
10597 _ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10601 $ac_includes_default
10602 #include <$ac_header>
10603 _ACEOF
10604 rm -f conftest.$ac_objext
10605 if { (ac_try="$ac_compile"
10606 case "(($ac_try" in
10607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10608 *) ac_try_echo=$ac_try;;
10609 esac
10610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10611 (eval "$ac_compile") 2>conftest.er1
10612 ac_status=$?
10613 grep -v '^ *+' conftest.er1 >conftest.err
10614 rm -f conftest.er1
10615 cat conftest.err >&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } &&
10618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10619 { (case "(($ac_try" in
10620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10621 *) ac_try_echo=$ac_try;;
10622 esac
10623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624 (eval "$ac_try") 2>&5
10625 ac_status=$?
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; } &&
10628 { ac_try='test -s conftest.$ac_objext'
10629 { (case "(($ac_try" in
10630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10631 *) ac_try_echo=$ac_try;;
10632 esac
10633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10634 (eval "$ac_try") 2>&5
10635 ac_status=$?
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); }; }; then
10638 ac_header_compiler=yes
10639 else
10640 echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.$ac_ext >&5
10643 ac_header_compiler=no
10646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10647 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10648 echo "${ECHO_T}$ac_header_compiler" >&6; }
10650 # Is the header present?
10651 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10653 cat >conftest.$ac_ext <<_ACEOF
10654 /* confdefs.h. */
10655 _ACEOF
10656 cat confdefs.h >>conftest.$ac_ext
10657 cat >>conftest.$ac_ext <<_ACEOF
10658 /* end confdefs.h. */
10659 #include <$ac_header>
10660 _ACEOF
10661 if { (ac_try="$ac_cpp conftest.$ac_ext"
10662 case "(($ac_try" in
10663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10664 *) ac_try_echo=$ac_try;;
10665 esac
10666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10668 ac_status=$?
10669 grep -v '^ *+' conftest.er1 >conftest.err
10670 rm -f conftest.er1
10671 cat conftest.err >&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } >/dev/null; then
10674 if test -s conftest.err; then
10675 ac_cpp_err=$ac_c_preproc_warn_flag
10676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10677 else
10678 ac_cpp_err=
10680 else
10681 ac_cpp_err=yes
10683 if test -z "$ac_cpp_err"; then
10684 ac_header_preproc=yes
10685 else
10686 echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.$ac_ext >&5
10689 ac_header_preproc=no
10692 rm -f conftest.err conftest.$ac_ext
10693 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10694 echo "${ECHO_T}$ac_header_preproc" >&6; }
10696 # So? What about this header?
10697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10698 yes:no: )
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10700 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10702 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10703 ac_header_preproc=yes
10705 no:yes:* )
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10707 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10709 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10710 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10711 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10713 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10716 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10717 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10718 ( cat <<\_ASBOX
10719 ## ------------------------------------ ##
10720 ## Report this to wine-devel@winehq.org ##
10721 ## ------------------------------------ ##
10722 _ASBOX
10723 ) | sed "s/^/$as_me: WARNING: /" >&2
10725 esac
10726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 else
10731 eval "$as_ac_Header=\$ac_header_preproc"
10733 ac_res=`eval echo '${'$as_ac_Header'}'`
10734 { echo "$as_me:$LINENO: result: $ac_res" >&5
10735 echo "${ECHO_T}$ac_res" >&6; }
10738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10739 cat >>confdefs.h <<_ACEOF
10740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10741 _ACEOF
10745 done
10747 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10748 then
10749 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10750 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10751 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 else
10754 ac_check_lib_save_LIBS=$LIBS
10755 LIBS="-lhal $LIBS"
10756 cat >conftest.$ac_ext <<_ACEOF
10757 /* confdefs.h. */
10758 _ACEOF
10759 cat confdefs.h >>conftest.$ac_ext
10760 cat >>conftest.$ac_ext <<_ACEOF
10761 /* end confdefs.h. */
10763 /* Override any GCC internal prototype to avoid an error.
10764 Use char because int might match the return type of a GCC
10765 builtin and then its argument prototype would still apply. */
10766 #ifdef __cplusplus
10767 extern "C"
10768 #endif
10769 char libhal_ctx_new ();
10771 main ()
10773 return libhal_ctx_new ();
10775 return 0;
10777 _ACEOF
10778 rm -f conftest.$ac_objext conftest$ac_exeext
10779 if { (ac_try="$ac_link"
10780 case "(($ac_try" in
10781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10782 *) ac_try_echo=$ac_try;;
10783 esac
10784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10785 (eval "$ac_link") 2>conftest.er1
10786 ac_status=$?
10787 grep -v '^ *+' conftest.er1 >conftest.err
10788 rm -f conftest.er1
10789 cat conftest.err >&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); } &&
10792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10793 { (case "(($ac_try" in
10794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10795 *) ac_try_echo=$ac_try;;
10796 esac
10797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10798 (eval "$ac_try") 2>&5
10799 ac_status=$?
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; } &&
10802 { ac_try='test -s conftest$ac_exeext'
10803 { (case "(($ac_try" in
10804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10805 *) ac_try_echo=$ac_try;;
10806 esac
10807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10808 (eval "$ac_try") 2>&5
10809 ac_status=$?
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }; }; then
10812 ac_cv_lib_hal_libhal_ctx_new=yes
10813 else
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.$ac_ext >&5
10817 ac_cv_lib_hal_libhal_ctx_new=no
10820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LIBS=$ac_check_lib_save_LIBS
10824 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10825 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10826 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10827 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10828 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10829 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 else
10832 ac_check_lib_save_LIBS=$LIBS
10833 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10834 cat >conftest.$ac_ext <<_ACEOF
10835 /* confdefs.h. */
10836 _ACEOF
10837 cat confdefs.h >>conftest.$ac_ext
10838 cat >>conftest.$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10844 #ifdef __cplusplus
10845 extern "C"
10846 #endif
10847 char dbus_connection_close ();
10849 main ()
10851 return dbus_connection_close ();
10853 return 0;
10855 _ACEOF
10856 rm -f conftest.$ac_objext conftest$ac_exeext
10857 if { (ac_try="$ac_link"
10858 case "(($ac_try" in
10859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10860 *) ac_try_echo=$ac_try;;
10861 esac
10862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10863 (eval "$ac_link") 2>conftest.er1
10864 ac_status=$?
10865 grep -v '^ *+' conftest.er1 >conftest.err
10866 rm -f conftest.er1
10867 cat conftest.err >&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); } &&
10870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10871 { (case "(($ac_try" in
10872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10873 *) ac_try_echo=$ac_try;;
10874 esac
10875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10876 (eval "$ac_try") 2>&5
10877 ac_status=$?
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; } &&
10880 { ac_try='test -s conftest$ac_exeext'
10881 { (case "(($ac_try" in
10882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10883 *) ac_try_echo=$ac_try;;
10884 esac
10885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10886 (eval "$ac_try") 2>&5
10887 ac_status=$?
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; }; then
10890 ac_cv_lib_dbus_1_dbus_connection_close=yes
10891 else
10892 echo "$as_me: failed program was:" >&5
10893 sed 's/^/| /' conftest.$ac_ext >&5
10895 ac_cv_lib_dbus_1_dbus_connection_close=no
10898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10903 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10904 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10906 cat >>confdefs.h <<\_ACEOF
10907 #define HAVE_LIBHAL 1
10908 _ACEOF
10910 HALINCL="$ac_hal_cflags"
10916 CPPFLAGS="$ac_save_CPPFLAGS"
10919 CURSESLIBS=""
10920 if test "x$with_curses" != "xno"
10921 then
10922 if test "$ac_cv_header_ncurses_h" = "yes"
10923 then
10924 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10925 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10926 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10927 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 else
10929 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-lncurses $LIBS"
10931 cat >conftest.$ac_ext <<_ACEOF
10932 /* confdefs.h. */
10933 _ACEOF
10934 cat confdefs.h >>conftest.$ac_ext
10935 cat >>conftest.$ac_ext <<_ACEOF
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 char waddch ();
10946 main ()
10948 return waddch ();
10950 return 0;
10952 _ACEOF
10953 rm -f conftest.$ac_objext conftest$ac_exeext
10954 if { (ac_try="$ac_link"
10955 case "(($ac_try" in
10956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10957 *) ac_try_echo=$ac_try;;
10958 esac
10959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10960 (eval "$ac_link") 2>conftest.er1
10961 ac_status=$?
10962 grep -v '^ *+' conftest.er1 >conftest.err
10963 rm -f conftest.er1
10964 cat conftest.err >&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); } &&
10967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10968 { (case "(($ac_try" in
10969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10970 *) ac_try_echo=$ac_try;;
10971 esac
10972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10973 (eval "$ac_try") 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; } &&
10977 { ac_try='test -s conftest$ac_exeext'
10978 { (case "(($ac_try" in
10979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10980 *) ac_try_echo=$ac_try;;
10981 esac
10982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10983 (eval "$ac_try") 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; }; then
10987 ac_cv_lib_ncurses_waddch=yes
10988 else
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10992 ac_cv_lib_ncurses_waddch=no
10995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_lib_save_LIBS
10999 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11000 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11001 if test $ac_cv_lib_ncurses_waddch = yes; then
11003 cat >>confdefs.h <<\_ACEOF
11004 #define HAVE_LIBNCURSES 1
11005 _ACEOF
11007 CURSESLIBS="-lncurses"
11010 elif test "$ac_cv_header_curses_h" = "yes"
11011 then
11012 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11013 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11014 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lcurses $LIBS"
11019 cat >conftest.$ac_ext <<_ACEOF
11020 /* confdefs.h. */
11021 _ACEOF
11022 cat confdefs.h >>conftest.$ac_ext
11023 cat >>conftest.$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char waddch ();
11034 main ()
11036 return waddch ();
11038 return 0;
11040 _ACEOF
11041 rm -f conftest.$ac_objext conftest$ac_exeext
11042 if { (ac_try="$ac_link"
11043 case "(($ac_try" in
11044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11045 *) ac_try_echo=$ac_try;;
11046 esac
11047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11048 (eval "$ac_link") 2>conftest.er1
11049 ac_status=$?
11050 grep -v '^ *+' conftest.er1 >conftest.err
11051 rm -f conftest.er1
11052 cat conftest.err >&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } &&
11055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11056 { (case "(($ac_try" in
11057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11058 *) ac_try_echo=$ac_try;;
11059 esac
11060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11061 (eval "$ac_try") 2>&5
11062 ac_status=$?
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; } &&
11065 { ac_try='test -s conftest$ac_exeext'
11066 { (case "(($ac_try" in
11067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11068 *) ac_try_echo=$ac_try;;
11069 esac
11070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11071 (eval "$ac_try") 2>&5
11072 ac_status=$?
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 ac_cv_lib_curses_waddch=yes
11076 else
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11080 ac_cv_lib_curses_waddch=no
11083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11088 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11089 if test $ac_cv_lib_curses_waddch = yes; then
11091 cat >>confdefs.h <<\_ACEOF
11092 #define HAVE_LIBCURSES 1
11093 _ACEOF
11095 CURSESLIBS="-lcurses"
11099 ac_save_LIBS="$LIBS"
11100 LIBS="$LIBS $CURSESLIBS"
11102 for ac_func in mousemask
11104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11105 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11107 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 else
11110 cat >conftest.$ac_ext <<_ACEOF
11111 /* confdefs.h. */
11112 _ACEOF
11113 cat confdefs.h >>conftest.$ac_ext
11114 cat >>conftest.$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11118 #define $ac_func innocuous_$ac_func
11120 /* System header to define __stub macros and hopefully few prototypes,
11121 which can conflict with char $ac_func (); below.
11122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11123 <limits.h> exists even on freestanding compilers. */
11125 #ifdef __STDC__
11126 # include <limits.h>
11127 #else
11128 # include <assert.h>
11129 #endif
11131 #undef $ac_func
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11136 #ifdef __cplusplus
11137 extern "C"
11138 #endif
11139 char $ac_func ();
11140 /* The GNU C library defines this for functions which it implements
11141 to always fail with ENOSYS. Some functions are actually named
11142 something starting with __ and the normal name is an alias. */
11143 #if defined __stub_$ac_func || defined __stub___$ac_func
11144 choke me
11145 #endif
11148 main ()
11150 return $ac_func ();
11152 return 0;
11154 _ACEOF
11155 rm -f conftest.$ac_objext conftest$ac_exeext
11156 if { (ac_try="$ac_link"
11157 case "(($ac_try" in
11158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11159 *) ac_try_echo=$ac_try;;
11160 esac
11161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11162 (eval "$ac_link") 2>conftest.er1
11163 ac_status=$?
11164 grep -v '^ *+' conftest.er1 >conftest.err
11165 rm -f conftest.er1
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11170 { (case "(($ac_try" in
11171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11172 *) ac_try_echo=$ac_try;;
11173 esac
11174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11175 (eval "$ac_try") 2>&5
11176 ac_status=$?
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; } &&
11179 { ac_try='test -s conftest$ac_exeext'
11180 { (case "(($ac_try" in
11181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11182 *) ac_try_echo=$ac_try;;
11183 esac
11184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11185 (eval "$ac_try") 2>&5
11186 ac_status=$?
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; }; then
11189 eval "$as_ac_var=yes"
11190 else
11191 echo "$as_me: failed program was:" >&5
11192 sed 's/^/| /' conftest.$ac_ext >&5
11194 eval "$as_ac_var=no"
11197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11198 conftest$ac_exeext conftest.$ac_ext
11200 ac_res=`eval echo '${'$as_ac_var'}'`
11201 { echo "$as_me:$LINENO: result: $ac_res" >&5
11202 echo "${ECHO_T}$ac_res" >&6; }
11203 if test `eval echo '${'$as_ac_var'}'` = yes; then
11204 cat >>confdefs.h <<_ACEOF
11205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11206 _ACEOF
11209 done
11211 LIBS="$ac_save_LIBS"
11215 # Extract the first word of "sane-config", so it can be a program name with args.
11216 set dummy sane-config; ac_word=$2
11217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11219 if test "${ac_cv_prog_sane_devel+set}" = set; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 else
11222 if test -n "$sane_devel"; then
11223 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11224 else
11225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11226 for as_dir in $PATH
11228 IFS=$as_save_IFS
11229 test -z "$as_dir" && as_dir=.
11230 for ac_exec_ext in '' $ac_executable_extensions; do
11231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11232 ac_cv_prog_sane_devel="sane-config"
11233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11234 break 2
11236 done
11237 done
11238 IFS=$as_save_IFS
11240 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11243 sane_devel=$ac_cv_prog_sane_devel
11244 if test -n "$sane_devel"; then
11245 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11246 echo "${ECHO_T}$sane_devel" >&6; }
11247 else
11248 { echo "$as_me:$LINENO: result: no" >&5
11249 echo "${ECHO_T}no" >&6; }
11253 SANELIBS=""
11255 SANEINCL=""
11257 if test "$sane_devel" != "no"
11258 then
11259 SANELIBS="`$sane_devel --libs`"
11260 SANEINCL="`$sane_devel --cflags`"
11261 ac_save_CPPFLAGS="$CPPFLAGS"
11262 ac_save_LIBS="$LIBS"
11263 CPPFLAGS="$CPPFLAGS $SANEINCL"
11264 LIBS="$LIBS $SANELIBS"
11265 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11266 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11267 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11268 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11272 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11273 else
11274 # Is the header compilable?
11275 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11276 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11277 cat >conftest.$ac_ext <<_ACEOF
11278 /* confdefs.h. */
11279 _ACEOF
11280 cat confdefs.h >>conftest.$ac_ext
11281 cat >>conftest.$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 $ac_includes_default
11284 #include <sane/sane.h>
11285 _ACEOF
11286 rm -f conftest.$ac_objext
11287 if { (ac_try="$ac_compile"
11288 case "(($ac_try" in
11289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11290 *) ac_try_echo=$ac_try;;
11291 esac
11292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11293 (eval "$ac_compile") 2>conftest.er1
11294 ac_status=$?
11295 grep -v '^ *+' conftest.er1 >conftest.err
11296 rm -f conftest.er1
11297 cat conftest.err >&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11301 { (case "(($ac_try" in
11302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11303 *) ac_try_echo=$ac_try;;
11304 esac
11305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11306 (eval "$ac_try") 2>&5
11307 ac_status=$?
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }; } &&
11310 { ac_try='test -s conftest.$ac_objext'
11311 { (case "(($ac_try" in
11312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313 *) ac_try_echo=$ac_try;;
11314 esac
11315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316 (eval "$ac_try") 2>&5
11317 ac_status=$?
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; }; then
11320 ac_header_compiler=yes
11321 else
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_header_compiler=no
11328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11329 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11330 echo "${ECHO_T}$ac_header_compiler" >&6; }
11332 # Is the header present?
11333 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11334 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11335 cat >conftest.$ac_ext <<_ACEOF
11336 /* confdefs.h. */
11337 _ACEOF
11338 cat confdefs.h >>conftest.$ac_ext
11339 cat >>conftest.$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11341 #include <sane/sane.h>
11342 _ACEOF
11343 if { (ac_try="$ac_cpp conftest.$ac_ext"
11344 case "(($ac_try" in
11345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11346 *) ac_try_echo=$ac_try;;
11347 esac
11348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11350 ac_status=$?
11351 grep -v '^ *+' conftest.er1 >conftest.err
11352 rm -f conftest.er1
11353 cat conftest.err >&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } >/dev/null; then
11356 if test -s conftest.err; then
11357 ac_cpp_err=$ac_c_preproc_warn_flag
11358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11359 else
11360 ac_cpp_err=
11362 else
11363 ac_cpp_err=yes
11365 if test -z "$ac_cpp_err"; then
11366 ac_header_preproc=yes
11367 else
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.$ac_ext >&5
11371 ac_header_preproc=no
11374 rm -f conftest.err conftest.$ac_ext
11375 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11376 echo "${ECHO_T}$ac_header_preproc" >&6; }
11378 # So? What about this header?
11379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11380 yes:no: )
11381 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11382 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11383 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11384 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11385 ac_header_preproc=yes
11387 no:yes:* )
11388 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11389 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11390 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11391 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11392 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11393 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11394 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11395 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11397 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11399 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11400 ( cat <<\_ASBOX
11401 ## ------------------------------------ ##
11402 ## Report this to wine-devel@winehq.org ##
11403 ## ------------------------------------ ##
11404 _ASBOX
11405 ) | sed "s/^/$as_me: WARNING: /" >&2
11407 esac
11408 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11409 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11410 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 else
11413 ac_cv_header_sane_sane_h=$ac_header_preproc
11415 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11416 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11419 if test $ac_cv_header_sane_sane_h = yes; then
11420 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11421 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11422 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 else
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lsane $LIBS"
11427 cat >conftest.$ac_ext <<_ACEOF
11428 /* confdefs.h. */
11429 _ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char sane_open ();
11442 main ()
11444 return sane_open ();
11446 return 0;
11448 _ACEOF
11449 rm -f conftest.$ac_objext conftest$ac_exeext
11450 if { (ac_try="$ac_link"
11451 case "(($ac_try" in
11452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11454 esac
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11457 ac_status=$?
11458 grep -v '^ *+' conftest.er1 >conftest.err
11459 rm -f conftest.er1
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } &&
11463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11464 { (case "(($ac_try" in
11465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11466 *) ac_try_echo=$ac_try;;
11467 esac
11468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11469 (eval "$ac_try") 2>&5
11470 ac_status=$?
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; } &&
11473 { ac_try='test -s conftest$ac_exeext'
11474 { (case "(($ac_try" in
11475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11476 *) ac_try_echo=$ac_try;;
11477 esac
11478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11479 (eval "$ac_try") 2>&5
11480 ac_status=$?
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_cv_lib_sane_sane_open=yes
11484 else
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11488 ac_cv_lib_sane_sane_open=no
11491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11495 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11496 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11497 if test $ac_cv_lib_sane_sane_open = yes; then
11499 cat >>confdefs.h <<\_ACEOF
11500 #define HAVE_SANE 1
11501 _ACEOF
11503 else
11504 SANELIBS=""
11505 SANEINCL=""
11508 else
11509 SANELIBS=""
11510 SANEINCL=""
11514 LIBS="$ac_save_LIBS"
11515 CPPFLAGS="$ac_save_CPPFLAGS"
11518 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11519 set dummy gphoto2-config; ac_word=$2
11520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11522 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11524 else
11525 if test -n "$gphoto2_devel"; then
11526 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11527 else
11528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11529 for as_dir in $PATH
11531 IFS=$as_save_IFS
11532 test -z "$as_dir" && as_dir=.
11533 for ac_exec_ext in '' $ac_executable_extensions; do
11534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11535 ac_cv_prog_gphoto2_devel="gphoto2-config"
11536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11537 break 2
11539 done
11540 done
11541 IFS=$as_save_IFS
11543 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11546 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11547 if test -n "$gphoto2_devel"; then
11548 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11549 echo "${ECHO_T}$gphoto2_devel" >&6; }
11550 else
11551 { echo "$as_me:$LINENO: result: no" >&5
11552 echo "${ECHO_T}no" >&6; }
11556 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11557 set dummy gphoto2-port-config; ac_word=$2
11558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11560 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 else
11563 if test -n "$gphoto2port_devel"; then
11564 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11565 else
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11569 IFS=$as_save_IFS
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11573 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 break 2
11577 done
11578 done
11579 IFS=$as_save_IFS
11581 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11584 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11585 if test -n "$gphoto2port_devel"; then
11586 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11587 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11588 else
11589 { echo "$as_me:$LINENO: result: no" >&5
11590 echo "${ECHO_T}no" >&6; }
11594 GPHOTO2LIBS=""
11596 GPHOTO2INCL=""
11598 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11599 then
11600 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11601 GPHOTO2LIBS=""
11602 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11604 case "$i" in
11605 -L/usr/lib|-L/usr/lib64) ;;
11606 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11607 esac
11608 done
11609 ac_save_CPPFLAGS="$CPPFLAGS"
11610 ac_save_LIBS="$LIBS"
11611 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11612 LIBS="$LIBS $GPHOTO2LIBS"
11613 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11614 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11615 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11616 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11620 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11621 else
11622 # Is the header compilable?
11623 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11624 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11625 cat >conftest.$ac_ext <<_ACEOF
11626 /* confdefs.h. */
11627 _ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 $ac_includes_default
11632 #include <gphoto2-camera.h>
11633 _ACEOF
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11639 esac
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11642 ac_status=$?
11643 grep -v '^ *+' conftest.er1 >conftest.err
11644 rm -f conftest.er1
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11649 { (case "(($ac_try" in
11650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11651 *) ac_try_echo=$ac_try;;
11652 esac
11653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11654 (eval "$ac_try") 2>&5
11655 ac_status=$?
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; } &&
11658 { ac_try='test -s conftest.$ac_objext'
11659 { (case "(($ac_try" in
11660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11661 *) ac_try_echo=$ac_try;;
11662 esac
11663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11664 (eval "$ac_try") 2>&5
11665 ac_status=$?
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 ac_header_compiler=yes
11669 else
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 ac_header_compiler=no
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11677 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11678 echo "${ECHO_T}$ac_header_compiler" >&6; }
11680 # Is the header present?
11681 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11682 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11683 cat >conftest.$ac_ext <<_ACEOF
11684 /* confdefs.h. */
11685 _ACEOF
11686 cat confdefs.h >>conftest.$ac_ext
11687 cat >>conftest.$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11689 #include <gphoto2-camera.h>
11690 _ACEOF
11691 if { (ac_try="$ac_cpp conftest.$ac_ext"
11692 case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11695 esac
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11698 ac_status=$?
11699 grep -v '^ *+' conftest.er1 >conftest.err
11700 rm -f conftest.er1
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } >/dev/null; then
11704 if test -s conftest.err; then
11705 ac_cpp_err=$ac_c_preproc_warn_flag
11706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11707 else
11708 ac_cpp_err=
11710 else
11711 ac_cpp_err=yes
11713 if test -z "$ac_cpp_err"; then
11714 ac_header_preproc=yes
11715 else
11716 echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.$ac_ext >&5
11719 ac_header_preproc=no
11722 rm -f conftest.err conftest.$ac_ext
11723 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11724 echo "${ECHO_T}$ac_header_preproc" >&6; }
11726 # So? What about this header?
11727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11728 yes:no: )
11729 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11730 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11731 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11732 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11733 ac_header_preproc=yes
11735 no:yes:* )
11736 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11737 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11739 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11741 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11743 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11745 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11746 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11747 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11748 ( cat <<\_ASBOX
11749 ## ------------------------------------ ##
11750 ## Report this to wine-devel@winehq.org ##
11751 ## ------------------------------------ ##
11752 _ASBOX
11753 ) | sed "s/^/$as_me: WARNING: /" >&2
11755 esac
11756 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11757 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11758 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 else
11761 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11763 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11764 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11767 if test $ac_cv_header_gphoto2_camera_h = yes; then
11768 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11769 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11770 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 else
11773 ac_check_lib_save_LIBS=$LIBS
11774 LIBS="-lgphoto2 $LIBS"
11775 cat >conftest.$ac_ext <<_ACEOF
11776 /* confdefs.h. */
11777 _ACEOF
11778 cat confdefs.h >>conftest.$ac_ext
11779 cat >>conftest.$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11782 /* Override any GCC internal prototype to avoid an error.
11783 Use char because int might match the return type of a GCC
11784 builtin and then its argument prototype would still apply. */
11785 #ifdef __cplusplus
11786 extern "C"
11787 #endif
11788 char gp_camera_new ();
11790 main ()
11792 return gp_camera_new ();
11794 return 0;
11796 _ACEOF
11797 rm -f conftest.$ac_objext conftest$ac_exeext
11798 if { (ac_try="$ac_link"
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_link") 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_exeext'
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_cv_lib_gphoto2_gp_camera_new=yes
11832 else
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.$ac_ext >&5
11836 ac_cv_lib_gphoto2_gp_camera_new=no
11839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_lib_save_LIBS
11843 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11844 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11845 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11847 cat >>confdefs.h <<\_ACEOF
11848 #define HAVE_GPHOTO2 1
11849 _ACEOF
11851 else
11852 GPHOTO2LIBS=""
11853 GPHOTO2INCL=""
11856 else
11857 GPHOTO2LIBS=""
11858 GPHOTO2INCL=""
11862 LIBS="$ac_save_LIBS"
11863 CPPFLAGS="$ac_save_CPPFLAGS"
11866 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11867 then
11868 saved_libs="$LIBS"
11869 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11871 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11872 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11873 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11874 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11875 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11876 cat >conftest.$ac_ext <<_ACEOF
11877 /* confdefs.h. */
11878 _ACEOF
11879 cat confdefs.h >>conftest.$ac_ext
11880 cat >>conftest.$ac_ext <<_ACEOF
11881 /* end confdefs.h. */
11882 #include <unicode/ubidi.h>
11884 main ()
11886 ubidi_open()
11888 return 0;
11890 _ACEOF
11891 rm -f conftest.$ac_objext conftest$ac_exeext
11892 if { (ac_try="$ac_link"
11893 case "(($ac_try" in
11894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11895 *) ac_try_echo=$ac_try;;
11896 esac
11897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11898 (eval "$ac_link") 2>conftest.er1
11899 ac_status=$?
11900 grep -v '^ *+' conftest.er1 >conftest.err
11901 rm -f conftest.er1
11902 cat conftest.err >&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } &&
11905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11906 { (case "(($ac_try" in
11907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11908 *) ac_try_echo=$ac_try;;
11909 esac
11910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11911 (eval "$ac_try") 2>&5
11912 ac_status=$?
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; } &&
11915 { ac_try='test -s conftest$ac_exeext'
11916 { (case "(($ac_try" in
11917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11919 esac
11920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11921 (eval "$ac_try") 2>&5
11922 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11926 cat >>confdefs.h <<\_ACEOF
11927 #define HAVE_ICU 1
11928 _ACEOF
11930 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11932 { echo "$as_me:$LINENO: result: yes" >&5
11933 echo "${ECHO_T}yes" >&6; }
11934 else
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11938 { echo "$as_me:$LINENO: result: no" >&5
11939 echo "${ECHO_T}no" >&6; }
11942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11943 conftest$ac_exeext conftest.$ac_ext
11944 done
11945 LIBS="$saved_libs"
11948 RESOLVLIBS=""
11950 if test "$ac_cv_header_resolv_h" = "yes"
11951 then
11952 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11953 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11954 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 else
11957 ac_check_lib_save_LIBS=$LIBS
11958 LIBS="-lresolv $LIBS"
11959 cat >conftest.$ac_ext <<_ACEOF
11960 /* confdefs.h. */
11961 _ACEOF
11962 cat confdefs.h >>conftest.$ac_ext
11963 cat >>conftest.$ac_ext <<_ACEOF
11964 /* end confdefs.h. */
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char res_query ();
11974 main ()
11976 return res_query ();
11978 return 0;
11980 _ACEOF
11981 rm -f conftest.$ac_objext conftest$ac_exeext
11982 if { (ac_try="$ac_link"
11983 case "(($ac_try" in
11984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11985 *) ac_try_echo=$ac_try;;
11986 esac
11987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11988 (eval "$ac_link") 2>conftest.er1
11989 ac_status=$?
11990 grep -v '^ *+' conftest.er1 >conftest.err
11991 rm -f conftest.er1
11992 cat conftest.err >&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); } &&
11995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11996 { (case "(($ac_try" in
11997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11998 *) ac_try_echo=$ac_try;;
11999 esac
12000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12001 (eval "$ac_try") 2>&5
12002 ac_status=$?
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; } &&
12005 { ac_try='test -s conftest$ac_exeext'
12006 { (case "(($ac_try" in
12007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12008 *) ac_try_echo=$ac_try;;
12009 esac
12010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12011 (eval "$ac_try") 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; }; then
12015 ac_cv_lib_resolv_res_query=yes
12016 else
12017 echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.$ac_ext >&5
12020 ac_cv_lib_resolv_res_query=no
12023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_lib_save_LIBS
12027 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12028 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12029 if test $ac_cv_lib_resolv_res_query = yes; then
12031 cat >>confdefs.h <<\_ACEOF
12032 #define HAVE_RESOLV 1
12033 _ACEOF
12035 RESOLVLIBS="-lresolv"
12040 LCMSLIBS=""
12042 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12043 then
12044 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12045 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12046 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 else
12049 ac_check_lib_save_LIBS=$LIBS
12050 LIBS="-llcms $LIBS"
12051 cat >conftest.$ac_ext <<_ACEOF
12052 /* confdefs.h. */
12053 _ACEOF
12054 cat confdefs.h >>conftest.$ac_ext
12055 cat >>conftest.$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char cmsOpenProfileFromFile ();
12066 main ()
12068 return cmsOpenProfileFromFile ();
12070 return 0;
12072 _ACEOF
12073 rm -f conftest.$ac_objext conftest$ac_exeext
12074 if { (ac_try="$ac_link"
12075 case "(($ac_try" in
12076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12077 *) ac_try_echo=$ac_try;;
12078 esac
12079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12080 (eval "$ac_link") 2>conftest.er1
12081 ac_status=$?
12082 grep -v '^ *+' conftest.er1 >conftest.err
12083 rm -f conftest.er1
12084 cat conftest.err >&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); } &&
12087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12088 { (case "(($ac_try" in
12089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12090 *) ac_try_echo=$ac_try;;
12091 esac
12092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12093 (eval "$ac_try") 2>&5
12094 ac_status=$?
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; } &&
12097 { ac_try='test -s conftest$ac_exeext'
12098 { (case "(($ac_try" in
12099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12100 *) ac_try_echo=$ac_try;;
12101 esac
12102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12103 (eval "$ac_try") 2>&5
12104 ac_status=$?
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); }; }; then
12107 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12108 else
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.$ac_ext >&5
12112 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12120 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12121 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12123 cat >>confdefs.h <<\_ACEOF
12124 #define HAVE_LCMS 1
12125 _ACEOF
12127 LCMSLIBS="-llcms"
12132 LDAPLIBS=""
12134 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12135 then
12136 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12137 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12138 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 else
12141 ac_check_lib_save_LIBS=$LIBS
12142 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12143 cat >conftest.$ac_ext <<_ACEOF
12144 /* confdefs.h. */
12145 _ACEOF
12146 cat confdefs.h >>conftest.$ac_ext
12147 cat >>conftest.$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 char ldap_initialize ();
12158 main ()
12160 return ldap_initialize ();
12162 return 0;
12164 _ACEOF
12165 rm -f conftest.$ac_objext conftest$ac_exeext
12166 if { (ac_try="$ac_link"
12167 case "(($ac_try" in
12168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12169 *) ac_try_echo=$ac_try;;
12170 esac
12171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12172 (eval "$ac_link") 2>conftest.er1
12173 ac_status=$?
12174 grep -v '^ *+' conftest.er1 >conftest.err
12175 rm -f conftest.er1
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } &&
12179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12180 { (case "(($ac_try" in
12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182 *) ac_try_echo=$ac_try;;
12183 esac
12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12185 (eval "$ac_try") 2>&5
12186 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; } &&
12189 { ac_try='test -s conftest$ac_exeext'
12190 { (case "(($ac_try" in
12191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12192 *) ac_try_echo=$ac_try;;
12193 esac
12194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12195 (eval "$ac_try") 2>&5
12196 ac_status=$?
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 ac_cv_lib_ldap_r_ldap_initialize=yes
12200 else
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.$ac_ext >&5
12204 ac_cv_lib_ldap_r_ldap_initialize=no
12207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_lib_save_LIBS
12211 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12212 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12213 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12214 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12215 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 else
12219 ac_check_lib_save_LIBS=$LIBS
12220 LIBS="-llber $LIBPTHREAD $LIBS"
12221 cat >conftest.$ac_ext <<_ACEOF
12222 /* confdefs.h. */
12223 _ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 #ifdef __cplusplus
12232 extern "C"
12233 #endif
12234 char ber_init ();
12236 main ()
12238 return ber_init ();
12240 return 0;
12242 _ACEOF
12243 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (ac_try="$ac_link"
12245 case "(($ac_try" in
12246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12248 esac
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12251 ac_status=$?
12252 grep -v '^ *+' conftest.er1 >conftest.err
12253 rm -f conftest.er1
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12258 { (case "(($ac_try" in
12259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12260 *) ac_try_echo=$ac_try;;
12261 esac
12262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12263 (eval "$ac_try") 2>&5
12264 ac_status=$?
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try='test -s conftest$ac_exeext'
12268 { (case "(($ac_try" in
12269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12270 *) ac_try_echo=$ac_try;;
12271 esac
12272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12273 (eval "$ac_try") 2>&5
12274 ac_status=$?
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 ac_cv_lib_lber_ber_init=yes
12278 else
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12282 ac_cv_lib_lber_ber_init=no
12285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_lib_save_LIBS
12289 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12290 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12291 if test $ac_cv_lib_lber_ber_init = yes; then
12293 cat >>confdefs.h <<\_ACEOF
12294 #define HAVE_LDAP 1
12295 _ACEOF
12297 LDAPLIBS="-lldap_r -llber"
12302 ac_wine_check_funcs_save_LIBS="$LIBS"
12303 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12308 for ac_func in \
12309 ldap_count_references \
12310 ldap_first_reference \
12311 ldap_next_reference \
12312 ldap_parse_reference
12314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12315 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 else
12320 cat >conftest.$ac_ext <<_ACEOF
12321 /* confdefs.h. */
12322 _ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12328 #define $ac_func innocuous_$ac_func
12330 /* System header to define __stub macros and hopefully few prototypes,
12331 which can conflict with char $ac_func (); below.
12332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12333 <limits.h> exists even on freestanding compilers. */
12335 #ifdef __STDC__
12336 # include <limits.h>
12337 #else
12338 # include <assert.h>
12339 #endif
12341 #undef $ac_func
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 #ifdef __cplusplus
12347 extern "C"
12348 #endif
12349 char $ac_func ();
12350 /* The GNU C library defines this for functions which it implements
12351 to always fail with ENOSYS. Some functions are actually named
12352 something starting with __ and the normal name is an alias. */
12353 #if defined __stub_$ac_func || defined __stub___$ac_func
12354 choke me
12355 #endif
12358 main ()
12360 return $ac_func ();
12362 return 0;
12364 _ACEOF
12365 rm -f conftest.$ac_objext conftest$ac_exeext
12366 if { (ac_try="$ac_link"
12367 case "(($ac_try" in
12368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12369 *) ac_try_echo=$ac_try;;
12370 esac
12371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12372 (eval "$ac_link") 2>conftest.er1
12373 ac_status=$?
12374 grep -v '^ *+' conftest.er1 >conftest.err
12375 rm -f conftest.er1
12376 cat conftest.err >&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); } &&
12379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12380 { (case "(($ac_try" in
12381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12382 *) ac_try_echo=$ac_try;;
12383 esac
12384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12385 (eval "$ac_try") 2>&5
12386 ac_status=$?
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; } &&
12389 { ac_try='test -s conftest$ac_exeext'
12390 { (case "(($ac_try" in
12391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392 *) ac_try_echo=$ac_try;;
12393 esac
12394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12395 (eval "$ac_try") 2>&5
12396 ac_status=$?
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); }; }; then
12399 eval "$as_ac_var=yes"
12400 else
12401 echo "$as_me: failed program was:" >&5
12402 sed 's/^/| /' conftest.$ac_ext >&5
12404 eval "$as_ac_var=no"
12407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12408 conftest$ac_exeext conftest.$ac_ext
12410 ac_res=`eval echo '${'$as_ac_var'}'`
12411 { echo "$as_me:$LINENO: result: $ac_res" >&5
12412 echo "${ECHO_T}$ac_res" >&6; }
12413 if test `eval echo '${'$as_ac_var'}'` = yes; then
12414 cat >>confdefs.h <<_ACEOF
12415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12416 _ACEOF
12419 done
12421 LIBS="$ac_wine_check_funcs_save_LIBS"
12424 FREETYPELIBS=""
12426 FREETYPEINCL=""
12428 # Extract the first word of "freetype-config", so it can be a program name with args.
12429 set dummy freetype-config; ac_word=$2
12430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12432 if test "${ac_cv_prog_ft_devel+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12434 else
12435 if test -n "$ft_devel"; then
12436 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12437 else
12438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12439 for as_dir in $PATH
12441 IFS=$as_save_IFS
12442 test -z "$as_dir" && as_dir=.
12443 for ac_exec_ext in '' $ac_executable_extensions; do
12444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12445 ac_cv_prog_ft_devel="freetype-config"
12446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12447 break 2
12449 done
12450 done
12451 IFS=$as_save_IFS
12453 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12456 ft_devel=$ac_cv_prog_ft_devel
12457 if test -n "$ft_devel"; then
12458 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12459 echo "${ECHO_T}$ft_devel" >&6; }
12460 else
12461 { echo "$as_me:$LINENO: result: no" >&5
12462 echo "${ECHO_T}no" >&6; }
12466 if test "$ft_devel" = "no"
12467 then
12468 # Extract the first word of "freetype2-config", so it can be a program name with args.
12469 set dummy freetype2-config; ac_word=$2
12470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12472 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 else
12475 if test -n "$ft_devel2"; then
12476 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12477 else
12478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12479 for as_dir in $PATH
12481 IFS=$as_save_IFS
12482 test -z "$as_dir" && as_dir=.
12483 for ac_exec_ext in '' $ac_executable_extensions; do
12484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12485 ac_cv_prog_ft_devel2="freetype2-config"
12486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12487 break 2
12489 done
12490 done
12491 IFS=$as_save_IFS
12493 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12496 ft_devel2=$ac_cv_prog_ft_devel2
12497 if test -n "$ft_devel2"; then
12498 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12499 echo "${ECHO_T}$ft_devel2" >&6; }
12500 else
12501 { echo "$as_me:$LINENO: result: no" >&5
12502 echo "${ECHO_T}no" >&6; }
12506 if test "$ft_devel2" = "freetype2-config"
12507 then
12508 ft_devel=$ft_devel2
12512 if test "$ft_devel" = "no"
12513 then
12514 wine_cv_msg_freetype=yes
12515 else
12516 FREETYPELIBS=`$ft_devel --libs`
12517 FREETYPEINCL=`$ft_devel --cflags`
12518 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12519 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12520 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 else
12523 ac_check_lib_save_LIBS=$LIBS
12524 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12525 cat >conftest.$ac_ext <<_ACEOF
12526 /* confdefs.h. */
12527 _ACEOF
12528 cat confdefs.h >>conftest.$ac_ext
12529 cat >>conftest.$ac_ext <<_ACEOF
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12535 #ifdef __cplusplus
12536 extern "C"
12537 #endif
12538 char FT_Init_FreeType ();
12540 main ()
12542 return FT_Init_FreeType ();
12544 return 0;
12546 _ACEOF
12547 rm -f conftest.$ac_objext conftest$ac_exeext
12548 if { (ac_try="$ac_link"
12549 case "(($ac_try" in
12550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12551 *) ac_try_echo=$ac_try;;
12552 esac
12553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12554 (eval "$ac_link") 2>conftest.er1
12555 ac_status=$?
12556 grep -v '^ *+' conftest.er1 >conftest.err
12557 rm -f conftest.er1
12558 cat conftest.err >&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } &&
12561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12562 { (case "(($ac_try" in
12563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12564 *) ac_try_echo=$ac_try;;
12565 esac
12566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12567 (eval "$ac_try") 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try='test -s conftest$ac_exeext'
12572 { (case "(($ac_try" in
12573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12574 *) ac_try_echo=$ac_try;;
12575 esac
12576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12577 (eval "$ac_try") 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; }; then
12581 ac_cv_lib_freetype_FT_Init_FreeType=yes
12582 else
12583 echo "$as_me: failed program was:" >&5
12584 sed 's/^/| /' conftest.$ac_ext >&5
12586 ac_cv_lib_freetype_FT_Init_FreeType=no
12589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_lib_save_LIBS
12593 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12594 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12595 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12596 ft_lib=yes
12597 else
12598 ft_lib=no
12601 if test "$ft_lib" = "no"
12602 then
12603 wine_cv_msg_freetype=yes
12604 FREETYPELIBS=""
12605 FREETYPEINCL=""
12606 else
12607 ac_save_CPPFLAGS="$CPPFLAGS"
12608 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12620 for ac_header in ft2build.h \
12621 freetype/freetype.h \
12622 freetype/ftglyph.h \
12623 freetype/tttables.h \
12624 freetype/ftnames.h \
12625 freetype/ftsnames.h \
12626 freetype/ttnameid.h \
12627 freetype/ftoutln.h \
12628 freetype/ftwinfnt.h \
12629 freetype/ftmodapi.h \
12630 freetype/internal/sfnt.h
12632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #if HAVE_FT2BUILD_H
12645 #include <ft2build.h>
12646 #endif
12648 #include <$ac_header>
12649 _ACEOF
12650 rm -f conftest.$ac_objext
12651 if { (ac_try="$ac_compile"
12652 case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12655 esac
12656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12657 (eval "$ac_compile") 2>conftest.er1
12658 ac_status=$?
12659 grep -v '^ *+' conftest.er1 >conftest.err
12660 rm -f conftest.er1
12661 cat conftest.err >&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12665 { (case "(($ac_try" in
12666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12667 *) ac_try_echo=$ac_try;;
12668 esac
12669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12670 (eval "$ac_try") 2>&5
12671 ac_status=$?
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); }; } &&
12674 { ac_try='test -s conftest.$ac_objext'
12675 { (case "(($ac_try" in
12676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12678 esac
12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 (eval "$ac_try") 2>&5
12681 ac_status=$?
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 eval "$as_ac_Header=yes"
12685 else
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12689 eval "$as_ac_Header=no"
12692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12694 ac_res=`eval echo '${'$as_ac_Header'}'`
12695 { echo "$as_me:$LINENO: result: $ac_res" >&5
12696 echo "${ECHO_T}$ac_res" >&6; }
12697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12698 cat >>confdefs.h <<_ACEOF
12699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12700 _ACEOF
12704 done
12706 cat >conftest.$ac_ext <<_ACEOF
12707 /* confdefs.h. */
12708 _ACEOF
12709 cat confdefs.h >>conftest.$ac_ext
12710 cat >>conftest.$ac_ext <<_ACEOF
12711 /* end confdefs.h. */
12712 #include <ft2build.h>
12713 #include <freetype/fttrigon.h>
12714 _ACEOF
12715 if { (ac_try="$ac_cpp conftest.$ac_ext"
12716 case "(($ac_try" in
12717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12718 *) ac_try_echo=$ac_try;;
12719 esac
12720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12722 ac_status=$?
12723 grep -v '^ *+' conftest.er1 >conftest.err
12724 rm -f conftest.er1
12725 cat conftest.err >&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } >/dev/null; then
12728 if test -s conftest.err; then
12729 ac_cpp_err=$ac_c_preproc_warn_flag
12730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12731 else
12732 ac_cpp_err=
12734 else
12735 ac_cpp_err=yes
12737 if test -z "$ac_cpp_err"; then
12739 cat >>confdefs.h <<\_ACEOF
12740 #define HAVE_FREETYPE_FTTRIGON_H 1
12741 _ACEOF
12743 wine_cv_fttrigon=yes
12744 else
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.$ac_ext >&5
12748 wine_cv_fttrigon=no
12751 rm -f conftest.err conftest.$ac_ext
12752 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12753 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12754 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12755 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 else
12757 cat >conftest.$ac_ext <<_ACEOF
12758 /* confdefs.h. */
12759 _ACEOF
12760 cat confdefs.h >>conftest.$ac_ext
12761 cat >>conftest.$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12763 #include <freetype/ftmodapi.h>
12765 typedef FT_TrueTypeEngineType ac__type_new_;
12767 main ()
12769 if ((ac__type_new_ *) 0)
12770 return 0;
12771 if (sizeof (ac__type_new_))
12772 return 0;
12774 return 0;
12776 _ACEOF
12777 rm -f conftest.$ac_objext
12778 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
12785 ac_status=$?
12786 grep -v '^ *+' conftest.er1 >conftest.err
12787 rm -f conftest.er1
12788 cat conftest.err >&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } &&
12791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12792 { (case "(($ac_try" in
12793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12794 *) ac_try_echo=$ac_try;;
12795 esac
12796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12797 (eval "$ac_try") 2>&5
12798 ac_status=$?
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } &&
12801 { ac_try='test -s conftest.$ac_objext'
12802 { (case "(($ac_try" in
12803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12804 *) ac_try_echo=$ac_try;;
12805 esac
12806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12807 (eval "$ac_try") 2>&5
12808 ac_status=$?
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; }; then
12811 ac_cv_type_FT_TrueTypeEngineType=yes
12812 else
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12816 ac_cv_type_FT_TrueTypeEngineType=no
12819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12821 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12822 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12823 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12825 cat >>confdefs.h <<_ACEOF
12826 #define HAVE_FT_TRUETYPEENGINETYPE 1
12827 _ACEOF
12832 ac_save_CFLAGS="$CFLAGS"
12833 CFLAGS="$CFLAGS $FREETYPELIBS"
12835 for ac_func in FT_Load_Sfnt_Table
12837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843 cat >conftest.$ac_ext <<_ACEOF
12844 /* confdefs.h. */
12845 _ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12851 #define $ac_func innocuous_$ac_func
12853 /* System header to define __stub macros and hopefully few prototypes,
12854 which can conflict with char $ac_func (); below.
12855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12856 <limits.h> exists even on freestanding compilers. */
12858 #ifdef __STDC__
12859 # include <limits.h>
12860 #else
12861 # include <assert.h>
12862 #endif
12864 #undef $ac_func
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12869 #ifdef __cplusplus
12870 extern "C"
12871 #endif
12872 char $ac_func ();
12873 /* The GNU C library defines this for functions which it implements
12874 to always fail with ENOSYS. Some functions are actually named
12875 something starting with __ and the normal name is an alias. */
12876 #if defined __stub_$ac_func || defined __stub___$ac_func
12877 choke me
12878 #endif
12881 main ()
12883 return $ac_func ();
12885 return 0;
12887 _ACEOF
12888 rm -f conftest.$ac_objext conftest$ac_exeext
12889 if { (ac_try="$ac_link"
12890 case "(($ac_try" in
12891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12892 *) ac_try_echo=$ac_try;;
12893 esac
12894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12895 (eval "$ac_link") 2>conftest.er1
12896 ac_status=$?
12897 grep -v '^ *+' conftest.er1 >conftest.err
12898 rm -f conftest.er1
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (case "(($ac_try" in
12904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12905 *) ac_try_echo=$ac_try;;
12906 esac
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_try") 2>&5
12909 ac_status=$?
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; } &&
12912 { ac_try='test -s conftest$ac_exeext'
12913 { (case "(($ac_try" in
12914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12915 *) ac_try_echo=$ac_try;;
12916 esac
12917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12918 (eval "$ac_try") 2>&5
12919 ac_status=$?
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 eval "$as_ac_var=yes"
12923 else
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.$ac_ext >&5
12927 eval "$as_ac_var=no"
12930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12931 conftest$ac_exeext conftest.$ac_ext
12933 ac_res=`eval echo '${'$as_ac_var'}'`
12934 { echo "$as_me:$LINENO: result: $ac_res" >&5
12935 echo "${ECHO_T}$ac_res" >&6; }
12936 if test `eval echo '${'$as_ac_var'}'` = yes; then
12937 cat >>confdefs.h <<_ACEOF
12938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12939 _ACEOF
12942 done
12944 CFLAGS="$ac_save_CFLAGS"
12945 CPPFLAGS="$ac_save_CPPFLAGS"
12946 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12947 then
12949 cat >>confdefs.h <<\_ACEOF
12950 #define HAVE_FREETYPE 1
12951 _ACEOF
12953 wine_cv_msg_freetype=no
12954 else
12955 FREETYPELIBS=""
12956 FREETYPEINCL=""
12957 wine_cv_msg_freetype=yes
12962 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12963 then
12964 FONTSSUBDIRS="fonts"
12968 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12969 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12970 if test "${ac_cv_c_ppdev+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 else
12973 cat >conftest.$ac_ext <<_ACEOF
12974 /* confdefs.h. */
12975 _ACEOF
12976 cat confdefs.h >>conftest.$ac_ext
12977 cat >>conftest.$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12979 #include <linux/ppdev.h>
12981 main ()
12983 ioctl (1,PPCLAIM,0)
12985 return 0;
12987 _ACEOF
12988 rm -f conftest.$ac_objext
12989 if { (ac_try="$ac_compile"
12990 case "(($ac_try" in
12991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12992 *) ac_try_echo=$ac_try;;
12993 esac
12994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12995 (eval "$ac_compile") 2>conftest.er1
12996 ac_status=$?
12997 grep -v '^ *+' conftest.er1 >conftest.err
12998 rm -f conftest.er1
12999 cat conftest.err >&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } &&
13002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13003 { (case "(($ac_try" in
13004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13005 *) ac_try_echo=$ac_try;;
13006 esac
13007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13008 (eval "$ac_try") 2>&5
13009 ac_status=$?
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; } &&
13012 { ac_try='test -s conftest.$ac_objext'
13013 { (case "(($ac_try" in
13014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13015 *) ac_try_echo=$ac_try;;
13016 esac
13017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13018 (eval "$ac_try") 2>&5
13019 ac_status=$?
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); }; }; then
13022 ac_cv_c_ppdev="yes"
13023 else
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.$ac_ext >&5
13027 ac_cv_c_ppdev="no"
13030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13033 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13034 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13035 if test "$ac_cv_c_ppdev" = "yes"
13036 then
13038 cat >>confdefs.h <<\_ACEOF
13039 #define HAVE_PPDEV 1
13040 _ACEOF
13044 { echo "$as_me:$LINENO: checking for va_copy" >&5
13045 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13046 if test "${ac_cv_c_va_copy+set}" = set; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 else
13049 cat >conftest.$ac_ext <<_ACEOF
13050 /* confdefs.h. */
13051 _ACEOF
13052 cat confdefs.h >>conftest.$ac_ext
13053 cat >>conftest.$ac_ext <<_ACEOF
13054 /* end confdefs.h. */
13055 #include <stdarg.h>
13057 main ()
13059 va_list ap1, ap2;
13060 va_copy(ap1,ap2);
13063 return 0;
13065 _ACEOF
13066 rm -f conftest.$ac_objext conftest$ac_exeext
13067 if { (ac_try="$ac_link"
13068 case "(($ac_try" in
13069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13071 esac
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073 (eval "$ac_link") 2>conftest.er1
13074 ac_status=$?
13075 grep -v '^ *+' conftest.er1 >conftest.err
13076 rm -f conftest.er1
13077 cat conftest.err >&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } &&
13080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13081 { (case "(($ac_try" in
13082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13083 *) ac_try_echo=$ac_try;;
13084 esac
13085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13086 (eval "$ac_try") 2>&5
13087 ac_status=$?
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; } &&
13090 { ac_try='test -s conftest$ac_exeext'
13091 { (case "(($ac_try" in
13092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13093 *) ac_try_echo=$ac_try;;
13094 esac
13095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13096 (eval "$ac_try") 2>&5
13097 ac_status=$?
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); }; }; then
13100 ac_cv_c_va_copy="yes"
13101 else
13102 echo "$as_me: failed program was:" >&5
13103 sed 's/^/| /' conftest.$ac_ext >&5
13105 ac_cv_c_va_copy="no"
13108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13109 conftest$ac_exeext conftest.$ac_ext
13112 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13113 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13114 if test "$ac_cv_c_va_copy" = "yes"
13115 then
13117 cat >>confdefs.h <<\_ACEOF
13118 #define HAVE_VA_COPY 1
13119 _ACEOF
13122 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13123 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13124 if test "${ac_cv_c___va_copy+set}" = set; then
13125 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 else
13127 cat >conftest.$ac_ext <<_ACEOF
13128 /* confdefs.h. */
13129 _ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 #include <stdarg.h>
13135 main ()
13137 va_list ap1, ap2;
13138 __va_copy(ap1,ap2);
13141 return 0;
13143 _ACEOF
13144 rm -f conftest.$ac_objext conftest$ac_exeext
13145 if { (ac_try="$ac_link"
13146 case "(($ac_try" in
13147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13148 *) ac_try_echo=$ac_try;;
13149 esac
13150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13151 (eval "$ac_link") 2>conftest.er1
13152 ac_status=$?
13153 grep -v '^ *+' conftest.er1 >conftest.err
13154 rm -f conftest.er1
13155 cat conftest.err >&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } &&
13158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13159 { (case "(($ac_try" in
13160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13161 *) ac_try_echo=$ac_try;;
13162 esac
13163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13164 (eval "$ac_try") 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try='test -s conftest$ac_exeext'
13169 { (case "(($ac_try" in
13170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13171 *) ac_try_echo=$ac_try;;
13172 esac
13173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13174 (eval "$ac_try") 2>&5
13175 ac_status=$?
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }; }; then
13178 ac_cv_c___va_copy="yes"
13179 else
13180 echo "$as_me: failed program was:" >&5
13181 sed 's/^/| /' conftest.$ac_ext >&5
13183 ac_cv_c___va_copy="no"
13186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13187 conftest$ac_exeext conftest.$ac_ext
13190 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13191 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13192 if test "$ac_cv_c___va_copy" = "yes"
13193 then
13195 cat >>confdefs.h <<\_ACEOF
13196 #define HAVE___VA_COPY 1
13197 _ACEOF
13201 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13202 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13203 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13204 echo $ECHO_N "(cached) $ECHO_C" >&6
13205 else
13206 cat >conftest.$ac_ext <<_ACEOF
13207 /* confdefs.h. */
13208 _ACEOF
13209 cat confdefs.h >>conftest.$ac_ext
13210 cat >>conftest.$ac_ext <<_ACEOF
13211 /* end confdefs.h. */
13212 #include <setjmp.h>
13214 main ()
13216 sigjmp_buf buf;
13217 sigsetjmp( buf, 1 );
13218 siglongjmp( buf, 1 );
13220 return 0;
13222 _ACEOF
13223 rm -f conftest.$ac_objext conftest$ac_exeext
13224 if { (ac_try="$ac_link"
13225 case "(($ac_try" in
13226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227 *) ac_try_echo=$ac_try;;
13228 esac
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_link") 2>conftest.er1
13231 ac_status=$?
13232 grep -v '^ *+' conftest.er1 >conftest.err
13233 rm -f conftest.er1
13234 cat conftest.err >&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13238 { (case "(($ac_try" in
13239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13240 *) ac_try_echo=$ac_try;;
13241 esac
13242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13243 (eval "$ac_try") 2>&5
13244 ac_status=$?
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try='test -s conftest$ac_exeext'
13248 { (case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13251 esac
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_try") 2>&5
13254 ac_status=$?
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; }; then
13257 ac_cv_c_sigsetjmp="yes"
13258 else
13259 echo "$as_me: failed program was:" >&5
13260 sed 's/^/| /' conftest.$ac_ext >&5
13262 ac_cv_c_sigsetjmp="no"
13265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13266 conftest$ac_exeext conftest.$ac_ext
13269 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13270 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13271 if test "$ac_cv_c_sigsetjmp" = "yes"
13272 then
13274 cat >>confdefs.h <<\_ACEOF
13275 #define HAVE_SIGSETJMP 1
13276 _ACEOF
13280 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13281 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13282 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 else
13285 cat >conftest.$ac_ext <<_ACEOF
13286 /* confdefs.h. */
13287 _ACEOF
13288 cat confdefs.h >>conftest.$ac_ext
13289 cat >>conftest.$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 #define _GNU_SOURCE
13292 #include <pthread.h>
13294 typedef pthread_rwlock_t ac__type_new_;
13296 main ()
13298 if ((ac__type_new_ *) 0)
13299 return 0;
13300 if (sizeof (ac__type_new_))
13301 return 0;
13303 return 0;
13305 _ACEOF
13306 rm -f conftest.$ac_objext
13307 if { (ac_try="$ac_compile"
13308 case "(($ac_try" in
13309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13310 *) ac_try_echo=$ac_try;;
13311 esac
13312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13313 (eval "$ac_compile") 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } &&
13320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13321 { (case "(($ac_try" in
13322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13323 *) ac_try_echo=$ac_try;;
13324 esac
13325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13326 (eval "$ac_try") 2>&5
13327 ac_status=$?
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try='test -s conftest.$ac_objext'
13331 { (case "(($ac_try" in
13332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13333 *) ac_try_echo=$ac_try;;
13334 esac
13335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13336 (eval "$ac_try") 2>&5
13337 ac_status=$?
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13340 ac_cv_type_pthread_rwlock_t=yes
13341 else
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13345 ac_cv_type_pthread_rwlock_t=no
13348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13350 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13351 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13352 if test $ac_cv_type_pthread_rwlock_t = yes; then
13354 cat >>confdefs.h <<_ACEOF
13355 #define HAVE_PTHREAD_RWLOCK_T 1
13356 _ACEOF
13360 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13361 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13362 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365 cat >conftest.$ac_ext <<_ACEOF
13366 /* confdefs.h. */
13367 _ACEOF
13368 cat confdefs.h >>conftest.$ac_ext
13369 cat >>conftest.$ac_ext <<_ACEOF
13370 /* end confdefs.h. */
13371 #define _GNU_SOURCE
13372 #include <pthread.h>
13374 typedef pthread_rwlockattr_t ac__type_new_;
13376 main ()
13378 if ((ac__type_new_ *) 0)
13379 return 0;
13380 if (sizeof (ac__type_new_))
13381 return 0;
13383 return 0;
13385 _ACEOF
13386 rm -f conftest.$ac_objext
13387 if { (ac_try="$ac_compile"
13388 case "(($ac_try" in
13389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13390 *) ac_try_echo=$ac_try;;
13391 esac
13392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13393 (eval "$ac_compile") 2>conftest.er1
13394 ac_status=$?
13395 grep -v '^ *+' conftest.er1 >conftest.err
13396 rm -f conftest.er1
13397 cat conftest.err >&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } &&
13400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
13407 ac_status=$?
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; } &&
13410 { ac_try='test -s conftest.$ac_objext'
13411 { (case "(($ac_try" in
13412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13413 *) ac_try_echo=$ac_try;;
13414 esac
13415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13416 (eval "$ac_try") 2>&5
13417 ac_status=$?
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); }; }; then
13420 ac_cv_type_pthread_rwlockattr_t=yes
13421 else
13422 echo "$as_me: failed program was:" >&5
13423 sed 's/^/| /' conftest.$ac_ext >&5
13425 ac_cv_type_pthread_rwlockattr_t=no
13428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13430 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13431 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13432 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13434 cat >>confdefs.h <<_ACEOF
13435 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13436 _ACEOF
13442 ac_wine_check_funcs_save_LIBS="$LIBS"
13443 LIBS="$LIBS $LIBPTHREAD"
13448 for ac_func in \
13449 pthread_attr_get_np \
13450 pthread_getattr_np \
13451 pthread_get_stackaddr_np \
13452 pthread_get_stacksize_np
13454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 else
13460 cat >conftest.$ac_ext <<_ACEOF
13461 /* confdefs.h. */
13462 _ACEOF
13463 cat confdefs.h >>conftest.$ac_ext
13464 cat >>conftest.$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13468 #define $ac_func innocuous_$ac_func
13470 /* System header to define __stub macros and hopefully few prototypes,
13471 which can conflict with char $ac_func (); below.
13472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13473 <limits.h> exists even on freestanding compilers. */
13475 #ifdef __STDC__
13476 # include <limits.h>
13477 #else
13478 # include <assert.h>
13479 #endif
13481 #undef $ac_func
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 #ifdef __cplusplus
13487 extern "C"
13488 #endif
13489 char $ac_func ();
13490 /* The GNU C library defines this for functions which it implements
13491 to always fail with ENOSYS. Some functions are actually named
13492 something starting with __ and the normal name is an alias. */
13493 #if defined __stub_$ac_func || defined __stub___$ac_func
13494 choke me
13495 #endif
13498 main ()
13500 return $ac_func ();
13502 return 0;
13504 _ACEOF
13505 rm -f conftest.$ac_objext conftest$ac_exeext
13506 if { (ac_try="$ac_link"
13507 case "(($ac_try" in
13508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13509 *) ac_try_echo=$ac_try;;
13510 esac
13511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13512 (eval "$ac_link") 2>conftest.er1
13513 ac_status=$?
13514 grep -v '^ *+' conftest.er1 >conftest.err
13515 rm -f conftest.er1
13516 cat conftest.err >&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } &&
13519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13520 { (case "(($ac_try" in
13521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13522 *) ac_try_echo=$ac_try;;
13523 esac
13524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13525 (eval "$ac_try") 2>&5
13526 ac_status=$?
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; } &&
13529 { ac_try='test -s conftest$ac_exeext'
13530 { (case "(($ac_try" in
13531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13532 *) ac_try_echo=$ac_try;;
13533 esac
13534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13535 (eval "$ac_try") 2>&5
13536 ac_status=$?
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; }; then
13539 eval "$as_ac_var=yes"
13540 else
13541 echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.$ac_ext >&5
13544 eval "$as_ac_var=no"
13547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13548 conftest$ac_exeext conftest.$ac_ext
13550 ac_res=`eval echo '${'$as_ac_var'}'`
13551 { echo "$as_me:$LINENO: result: $ac_res" >&5
13552 echo "${ECHO_T}$ac_res" >&6; }
13553 if test `eval echo '${'$as_ac_var'}'` = yes; then
13554 cat >>confdefs.h <<_ACEOF
13555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13556 _ACEOF
13559 done
13561 LIBS="$ac_wine_check_funcs_save_LIBS"
13563 # Extract the first word of "artsc-config", so it can be a program name with args.
13564 set dummy artsc-config; ac_word=$2
13565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13567 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 else
13570 case $ARTSCCONFIG in
13571 [\\/]* | ?:[\\/]*)
13572 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13576 for as_dir in $PATH
13578 IFS=$as_save_IFS
13579 test -z "$as_dir" && as_dir=.
13580 for ac_exec_ext in '' $ac_executable_extensions; do
13581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13582 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13584 break 2
13586 done
13587 done
13588 IFS=$as_save_IFS
13591 esac
13593 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13594 if test -n "$ARTSCCONFIG"; then
13595 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13596 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13597 else
13598 { echo "$as_me:$LINENO: result: no" >&5
13599 echo "${ECHO_T}no" >&6; }
13603 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13604 then
13605 ARTSC_CFLAGS=""
13606 for i in `$ARTSCCONFIG --cflags`
13608 case "$i" in
13609 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13610 esac
13611 done
13612 ARTSC_LIBS=""
13613 for i in `$ARTSCCONFIG --libs`
13615 case "$i" in
13616 -L/usr/lib|-L/usr/lib64) ;;
13617 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13618 esac
13619 done
13620 save_CFLAGS="$CFLAGS"
13621 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13622 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13623 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13624 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13625 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 else
13627 ac_check_lib_save_LIBS=$LIBS
13628 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13629 cat >conftest.$ac_ext <<_ACEOF
13630 /* confdefs.h. */
13631 _ACEOF
13632 cat confdefs.h >>conftest.$ac_ext
13633 cat >>conftest.$ac_ext <<_ACEOF
13634 /* end confdefs.h. */
13636 /* Override any GCC internal prototype to avoid an error.
13637 Use char because int might match the return type of a GCC
13638 builtin and then its argument prototype would still apply. */
13639 #ifdef __cplusplus
13640 extern "C"
13641 #endif
13642 char arts_init ();
13644 main ()
13646 return arts_init ();
13648 return 0;
13650 _ACEOF
13651 rm -f conftest.$ac_objext conftest$ac_exeext
13652 if { (ac_try="$ac_link"
13653 case "(($ac_try" in
13654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13655 *) ac_try_echo=$ac_try;;
13656 esac
13657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13658 (eval "$ac_link") 2>conftest.er1
13659 ac_status=$?
13660 grep -v '^ *+' conftest.er1 >conftest.err
13661 rm -f conftest.er1
13662 cat conftest.err >&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); } &&
13665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13666 { (case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13669 esac
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_try") 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; } &&
13675 { ac_try='test -s conftest$ac_exeext'
13676 { (case "(($ac_try" in
13677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13678 *) ac_try_echo=$ac_try;;
13679 esac
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_try") 2>&5
13682 ac_status=$?
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; }; then
13685 ac_cv_lib_artsc_arts_init=yes
13686 else
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.$ac_ext >&5
13690 ac_cv_lib_artsc_arts_init=no
13693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13694 conftest$ac_exeext conftest.$ac_ext
13695 LIBS=$ac_check_lib_save_LIBS
13697 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13698 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13699 if test $ac_cv_lib_artsc_arts_init = yes; then
13700 cat >conftest.$ac_ext <<_ACEOF
13701 /* confdefs.h. */
13702 _ACEOF
13703 cat confdefs.h >>conftest.$ac_ext
13704 cat >>conftest.$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13706 #include <artsc.h>
13708 main ()
13710 arts_stream_t stream;
13712 return 0;
13714 _ACEOF
13715 rm -f conftest.$ac_objext
13716 if { (ac_try="$ac_compile"
13717 case "(($ac_try" in
13718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13719 *) ac_try_echo=$ac_try;;
13720 esac
13721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13722 (eval "$ac_compile") 2>conftest.er1
13723 ac_status=$?
13724 grep -v '^ *+' conftest.er1 >conftest.err
13725 rm -f conftest.er1
13726 cat conftest.err >&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13730 { (case "(($ac_try" in
13731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13732 *) ac_try_echo=$ac_try;;
13733 esac
13734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13735 (eval "$ac_try") 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; } &&
13739 { ac_try='test -s conftest.$ac_objext'
13740 { (case "(($ac_try" in
13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13743 esac
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_try") 2>&5
13746 ac_status=$?
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; }; then
13749 ARTSLIBS=$ARTSC_LIBS
13751 ARTSINCL=$ARTSC_CFLAGS
13754 cat >>confdefs.h <<\_ACEOF
13755 #define HAVE_ARTS 1
13756 _ACEOF
13758 else
13759 echo "$as_me: failed program was:" >&5
13760 sed 's/^/| /' conftest.$ac_ext >&5
13765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13768 CFLAGS="$save_CFLAGS"
13771 # Extract the first word of "esd-config", so it can be a program name with args.
13772 set dummy esd-config; ac_word=$2
13773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13775 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13776 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 else
13778 case $ESDCONFIG in
13779 [\\/]* | ?:[\\/]*)
13780 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13784 for as_dir in $PATH
13786 IFS=$as_save_IFS
13787 test -z "$as_dir" && as_dir=.
13788 for ac_exec_ext in '' $ac_executable_extensions; do
13789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13790 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13792 break 2
13794 done
13795 done
13796 IFS=$as_save_IFS
13799 esac
13801 ESDCONFIG=$ac_cv_path_ESDCONFIG
13802 if test -n "$ESDCONFIG"; then
13803 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13804 echo "${ECHO_T}$ESDCONFIG" >&6; }
13805 else
13806 { echo "$as_me:$LINENO: result: no" >&5
13807 echo "${ECHO_T}no" >&6; }
13811 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13812 then
13813 ESD_CFLAGS=""
13814 for i in `$ESDCONFIG --cflags`
13816 case "$i" in
13817 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13818 esac
13819 done
13820 ESD_LIBS=`$ESDCONFIG --libs`
13821 save_CFLAGS="$CFLAGS"
13822 CFLAGS="$CFLAGS $ESD_CFLAGS"
13823 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13824 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13825 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13826 echo $ECHO_N "(cached) $ECHO_C" >&6
13827 else
13828 ac_check_lib_save_LIBS=$LIBS
13829 LIBS="-lesd $LIBS"
13830 cat >conftest.$ac_ext <<_ACEOF
13831 /* confdefs.h. */
13832 _ACEOF
13833 cat confdefs.h >>conftest.$ac_ext
13834 cat >>conftest.$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13837 /* Override any GCC internal prototype to avoid an error.
13838 Use char because int might match the return type of a GCC
13839 builtin and then its argument prototype would still apply. */
13840 #ifdef __cplusplus
13841 extern "C"
13842 #endif
13843 char esd_open_sound ();
13845 main ()
13847 return esd_open_sound ();
13849 return 0;
13851 _ACEOF
13852 rm -f conftest.$ac_objext conftest$ac_exeext
13853 if { (ac_try="$ac_link"
13854 case "(($ac_try" in
13855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13856 *) ac_try_echo=$ac_try;;
13857 esac
13858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13859 (eval "$ac_link") 2>conftest.er1
13860 ac_status=$?
13861 grep -v '^ *+' conftest.er1 >conftest.err
13862 rm -f conftest.er1
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13867 { (case "(($ac_try" in
13868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13870 esac
13871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13872 (eval "$ac_try") 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; } &&
13876 { ac_try='test -s conftest$ac_exeext'
13877 { (case "(($ac_try" in
13878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13879 *) ac_try_echo=$ac_try;;
13880 esac
13881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13882 (eval "$ac_try") 2>&5
13883 ac_status=$?
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; }; then
13886 ac_cv_lib_esd_esd_open_sound=yes
13887 else
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13891 ac_cv_lib_esd_esd_open_sound=no
13894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13895 conftest$ac_exeext conftest.$ac_ext
13896 LIBS=$ac_check_lib_save_LIBS
13898 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13899 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13900 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13901 ESDLIBS=$ESD_LIBS
13903 ESDINCL=$ESD_CFLAGS
13906 cat >>confdefs.h <<\_ACEOF
13907 #define HAVE_ESD 1
13908 _ACEOF
13912 CFLAGS="$save_CFLAGS"
13915 ALSALIBS=""
13917 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13918 then
13919 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13920 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13921 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 else
13924 ac_check_lib_save_LIBS=$LIBS
13925 LIBS="-lasound $LIBS"
13926 cat >conftest.$ac_ext <<_ACEOF
13927 /* confdefs.h. */
13928 _ACEOF
13929 cat confdefs.h >>conftest.$ac_ext
13930 cat >>conftest.$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 #ifdef __cplusplus
13937 extern "C"
13938 #endif
13939 char snd_pcm_hw_params_get_access ();
13941 main ()
13943 return snd_pcm_hw_params_get_access ();
13945 return 0;
13947 _ACEOF
13948 rm -f conftest.$ac_objext conftest$ac_exeext
13949 if { (ac_try="$ac_link"
13950 case "(($ac_try" in
13951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13952 *) ac_try_echo=$ac_try;;
13953 esac
13954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13955 (eval "$ac_link") 2>conftest.er1
13956 ac_status=$?
13957 grep -v '^ *+' conftest.er1 >conftest.err
13958 rm -f conftest.er1
13959 cat conftest.err >&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } &&
13962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13963 { (case "(($ac_try" in
13964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13965 *) ac_try_echo=$ac_try;;
13966 esac
13967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13968 (eval "$ac_try") 2>&5
13969 ac_status=$?
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; } &&
13972 { ac_try='test -s conftest$ac_exeext'
13973 { (case "(($ac_try" in
13974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13975 *) ac_try_echo=$ac_try;;
13976 esac
13977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13978 (eval "$ac_try") 2>&5
13979 ac_status=$?
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13983 else
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.$ac_ext >&5
13987 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13991 conftest$ac_exeext conftest.$ac_ext
13992 LIBS=$ac_check_lib_save_LIBS
13994 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13995 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13996 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13997 cat >conftest.$ac_ext <<_ACEOF
13998 /* confdefs.h. */
13999 _ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #ifdef HAVE_ALSA_ASOUNDLIB_H
14004 #include <alsa/asoundlib.h>
14005 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14006 #include <sys/asoundlib.h>
14007 #endif
14009 main ()
14011 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14013 return 0;
14015 _ACEOF
14016 rm -f conftest.$ac_objext
14017 if { (ac_try="$ac_compile"
14018 case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14021 esac
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_compile") 2>conftest.er1
14024 ac_status=$?
14025 grep -v '^ *+' conftest.er1 >conftest.err
14026 rm -f conftest.er1
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } &&
14030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14031 { (case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14034 esac
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_try") 2>&5
14037 ac_status=$?
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; } &&
14040 { ac_try='test -s conftest.$ac_objext'
14041 { (case "(($ac_try" in
14042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14043 *) ac_try_echo=$ac_try;;
14044 esac
14045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14046 (eval "$ac_try") 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14051 cat >>confdefs.h <<\_ACEOF
14052 #define HAVE_ALSA 1
14053 _ACEOF
14055 ALSALIBS="-lasound"
14056 else
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.$ac_ext >&5
14063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14069 AUDIOIOLIBS=""
14071 if test "$ac_cv_header_libaudioio_h" = "yes"
14072 then
14073 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14074 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14075 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-laudioio $LIBS"
14080 cat >conftest.$ac_ext <<_ACEOF
14081 /* confdefs.h. */
14082 _ACEOF
14083 cat confdefs.h >>conftest.$ac_ext
14084 cat >>conftest.$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 #ifdef __cplusplus
14091 extern "C"
14092 #endif
14093 char AudioIOGetVersion ();
14095 main ()
14097 return AudioIOGetVersion ();
14099 return 0;
14101 _ACEOF
14102 rm -f conftest.$ac_objext conftest$ac_exeext
14103 if { (ac_try="$ac_link"
14104 case "(($ac_try" in
14105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14106 *) ac_try_echo=$ac_try;;
14107 esac
14108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14109 (eval "$ac_link") 2>conftest.er1
14110 ac_status=$?
14111 grep -v '^ *+' conftest.er1 >conftest.err
14112 rm -f conftest.er1
14113 cat conftest.err >&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } &&
14116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14117 { (case "(($ac_try" in
14118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14119 *) ac_try_echo=$ac_try;;
14120 esac
14121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14122 (eval "$ac_try") 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try='test -s conftest$ac_exeext'
14127 { (case "(($ac_try" in
14128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129 *) ac_try_echo=$ac_try;;
14130 esac
14131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14132 (eval "$ac_try") 2>&5
14133 ac_status=$?
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); }; }; then
14136 ac_cv_lib_audioio_AudioIOGetVersion=yes
14137 else
14138 echo "$as_me: failed program was:" >&5
14139 sed 's/^/| /' conftest.$ac_ext >&5
14141 ac_cv_lib_audioio_AudioIOGetVersion=no
14144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14145 conftest$ac_exeext conftest.$ac_ext
14146 LIBS=$ac_check_lib_save_LIBS
14148 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14149 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14150 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14151 AUDIOIOLIBS="-laudioio"
14153 cat >>confdefs.h <<\_ACEOF
14154 #define HAVE_LIBAUDIOIO 1
14155 _ACEOF
14162 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14163 then
14164 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14165 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14166 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 else
14169 ac_check_lib_save_LIBS=$LIBS
14170 LIBS="-lcapi20 $LIBS"
14171 cat >conftest.$ac_ext <<_ACEOF
14172 /* confdefs.h. */
14173 _ACEOF
14174 cat confdefs.h >>conftest.$ac_ext
14175 cat >>conftest.$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14178 /* Override any GCC internal prototype to avoid an error.
14179 Use char because int might match the return type of a GCC
14180 builtin and then its argument prototype would still apply. */
14181 #ifdef __cplusplus
14182 extern "C"
14183 #endif
14184 char capi20_register ();
14186 main ()
14188 return capi20_register ();
14190 return 0;
14192 _ACEOF
14193 rm -f conftest.$ac_objext conftest$ac_exeext
14194 if { (ac_try="$ac_link"
14195 case "(($ac_try" in
14196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14197 *) ac_try_echo=$ac_try;;
14198 esac
14199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14200 (eval "$ac_link") 2>conftest.er1
14201 ac_status=$?
14202 grep -v '^ *+' conftest.er1 >conftest.err
14203 rm -f conftest.er1
14204 cat conftest.err >&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } &&
14207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14208 { (case "(($ac_try" in
14209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14210 *) ac_try_echo=$ac_try;;
14211 esac
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_try") 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; } &&
14217 { ac_try='test -s conftest$ac_exeext'
14218 { (case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14221 esac
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_try") 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14227 ac_cv_lib_capi20_capi20_register=yes
14228 else
14229 echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.$ac_ext >&5
14232 ac_cv_lib_capi20_capi20_register=no
14235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14236 conftest$ac_exeext conftest.$ac_ext
14237 LIBS=$ac_check_lib_save_LIBS
14239 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14240 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14241 if test $ac_cv_lib_capi20_capi20_register = yes; then
14243 cat >>confdefs.h <<\_ACEOF
14244 #define HAVE_CAPI4LINUX 1
14245 _ACEOF
14252 EXTRACFLAGS=""
14254 if test "x${GCC}" = "xyes"
14255 then
14256 EXTRACFLAGS="-Wall -pipe"
14258 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14259 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14260 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 if test "$cross_compiling" = yes; then
14264 ac_cv_c_gcc_strength_bug="yes"
14265 else
14266 cat >conftest.$ac_ext <<_ACEOF
14267 /* confdefs.h. */
14268 _ACEOF
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14273 int L[4] = {0,1,2,3};
14274 int main(void) {
14275 static int Array[3];
14276 unsigned int B = 3;
14277 int i;
14278 for(i=0; i<B; i++) Array[i] = i - 3;
14279 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14280 L[i] = 4;
14282 exit( Array[1] != -2 || L[2] != 3);
14284 _ACEOF
14285 rm -f conftest$ac_exeext
14286 if { (ac_try="$ac_link"
14287 case "(($ac_try" in
14288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14289 *) ac_try_echo=$ac_try;;
14290 esac
14291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14292 (eval "$ac_link") 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14296 { (case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14299 esac
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_try") 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14305 ac_cv_c_gcc_strength_bug="no"
14306 else
14307 echo "$as_me: program exited with status $ac_status" >&5
14308 echo "$as_me: failed program was:" >&5
14309 sed 's/^/| /' conftest.$ac_ext >&5
14311 ( exit $ac_status )
14312 ac_cv_c_gcc_strength_bug="yes"
14314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14319 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14320 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14321 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14322 then
14323 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14327 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14328 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14329 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 else
14332 ac_wine_try_cflags_saved=$CFLAGS
14333 CFLAGS="$CFLAGS -fshort-wchar"
14334 cat >conftest.$ac_ext <<_ACEOF
14335 /* confdefs.h. */
14336 _ACEOF
14337 cat confdefs.h >>conftest.$ac_ext
14338 cat >>conftest.$ac_ext <<_ACEOF
14339 /* end confdefs.h. */
14342 main ()
14346 return 0;
14348 _ACEOF
14349 rm -f conftest.$ac_objext conftest$ac_exeext
14350 if { (ac_try="$ac_link"
14351 case "(($ac_try" in
14352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14353 *) ac_try_echo=$ac_try;;
14354 esac
14355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14356 (eval "$ac_link") 2>conftest.er1
14357 ac_status=$?
14358 grep -v '^ *+' conftest.er1 >conftest.err
14359 rm -f conftest.er1
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14364 { (case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14367 esac
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_try") 2>&5
14370 ac_status=$?
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try='test -s conftest$ac_exeext'
14374 { (case "(($ac_try" in
14375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14376 *) ac_try_echo=$ac_try;;
14377 esac
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_try") 2>&5
14380 ac_status=$?
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; }; then
14383 ac_cv_cflags__fshort_wchar=yes
14384 else
14385 echo "$as_me: failed program was:" >&5
14386 sed 's/^/| /' conftest.$ac_ext >&5
14388 ac_cv_cflags__fshort_wchar=no
14391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14392 conftest$ac_exeext conftest.$ac_ext
14393 CFLAGS=$ac_wine_try_cflags_saved
14395 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14396 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14397 if test $ac_cv_cflags__fshort_wchar = yes; then
14399 cat >>confdefs.h <<\_ACEOF
14400 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14401 _ACEOF
14405 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14406 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14407 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14408 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 else
14410 ac_wine_try_cflags_saved=$CFLAGS
14411 CFLAGS="$CFLAGS -fno-strict-aliasing"
14412 cat >conftest.$ac_ext <<_ACEOF
14413 /* confdefs.h. */
14414 _ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14420 main ()
14424 return 0;
14426 _ACEOF
14427 rm -f conftest.$ac_objext conftest$ac_exeext
14428 if { (ac_try="$ac_link"
14429 case "(($ac_try" in
14430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14431 *) ac_try_echo=$ac_try;;
14432 esac
14433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14434 (eval "$ac_link") 2>conftest.er1
14435 ac_status=$?
14436 grep -v '^ *+' conftest.er1 >conftest.err
14437 rm -f conftest.er1
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); } &&
14441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14442 { (case "(($ac_try" in
14443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14444 *) ac_try_echo=$ac_try;;
14445 esac
14446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14447 (eval "$ac_try") 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try='test -s conftest$ac_exeext'
14452 { (case "(($ac_try" in
14453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14454 *) ac_try_echo=$ac_try;;
14455 esac
14456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14457 (eval "$ac_try") 2>&5
14458 ac_status=$?
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; }; then
14461 ac_cv_cflags__fno_strict_aliasing=yes
14462 else
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14466 ac_cv_cflags__fno_strict_aliasing=no
14469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14470 conftest$ac_exeext conftest.$ac_ext
14471 CFLAGS=$ac_wine_try_cflags_saved
14473 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14474 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14475 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14476 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14479 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14480 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14481 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 else
14484 ac_wine_try_cflags_saved=$CFLAGS
14485 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14486 cat >conftest.$ac_ext <<_ACEOF
14487 /* confdefs.h. */
14488 _ACEOF
14489 cat confdefs.h >>conftest.$ac_ext
14490 cat >>conftest.$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14494 main ()
14498 return 0;
14500 _ACEOF
14501 rm -f conftest.$ac_objext conftest$ac_exeext
14502 if { (ac_try="$ac_link"
14503 case "(($ac_try" in
14504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14505 *) ac_try_echo=$ac_try;;
14506 esac
14507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14508 (eval "$ac_link") 2>conftest.er1
14509 ac_status=$?
14510 grep -v '^ *+' conftest.er1 >conftest.err
14511 rm -f conftest.er1
14512 cat conftest.err >&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } &&
14515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14516 { (case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14519 esac
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_try") 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; } &&
14525 { ac_try='test -s conftest$ac_exeext'
14526 { (case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529 esac
14530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14531 (eval "$ac_try") 2>&5
14532 ac_status=$?
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); }; }; then
14535 ac_cv_cflags__Wdeclaration_after_statement=yes
14536 else
14537 echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.$ac_ext >&5
14540 ac_cv_cflags__Wdeclaration_after_statement=no
14543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14544 conftest$ac_exeext conftest.$ac_ext
14545 CFLAGS=$ac_wine_try_cflags_saved
14547 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14548 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14549 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14550 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14553 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14554 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14555 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14558 ac_wine_try_cflags_saved=$CFLAGS
14559 CFLAGS="$CFLAGS -Wwrite-strings"
14560 cat >conftest.$ac_ext <<_ACEOF
14561 /* confdefs.h. */
14562 _ACEOF
14563 cat confdefs.h >>conftest.$ac_ext
14564 cat >>conftest.$ac_ext <<_ACEOF
14565 /* end confdefs.h. */
14568 main ()
14572 return 0;
14574 _ACEOF
14575 rm -f conftest.$ac_objext conftest$ac_exeext
14576 if { (ac_try="$ac_link"
14577 case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14580 esac
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_link") 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14590 { (case "(($ac_try" in
14591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14592 *) ac_try_echo=$ac_try;;
14593 esac
14594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14595 (eval "$ac_try") 2>&5
14596 ac_status=$?
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; } &&
14599 { ac_try='test -s conftest$ac_exeext'
14600 { (case "(($ac_try" in
14601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14602 *) ac_try_echo=$ac_try;;
14603 esac
14604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14605 (eval "$ac_try") 2>&5
14606 ac_status=$?
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 ac_cv_cflags__Wwrite_strings=yes
14610 else
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14614 ac_cv_cflags__Wwrite_strings=no
14617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14618 conftest$ac_exeext conftest.$ac_ext
14619 CFLAGS=$ac_wine_try_cflags_saved
14621 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14622 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14623 if test $ac_cv_cflags__Wwrite_strings = yes; then
14624 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14628 saved_CFLAGS="$CFLAGS"
14629 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14630 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14631 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14632 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 else
14635 cat >conftest.$ac_ext <<_ACEOF
14636 /* confdefs.h. */
14637 _ACEOF
14638 cat confdefs.h >>conftest.$ac_ext
14639 cat >>conftest.$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 #include <string.h>
14643 main ()
14647 return 0;
14649 _ACEOF
14650 rm -f conftest.$ac_objext
14651 if { (ac_try="$ac_compile"
14652 case "(($ac_try" in
14653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14655 esac
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_compile") 2>conftest.er1
14658 ac_status=$?
14659 grep -v '^ *+' conftest.er1 >conftest.err
14660 rm -f conftest.er1
14661 cat conftest.err >&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } &&
14664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14665 { (case "(($ac_try" in
14666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14667 *) ac_try_echo=$ac_try;;
14668 esac
14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14670 (eval "$ac_try") 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest.$ac_objext'
14675 { (case "(($ac_try" in
14676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14677 *) ac_try_echo=$ac_try;;
14678 esac
14679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14680 (eval "$ac_try") 2>&5
14681 ac_status=$?
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; }; then
14684 ac_cv_c_string_h_warnings=no
14685 else
14686 echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.$ac_ext >&5
14689 ac_cv_c_string_h_warnings=yes
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14694 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14695 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14696 CFLAGS="$saved_CFLAGS"
14697 if test "$ac_cv_c_string_h_warnings" = "no"
14698 then
14699 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14702 BUILTINFLAG=""
14704 saved_CFLAGS="$CFLAGS"
14705 CFLAGS="$CFLAGS -Werror"
14706 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14707 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14708 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 else
14711 cat >conftest.$ac_ext <<_ACEOF
14712 /* confdefs.h. */
14713 _ACEOF
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14719 main ()
14721 int iswlower(unsigned short);
14723 return 0;
14725 _ACEOF
14726 rm -f conftest.$ac_objext
14727 if { (ac_try="$ac_compile"
14728 case "(($ac_try" in
14729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14730 *) ac_try_echo=$ac_try;;
14731 esac
14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14733 (eval "$ac_compile") 2>conftest.er1
14734 ac_status=$?
14735 grep -v '^ *+' conftest.er1 >conftest.err
14736 rm -f conftest.er1
14737 cat conftest.err >&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
14740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14741 { (case "(($ac_try" in
14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14744 esac
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_try") 2>&5
14747 ac_status=$?
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; } &&
14750 { ac_try='test -s conftest.$ac_objext'
14751 { (case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_try") 2>&5
14757 ac_status=$?
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; }; then
14760 ac_cv_c_builtin_wchar_ctype=no
14761 else
14762 echo "$as_me: failed program was:" >&5
14763 sed 's/^/| /' conftest.$ac_ext >&5
14765 ac_cv_c_builtin_wchar_ctype=yes
14768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14770 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14771 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14772 CFLAGS="$saved_CFLAGS"
14773 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14774 then
14775 BUILTINFLAG="-fno-builtin"
14780 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14781 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14782 if test "${ac_cv_asm_func_def+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785 cat >conftest.$ac_ext <<_ACEOF
14786 /* confdefs.h. */
14787 _ACEOF
14788 cat confdefs.h >>conftest.$ac_ext
14789 cat >>conftest.$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14791 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"); }
14794 main ()
14798 return 0;
14800 _ACEOF
14801 rm -f conftest.$ac_objext conftest$ac_exeext
14802 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
14809 ac_status=$?
14810 grep -v '^ *+' conftest.er1 >conftest.err
14811 rm -f conftest.er1
14812 cat conftest.err >&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } &&
14815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14816 { (case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14819 esac
14820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_try") 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try='test -s conftest$ac_exeext'
14826 { (case "(($ac_try" in
14827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14828 *) ac_try_echo=$ac_try;;
14829 esac
14830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14831 (eval "$ac_try") 2>&5
14832 ac_status=$?
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; }; then
14835 ac_cv_asm_func_def=".def"
14836 else
14837 echo "$as_me: failed program was:" >&5
14838 sed 's/^/| /' conftest.$ac_ext >&5
14840 cat >conftest.$ac_ext <<_ACEOF
14841 /* confdefs.h. */
14842 _ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14849 main ()
14853 return 0;
14855 _ACEOF
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (ac_try="$ac_link"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_link") 2>conftest.er1
14864 ac_status=$?
14865 grep -v '^ *+' conftest.er1 >conftest.err
14866 rm -f conftest.er1
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14871 { (case "(($ac_try" in
14872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873 *) ac_try_echo=$ac_try;;
14874 esac
14875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14876 (eval "$ac_try") 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; } &&
14880 { ac_try='test -s conftest$ac_exeext'
14881 { (case "(($ac_try" in
14882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14883 *) ac_try_echo=$ac_try;;
14884 esac
14885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886 (eval "$ac_try") 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_cv_asm_func_def=".type @function"
14891 else
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14895 cat >conftest.$ac_ext <<_ACEOF
14896 /* confdefs.h. */
14897 _ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14904 main ()
14908 return 0;
14910 _ACEOF
14911 rm -f conftest.$ac_objext conftest$ac_exeext
14912 if { (ac_try="$ac_link"
14913 case "(($ac_try" in
14914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14915 *) ac_try_echo=$ac_try;;
14916 esac
14917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14918 (eval "$ac_link") 2>conftest.er1
14919 ac_status=$?
14920 grep -v '^ *+' conftest.er1 >conftest.err
14921 rm -f conftest.er1
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try='test -s conftest$ac_exeext'
14936 { (case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14939 esac
14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_try") 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_cv_asm_func_def=".type 2"
14946 else
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 ac_cv_asm_func_def="unknown"
14953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14954 conftest$ac_exeext conftest.$ac_ext
14957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14958 conftest$ac_exeext conftest.$ac_ext
14961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14962 conftest$ac_exeext conftest.$ac_ext
14964 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14965 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14969 case "$ac_cv_asm_func_def" in
14970 ".def")
14971 cat >>confdefs.h <<\_ACEOF
14972 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14973 _ACEOF
14975 ".type @function")
14976 cat >>confdefs.h <<\_ACEOF
14977 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14978 _ACEOF
14980 ".type 2")
14981 cat >>confdefs.h <<\_ACEOF
14982 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14983 _ACEOF
14986 cat >>confdefs.h <<\_ACEOF
14987 #define __ASM_FUNC(name) ""
14988 _ACEOF
14990 esac
14993 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14994 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14995 if test "${ac_cv_c_extern_prefix+set}" = set; then
14996 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 else
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h. */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15005 extern int ac_test;
15007 main ()
15009 if (ac_test) return 1
15011 return 0;
15013 _ACEOF
15014 rm -f conftest.$ac_objext conftest$ac_exeext
15015 if { (ac_try="$ac_link"
15016 case "(($ac_try" in
15017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15018 *) ac_try_echo=$ac_try;;
15019 esac
15020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15021 (eval "$ac_link") 2>conftest.er1
15022 ac_status=$?
15023 grep -v '^ *+' conftest.er1 >conftest.err
15024 rm -f conftest.er1
15025 cat conftest.err >&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15029 { (case "(($ac_try" in
15030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15031 *) ac_try_echo=$ac_try;;
15032 esac
15033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15034 (eval "$ac_try") 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try='test -s conftest$ac_exeext'
15039 { (case "(($ac_try" in
15040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15041 *) ac_try_echo=$ac_try;;
15042 esac
15043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15044 (eval "$ac_try") 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; }; then
15048 ac_cv_c_extern_prefix="yes"
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15053 ac_cv_c_extern_prefix="no"
15056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15057 conftest$ac_exeext conftest.$ac_ext
15059 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15060 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15064 if test "$ac_cv_c_extern_prefix" = "yes"
15065 then
15066 cat >>confdefs.h <<\_ACEOF
15067 #define __ASM_NAME(name) "_" name
15068 _ACEOF
15070 else
15071 cat >>confdefs.h <<\_ACEOF
15072 #define __ASM_NAME(name) name
15073 _ACEOF
15078 DLLEXT=""
15080 DLLFLAGS="-D_REENTRANT"
15082 LDSHARED=""
15084 LDDLLFLAGS=""
15086 LIBEXT="so"
15088 IMPLIBEXT="def"
15090 LIBWINE_LDFLAGS=""
15093 case $host_os in
15094 cygwin*|mingw32*)
15095 if test -n "$ac_tool_prefix"; then
15096 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15097 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15100 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 else
15103 if test -n "$DLLTOOL"; then
15104 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15105 else
15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15109 IFS=$as_save_IFS
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15113 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15115 break 2
15117 done
15118 done
15119 IFS=$as_save_IFS
15123 DLLTOOL=$ac_cv_prog_DLLTOOL
15124 if test -n "$DLLTOOL"; then
15125 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15126 echo "${ECHO_T}$DLLTOOL" >&6; }
15127 else
15128 { echo "$as_me:$LINENO: result: no" >&5
15129 echo "${ECHO_T}no" >&6; }
15134 if test -z "$ac_cv_prog_DLLTOOL"; then
15135 ac_ct_DLLTOOL=$DLLTOOL
15136 # Extract the first word of "dlltool", so it can be a program name with args.
15137 set dummy dlltool; ac_word=$2
15138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15140 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 else
15143 if test -n "$ac_ct_DLLTOOL"; then
15144 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15145 else
15146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15147 for as_dir in $PATH
15149 IFS=$as_save_IFS
15150 test -z "$as_dir" && as_dir=.
15151 for ac_exec_ext in '' $ac_executable_extensions; do
15152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15153 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15155 break 2
15157 done
15158 done
15159 IFS=$as_save_IFS
15163 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15164 if test -n "$ac_ct_DLLTOOL"; then
15165 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15166 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15167 else
15168 { echo "$as_me:$LINENO: result: no" >&5
15169 echo "${ECHO_T}no" >&6; }
15172 if test "x$ac_ct_DLLTOOL" = x; then
15173 DLLTOOL="false"
15174 else
15175 case $cross_compiling:$ac_tool_warned in
15176 yes:)
15177 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15178 whose name does not start with the host triplet. If you think this
15179 configuration is useful to you, please write to autoconf@gnu.org." >&5
15180 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15181 whose name does not start with the host triplet. If you think this
15182 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15183 ac_tool_warned=yes ;;
15184 esac
15185 DLLTOOL=$ac_ct_DLLTOOL
15187 else
15188 DLLTOOL="$ac_cv_prog_DLLTOOL"
15191 if test -n "$ac_tool_prefix"; then
15192 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15193 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15196 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 else
15199 if test -n "$DLLWRAP"; then
15200 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15201 else
15202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15203 for as_dir in $PATH
15205 IFS=$as_save_IFS
15206 test -z "$as_dir" && as_dir=.
15207 for ac_exec_ext in '' $ac_executable_extensions; do
15208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15209 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15211 break 2
15213 done
15214 done
15215 IFS=$as_save_IFS
15219 DLLWRAP=$ac_cv_prog_DLLWRAP
15220 if test -n "$DLLWRAP"; then
15221 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15222 echo "${ECHO_T}$DLLWRAP" >&6; }
15223 else
15224 { echo "$as_me:$LINENO: result: no" >&5
15225 echo "${ECHO_T}no" >&6; }
15230 if test -z "$ac_cv_prog_DLLWRAP"; then
15231 ac_ct_DLLWRAP=$DLLWRAP
15232 # Extract the first word of "dllwrap", so it can be a program name with args.
15233 set dummy dllwrap; ac_word=$2
15234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15236 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15238 else
15239 if test -n "$ac_ct_DLLWRAP"; then
15240 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15241 else
15242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15243 for as_dir in $PATH
15245 IFS=$as_save_IFS
15246 test -z "$as_dir" && as_dir=.
15247 for ac_exec_ext in '' $ac_executable_extensions; do
15248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15249 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15251 break 2
15253 done
15254 done
15255 IFS=$as_save_IFS
15259 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15260 if test -n "$ac_ct_DLLWRAP"; then
15261 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15262 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15263 else
15264 { echo "$as_me:$LINENO: result: no" >&5
15265 echo "${ECHO_T}no" >&6; }
15268 if test "x$ac_ct_DLLWRAP" = x; then
15269 DLLWRAP="false"
15270 else
15271 case $cross_compiling:$ac_tool_warned in
15272 yes:)
15273 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15274 whose name does not start with the host triplet. If you think this
15275 configuration is useful to you, please write to autoconf@gnu.org." >&5
15276 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15277 whose name does not start with the host triplet. If you think this
15278 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15279 ac_tool_warned=yes ;;
15280 esac
15281 DLLWRAP=$ac_ct_DLLWRAP
15283 else
15284 DLLWRAP="$ac_cv_prog_DLLWRAP"
15287 if test "$DLLWRAP" = "false"; then
15288 LIBEXT="a"
15289 else
15290 LIBEXT="dll"
15292 IMPLIBEXT="a"
15293 WIN16_FILES=""
15294 WIN16_INSTALL=""
15296 darwin*|macosx*)
15297 DLLEXT=".so"
15298 LIBEXT="dylib"
15299 DLLFLAGS="$DLLFLAGS -fPIC"
15300 LDDLLFLAGS="-bundle -multiply_defined suppress"
15301 LIBWINE_LDFLAGS="-multiply_defined suppress"
15302 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15303 STRIP="$STRIP -u -r"
15304 COREFOUNDATIONLIB="-framework CoreFoundation"
15306 IOKITLIB="-framework IOKit -framework CoreFoundation"
15308 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15310 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
15311 then
15312 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15315 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15316 then
15317 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15320 case $host_cpu in
15321 *powerpc*)
15322 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15323 esac
15324 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15325 then
15326 QUARTZFILES='$(QUARTZFILES)'
15330 DLLFLAGS="$DLLFLAGS -fPIC"
15331 DLLEXT=".so"
15332 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15333 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15334 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 else
15337 ac_wine_try_cflags_saved=$CFLAGS
15338 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15339 cat >conftest.$ac_ext <<_ACEOF
15340 void myfunc() {}
15341 _ACEOF
15342 rm -f conftest.$ac_objext conftest$ac_exeext
15343 if { (ac_try="$ac_link"
15344 case "(($ac_try" in
15345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15346 *) ac_try_echo=$ac_try;;
15347 esac
15348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15349 (eval "$ac_link") 2>conftest.er1
15350 ac_status=$?
15351 grep -v '^ *+' conftest.er1 >conftest.err
15352 rm -f conftest.er1
15353 cat conftest.err >&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15357 { (case "(($ac_try" in
15358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15359 *) ac_try_echo=$ac_try;;
15360 esac
15361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15362 (eval "$ac_try") 2>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try='test -s conftest$ac_exeext'
15367 { (case "(($ac_try" in
15368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15369 *) ac_try_echo=$ac_try;;
15370 esac
15371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15372 (eval "$ac_try") 2>&5
15373 ac_status=$?
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15376 ac_cv_c_dll_gnuelf="yes"
15377 else
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15381 ac_cv_c_dll_gnuelf="no"
15384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15385 conftest$ac_exeext conftest.$ac_ext
15386 CFLAGS=$ac_wine_try_cflags_saved
15388 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15389 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15390 if test "$ac_cv_c_dll_gnuelf" = "yes"
15391 then
15392 LDSHARED="\$(CC) -shared"
15393 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15394 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15395 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15396 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 else
15399 ac_wine_try_cflags_saved=$CFLAGS
15400 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15409 main ()
15413 return 0;
15415 _ACEOF
15416 rm -f conftest.$ac_objext conftest$ac_exeext
15417 if { (ac_try="$ac_link"
15418 case "(($ac_try" in
15419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15420 *) ac_try_echo=$ac_try;;
15421 esac
15422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15423 (eval "$ac_link") 2>conftest.er1
15424 ac_status=$?
15425 grep -v '^ *+' conftest.er1 >conftest.err
15426 rm -f conftest.er1
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431 { (case "(($ac_try" in
15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15433 *) ac_try_echo=$ac_try;;
15434 esac
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15436 (eval "$ac_try") 2>&5
15437 ac_status=$?
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try='test -s conftest$ac_exeext'
15441 { (case "(($ac_try" in
15442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15443 *) ac_try_echo=$ac_try;;
15444 esac
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_try") 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; }; then
15450 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15451 else
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.$ac_ext >&5
15455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15459 conftest$ac_exeext conftest.$ac_ext
15460 CFLAGS=$ac_wine_try_cflags_saved
15462 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15463 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15464 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15465 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15466 else
15467 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15468 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15469 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472 ac_wine_try_cflags_saved=$CFLAGS
15473 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15474 cat >conftest.$ac_ext <<_ACEOF
15475 /* confdefs.h. */
15476 _ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
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_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15532 conftest$ac_exeext conftest.$ac_ext
15533 CFLAGS=$ac_wine_try_cflags_saved
15535 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15536 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15537 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15538 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15544 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15545 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15546 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 else
15549 ac_wine_try_cflags_saved=$CFLAGS
15550 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15559 main ()
15563 return 0;
15565 _ACEOF
15566 rm -f conftest.$ac_objext conftest$ac_exeext
15567 if { (ac_try="$ac_link"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_link") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15581 { (case "(($ac_try" in
15582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15583 *) ac_try_echo=$ac_try;;
15584 esac
15585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15586 (eval "$ac_try") 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try='test -s conftest$ac_exeext'
15591 { (case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15594 esac
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_try") 2>&5
15597 ac_status=$?
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15601 else
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15609 conftest$ac_exeext conftest.$ac_ext
15610 CFLAGS=$ac_wine_try_cflags_saved
15612 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15613 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15614 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15615 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15619 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15620 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15621 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 else
15624 ac_wine_try_cflags_saved=$CFLAGS
15625 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15626 cat >conftest.$ac_ext <<_ACEOF
15627 /* confdefs.h. */
15628 _ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15634 main ()
15638 return 0;
15640 _ACEOF
15641 rm -f conftest.$ac_objext conftest$ac_exeext
15642 if { (ac_try="$ac_link"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15646 esac
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_link") 2>conftest.er1
15649 ac_status=$?
15650 grep -v '^ *+' conftest.er1 >conftest.err
15651 rm -f conftest.er1
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } &&
15655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15656 { (case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15659 esac
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_try") 2>&5
15662 ac_status=$?
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); }; } &&
15665 { ac_try='test -s conftest$ac_exeext'
15666 { (case "(($ac_try" in
15667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15668 *) ac_try_echo=$ac_try;;
15669 esac
15670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15671 (eval "$ac_try") 2>&5
15672 ac_status=$?
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; }; then
15675 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15676 else
15677 echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15680 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15684 conftest$ac_exeext conftest.$ac_ext
15685 CFLAGS=$ac_wine_try_cflags_saved
15687 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15688 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15689 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15690 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15694 echo '{ global: *; };' >conftest.map
15695 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15696 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15697 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 ac_wine_try_cflags_saved=$CFLAGS
15701 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15702 cat >conftest.$ac_ext <<_ACEOF
15703 /* confdefs.h. */
15704 _ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15710 main ()
15714 return 0;
15716 _ACEOF
15717 rm -f conftest.$ac_objext conftest$ac_exeext
15718 if { (ac_try="$ac_link"
15719 case "(($ac_try" in
15720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15721 *) ac_try_echo=$ac_try;;
15722 esac
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15724 (eval "$ac_link") 2>conftest.er1
15725 ac_status=$?
15726 grep -v '^ *+' conftest.er1 >conftest.err
15727 rm -f conftest.er1
15728 cat conftest.err >&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } &&
15731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15732 { (case "(($ac_try" in
15733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15734 *) ac_try_echo=$ac_try;;
15735 esac
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_try") 2>&5
15738 ac_status=$?
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); }; } &&
15741 { ac_try='test -s conftest$ac_exeext'
15742 { (case "(($ac_try" in
15743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15744 *) ac_try_echo=$ac_try;;
15745 esac
15746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15747 (eval "$ac_try") 2>&5
15748 ac_status=$?
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; }; then
15751 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15752 else
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.$ac_ext >&5
15756 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15760 conftest$ac_exeext conftest.$ac_ext
15761 CFLAGS=$ac_wine_try_cflags_saved
15763 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15764 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15765 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15766 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15769 rm -f conftest.map
15771 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15772 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15773 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 ac_wine_try_cflags_saved=$CFLAGS
15777 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15778 cat >conftest.$ac_ext <<_ACEOF
15779 /* confdefs.h. */
15780 _ACEOF
15781 cat confdefs.h >>conftest.$ac_ext
15782 cat >>conftest.$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15786 main ()
15790 return 0;
15792 _ACEOF
15793 rm -f conftest.$ac_objext conftest$ac_exeext
15794 if { (ac_try="$ac_link"
15795 case "(($ac_try" in
15796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15797 *) ac_try_echo=$ac_try;;
15798 esac
15799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15800 (eval "$ac_link") 2>conftest.er1
15801 ac_status=$?
15802 grep -v '^ *+' conftest.er1 >conftest.err
15803 rm -f conftest.er1
15804 cat conftest.err >&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } &&
15807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15808 { (case "(($ac_try" in
15809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15810 *) ac_try_echo=$ac_try;;
15811 esac
15812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15813 (eval "$ac_try") 2>&5
15814 ac_status=$?
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); }; } &&
15817 { ac_try='test -s conftest$ac_exeext'
15818 { (case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_try") 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15828 else
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15832 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15836 conftest$ac_exeext conftest.$ac_ext
15837 CFLAGS=$ac_wine_try_cflags_saved
15839 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15840 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15841 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15842 LDEXECFLAGS="-Wl,--export-dynamic"
15847 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15848 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15849 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15851 echo $ECHO_N "(cached) $ECHO_C" >&6
15852 else
15853 ac_wine_try_cflags_saved=$CFLAGS
15854 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15855 cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h. */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15863 main ()
15867 return 0;
15869 _ACEOF
15870 rm -f conftest.$ac_objext conftest$ac_exeext
15871 if { (ac_try="$ac_link"
15872 case "(($ac_try" in
15873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15875 esac
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_link") 2>conftest.er1
15878 ac_status=$?
15879 grep -v '^ *+' conftest.er1 >conftest.err
15880 rm -f conftest.er1
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15885 { (case "(($ac_try" in
15886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887 *) ac_try_echo=$ac_try;;
15888 esac
15889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890 (eval "$ac_try") 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; } &&
15894 { ac_try='test -s conftest$ac_exeext'
15895 { (case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15898 esac
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_try") 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 eval "$as_ac_var=yes"
15905 else
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15909 eval "$as_ac_var=no"
15912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15913 conftest$ac_exeext conftest.$ac_ext
15914 CFLAGS=$ac_wine_try_cflags_saved
15916 ac_res=`eval echo '${'$as_ac_var'}'`
15917 { echo "$as_me:$LINENO: result: $ac_res" >&5
15918 echo "${ECHO_T}$ac_res" >&6; }
15919 if test `eval echo '${'$as_ac_var'}'` = yes; then
15920 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15924 case $host_cpu in
15925 *i[3456789]86* | x86_64)
15926 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15927 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15928 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15929 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 else
15931 ac_wine_try_cflags_saved=$CFLAGS
15932 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15933 cat >conftest.$ac_ext <<_ACEOF
15934 /* confdefs.h. */
15935 _ACEOF
15936 cat confdefs.h >>conftest.$ac_ext
15937 cat >>conftest.$ac_ext <<_ACEOF
15938 /* end confdefs.h. */
15941 main ()
15945 return 0;
15947 _ACEOF
15948 rm -f conftest.$ac_objext conftest$ac_exeext
15949 if { (ac_try="$ac_link"
15950 case "(($ac_try" in
15951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15953 esac
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_link") 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15963 { (case "(($ac_try" in
15964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15965 *) ac_try_echo=$ac_try;;
15966 esac
15967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15968 (eval "$ac_try") 2>&5
15969 ac_status=$?
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; } &&
15972 { ac_try='test -s conftest$ac_exeext'
15973 { (case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_try") 2>&5
15979 ac_status=$?
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; }; then
15982 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
15983 else
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15987 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
15990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15991 conftest$ac_exeext conftest.$ac_ext
15992 CFLAGS=$ac_wine_try_cflags_saved
15994 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
15995 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
15996 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
15997 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16001 esac
16003 else
16004 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16005 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16006 if test "${ac_cv_c_dll_unixware+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 ac_wine_try_cflags_saved=$CFLAGS
16010 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16011 cat >conftest.$ac_ext <<_ACEOF
16012 void myfunc() {}
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_c_dll_unixware="yes"
16049 else
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16053 ac_cv_c_dll_unixware="no"
16056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16057 conftest$ac_exeext conftest.$ac_ext
16058 CFLAGS=$ac_wine_try_cflags_saved
16060 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16061 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16062 if test "$ac_cv_c_dll_unixware" = "yes"
16063 then
16064 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16065 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16067 else
16068 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16069 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16070 if test "${ac_cv_c_dll_hpux+set}" = set; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 else
16073 ac_wine_try_cflags_saved=$CFLAGS
16074 CFLAGS="$CFLAGS -shared"
16075 cat >conftest.$ac_ext <<_ACEOF
16076 void myfunc() {}
16077 _ACEOF
16078 rm -f conftest.$ac_objext conftest$ac_exeext
16079 if { (ac_try="$ac_link"
16080 case "(($ac_try" in
16081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16082 *) ac_try_echo=$ac_try;;
16083 esac
16084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16085 (eval "$ac_link") 2>conftest.er1
16086 ac_status=$?
16087 grep -v '^ *+' conftest.er1 >conftest.err
16088 rm -f conftest.er1
16089 cat conftest.err >&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16093 { (case "(($ac_try" in
16094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16095 *) ac_try_echo=$ac_try;;
16096 esac
16097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16098 (eval "$ac_try") 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest$ac_exeext'
16103 { (case "(($ac_try" in
16104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16105 *) ac_try_echo=$ac_try;;
16106 esac
16107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16108 (eval "$ac_try") 2>&5
16109 ac_status=$?
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16112 ac_cv_c_dll_hpux="yes"
16113 else
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16117 ac_cv_c_dll_hpux="no"
16120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16121 conftest$ac_exeext conftest.$ac_ext
16122 CFLAGS=$ac_wine_try_cflags_saved
16124 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16125 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16126 if test "$ac_cv_c_dll_hpux" = "yes"
16127 then
16128 LIBEXT="sl"
16129 DLLEXT=".sl"
16130 LDDLLFLAGS="-shared -fPIC"
16131 LDSHARED="\$(CC) -shared"
16136 CROSSTEST=""
16138 if test "$cross_compiling" = "no"
16139 then
16140 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16142 # Extract the first word of "$ac_prog", so it can be a program name with args.
16143 set dummy $ac_prog; ac_word=$2
16144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16146 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16148 else
16149 if test -n "$CROSSCC"; then
16150 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16151 else
16152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16153 for as_dir in $PATH
16155 IFS=$as_save_IFS
16156 test -z "$as_dir" && as_dir=.
16157 for ac_exec_ext in '' $ac_executable_extensions; do
16158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16159 ac_cv_prog_CROSSCC="$ac_prog"
16160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16161 break 2
16163 done
16164 done
16165 IFS=$as_save_IFS
16169 CROSSCC=$ac_cv_prog_CROSSCC
16170 if test -n "$CROSSCC"; then
16171 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16172 echo "${ECHO_T}$CROSSCC" >&6; }
16173 else
16174 { echo "$as_me:$LINENO: result: no" >&5
16175 echo "${ECHO_T}no" >&6; }
16179 test -n "$CROSSCC" && break
16180 done
16181 test -n "$CROSSCC" || CROSSCC="false"
16183 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16185 # Extract the first word of "$ac_prog", so it can be a program name with args.
16186 set dummy $ac_prog; ac_word=$2
16187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16189 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16190 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 else
16192 if test -n "$DLLTOOL"; then
16193 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16194 else
16195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16196 for as_dir in $PATH
16198 IFS=$as_save_IFS
16199 test -z "$as_dir" && as_dir=.
16200 for ac_exec_ext in '' $ac_executable_extensions; do
16201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16202 ac_cv_prog_DLLTOOL="$ac_prog"
16203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16204 break 2
16206 done
16207 done
16208 IFS=$as_save_IFS
16212 DLLTOOL=$ac_cv_prog_DLLTOOL
16213 if test -n "$DLLTOOL"; then
16214 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16215 echo "${ECHO_T}$DLLTOOL" >&6; }
16216 else
16217 { echo "$as_me:$LINENO: result: no" >&5
16218 echo "${ECHO_T}no" >&6; }
16222 test -n "$DLLTOOL" && break
16223 done
16224 test -n "$DLLTOOL" || DLLTOOL="false"
16226 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16228 # Extract the first word of "$ac_prog", so it can be a program name with args.
16229 set dummy $ac_prog; ac_word=$2
16230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16232 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16233 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 else
16235 if test -n "$CROSSWINDRES"; then
16236 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16237 else
16238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16239 for as_dir in $PATH
16241 IFS=$as_save_IFS
16242 test -z "$as_dir" && as_dir=.
16243 for ac_exec_ext in '' $ac_executable_extensions; do
16244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16245 ac_cv_prog_CROSSWINDRES="$ac_prog"
16246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16247 break 2
16249 done
16250 done
16251 IFS=$as_save_IFS
16255 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16256 if test -n "$CROSSWINDRES"; then
16257 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16258 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16259 else
16260 { echo "$as_me:$LINENO: result: no" >&5
16261 echo "${ECHO_T}no" >&6; }
16265 test -n "$CROSSWINDRES" && break
16266 done
16267 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16269 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16272 esac
16274 if test "$LIBEXT" = "a"; then
16275 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16276 It is currently not possible to build Wine without shared library
16277 (.so) support to allow transparent switch between .so and .dll files.
16278 If you are using Linux, you will need a newer binutils.
16279 " >&5
16280 echo "$as_me: error: could not find a way to build shared libraries.
16281 It is currently not possible to build Wine without shared library
16282 (.so) support to allow transparent switch between .so and .dll files.
16283 If you are using Linux, you will need a newer binutils.
16284 " >&2;}
16285 { (exit 1); exit 1; }; }
16288 case $build_os in
16289 cygwin*|mingw32*)
16290 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16292 darwin*|macosx*)
16293 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16296 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16298 esac
16300 case $host_os in
16301 mingw32*)
16302 CRTLIBS="-lmsvcrt"
16304 SOCKETLIBS="-lws2_32"
16307 esac
16309 MAIN_BINARY="wine-pthread"
16310 case $host_cpu in
16311 *i[3456789]86*)
16312 case $host_os in
16313 linux* | k*bsd*-gnu)
16314 MAIN_BINARY="wine-glibc"
16316 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16318 esac
16320 esac
16323 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16324 then
16325 # Extract the first word of "ldd", so it can be a program name with args.
16326 set dummy ldd; ac_word=$2
16327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16329 if test "${ac_cv_path_LDD+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16332 case $LDD in
16333 [\\/]* | ?:[\\/]*)
16334 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16338 as_dummy="/sbin:/usr/sbin:$PATH"
16339 for as_dir in $as_dummy
16341 IFS=$as_save_IFS
16342 test -z "$as_dir" && as_dir=.
16343 for ac_exec_ext in '' $ac_executable_extensions; do
16344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16345 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16347 break 2
16349 done
16350 done
16351 IFS=$as_save_IFS
16353 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16355 esac
16357 LDD=$ac_cv_path_LDD
16358 if test -n "$LDD"; then
16359 { echo "$as_me:$LINENO: result: $LDD" >&5
16360 echo "${ECHO_T}$LDD" >&6; }
16361 else
16362 { echo "$as_me:$LINENO: result: no" >&5
16363 echo "${ECHO_T}no" >&6; }
16367 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16368 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16369 if test "${ac_cv_lib_soname_X11+set}" = set; then
16370 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 else
16372 ac_get_soname_save_LIBS=$LIBS
16373 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16374 cat >conftest.$ac_ext <<_ACEOF
16375 /* confdefs.h. */
16376 _ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char XCreateWindow ();
16389 main ()
16391 return XCreateWindow ();
16393 return 0;
16395 _ACEOF
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (ac_try="$ac_link"
16398 case "(($ac_try" in
16399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16401 esac
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_link") 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16411 { (case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16414 esac
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_try") 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; } &&
16420 { ac_try='test -s conftest$ac_exeext'
16421 { (case "(($ac_try" in
16422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16423 *) ac_try_echo=$ac_try;;
16424 esac
16425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16426 (eval "$ac_try") 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16430 case "$LIBEXT" in
16431 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep libX11\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16432 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16433 esac
16434 if test "x$ac_cv_lib_soname_X11" = "x"
16435 then
16436 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16442 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16446 conftest$ac_exeext conftest.$ac_ext
16447 LIBS=$ac_get_soname_save_LIBS
16449 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16450 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16451 if test "${ac_cv_lib_soname_X11+set}" = set; then
16453 cat >>confdefs.h <<_ACEOF
16454 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16455 _ACEOF
16459 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16460 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16461 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16462 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 else
16464 ac_get_soname_save_LIBS=$LIBS
16465 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16466 cat >conftest.$ac_ext <<_ACEOF
16467 /* confdefs.h. */
16468 _ACEOF
16469 cat confdefs.h >>conftest.$ac_ext
16470 cat >>conftest.$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16473 /* Override any GCC internal prototype to avoid an error.
16474 Use char because int might match the return type of a GCC
16475 builtin and then its argument prototype would still apply. */
16476 #ifdef __cplusplus
16477 extern "C"
16478 #endif
16479 char XextCreateExtension ();
16481 main ()
16483 return XextCreateExtension ();
16485 return 0;
16487 _ACEOF
16488 rm -f conftest.$ac_objext conftest$ac_exeext
16489 if { (ac_try="$ac_link"
16490 case "(($ac_try" in
16491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16492 *) ac_try_echo=$ac_try;;
16493 esac
16494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16495 (eval "$ac_link") 2>conftest.er1
16496 ac_status=$?
16497 grep -v '^ *+' conftest.er1 >conftest.err
16498 rm -f conftest.er1
16499 cat conftest.err >&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } &&
16502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16503 { (case "(($ac_try" in
16504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16505 *) ac_try_echo=$ac_try;;
16506 esac
16507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16508 (eval "$ac_try") 2>&5
16509 ac_status=$?
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; } &&
16512 { ac_try='test -s conftest$ac_exeext'
16513 { (case "(($ac_try" in
16514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16515 *) ac_try_echo=$ac_try;;
16516 esac
16517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16518 (eval "$ac_try") 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; }; then
16522 case "$LIBEXT" in
16523 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep libXext\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16524 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16525 esac
16526 if test "x$ac_cv_lib_soname_Xext" = "x"
16527 then
16528 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16530 else
16531 echo "$as_me: failed program was:" >&5
16532 sed 's/^/| /' conftest.$ac_ext >&5
16534 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16538 conftest$ac_exeext conftest.$ac_ext
16539 LIBS=$ac_get_soname_save_LIBS
16541 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16542 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16543 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16545 cat >>confdefs.h <<_ACEOF
16546 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16547 _ACEOF
16551 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16552 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16553 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 else
16556 ac_get_soname_save_LIBS=$LIBS
16557 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16558 cat >conftest.$ac_ext <<_ACEOF
16559 /* confdefs.h. */
16560 _ACEOF
16561 cat confdefs.h >>conftest.$ac_ext
16562 cat >>conftest.$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16565 /* Override any GCC internal prototype to avoid an error.
16566 Use char because int might match the return type of a GCC
16567 builtin and then its argument prototype would still apply. */
16568 #ifdef __cplusplus
16569 extern "C"
16570 #endif
16571 char XOpenDevice ();
16573 main ()
16575 return XOpenDevice ();
16577 return 0;
16579 _ACEOF
16580 rm -f conftest.$ac_objext conftest$ac_exeext
16581 if { (ac_try="$ac_link"
16582 case "(($ac_try" in
16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16585 esac
16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 (eval "$ac_link") 2>conftest.er1
16588 ac_status=$?
16589 grep -v '^ *+' conftest.er1 >conftest.err
16590 rm -f conftest.er1
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); } &&
16594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16595 { (case "(($ac_try" in
16596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16597 *) ac_try_echo=$ac_try;;
16598 esac
16599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16600 (eval "$ac_try") 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; } &&
16604 { ac_try='test -s conftest$ac_exeext'
16605 { (case "(($ac_try" in
16606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16607 *) ac_try_echo=$ac_try;;
16608 esac
16609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16610 (eval "$ac_try") 2>&5
16611 ac_status=$?
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 case "$LIBEXT" in
16615 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep libXi\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16616 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16617 esac
16618 if test "x$ac_cv_lib_soname_Xi" = "x"
16619 then
16620 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16622 else
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.$ac_ext >&5
16626 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_get_soname_save_LIBS
16633 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16634 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16635 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16637 cat >>confdefs.h <<_ACEOF
16638 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16639 _ACEOF
16643 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16644 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16645 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 ac_get_soname_save_LIBS=$LIBS
16649 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16650 cat >conftest.$ac_ext <<_ACEOF
16651 /* confdefs.h. */
16652 _ACEOF
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16657 /* Override any GCC internal prototype to avoid an error.
16658 Use char because int might match the return type of a GCC
16659 builtin and then its argument prototype would still apply. */
16660 #ifdef __cplusplus
16661 extern "C"
16662 #endif
16663 char XineramaQueryScreens ();
16665 main ()
16667 return XineramaQueryScreens ();
16669 return 0;
16671 _ACEOF
16672 rm -f conftest.$ac_objext conftest$ac_exeext
16673 if { (ac_try="$ac_link"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_link") 2>conftest.er1
16680 ac_status=$?
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16687 { (case "(($ac_try" in
16688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16689 *) ac_try_echo=$ac_try;;
16690 esac
16691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16692 (eval "$ac_try") 2>&5
16693 ac_status=$?
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); }; } &&
16696 { ac_try='test -s conftest$ac_exeext'
16697 { (case "(($ac_try" in
16698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16699 *) ac_try_echo=$ac_try;;
16700 esac
16701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16702 (eval "$ac_try") 2>&5
16703 ac_status=$?
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; }; then
16706 case "$LIBEXT" in
16707 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep libXinerama\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16708 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16709 esac
16710 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16711 then
16712 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16714 else
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16718 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16722 conftest$ac_exeext conftest.$ac_ext
16723 LIBS=$ac_get_soname_save_LIBS
16725 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16726 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16727 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16729 cat >>confdefs.h <<_ACEOF
16730 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16731 _ACEOF
16735 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16736 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16737 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 else
16740 ac_get_soname_save_LIBS=$LIBS
16741 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16742 cat >conftest.$ac_ext <<_ACEOF
16743 /* confdefs.h. */
16744 _ACEOF
16745 cat confdefs.h >>conftest.$ac_ext
16746 cat >>conftest.$ac_ext <<_ACEOF
16747 /* end confdefs.h. */
16749 /* Override any GCC internal prototype to avoid an error.
16750 Use char because int might match the return type of a GCC
16751 builtin and then its argument prototype would still apply. */
16752 #ifdef __cplusplus
16753 extern "C"
16754 #endif
16755 char XRenderQueryExtension ();
16757 main ()
16759 return XRenderQueryExtension ();
16761 return 0;
16763 _ACEOF
16764 rm -f conftest.$ac_objext conftest$ac_exeext
16765 if { (ac_try="$ac_link"
16766 case "(($ac_try" in
16767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16769 esac
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_link") 2>conftest.er1
16772 ac_status=$?
16773 grep -v '^ *+' conftest.er1 >conftest.err
16774 rm -f conftest.er1
16775 cat conftest.err >&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } &&
16778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16779 { (case "(($ac_try" in
16780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16781 *) ac_try_echo=$ac_try;;
16782 esac
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_try") 2>&5
16785 ac_status=$?
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; } &&
16788 { ac_try='test -s conftest$ac_exeext'
16789 { (case "(($ac_try" in
16790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16791 *) ac_try_echo=$ac_try;;
16792 esac
16793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16794 (eval "$ac_try") 2>&5
16795 ac_status=$?
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; }; then
16798 case "$LIBEXT" in
16799 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep libXrender\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16800 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16801 esac
16802 if test "x$ac_cv_lib_soname_Xrender" = "x"
16803 then
16804 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16806 else
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.$ac_ext >&5
16810 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16814 conftest$ac_exeext conftest.$ac_ext
16815 LIBS=$ac_get_soname_save_LIBS
16817 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16818 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16819 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16821 cat >>confdefs.h <<_ACEOF
16822 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16823 _ACEOF
16827 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16828 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16829 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16830 echo $ECHO_N "(cached) $ECHO_C" >&6
16831 else
16832 ac_get_soname_save_LIBS=$LIBS
16833 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16834 cat >conftest.$ac_ext <<_ACEOF
16835 /* confdefs.h. */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16841 /* Override any GCC internal prototype to avoid an error.
16842 Use char because int might match the return type of a GCC
16843 builtin and then its argument prototype would still apply. */
16844 #ifdef __cplusplus
16845 extern "C"
16846 #endif
16847 char XRRQueryExtension ();
16849 main ()
16851 return XRRQueryExtension ();
16853 return 0;
16855 _ACEOF
16856 rm -f conftest.$ac_objext conftest$ac_exeext
16857 if { (ac_try="$ac_link"
16858 case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;;
16861 esac
16862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 (eval "$ac_link") 2>conftest.er1
16864 ac_status=$?
16865 grep -v '^ *+' conftest.er1 >conftest.err
16866 rm -f conftest.er1
16867 cat conftest.err >&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } &&
16870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16871 { (case "(($ac_try" in
16872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16874 esac
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_try") 2>&5
16877 ac_status=$?
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try='test -s conftest$ac_exeext'
16881 { (case "(($ac_try" in
16882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16883 *) ac_try_echo=$ac_try;;
16884 esac
16885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16886 (eval "$ac_try") 2>&5
16887 ac_status=$?
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 case "$LIBEXT" in
16891 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep libXrandr\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16892 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16893 esac
16894 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16895 then
16896 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16898 else
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.$ac_ext >&5
16902 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16906 conftest$ac_exeext conftest.$ac_ext
16907 LIBS=$ac_get_soname_save_LIBS
16909 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16910 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16911 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16913 cat >>confdefs.h <<_ACEOF
16914 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16915 _ACEOF
16919 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16920 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16921 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 ac_get_soname_save_LIBS=$LIBS
16925 LIBS="-lfreetype $X_LIBS $LIBS"
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16933 /* Override any GCC internal prototype to avoid an error.
16934 Use char because int might match the return type of a GCC
16935 builtin and then its argument prototype would still apply. */
16936 #ifdef __cplusplus
16937 extern "C"
16938 #endif
16939 char FT_Init_FreeType ();
16941 main ()
16943 return FT_Init_FreeType ();
16945 return 0;
16947 _ACEOF
16948 rm -f conftest.$ac_objext conftest$ac_exeext
16949 if { (ac_try="$ac_link"
16950 case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16953 esac
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_link") 2>conftest.er1
16956 ac_status=$?
16957 grep -v '^ *+' conftest.er1 >conftest.err
16958 rm -f conftest.er1
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } &&
16962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16963 { (case "(($ac_try" in
16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16966 esac
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_try") 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; } &&
16972 { ac_try='test -s conftest$ac_exeext'
16973 { (case "(($ac_try" in
16974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16975 *) ac_try_echo=$ac_try;;
16976 esac
16977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16978 (eval "$ac_try") 2>&5
16979 ac_status=$?
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; }; then
16982 case "$LIBEXT" in
16983 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep libfreetype\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16984 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16985 esac
16986 if test "x$ac_cv_lib_soname_freetype" = "x"
16987 then
16988 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16990 else
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16994 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16998 conftest$ac_exeext conftest.$ac_ext
16999 LIBS=$ac_get_soname_save_LIBS
17001 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17002 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17003 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17005 cat >>confdefs.h <<_ACEOF
17006 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17007 _ACEOF
17011 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17012 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17013 if test "${ac_cv_lib_soname_GL+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17015 else
17016 ac_get_soname_save_LIBS=$LIBS
17017 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17018 cat >conftest.$ac_ext <<_ACEOF
17019 /* confdefs.h. */
17020 _ACEOF
17021 cat confdefs.h >>conftest.$ac_ext
17022 cat >>conftest.$ac_ext <<_ACEOF
17023 /* end confdefs.h. */
17025 /* Override any GCC internal prototype to avoid an error.
17026 Use char because int might match the return type of a GCC
17027 builtin and then its argument prototype would still apply. */
17028 #ifdef __cplusplus
17029 extern "C"
17030 #endif
17031 char glXQueryExtension ();
17033 main ()
17035 return glXQueryExtension ();
17037 return 0;
17039 _ACEOF
17040 rm -f conftest.$ac_objext conftest$ac_exeext
17041 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (case "(($ac_try" in
17056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17057 *) ac_try_echo=$ac_try;;
17058 esac
17059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17060 (eval "$ac_try") 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try='test -s conftest$ac_exeext'
17065 { (case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17068 esac
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_try") 2>&5
17071 ac_status=$?
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; }; then
17074 case "$LIBEXT" in
17075 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep libGL\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17076 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17077 esac
17078 if test "x$ac_cv_lib_soname_GL" = "x"
17079 then
17080 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17086 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17090 conftest$ac_exeext conftest.$ac_ext
17091 LIBS=$ac_get_soname_save_LIBS
17093 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17094 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17095 if test "${ac_cv_lib_soname_GL+set}" = set; then
17097 cat >>confdefs.h <<_ACEOF
17098 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17099 _ACEOF
17103 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17104 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17105 if test "${ac_cv_lib_soname_hal+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 ac_get_soname_save_LIBS=$LIBS
17109 LIBS="-lhal $LIBS"
17110 cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h. */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 #ifdef __cplusplus
17121 extern "C"
17122 #endif
17123 char libhal_ctx_new ();
17125 main ()
17127 return libhal_ctx_new ();
17129 return 0;
17131 _ACEOF
17132 rm -f conftest.$ac_objext conftest$ac_exeext
17133 if { (ac_try="$ac_link"
17134 case "(($ac_try" in
17135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17136 *) ac_try_echo=$ac_try;;
17137 esac
17138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17139 (eval "$ac_link") 2>conftest.er1
17140 ac_status=$?
17141 grep -v '^ *+' conftest.er1 >conftest.err
17142 rm -f conftest.er1
17143 cat conftest.err >&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); } &&
17146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17147 { (case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17150 esac
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_try") 2>&5
17153 ac_status=$?
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); }; } &&
17156 { ac_try='test -s conftest$ac_exeext'
17157 { (case "(($ac_try" in
17158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17159 *) ac_try_echo=$ac_try;;
17160 esac
17161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17162 (eval "$ac_try") 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; }; then
17166 case "$LIBEXT" in
17167 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep libhal\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17168 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17169 esac
17170 if test "x$ac_cv_lib_soname_hal" = "x"
17171 then
17172 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17178 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17182 conftest$ac_exeext conftest.$ac_ext
17183 LIBS=$ac_get_soname_save_LIBS
17185 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17186 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17187 if test "${ac_cv_lib_soname_hal+set}" = set; then
17189 cat >>confdefs.h <<_ACEOF
17190 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17191 _ACEOF
17195 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17196 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17197 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200 ac_get_soname_save_LIBS=$LIBS
17201 LIBS="-ltxc_dxtn $LIBS"
17202 cat >conftest.$ac_ext <<_ACEOF
17203 /* confdefs.h. */
17204 _ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17209 /* Override any GCC internal prototype to avoid an error.
17210 Use char because int might match the return type of a GCC
17211 builtin and then its argument prototype would still apply. */
17212 #ifdef __cplusplus
17213 extern "C"
17214 #endif
17215 char fetch_2d_texel_rgba_dxt1 ();
17217 main ()
17219 return fetch_2d_texel_rgba_dxt1 ();
17221 return 0;
17223 _ACEOF
17224 rm -f conftest.$ac_objext conftest$ac_exeext
17225 if { (ac_try="$ac_link"
17226 case "(($ac_try" in
17227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17228 *) ac_try_echo=$ac_try;;
17229 esac
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_link") 2>conftest.er1
17232 ac_status=$?
17233 grep -v '^ *+' conftest.er1 >conftest.err
17234 rm -f conftest.er1
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } &&
17238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17239 { (case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_try") 2>&5
17245 ac_status=$?
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; } &&
17248 { ac_try='test -s conftest$ac_exeext'
17249 { (case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_try") 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17258 case "$LIBEXT" in
17259 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17260 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17261 esac
17262 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17263 then
17264 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17266 else
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17274 conftest$ac_exeext conftest.$ac_ext
17275 LIBS=$ac_get_soname_save_LIBS
17277 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17278 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17279 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17281 cat >>confdefs.h <<_ACEOF
17282 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17283 _ACEOF
17287 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17288 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17289 if test "${ac_cv_lib_soname_cups+set}" = set; then
17290 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 else
17292 ac_get_soname_save_LIBS=$LIBS
17293 LIBS="-lcups $LIBS"
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17301 /* Override any GCC internal prototype to avoid an error.
17302 Use char because int might match the return type of a GCC
17303 builtin and then its argument prototype would still apply. */
17304 #ifdef __cplusplus
17305 extern "C"
17306 #endif
17307 char cupsGetDefault ();
17309 main ()
17311 return cupsGetDefault ();
17313 return 0;
17315 _ACEOF
17316 rm -f conftest.$ac_objext conftest$ac_exeext
17317 if { (ac_try="$ac_link"
17318 case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17321 esac
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_link") 2>conftest.er1
17324 ac_status=$?
17325 grep -v '^ *+' conftest.er1 >conftest.err
17326 rm -f conftest.er1
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } &&
17330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17331 { (case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17334 esac
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_try") 2>&5
17337 ac_status=$?
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; } &&
17340 { ac_try='test -s conftest$ac_exeext'
17341 { (case "(($ac_try" in
17342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17343 *) ac_try_echo=$ac_try;;
17344 esac
17345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17346 (eval "$ac_try") 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 case "$LIBEXT" in
17351 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep libcups\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17352 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17353 esac
17354 if test "x$ac_cv_lib_soname_cups" = "x"
17355 then
17356 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17358 else
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.$ac_ext >&5
17362 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17366 conftest$ac_exeext conftest.$ac_ext
17367 LIBS=$ac_get_soname_save_LIBS
17369 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17370 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17371 if test "${ac_cv_lib_soname_cups+set}" = set; then
17373 cat >>confdefs.h <<_ACEOF
17374 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17375 _ACEOF
17379 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17380 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17381 if test "${ac_cv_lib_soname_jack+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384 ac_get_soname_save_LIBS=$LIBS
17385 LIBS="-ljack $LIBS"
17386 cat >conftest.$ac_ext <<_ACEOF
17387 /* confdefs.h. */
17388 _ACEOF
17389 cat confdefs.h >>conftest.$ac_ext
17390 cat >>conftest.$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17393 /* Override any GCC internal prototype to avoid an error.
17394 Use char because int might match the return type of a GCC
17395 builtin and then its argument prototype would still apply. */
17396 #ifdef __cplusplus
17397 extern "C"
17398 #endif
17399 char jack_client_new ();
17401 main ()
17403 return jack_client_new ();
17405 return 0;
17407 _ACEOF
17408 rm -f conftest.$ac_objext conftest$ac_exeext
17409 if { (ac_try="$ac_link"
17410 case "(($ac_try" in
17411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17412 *) ac_try_echo=$ac_try;;
17413 esac
17414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 (eval "$ac_link") 2>conftest.er1
17416 ac_status=$?
17417 grep -v '^ *+' conftest.er1 >conftest.err
17418 rm -f conftest.er1
17419 cat conftest.err >&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17423 { (case "(($ac_try" in
17424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17425 *) ac_try_echo=$ac_try;;
17426 esac
17427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17428 (eval "$ac_try") 2>&5
17429 ac_status=$?
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); }; } &&
17432 { ac_try='test -s conftest$ac_exeext'
17433 { (case "(($ac_try" in
17434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17435 *) ac_try_echo=$ac_try;;
17436 esac
17437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17438 (eval "$ac_try") 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; }; then
17442 case "$LIBEXT" in
17443 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep libjack\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17444 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17445 esac
17446 if test "x$ac_cv_lib_soname_jack" = "x"
17447 then
17448 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17450 else
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17454 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17458 conftest$ac_exeext conftest.$ac_ext
17459 LIBS=$ac_get_soname_save_LIBS
17461 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17462 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17463 if test "${ac_cv_lib_soname_jack+set}" = set; then
17465 cat >>confdefs.h <<_ACEOF
17466 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17467 _ACEOF
17471 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17472 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17473 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476 ac_get_soname_save_LIBS=$LIBS
17477 LIBS="-lfontconfig $LIBS"
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h. */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17485 /* Override any GCC internal prototype to avoid an error.
17486 Use char because int might match the return type of a GCC
17487 builtin and then its argument prototype would still apply. */
17488 #ifdef __cplusplus
17489 extern "C"
17490 #endif
17491 char FcInit ();
17493 main ()
17495 return FcInit ();
17497 return 0;
17499 _ACEOF
17500 rm -f conftest.$ac_objext conftest$ac_exeext
17501 if { (ac_try="$ac_link"
17502 case "(($ac_try" in
17503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17505 esac
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_link") 2>conftest.er1
17508 ac_status=$?
17509 grep -v '^ *+' conftest.er1 >conftest.err
17510 rm -f conftest.er1
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17515 { (case "(($ac_try" in
17516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17517 *) ac_try_echo=$ac_try;;
17518 esac
17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17520 (eval "$ac_try") 2>&5
17521 ac_status=$?
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; } &&
17524 { ac_try='test -s conftest$ac_exeext'
17525 { (case "(($ac_try" in
17526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17527 *) ac_try_echo=$ac_try;;
17528 esac
17529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17530 (eval "$ac_try") 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 case "$LIBEXT" in
17535 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep libfontconfig\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17536 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17537 esac
17538 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17539 then
17540 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17542 else
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.$ac_ext >&5
17546 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17550 conftest$ac_exeext conftest.$ac_ext
17551 LIBS=$ac_get_soname_save_LIBS
17553 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17554 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17555 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17557 cat >>confdefs.h <<_ACEOF
17558 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17559 _ACEOF
17563 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17564 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17565 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 else
17568 ac_get_soname_save_LIBS=$LIBS
17569 LIBS="-lssl $LIBS"
17570 cat >conftest.$ac_ext <<_ACEOF
17571 /* confdefs.h. */
17572 _ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17577 /* Override any GCC internal prototype to avoid an error.
17578 Use char because int might match the return type of a GCC
17579 builtin and then its argument prototype would still apply. */
17580 #ifdef __cplusplus
17581 extern "C"
17582 #endif
17583 char SSL_library_init ();
17585 main ()
17587 return SSL_library_init ();
17589 return 0;
17591 _ACEOF
17592 rm -f conftest.$ac_objext conftest$ac_exeext
17593 if { (ac_try="$ac_link"
17594 case "(($ac_try" in
17595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17596 *) ac_try_echo=$ac_try;;
17597 esac
17598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17599 (eval "$ac_link") 2>conftest.er1
17600 ac_status=$?
17601 grep -v '^ *+' conftest.er1 >conftest.err
17602 rm -f conftest.er1
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17607 { (case "(($ac_try" in
17608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17609 *) ac_try_echo=$ac_try;;
17610 esac
17611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17612 (eval "$ac_try") 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try='test -s conftest$ac_exeext'
17617 { (case "(($ac_try" in
17618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17619 *) ac_try_echo=$ac_try;;
17620 esac
17621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17622 (eval "$ac_try") 2>&5
17623 ac_status=$?
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 case "$LIBEXT" in
17627 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep libssl\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17628 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17629 esac
17630 if test "x$ac_cv_lib_soname_ssl" = "x"
17631 then
17632 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17634 else
17635 echo "$as_me: failed program was:" >&5
17636 sed 's/^/| /' conftest.$ac_ext >&5
17638 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642 conftest$ac_exeext conftest.$ac_ext
17643 LIBS=$ac_get_soname_save_LIBS
17645 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17646 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17647 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17649 cat >>confdefs.h <<_ACEOF
17650 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17651 _ACEOF
17655 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17656 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17657 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17660 ac_get_soname_save_LIBS=$LIBS
17661 LIBS="-lcrypto $LIBS"
17662 cat >conftest.$ac_ext <<_ACEOF
17663 /* confdefs.h. */
17664 _ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17669 /* Override any GCC internal prototype to avoid an error.
17670 Use char because int might match the return type of a GCC
17671 builtin and then its argument prototype would still apply. */
17672 #ifdef __cplusplus
17673 extern "C"
17674 #endif
17675 char BIO_new_socket ();
17677 main ()
17679 return BIO_new_socket ();
17681 return 0;
17683 _ACEOF
17684 rm -f conftest.$ac_objext conftest$ac_exeext
17685 if { (ac_try="$ac_link"
17686 case "(($ac_try" in
17687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17688 *) ac_try_echo=$ac_try;;
17689 esac
17690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17691 (eval "$ac_link") 2>conftest.er1
17692 ac_status=$?
17693 grep -v '^ *+' conftest.er1 >conftest.err
17694 rm -f conftest.er1
17695 cat conftest.err >&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17699 { (case "(($ac_try" in
17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17701 *) ac_try_echo=$ac_try;;
17702 esac
17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17704 (eval "$ac_try") 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try='test -s conftest$ac_exeext'
17709 { (case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17712 esac
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_try") 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 case "$LIBEXT" in
17719 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep libcrypto\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17720 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17721 esac
17722 if test "x$ac_cv_lib_soname_crypto" = "x"
17723 then
17724 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17730 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17734 conftest$ac_exeext conftest.$ac_ext
17735 LIBS=$ac_get_soname_save_LIBS
17737 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17738 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17739 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17741 cat >>confdefs.h <<_ACEOF
17742 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17743 _ACEOF
17747 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17748 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17749 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17751 else
17752 ac_get_soname_save_LIBS=$LIBS
17753 LIBS="-lncurses $LIBS"
17754 cat >conftest.$ac_ext <<_ACEOF
17755 /* confdefs.h. */
17756 _ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17761 /* Override any GCC internal prototype to avoid an error.
17762 Use char because int might match the return type of a GCC
17763 builtin and then its argument prototype would still apply. */
17764 #ifdef __cplusplus
17765 extern "C"
17766 #endif
17767 char waddch ();
17769 main ()
17771 return waddch ();
17773 return 0;
17775 _ACEOF
17776 rm -f conftest.$ac_objext conftest$ac_exeext
17777 if { (ac_try="$ac_link"
17778 case "(($ac_try" in
17779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17780 *) ac_try_echo=$ac_try;;
17781 esac
17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17783 (eval "$ac_link") 2>conftest.er1
17784 ac_status=$?
17785 grep -v '^ *+' conftest.er1 >conftest.err
17786 rm -f conftest.er1
17787 cat conftest.err >&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } &&
17790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17791 { (case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_try") 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try='test -s conftest$ac_exeext'
17801 { (case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17804 esac
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_try") 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 case "$LIBEXT" in
17811 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep libncurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17812 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17813 esac
17814 if test "x$ac_cv_lib_soname_ncurses" = "x"
17815 then
17816 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17818 else
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17822 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17826 conftest$ac_exeext conftest.$ac_ext
17827 LIBS=$ac_get_soname_save_LIBS
17829 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17830 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17831 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17835 _ACEOF
17839 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17840 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17841 if test "${ac_cv_lib_soname_curses+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17843 else
17844 ac_get_soname_save_LIBS=$LIBS
17845 LIBS="-lcurses $LIBS"
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17853 /* Override any GCC internal prototype to avoid an error.
17854 Use char because int might match the return type of a GCC
17855 builtin and then its argument prototype would still apply. */
17856 #ifdef __cplusplus
17857 extern "C"
17858 #endif
17859 char waddch ();
17861 main ()
17863 return waddch ();
17865 return 0;
17867 _ACEOF
17868 rm -f conftest.$ac_objext conftest$ac_exeext
17869 if { (ac_try="$ac_link"
17870 case "(($ac_try" in
17871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17872 *) ac_try_echo=$ac_try;;
17873 esac
17874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17875 (eval "$ac_link") 2>conftest.er1
17876 ac_status=$?
17877 grep -v '^ *+' conftest.er1 >conftest.err
17878 rm -f conftest.er1
17879 cat conftest.err >&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } &&
17882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
17889 ac_status=$?
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; } &&
17892 { ac_try='test -s conftest$ac_exeext'
17893 { (case "(($ac_try" in
17894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17896 esac
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_try") 2>&5
17899 ac_status=$?
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 case "$LIBEXT" in
17903 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep libcurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17904 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17905 esac
17906 if test "x$ac_cv_lib_soname_curses" = "x"
17907 then
17908 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17914 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17918 conftest$ac_exeext conftest.$ac_ext
17919 LIBS=$ac_get_soname_save_LIBS
17921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17922 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17923 if test "${ac_cv_lib_soname_curses+set}" = set; then
17925 cat >>confdefs.h <<_ACEOF
17926 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17927 _ACEOF
17931 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17932 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17933 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17935 else
17936 ac_get_soname_save_LIBS=$LIBS
17937 LIBS="-ljpeg $LIBS"
17938 cat >conftest.$ac_ext <<_ACEOF
17939 /* confdefs.h. */
17940 _ACEOF
17941 cat confdefs.h >>conftest.$ac_ext
17942 cat >>conftest.$ac_ext <<_ACEOF
17943 /* end confdefs.h. */
17945 /* Override any GCC internal prototype to avoid an error.
17946 Use char because int might match the return type of a GCC
17947 builtin and then its argument prototype would still apply. */
17948 #ifdef __cplusplus
17949 extern "C"
17950 #endif
17951 char jpeg_start_decompress ();
17953 main ()
17955 return jpeg_start_decompress ();
17957 return 0;
17959 _ACEOF
17960 rm -f conftest.$ac_objext conftest$ac_exeext
17961 if { (ac_try="$ac_link"
17962 case "(($ac_try" in
17963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17964 *) ac_try_echo=$ac_try;;
17965 esac
17966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17967 (eval "$ac_link") 2>conftest.er1
17968 ac_status=$?
17969 grep -v '^ *+' conftest.er1 >conftest.err
17970 rm -f conftest.er1
17971 cat conftest.err >&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); } &&
17974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17975 { (case "(($ac_try" in
17976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17977 *) ac_try_echo=$ac_try;;
17978 esac
17979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17980 (eval "$ac_try") 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; } &&
17984 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17994 case "$LIBEXT" in
17995 dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep libjpeg\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17996 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17997 esac
17998 if test "x$ac_cv_lib_soname_jpeg" = "x"
17999 then
18000 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18002 else
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18006 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18010 conftest$ac_exeext conftest.$ac_ext
18011 LIBS=$ac_get_soname_save_LIBS
18013 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18014 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18015 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18017 cat >>confdefs.h <<_ACEOF
18018 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18019 _ACEOF
18023 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18024 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18025 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18026 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 else
18028 ac_get_soname_save_LIBS=$LIBS
18029 LIBS="-lcapi20 $LIBS"
18030 cat >conftest.$ac_ext <<_ACEOF
18031 /* confdefs.h. */
18032 _ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18037 /* Override any GCC internal prototype to avoid an error.
18038 Use char because int might match the return type of a GCC
18039 builtin and then its argument prototype would still apply. */
18040 #ifdef __cplusplus
18041 extern "C"
18042 #endif
18043 char capi20_isinstalled ();
18045 main ()
18047 return capi20_isinstalled ();
18049 return 0;
18051 _ACEOF
18052 rm -f conftest.$ac_objext conftest$ac_exeext
18053 if { (ac_try="$ac_link"
18054 case "(($ac_try" in
18055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18056 *) ac_try_echo=$ac_try;;
18057 esac
18058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18059 (eval "$ac_link") 2>conftest.er1
18060 ac_status=$?
18061 grep -v '^ *+' conftest.er1 >conftest.err
18062 rm -f conftest.er1
18063 cat conftest.err >&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18067 { (case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070 esac
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_try") 2>&5
18073 ac_status=$?
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; } &&
18076 { ac_try='test -s conftest$ac_exeext'
18077 { (case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18080 esac
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_try") 2>&5
18083 ac_status=$?
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; }; then
18086 case "$LIBEXT" in
18087 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep libcapi20\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18088 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18089 esac
18090 if test "x$ac_cv_lib_soname_capi20" = "x"
18091 then
18092 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18094 else
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_get_soname_save_LIBS
18105 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18106 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18107 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18109 cat >>confdefs.h <<_ACEOF
18110 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18111 _ACEOF
18188 for ac_func in \
18189 _pclose \
18190 _popen \
18191 _snprintf \
18192 _spawnvp \
18193 _stricmp \
18194 _strnicmp \
18195 _vsnprintf \
18196 asctime_r \
18197 chsize \
18198 clone \
18199 connect \
18200 dlopen \
18201 epoll_create \
18202 ffs \
18203 finite \
18204 fork \
18205 fpclass \
18206 fstatfs \
18207 fstatvfs \
18208 ftruncate \
18209 futimes \
18210 futimesat \
18211 getaddrinfo \
18212 gethostbyname \
18213 getnameinfo \
18214 getnetbyname \
18215 getopt_long \
18216 getpagesize \
18217 getprotobyname \
18218 getprotobynumber \
18219 getpwuid \
18220 getservbyport \
18221 gettid \
18222 gettimeofday \
18223 getuid \
18224 inet_aton \
18225 inet_network \
18226 kqueue \
18227 lstat \
18228 memmove \
18229 mmap \
18230 pclose \
18231 poll \
18232 popen \
18233 prctl \
18234 pread \
18235 pwrite \
18236 readlink \
18237 rfork \
18238 sched_yield \
18239 select \
18240 sendmsg \
18241 setrlimit \
18242 settimeofday \
18243 sigaltstack \
18244 sigprocmask \
18245 snprintf \
18246 spawnvp \
18247 statfs \
18248 statvfs \
18249 strcasecmp \
18250 strerror \
18251 strncasecmp \
18252 tcgetattr \
18253 timegm \
18254 usleep \
18255 vsnprintf \
18256 wait4 \
18257 waitpid \
18260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18274 #define $ac_func innocuous_$ac_func
18276 /* System header to define __stub macros and hopefully few prototypes,
18277 which can conflict with char $ac_func (); below.
18278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18279 <limits.h> exists even on freestanding compilers. */
18281 #ifdef __STDC__
18282 # include <limits.h>
18283 #else
18284 # include <assert.h>
18285 #endif
18287 #undef $ac_func
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 #ifdef __cplusplus
18293 extern "C"
18294 #endif
18295 char $ac_func ();
18296 /* The GNU C library defines this for functions which it implements
18297 to always fail with ENOSYS. Some functions are actually named
18298 something starting with __ and the normal name is an alias. */
18299 #if defined __stub_$ac_func || defined __stub___$ac_func
18300 choke me
18301 #endif
18304 main ()
18306 return $ac_func ();
18308 return 0;
18310 _ACEOF
18311 rm -f conftest.$ac_objext conftest$ac_exeext
18312 if { (ac_try="$ac_link"
18313 case "(($ac_try" in
18314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18315 *) ac_try_echo=$ac_try;;
18316 esac
18317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18318 (eval "$ac_link") 2>conftest.er1
18319 ac_status=$?
18320 grep -v '^ *+' conftest.er1 >conftest.err
18321 rm -f conftest.er1
18322 cat conftest.err >&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18326 { (case "(($ac_try" in
18327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18328 *) ac_try_echo=$ac_try;;
18329 esac
18330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18331 (eval "$ac_try") 2>&5
18332 ac_status=$?
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try='test -s conftest$ac_exeext'
18336 { (case "(($ac_try" in
18337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18338 *) ac_try_echo=$ac_try;;
18339 esac
18340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18341 (eval "$ac_try") 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 eval "$as_ac_var=yes"
18346 else
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18350 eval "$as_ac_var=no"
18353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18354 conftest$ac_exeext conftest.$ac_ext
18356 ac_res=`eval echo '${'$as_ac_var'}'`
18357 { echo "$as_me:$LINENO: result: $ac_res" >&5
18358 echo "${ECHO_T}$ac_res" >&6; }
18359 if test `eval echo '${'$as_ac_var'}'` = yes; then
18360 cat >>confdefs.h <<_ACEOF
18361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18362 _ACEOF
18365 done
18368 if test "$ac_cv_func_dlopen" = no
18369 then
18370 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18371 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18372 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18373 echo $ECHO_N "(cached) $ECHO_C" >&6
18374 else
18375 ac_check_lib_save_LIBS=$LIBS
18376 LIBS="-ldl $LIBS"
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18384 /* Override any GCC internal prototype to avoid an error.
18385 Use char because int might match the return type of a GCC
18386 builtin and then its argument prototype would still apply. */
18387 #ifdef __cplusplus
18388 extern "C"
18389 #endif
18390 char dlopen ();
18392 main ()
18394 return dlopen ();
18396 return 0;
18398 _ACEOF
18399 rm -f conftest.$ac_objext conftest$ac_exeext
18400 if { (ac_try="$ac_link"
18401 case "(($ac_try" in
18402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18404 esac
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_link") 2>conftest.er1
18407 ac_status=$?
18408 grep -v '^ *+' conftest.er1 >conftest.err
18409 rm -f conftest.er1
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } &&
18413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18414 { (case "(($ac_try" in
18415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18416 *) ac_try_echo=$ac_try;;
18417 esac
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_try") 2>&5
18420 ac_status=$?
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; } &&
18423 { ac_try='test -s conftest$ac_exeext'
18424 { (case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18427 esac
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_try") 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; }; then
18433 ac_cv_lib_dl_dlopen=yes
18434 else
18435 echo "$as_me: failed program was:" >&5
18436 sed 's/^/| /' conftest.$ac_ext >&5
18438 ac_cv_lib_dl_dlopen=no
18441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18442 conftest$ac_exeext conftest.$ac_ext
18443 LIBS=$ac_check_lib_save_LIBS
18445 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18446 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18447 if test $ac_cv_lib_dl_dlopen = yes; then
18448 cat >>confdefs.h <<\_ACEOF
18449 #define HAVE_DLOPEN 1
18450 _ACEOF
18451 LIBDL="-ldl"
18456 ac_wine_check_funcs_save_LIBS="$LIBS"
18457 LIBS="$LIBS $LIBDL"
18459 for ac_func in dladdr
18461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18465 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 else
18467 cat >conftest.$ac_ext <<_ACEOF
18468 /* confdefs.h. */
18469 _ACEOF
18470 cat confdefs.h >>conftest.$ac_ext
18471 cat >>conftest.$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18475 #define $ac_func innocuous_$ac_func
18477 /* System header to define __stub macros and hopefully few prototypes,
18478 which can conflict with char $ac_func (); below.
18479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18480 <limits.h> exists even on freestanding compilers. */
18482 #ifdef __STDC__
18483 # include <limits.h>
18484 #else
18485 # include <assert.h>
18486 #endif
18488 #undef $ac_func
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18493 #ifdef __cplusplus
18494 extern "C"
18495 #endif
18496 char $ac_func ();
18497 /* The GNU C library defines this for functions which it implements
18498 to always fail with ENOSYS. Some functions are actually named
18499 something starting with __ and the normal name is an alias. */
18500 #if defined __stub_$ac_func || defined __stub___$ac_func
18501 choke me
18502 #endif
18505 main ()
18507 return $ac_func ();
18509 return 0;
18511 _ACEOF
18512 rm -f conftest.$ac_objext conftest$ac_exeext
18513 if { (ac_try="$ac_link"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18517 esac
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_link") 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_try") 2>&5
18533 ac_status=$?
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; } &&
18536 { ac_try='test -s conftest$ac_exeext'
18537 { (case "(($ac_try" in
18538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18539 *) ac_try_echo=$ac_try;;
18540 esac
18541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18542 (eval "$ac_try") 2>&5
18543 ac_status=$?
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 eval "$as_ac_var=yes"
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 eval "$as_ac_var=no"
18554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18555 conftest$ac_exeext conftest.$ac_ext
18557 ac_res=`eval echo '${'$as_ac_var'}'`
18558 { echo "$as_me:$LINENO: result: $ac_res" >&5
18559 echo "${ECHO_T}$ac_res" >&6; }
18560 if test `eval echo '${'$as_ac_var'}'` = yes; then
18561 cat >>confdefs.h <<_ACEOF
18562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18563 _ACEOF
18566 done
18568 LIBS="$ac_wine_check_funcs_save_LIBS"
18570 if test "$ac_cv_func_poll" = no
18571 then
18572 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18573 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18574 if test "${ac_cv_lib_poll_poll+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 else
18577 ac_check_lib_save_LIBS=$LIBS
18578 LIBS="-lpoll $LIBS"
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18586 /* Override any GCC internal prototype to avoid an error.
18587 Use char because int might match the return type of a GCC
18588 builtin and then its argument prototype would still apply. */
18589 #ifdef __cplusplus
18590 extern "C"
18591 #endif
18592 char poll ();
18594 main ()
18596 return poll ();
18598 return 0;
18600 _ACEOF
18601 rm -f conftest.$ac_objext conftest$ac_exeext
18602 if { (ac_try="$ac_link"
18603 case "(($ac_try" in
18604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18606 esac
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_link") 2>conftest.er1
18609 ac_status=$?
18610 grep -v '^ *+' conftest.er1 >conftest.err
18611 rm -f conftest.er1
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } &&
18615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18616 { (case "(($ac_try" in
18617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18618 *) ac_try_echo=$ac_try;;
18619 esac
18620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18621 (eval "$ac_try") 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest$ac_exeext'
18626 { (case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18629 esac
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_try") 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_cv_lib_poll_poll=yes
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 ac_cv_lib_poll_poll=no
18643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18644 conftest$ac_exeext conftest.$ac_ext
18645 LIBS=$ac_check_lib_save_LIBS
18647 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18648 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18649 if test $ac_cv_lib_poll_poll = yes; then
18650 cat >>confdefs.h <<\_ACEOF
18651 #define HAVE_POLL 1
18652 _ACEOF
18653 LIBPOLL="-lpoll"
18659 if test "$ac_cv_func_gethostbyname" = no
18660 then
18662 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18663 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18664 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18666 else
18667 ac_check_lib_save_LIBS=$LIBS
18668 LIBS="-lnsl $LIBS"
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18679 #ifdef __cplusplus
18680 extern "C"
18681 #endif
18682 char gethostbyname ();
18684 main ()
18686 return gethostbyname ();
18688 return 0;
18690 _ACEOF
18691 rm -f conftest.$ac_objext conftest$ac_exeext
18692 if { (ac_try="$ac_link"
18693 case "(($ac_try" in
18694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18695 *) ac_try_echo=$ac_try;;
18696 esac
18697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18698 (eval "$ac_link") 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18706 { (case "(($ac_try" in
18707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18708 *) ac_try_echo=$ac_try;;
18709 esac
18710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18711 (eval "$ac_try") 2>&5
18712 ac_status=$?
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; } &&
18715 { ac_try='test -s conftest$ac_exeext'
18716 { (case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18719 esac
18720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_try") 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_lib_nsl_gethostbyname=yes
18726 else
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 ac_cv_lib_nsl_gethostbyname=no
18733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18734 conftest$ac_exeext conftest.$ac_ext
18735 LIBS=$ac_check_lib_save_LIBS
18737 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18738 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18739 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_LIBNSL 1
18742 _ACEOF
18744 LIBS="-lnsl $LIBS"
18750 if test "$ac_cv_func_connect" = no
18751 then
18753 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18754 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18755 if test "${ac_cv_lib_socket_connect+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758 ac_check_lib_save_LIBS=$LIBS
18759 LIBS="-lsocket $LIBS"
18760 cat >conftest.$ac_ext <<_ACEOF
18761 /* confdefs.h. */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18767 /* Override any GCC internal prototype to avoid an error.
18768 Use char because int might match the return type of a GCC
18769 builtin and then its argument prototype would still apply. */
18770 #ifdef __cplusplus
18771 extern "C"
18772 #endif
18773 char connect ();
18775 main ()
18777 return connect ();
18779 return 0;
18781 _ACEOF
18782 rm -f conftest.$ac_objext conftest$ac_exeext
18783 if { (ac_try="$ac_link"
18784 case "(($ac_try" in
18785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18786 *) ac_try_echo=$ac_try;;
18787 esac
18788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18789 (eval "$ac_link") 2>conftest.er1
18790 ac_status=$?
18791 grep -v '^ *+' conftest.er1 >conftest.err
18792 rm -f conftest.er1
18793 cat conftest.err >&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } &&
18796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18797 { (case "(($ac_try" in
18798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18799 *) ac_try_echo=$ac_try;;
18800 esac
18801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18802 (eval "$ac_try") 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; } &&
18806 { ac_try='test -s conftest$ac_exeext'
18807 { (case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18810 esac
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_try") 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 ac_cv_lib_socket_connect=yes
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18821 ac_cv_lib_socket_connect=no
18824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18825 conftest$ac_exeext conftest.$ac_ext
18826 LIBS=$ac_check_lib_save_LIBS
18828 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18829 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18830 if test $ac_cv_lib_socket_connect = yes; then
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_LIBSOCKET 1
18833 _ACEOF
18835 LIBS="-lsocket $LIBS"
18841 if test "$ac_cv_func_inet_aton" = no
18842 then
18844 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18845 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18846 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18849 ac_check_lib_save_LIBS=$LIBS
18850 LIBS="-lresolv $LIBS"
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18858 /* Override any GCC internal prototype to avoid an error.
18859 Use char because int might match the return type of a GCC
18860 builtin and then its argument prototype would still apply. */
18861 #ifdef __cplusplus
18862 extern "C"
18863 #endif
18864 char inet_aton ();
18866 main ()
18868 return inet_aton ();
18870 return 0;
18872 _ACEOF
18873 rm -f conftest.$ac_objext conftest$ac_exeext
18874 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18888 { (case "(($ac_try" in
18889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18890 *) ac_try_echo=$ac_try;;
18891 esac
18892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18893 (eval "$ac_try") 2>&5
18894 ac_status=$?
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; } &&
18897 { ac_try='test -s conftest$ac_exeext'
18898 { (case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18901 esac
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_try") 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_lib_resolv_inet_aton=yes
18908 else
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18912 ac_cv_lib_resolv_inet_aton=no
18915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18916 conftest$ac_exeext conftest.$ac_ext
18917 LIBS=$ac_check_lib_save_LIBS
18919 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18920 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18921 if test $ac_cv_lib_resolv_inet_aton = yes; then
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_LIBRESOLV 1
18924 _ACEOF
18926 LIBS="-lresolv $LIBS"
18933 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18934 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18935 if test "${ac_cv_c_const+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18938 cat >conftest.$ac_ext <<_ACEOF
18939 /* confdefs.h. */
18940 _ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18946 main ()
18948 /* FIXME: Include the comments suggested by Paul. */
18949 #ifndef __cplusplus
18950 /* Ultrix mips cc rejects this. */
18951 typedef int charset[2];
18952 const charset cs;
18953 /* SunOS 4.1.1 cc rejects this. */
18954 char const *const *pcpcc;
18955 char **ppc;
18956 /* NEC SVR4.0.2 mips cc rejects this. */
18957 struct point {int x, y;};
18958 static struct point const zero = {0,0};
18959 /* AIX XL C 1.02.0.0 rejects this.
18960 It does not let you subtract one const X* pointer from another in
18961 an arm of an if-expression whose if-part is not a constant
18962 expression */
18963 const char *g = "string";
18964 pcpcc = &g + (g ? g-g : 0);
18965 /* HPUX 7.0 cc rejects these. */
18966 ++pcpcc;
18967 ppc = (char**) pcpcc;
18968 pcpcc = (char const *const *) ppc;
18969 { /* SCO 3.2v4 cc rejects this. */
18970 char *t;
18971 char const *s = 0 ? (char *) 0 : (char const *) 0;
18973 *t++ = 0;
18974 if (s) return 0;
18976 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18977 int x[] = {25, 17};
18978 const int *foo = &x[0];
18979 ++foo;
18981 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18982 typedef const int *iptr;
18983 iptr p = 0;
18984 ++p;
18986 { /* AIX XL C 1.02.0.0 rejects this saying
18987 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18988 struct s { int j; const int *ap[3]; };
18989 struct s *b; b->j = 5;
18991 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18992 const int foo = 10;
18993 if (!foo) return 0;
18995 return !cs[0] && !zero.x;
18996 #endif
18999 return 0;
19001 _ACEOF
19002 rm -f conftest.$ac_objext
19003 if { (ac_try="$ac_compile"
19004 case "(($ac_try" in
19005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19006 *) ac_try_echo=$ac_try;;
19007 esac
19008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19009 (eval "$ac_compile") 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19017 { (case "(($ac_try" in
19018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19019 *) ac_try_echo=$ac_try;;
19020 esac
19021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19022 (eval "$ac_try") 2>&5
19023 ac_status=$?
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; } &&
19026 { ac_try='test -s conftest.$ac_objext'
19027 { (case "(($ac_try" in
19028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19029 *) ac_try_echo=$ac_try;;
19030 esac
19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_try") 2>&5
19033 ac_status=$?
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19036 ac_cv_c_const=yes
19037 else
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19041 ac_cv_c_const=no
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19047 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19048 if test $ac_cv_c_const = no; then
19050 cat >>confdefs.h <<\_ACEOF
19051 #define const
19052 _ACEOF
19056 { echo "$as_me:$LINENO: checking for inline" >&5
19057 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19058 if test "${ac_cv_c_inline+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061 ac_cv_c_inline=no
19062 for ac_kw in inline __inline__ __inline; do
19063 cat >conftest.$ac_ext <<_ACEOF
19064 /* confdefs.h. */
19065 _ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 #ifndef __cplusplus
19070 typedef int foo_t;
19071 static $ac_kw foo_t static_foo () {return 0; }
19072 $ac_kw foo_t foo () {return 0; }
19073 #endif
19075 _ACEOF
19076 rm -f conftest.$ac_objext
19077 if { (ac_try="$ac_compile"
19078 case "(($ac_try" in
19079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19080 *) ac_try_echo=$ac_try;;
19081 esac
19082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19083 (eval "$ac_compile") 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19091 { (case "(($ac_try" in
19092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19093 *) ac_try_echo=$ac_try;;
19094 esac
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096 (eval "$ac_try") 2>&5
19097 ac_status=$?
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try='test -s conftest.$ac_objext'
19101 { (case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_try") 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_cv_c_inline=$ac_kw
19111 else
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119 test "$ac_cv_c_inline" != no && break
19120 done
19123 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19124 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19127 case $ac_cv_c_inline in
19128 inline | yes) ;;
19130 case $ac_cv_c_inline in
19131 no) ac_val=;;
19132 *) ac_val=$ac_cv_c_inline;;
19133 esac
19134 cat >>confdefs.h <<_ACEOF
19135 #ifndef __cplusplus
19136 #define inline $ac_val
19137 #endif
19138 _ACEOF
19140 esac
19142 { echo "$as_me:$LINENO: checking for mode_t" >&5
19143 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19144 if test "${ac_cv_type_mode_t+set}" = set; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19146 else
19147 cat >conftest.$ac_ext <<_ACEOF
19148 /* confdefs.h. */
19149 _ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19154 typedef mode_t ac__type_new_;
19156 main ()
19158 if ((ac__type_new_ *) 0)
19159 return 0;
19160 if (sizeof (ac__type_new_))
19161 return 0;
19163 return 0;
19165 _ACEOF
19166 rm -f conftest.$ac_objext
19167 if { (ac_try="$ac_compile"
19168 case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19171 esac
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_compile") 2>conftest.er1
19174 ac_status=$?
19175 grep -v '^ *+' conftest.er1 >conftest.err
19176 rm -f conftest.er1
19177 cat conftest.err >&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); } &&
19180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19181 { (case "(($ac_try" in
19182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19183 *) ac_try_echo=$ac_try;;
19184 esac
19185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19186 (eval "$ac_try") 2>&5
19187 ac_status=$?
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; } &&
19190 { ac_try='test -s conftest.$ac_objext'
19191 { (case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_try") 2>&5
19197 ac_status=$?
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; }; then
19200 ac_cv_type_mode_t=yes
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_type_mode_t=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19211 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19212 if test $ac_cv_type_mode_t = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_MODE_T 1
19216 _ACEOF
19220 { echo "$as_me:$LINENO: checking for off_t" >&5
19221 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19222 if test "${ac_cv_type_off_t+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 typedef off_t ac__type_new_;
19234 main ()
19236 if ((ac__type_new_ *) 0)
19237 return 0;
19238 if (sizeof (ac__type_new_))
19239 return 0;
19241 return 0;
19243 _ACEOF
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19249 esac
19250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19252 ac_status=$?
19253 grep -v '^ *+' conftest.er1 >conftest.err
19254 rm -f conftest.er1
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } &&
19258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19259 { (case "(($ac_try" in
19260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19262 esac
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_try") 2>&5
19265 ac_status=$?
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; } &&
19268 { ac_try='test -s conftest.$ac_objext'
19269 { (case "(($ac_try" in
19270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19271 *) ac_try_echo=$ac_try;;
19272 esac
19273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19274 (eval "$ac_try") 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 ac_cv_type_off_t=yes
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 ac_cv_type_off_t=no
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19289 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19290 if test $ac_cv_type_off_t = yes; then
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_OFF_T 1
19294 _ACEOF
19298 { echo "$as_me:$LINENO: checking for pid_t" >&5
19299 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19300 if test "${ac_cv_type_pid_t+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19302 else
19303 cat >conftest.$ac_ext <<_ACEOF
19304 /* confdefs.h. */
19305 _ACEOF
19306 cat confdefs.h >>conftest.$ac_ext
19307 cat >>conftest.$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 $ac_includes_default
19310 typedef pid_t ac__type_new_;
19312 main ()
19314 if ((ac__type_new_ *) 0)
19315 return 0;
19316 if (sizeof (ac__type_new_))
19317 return 0;
19319 return 0;
19321 _ACEOF
19322 rm -f conftest.$ac_objext
19323 if { (ac_try="$ac_compile"
19324 case "(($ac_try" in
19325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19326 *) ac_try_echo=$ac_try;;
19327 esac
19328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19329 (eval "$ac_compile") 2>conftest.er1
19330 ac_status=$?
19331 grep -v '^ *+' conftest.er1 >conftest.err
19332 rm -f conftest.er1
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } &&
19336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19337 { (case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; } &&
19346 { ac_try='test -s conftest.$ac_objext'
19347 { (case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19350 esac
19351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_try") 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 ac_cv_type_pid_t=yes
19357 else
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19361 ac_cv_type_pid_t=no
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19366 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19367 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19368 if test $ac_cv_type_pid_t = yes; then
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_PID_T 1
19372 _ACEOF
19376 { echo "$as_me:$LINENO: checking for size_t" >&5
19377 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19378 if test "${ac_cv_type_size_t+set}" = set; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 else
19381 cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h. */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 $ac_includes_default
19388 typedef size_t ac__type_new_;
19390 main ()
19392 if ((ac__type_new_ *) 0)
19393 return 0;
19394 if (sizeof (ac__type_new_))
19395 return 0;
19397 return 0;
19399 _ACEOF
19400 rm -f conftest.$ac_objext
19401 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19408 ac_status=$?
19409 grep -v '^ *+' conftest.er1 >conftest.err
19410 rm -f conftest.er1
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } &&
19414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19415 { (case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19418 esac
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_try") 2>&5
19421 ac_status=$?
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); }; } &&
19424 { ac_try='test -s conftest.$ac_objext'
19425 { (case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19428 esac
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_try") 2>&5
19431 ac_status=$?
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; }; then
19434 ac_cv_type_size_t=yes
19435 else
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.$ac_ext >&5
19439 ac_cv_type_size_t=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19445 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19446 if test $ac_cv_type_size_t = yes; then
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_SIZE_T 1
19450 _ACEOF
19454 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19455 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19456 if test "${ac_cv_type_ssize_t+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19459 cat >conftest.$ac_ext <<_ACEOF
19460 /* confdefs.h. */
19461 _ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465 $ac_includes_default
19466 typedef ssize_t ac__type_new_;
19468 main ()
19470 if ((ac__type_new_ *) 0)
19471 return 0;
19472 if (sizeof (ac__type_new_))
19473 return 0;
19475 return 0;
19477 _ACEOF
19478 rm -f conftest.$ac_objext
19479 if { (ac_try="$ac_compile"
19480 case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19483 esac
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_compile") 2>conftest.er1
19486 ac_status=$?
19487 grep -v '^ *+' conftest.er1 >conftest.err
19488 rm -f conftest.er1
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19493 { (case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19496 esac
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_try") 2>&5
19499 ac_status=$?
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; } &&
19502 { ac_try='test -s conftest.$ac_objext'
19503 { (case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506 esac
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_try") 2>&5
19509 ac_status=$?
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 ac_cv_type_ssize_t=yes
19513 else
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.$ac_ext >&5
19517 ac_cv_type_ssize_t=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19523 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19524 if test $ac_cv_type_ssize_t = yes; then
19526 cat >>confdefs.h <<_ACEOF
19527 #define HAVE_SSIZE_T 1
19528 _ACEOF
19532 { echo "$as_me:$LINENO: checking for long long" >&5
19533 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19534 if test "${ac_cv_type_long_long+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537 cat >conftest.$ac_ext <<_ACEOF
19538 /* confdefs.h. */
19539 _ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 typedef long long ac__type_new_;
19546 main ()
19548 if ((ac__type_new_ *) 0)
19549 return 0;
19550 if (sizeof (ac__type_new_))
19551 return 0;
19553 return 0;
19555 _ACEOF
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19561 esac
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19571 { (case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19574 esac
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_try") 2>&5
19577 ac_status=$?
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; } &&
19580 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
19587 ac_status=$?
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 ac_cv_type_long_long=yes
19591 else
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.$ac_ext >&5
19595 ac_cv_type_long_long=no
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19601 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19602 if test $ac_cv_type_long_long = yes; then
19604 cat >>confdefs.h <<_ACEOF
19605 #define HAVE_LONG_LONG 1
19606 _ACEOF
19610 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19611 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19612 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19614 else
19615 cat >conftest.$ac_ext <<_ACEOF
19616 /* confdefs.h. */
19617 _ACEOF
19618 cat confdefs.h >>conftest.$ac_ext
19619 cat >>conftest.$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 $ac_includes_default
19622 typedef fsblkcnt_t ac__type_new_;
19624 main ()
19626 if ((ac__type_new_ *) 0)
19627 return 0;
19628 if (sizeof (ac__type_new_))
19629 return 0;
19631 return 0;
19633 _ACEOF
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19639 esac
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compile") 2>conftest.er1
19642 ac_status=$?
19643 grep -v '^ *+' conftest.er1 >conftest.err
19644 rm -f conftest.er1
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } &&
19648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19649 { (case "(($ac_try" in
19650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19652 esac
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_try") 2>&5
19655 ac_status=$?
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try='test -s conftest.$ac_objext'
19659 { (case "(($ac_try" in
19660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19662 esac
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_try") 2>&5
19665 ac_status=$?
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; }; then
19668 ac_cv_type_fsblkcnt_t=yes
19669 else
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19673 ac_cv_type_fsblkcnt_t=no
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19679 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19680 if test $ac_cv_type_fsblkcnt_t = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define HAVE_FSBLKCNT_T 1
19684 _ACEOF
19688 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19689 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19690 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19693 cat >conftest.$ac_ext <<_ACEOF
19694 /* confdefs.h. */
19695 _ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19700 typedef fsfilcnt_t ac__type_new_;
19702 main ()
19704 if ((ac__type_new_ *) 0)
19705 return 0;
19706 if (sizeof (ac__type_new_))
19707 return 0;
19709 return 0;
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19717 esac
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19720 ac_status=$?
19721 grep -v '^ *+' conftest.er1 >conftest.err
19722 rm -f conftest.er1
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19727 { (case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729 *) ac_try_echo=$ac_try;;
19730 esac
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_try") 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest.$ac_objext'
19737 { (case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19740 esac
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742 (eval "$ac_try") 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_cv_type_fsfilcnt_t=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_cv_type_fsfilcnt_t=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19757 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19758 if test $ac_cv_type_fsfilcnt_t = yes; then
19760 cat >>confdefs.h <<_ACEOF
19761 #define HAVE_FSFILCNT_T 1
19762 _ACEOF
19767 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19768 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19769 if test "${ac_cv_type_sigset_t+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19771 else
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <signal.h>
19780 typedef sigset_t ac__type_new_;
19782 main ()
19784 if ((ac__type_new_ *) 0)
19785 return 0;
19786 if (sizeof (ac__type_new_))
19787 return 0;
19789 return 0;
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } &&
19806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19807 { (case "(($ac_try" in
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809 *) ac_try_echo=$ac_try;;
19810 esac
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19812 (eval "$ac_try") 2>&5
19813 ac_status=$?
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; } &&
19816 { ac_try='test -s conftest.$ac_objext'
19817 { (case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19820 esac
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_try") 2>&5
19823 ac_status=$?
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 ac_cv_type_sigset_t=yes
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_cv_type_sigset_t=no
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19836 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19837 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19838 if test $ac_cv_type_sigset_t = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_SIGSET_T 1
19842 _ACEOF
19847 { echo "$as_me:$LINENO: checking for request_sense" >&5
19848 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19849 if test "${ac_cv_type_request_sense+set}" = set; then
19850 echo $ECHO_N "(cached) $ECHO_C" >&6
19851 else
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 #include <linux/cdrom.h>
19860 typedef request_sense ac__type_new_;
19862 main ()
19864 if ((ac__type_new_ *) 0)
19865 return 0;
19866 if (sizeof (ac__type_new_))
19867 return 0;
19869 return 0;
19871 _ACEOF
19872 rm -f conftest.$ac_objext
19873 if { (ac_try="$ac_compile"
19874 case "(($ac_try" in
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876 *) ac_try_echo=$ac_try;;
19877 esac
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879 (eval "$ac_compile") 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19887 { (case "(($ac_try" in
19888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19889 *) ac_try_echo=$ac_try;;
19890 esac
19891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19892 (eval "$ac_try") 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest.$ac_objext'
19897 { (case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_try") 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 ac_cv_type_request_sense=yes
19907 else
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19911 ac_cv_type_request_sense=no
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19917 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19918 if test $ac_cv_type_request_sense = yes; then
19920 cat >>confdefs.h <<_ACEOF
19921 #define HAVE_REQUEST_SENSE 1
19922 _ACEOF
19928 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19929 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19930 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19933 cat >conftest.$ac_ext <<_ACEOF
19934 /* confdefs.h. */
19935 _ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 #ifdef HAVE_LINUX_INPUT_H
19940 #include <linux/input.h>
19941 #endif
19944 main ()
19946 static struct ff_effect ac_aggr;
19947 if (ac_aggr.direction)
19948 return 0;
19950 return 0;
19952 _ACEOF
19953 rm -f conftest.$ac_objext
19954 if { (ac_try="$ac_compile"
19955 case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;;
19958 esac
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_compile") 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19971 esac
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_try") 2>&5
19974 ac_status=$?
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; } &&
19977 { ac_try='test -s conftest.$ac_objext'
19978 { (case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19981 esac
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_try") 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 ac_cv_member_struct_ff_effect_direction=yes
19988 else
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19992 cat >conftest.$ac_ext <<_ACEOF
19993 /* confdefs.h. */
19994 _ACEOF
19995 cat confdefs.h >>conftest.$ac_ext
19996 cat >>conftest.$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
19998 #ifdef HAVE_LINUX_INPUT_H
19999 #include <linux/input.h>
20000 #endif
20003 main ()
20005 static struct ff_effect ac_aggr;
20006 if (sizeof ac_aggr.direction)
20007 return 0;
20009 return 0;
20011 _ACEOF
20012 rm -f conftest.$ac_objext
20013 if { (ac_try="$ac_compile"
20014 case "(($ac_try" in
20015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20016 *) ac_try_echo=$ac_try;;
20017 esac
20018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20019 (eval "$ac_compile") 2>conftest.er1
20020 ac_status=$?
20021 grep -v '^ *+' conftest.er1 >conftest.err
20022 rm -f conftest.er1
20023 cat conftest.err >&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20027 { (case "(($ac_try" in
20028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20030 esac
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_try") 2>&5
20033 ac_status=$?
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try='test -s conftest.$ac_objext'
20037 { (case "(($ac_try" in
20038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20039 *) ac_try_echo=$ac_try;;
20040 esac
20041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20042 (eval "$ac_try") 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 ac_cv_member_struct_ff_effect_direction=yes
20047 else
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20051 ac_cv_member_struct_ff_effect_direction=no
20054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20060 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20061 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20063 cat >>confdefs.h <<_ACEOF
20064 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20065 _ACEOF
20071 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20072 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20073 if test "${wine_cv_have_sigaddset+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <signal.h>
20084 main ()
20086 sigset_t set; sigaddset(&set,SIGTERM);
20088 return 0;
20090 _ACEOF
20091 rm -f conftest.$ac_objext conftest$ac_exeext
20092 if { (ac_try="$ac_link"
20093 case "(($ac_try" in
20094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20096 esac
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_link") 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20106 { (case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20109 esac
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_try") 2>&5
20112 ac_status=$?
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; } &&
20115 { ac_try='test -s conftest$ac_exeext'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20119 esac
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 wine_cv_have_sigaddset=yes
20126 else
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 wine_cv_have_sigaddset=no
20133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20134 conftest$ac_exeext conftest.$ac_ext
20136 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20137 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20138 if test "$wine_cv_have_sigaddset" = "yes"
20139 then
20141 cat >>confdefs.h <<\_ACEOF
20142 #define HAVE_SIGADDSET 1
20143 _ACEOF
20148 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20149 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20150 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 else
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20160 #include <netdb.h>
20163 main ()
20166 char *name=NULL;
20167 struct hostent he;
20168 struct hostent *result;
20169 char *buf=NULL;
20170 int bufsize=0;
20171 int res,errnr;
20172 char *addr=NULL;
20173 int addrlen=0;
20174 int addrtype=0;
20175 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20176 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20179 return 0;
20181 _ACEOF
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (ac_try="$ac_link"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_link") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20197 { (case "(($ac_try" in
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20200 esac
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_try") 2>&5
20203 ac_status=$?
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; } &&
20206 { ac_try='test -s conftest$ac_exeext'
20207 { (case "(($ac_try" in
20208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20209 *) ac_try_echo=$ac_try;;
20210 esac
20211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20212 (eval "$ac_try") 2>&5
20213 ac_status=$?
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 wine_cv_linux_gethostbyname_r_6=yes
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20221 wine_cv_linux_gethostbyname_r_6=no
20225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20226 conftest$ac_exeext conftest.$ac_ext
20229 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20230 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20231 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20232 then
20234 cat >>confdefs.h <<\_ACEOF
20235 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20236 _ACEOF
20240 if test "$ac_cv_header_linux_joystick_h" = "yes"
20241 then
20242 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20243 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20244 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20246 else
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20254 #include <sys/ioctl.h>
20255 #include <linux/joystick.h>
20257 struct js_event blub;
20258 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20259 #error "no 2.2 header"
20260 #endif
20263 main ()
20265 /*empty*/
20267 return 0;
20269 _ACEOF
20270 rm -f conftest.$ac_objext
20271 if { (ac_try="$ac_compile"
20272 case "(($ac_try" in
20273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20274 *) ac_try_echo=$ac_try;;
20275 esac
20276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20277 (eval "$ac_compile") 2>conftest.er1
20278 ac_status=$?
20279 grep -v '^ *+' conftest.er1 >conftest.err
20280 rm -f conftest.er1
20281 cat conftest.err >&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } &&
20284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20285 { (case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20288 esac
20289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_try") 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } &&
20294 { ac_try='test -s conftest.$ac_objext'
20295 { (case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20298 esac
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_try") 2>&5
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; }; then
20304 wine_cv_linux_joystick_22_api=yes
20305 else
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.$ac_ext >&5
20309 wine_cv_linux_joystick_22_api=no
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20315 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20316 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20317 if test "$wine_cv_linux_joystick_22_api" = "yes"
20318 then
20320 cat >>confdefs.h <<\_ACEOF
20321 #define HAVE_LINUX_22_JOYSTICK_API 1
20322 _ACEOF
20328 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20329 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20330 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 else
20333 cat >conftest.$ac_ext <<_ACEOF
20334 /* confdefs.h. */
20335 _ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 #include <sys/types.h>
20340 #ifdef HAVE_SYS_PARAM_H
20341 # include <sys/param.h>
20342 #endif
20343 #ifdef HAVE_SYS_MOUNT_H
20344 # include <sys/mount.h>
20345 #endif
20346 #ifdef HAVE_SYS_VFS_H
20347 # include <sys/vfs.h>
20348 #endif
20349 #ifdef HAVE_SYS_STATFS_H
20350 # include <sys/statfs.h>
20351 #endif
20354 main ()
20356 static struct statfs ac_aggr;
20357 if (ac_aggr.f_bfree)
20358 return 0;
20360 return 0;
20362 _ACEOF
20363 rm -f conftest.$ac_objext
20364 if { (ac_try="$ac_compile"
20365 case "(($ac_try" in
20366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20367 *) ac_try_echo=$ac_try;;
20368 esac
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_compile") 2>conftest.er1
20371 ac_status=$?
20372 grep -v '^ *+' conftest.er1 >conftest.err
20373 rm -f conftest.er1
20374 cat conftest.err >&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } &&
20377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20378 { (case "(($ac_try" in
20379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380 *) ac_try_echo=$ac_try;;
20381 esac
20382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20383 (eval "$ac_try") 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try='test -s conftest.$ac_objext'
20388 { (case "(($ac_try" in
20389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20390 *) ac_try_echo=$ac_try;;
20391 esac
20392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20393 (eval "$ac_try") 2>&5
20394 ac_status=$?
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 ac_cv_member_struct_statfs_f_bfree=yes
20398 else
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h. */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 #include <sys/types.h>
20409 #ifdef HAVE_SYS_PARAM_H
20410 # include <sys/param.h>
20411 #endif
20412 #ifdef HAVE_SYS_MOUNT_H
20413 # include <sys/mount.h>
20414 #endif
20415 #ifdef HAVE_SYS_VFS_H
20416 # include <sys/vfs.h>
20417 #endif
20418 #ifdef HAVE_SYS_STATFS_H
20419 # include <sys/statfs.h>
20420 #endif
20423 main ()
20425 static struct statfs ac_aggr;
20426 if (sizeof ac_aggr.f_bfree)
20427 return 0;
20429 return 0;
20431 _ACEOF
20432 rm -f conftest.$ac_objext
20433 if { (ac_try="$ac_compile"
20434 case "(($ac_try" in
20435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20436 *) ac_try_echo=$ac_try;;
20437 esac
20438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20439 (eval "$ac_compile") 2>conftest.er1
20440 ac_status=$?
20441 grep -v '^ *+' conftest.er1 >conftest.err
20442 rm -f conftest.er1
20443 cat conftest.err >&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20447 { (case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20450 esac
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_try") 2>&5
20453 ac_status=$?
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try='test -s conftest.$ac_objext'
20457 { (case "(($ac_try" in
20458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20459 *) ac_try_echo=$ac_try;;
20460 esac
20461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20462 (eval "$ac_try") 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 ac_cv_member_struct_statfs_f_bfree=yes
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 ac_cv_member_struct_statfs_f_bfree=no
20474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20480 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20481 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20483 cat >>confdefs.h <<_ACEOF
20484 #define HAVE_STRUCT_STATFS_F_BFREE 1
20485 _ACEOF
20489 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20490 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20491 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20492 echo $ECHO_N "(cached) $ECHO_C" >&6
20493 else
20494 cat >conftest.$ac_ext <<_ACEOF
20495 /* confdefs.h. */
20496 _ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 #include <sys/types.h>
20501 #ifdef HAVE_SYS_PARAM_H
20502 # include <sys/param.h>
20503 #endif
20504 #ifdef HAVE_SYS_MOUNT_H
20505 # include <sys/mount.h>
20506 #endif
20507 #ifdef HAVE_SYS_VFS_H
20508 # include <sys/vfs.h>
20509 #endif
20510 #ifdef HAVE_SYS_STATFS_H
20511 # include <sys/statfs.h>
20512 #endif
20515 main ()
20517 static struct statfs ac_aggr;
20518 if (ac_aggr.f_bavail)
20519 return 0;
20521 return 0;
20523 _ACEOF
20524 rm -f conftest.$ac_objext
20525 if { (ac_try="$ac_compile"
20526 case "(($ac_try" in
20527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20528 *) ac_try_echo=$ac_try;;
20529 esac
20530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20531 (eval "$ac_compile") 2>conftest.er1
20532 ac_status=$?
20533 grep -v '^ *+' conftest.er1 >conftest.err
20534 rm -f conftest.er1
20535 cat conftest.err >&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20539 { (case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20542 esac
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_try") 2>&5
20545 ac_status=$?
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; } &&
20548 { ac_try='test -s conftest.$ac_objext'
20549 { (case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_try") 2>&5
20555 ac_status=$?
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 ac_cv_member_struct_statfs_f_bavail=yes
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <sys/types.h>
20570 #ifdef HAVE_SYS_PARAM_H
20571 # include <sys/param.h>
20572 #endif
20573 #ifdef HAVE_SYS_MOUNT_H
20574 # include <sys/mount.h>
20575 #endif
20576 #ifdef HAVE_SYS_VFS_H
20577 # include <sys/vfs.h>
20578 #endif
20579 #ifdef HAVE_SYS_STATFS_H
20580 # include <sys/statfs.h>
20581 #endif
20584 main ()
20586 static struct statfs ac_aggr;
20587 if (sizeof ac_aggr.f_bavail)
20588 return 0;
20590 return 0;
20592 _ACEOF
20593 rm -f conftest.$ac_objext
20594 if { (ac_try="$ac_compile"
20595 case "(($ac_try" in
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597 *) ac_try_echo=$ac_try;;
20598 esac
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600 (eval "$ac_compile") 2>conftest.er1
20601 ac_status=$?
20602 grep -v '^ *+' conftest.er1 >conftest.err
20603 rm -f conftest.er1
20604 cat conftest.err >&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } &&
20607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20608 { (case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_try") 2>&5
20614 ac_status=$?
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; } &&
20617 { ac_try='test -s conftest.$ac_objext'
20618 { (case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20621 esac
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_try") 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 ac_cv_member_struct_statfs_f_bavail=yes
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 ac_cv_member_struct_statfs_f_bavail=no
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20641 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20642 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20644 cat >>confdefs.h <<_ACEOF
20645 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20646 _ACEOF
20650 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20651 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20652 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 else
20655 cat >conftest.$ac_ext <<_ACEOF
20656 /* confdefs.h. */
20657 _ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <sys/types.h>
20662 #ifdef HAVE_SYS_PARAM_H
20663 # include <sys/param.h>
20664 #endif
20665 #ifdef HAVE_SYS_MOUNT_H
20666 # include <sys/mount.h>
20667 #endif
20668 #ifdef HAVE_SYS_VFS_H
20669 # include <sys/vfs.h>
20670 #endif
20671 #ifdef HAVE_SYS_STATFS_H
20672 # include <sys/statfs.h>
20673 #endif
20676 main ()
20678 static struct statfs ac_aggr;
20679 if (ac_aggr.f_frsize)
20680 return 0;
20682 return 0;
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
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_compile") 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_objext'
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 ac_cv_member_struct_statfs_f_frsize=yes
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <sys/types.h>
20731 #ifdef HAVE_SYS_PARAM_H
20732 # include <sys/param.h>
20733 #endif
20734 #ifdef HAVE_SYS_MOUNT_H
20735 # include <sys/mount.h>
20736 #endif
20737 #ifdef HAVE_SYS_VFS_H
20738 # include <sys/vfs.h>
20739 #endif
20740 #ifdef HAVE_SYS_STATFS_H
20741 # include <sys/statfs.h>
20742 #endif
20745 main ()
20747 static struct statfs ac_aggr;
20748 if (sizeof ac_aggr.f_frsize)
20749 return 0;
20751 return 0;
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20769 { (case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20772 esac
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_try") 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_try") 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_member_struct_statfs_f_frsize=yes
20789 else
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ac_cv_member_struct_statfs_f_frsize=no
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20802 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20803 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20805 cat >>confdefs.h <<_ACEOF
20806 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20807 _ACEOF
20811 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20812 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20813 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 else
20816 cat >conftest.$ac_ext <<_ACEOF
20817 /* confdefs.h. */
20818 _ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 #include <sys/types.h>
20823 #ifdef HAVE_SYS_PARAM_H
20824 # include <sys/param.h>
20825 #endif
20826 #ifdef HAVE_SYS_MOUNT_H
20827 # include <sys/mount.h>
20828 #endif
20829 #ifdef HAVE_SYS_VFS_H
20830 # include <sys/vfs.h>
20831 #endif
20832 #ifdef HAVE_SYS_STATFS_H
20833 # include <sys/statfs.h>
20834 #endif
20837 main ()
20839 static struct statfs ac_aggr;
20840 if (ac_aggr.f_ffree)
20841 return 0;
20843 return 0;
20845 _ACEOF
20846 rm -f conftest.$ac_objext
20847 if { (ac_try="$ac_compile"
20848 case "(($ac_try" in
20849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20850 *) ac_try_echo=$ac_try;;
20851 esac
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_compile") 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20861 { (case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20864 esac
20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_try") 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; } &&
20870 { ac_try='test -s conftest.$ac_objext'
20871 { (case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20874 esac
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_try") 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_cv_member_struct_statfs_f_ffree=yes
20881 else
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 #include <sys/types.h>
20892 #ifdef HAVE_SYS_PARAM_H
20893 # include <sys/param.h>
20894 #endif
20895 #ifdef HAVE_SYS_MOUNT_H
20896 # include <sys/mount.h>
20897 #endif
20898 #ifdef HAVE_SYS_VFS_H
20899 # include <sys/vfs.h>
20900 #endif
20901 #ifdef HAVE_SYS_STATFS_H
20902 # include <sys/statfs.h>
20903 #endif
20906 main ()
20908 static struct statfs ac_aggr;
20909 if (sizeof ac_aggr.f_ffree)
20910 return 0;
20912 return 0;
20914 _ACEOF
20915 rm -f conftest.$ac_objext
20916 if { (ac_try="$ac_compile"
20917 case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20919 *) ac_try_echo=$ac_try;;
20920 esac
20921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_compile") 2>conftest.er1
20923 ac_status=$?
20924 grep -v '^ *+' conftest.er1 >conftest.err
20925 rm -f conftest.er1
20926 cat conftest.err >&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20930 { (case "(($ac_try" in
20931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20932 *) ac_try_echo=$ac_try;;
20933 esac
20934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20935 (eval "$ac_try") 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest.$ac_objext'
20940 { (case "(($ac_try" in
20941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20942 *) ac_try_echo=$ac_try;;
20943 esac
20944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20945 (eval "$ac_try") 2>&5
20946 ac_status=$?
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20949 ac_cv_member_struct_statfs_f_ffree=yes
20950 else
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20954 ac_cv_member_struct_statfs_f_ffree=no
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20962 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20963 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20964 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20966 cat >>confdefs.h <<_ACEOF
20967 #define HAVE_STRUCT_STATFS_F_FFREE 1
20968 _ACEOF
20972 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20973 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20974 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 else
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 #include <sys/types.h>
20984 #ifdef HAVE_SYS_PARAM_H
20985 # include <sys/param.h>
20986 #endif
20987 #ifdef HAVE_SYS_MOUNT_H
20988 # include <sys/mount.h>
20989 #endif
20990 #ifdef HAVE_SYS_VFS_H
20991 # include <sys/vfs.h>
20992 #endif
20993 #ifdef HAVE_SYS_STATFS_H
20994 # include <sys/statfs.h>
20995 #endif
20998 main ()
21000 static struct statfs ac_aggr;
21001 if (ac_aggr.f_favail)
21002 return 0;
21004 return 0;
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } &&
21021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21022 { (case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21024 *) ac_try_echo=$ac_try;;
21025 esac
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_try") 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; } &&
21031 { ac_try='test -s conftest.$ac_objext'
21032 { (case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21035 esac
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_try") 2>&5
21038 ac_status=$?
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21041 ac_cv_member_struct_statfs_f_favail=yes
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 cat >conftest.$ac_ext <<_ACEOF
21047 /* confdefs.h. */
21048 _ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 #include <sys/types.h>
21053 #ifdef HAVE_SYS_PARAM_H
21054 # include <sys/param.h>
21055 #endif
21056 #ifdef HAVE_SYS_MOUNT_H
21057 # include <sys/mount.h>
21058 #endif
21059 #ifdef HAVE_SYS_VFS_H
21060 # include <sys/vfs.h>
21061 #endif
21062 #ifdef HAVE_SYS_STATFS_H
21063 # include <sys/statfs.h>
21064 #endif
21067 main ()
21069 static struct statfs ac_aggr;
21070 if (sizeof ac_aggr.f_favail)
21071 return 0;
21073 return 0;
21075 _ACEOF
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21081 esac
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_compile") 2>conftest.er1
21084 ac_status=$?
21085 grep -v '^ *+' conftest.er1 >conftest.err
21086 rm -f conftest.er1
21087 cat conftest.err >&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21091 { (case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_try") 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try='test -s conftest.$ac_objext'
21101 { (case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21104 esac
21105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_try") 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_cv_member_struct_statfs_f_favail=yes
21111 else
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_cv_member_struct_statfs_f_favail=no
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21124 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21125 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21127 cat >>confdefs.h <<_ACEOF
21128 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21129 _ACEOF
21133 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21134 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21135 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 else
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h. */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 #include <sys/types.h>
21145 #ifdef HAVE_SYS_PARAM_H
21146 # include <sys/param.h>
21147 #endif
21148 #ifdef HAVE_SYS_MOUNT_H
21149 # include <sys/mount.h>
21150 #endif
21151 #ifdef HAVE_SYS_VFS_H
21152 # include <sys/vfs.h>
21153 #endif
21154 #ifdef HAVE_SYS_STATFS_H
21155 # include <sys/statfs.h>
21156 #endif
21159 main ()
21161 static struct statfs ac_aggr;
21162 if (ac_aggr.f_namelen)
21163 return 0;
21165 return 0;
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21183 { (case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21186 esac
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_try") 2>&5
21189 ac_status=$?
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; } &&
21192 { ac_try='test -s conftest.$ac_objext'
21193 { (case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21196 esac
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_try") 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_cv_member_struct_statfs_f_namelen=yes
21203 else
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 #include <sys/types.h>
21214 #ifdef HAVE_SYS_PARAM_H
21215 # include <sys/param.h>
21216 #endif
21217 #ifdef HAVE_SYS_MOUNT_H
21218 # include <sys/mount.h>
21219 #endif
21220 #ifdef HAVE_SYS_VFS_H
21221 # include <sys/vfs.h>
21222 #endif
21223 #ifdef HAVE_SYS_STATFS_H
21224 # include <sys/statfs.h>
21225 #endif
21228 main ()
21230 static struct statfs ac_aggr;
21231 if (sizeof ac_aggr.f_namelen)
21232 return 0;
21234 return 0;
21236 _ACEOF
21237 rm -f conftest.$ac_objext
21238 if { (ac_try="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242 esac
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } &&
21251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21252 { (case "(($ac_try" in
21253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21254 *) ac_try_echo=$ac_try;;
21255 esac
21256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 (eval "$ac_try") 2>&5
21258 ac_status=$?
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); }; } &&
21261 { ac_try='test -s conftest.$ac_objext'
21262 { (case "(($ac_try" in
21263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21264 *) ac_try_echo=$ac_try;;
21265 esac
21266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21267 (eval "$ac_try") 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_member_struct_statfs_f_namelen=yes
21272 else
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21276 ac_cv_member_struct_statfs_f_namelen=no
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21286 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21288 cat >>confdefs.h <<_ACEOF
21289 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21290 _ACEOF
21296 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21297 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21298 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 else
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 #ifdef HAVE_SYS_STATVFS_H
21308 #include <sys/statvfs.h>
21309 #endif
21312 main ()
21314 static struct statvfs ac_aggr;
21315 if (ac_aggr.f_blocks)
21316 return 0;
21318 return 0;
21320 _ACEOF
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21326 esac
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21336 { (case "(($ac_try" in
21337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21338 *) ac_try_echo=$ac_try;;
21339 esac
21340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21341 (eval "$ac_try") 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try='test -s conftest.$ac_objext'
21346 { (case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21349 esac
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_try") 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 ac_cv_member_struct_statvfs_f_blocks=yes
21356 else
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21360 cat >conftest.$ac_ext <<_ACEOF
21361 /* confdefs.h. */
21362 _ACEOF
21363 cat confdefs.h >>conftest.$ac_ext
21364 cat >>conftest.$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21366 #ifdef HAVE_SYS_STATVFS_H
21367 #include <sys/statvfs.h>
21368 #endif
21371 main ()
21373 static struct statvfs ac_aggr;
21374 if (sizeof ac_aggr.f_blocks)
21375 return 0;
21377 return 0;
21379 _ACEOF
21380 rm -f conftest.$ac_objext
21381 if { (ac_try="$ac_compile"
21382 case "(($ac_try" in
21383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21384 *) ac_try_echo=$ac_try;;
21385 esac
21386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21387 (eval "$ac_compile") 2>conftest.er1
21388 ac_status=$?
21389 grep -v '^ *+' conftest.er1 >conftest.err
21390 rm -f conftest.er1
21391 cat conftest.err >&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21395 { (case "(($ac_try" in
21396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21398 esac
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_try") 2>&5
21401 ac_status=$?
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try='test -s conftest.$ac_objext'
21405 { (case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21407 *) ac_try_echo=$ac_try;;
21408 esac
21409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_try") 2>&5
21411 ac_status=$?
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_cv_member_struct_statvfs_f_blocks=yes
21415 else
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21419 ac_cv_member_struct_statvfs_f_blocks=no
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21428 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21429 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21431 cat >>confdefs.h <<_ACEOF
21432 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21433 _ACEOF
21439 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21440 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21441 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21443 else
21444 cat >conftest.$ac_ext <<_ACEOF
21445 /* confdefs.h. */
21446 _ACEOF
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 #include <sys/types.h>
21451 #ifdef HAVE_SYS_SOCKET_H
21452 # include <sys/socket.h>
21453 #endif
21454 #ifdef HAVE_SYS_UN_H
21455 # include <sys/un.h>
21456 #endif
21459 main ()
21461 static struct msghdr ac_aggr;
21462 if (ac_aggr.msg_accrights)
21463 return 0;
21465 return 0;
21467 _ACEOF
21468 rm -f conftest.$ac_objext
21469 if { (ac_try="$ac_compile"
21470 case "(($ac_try" in
21471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21472 *) ac_try_echo=$ac_try;;
21473 esac
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_compile") 2>conftest.er1
21476 ac_status=$?
21477 grep -v '^ *+' conftest.er1 >conftest.err
21478 rm -f conftest.er1
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } &&
21482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21483 { (case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485 *) ac_try_echo=$ac_try;;
21486 esac
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_try") 2>&5
21489 ac_status=$?
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); }; } &&
21492 { ac_try='test -s conftest.$ac_objext'
21493 { (case "(($ac_try" in
21494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21495 *) ac_try_echo=$ac_try;;
21496 esac
21497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21498 (eval "$ac_try") 2>&5
21499 ac_status=$?
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 ac_cv_member_struct_msghdr_msg_accrights=yes
21503 else
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 #include <sys/types.h>
21514 #ifdef HAVE_SYS_SOCKET_H
21515 # include <sys/socket.h>
21516 #endif
21517 #ifdef HAVE_SYS_UN_H
21518 # include <sys/un.h>
21519 #endif
21522 main ()
21524 static struct msghdr ac_aggr;
21525 if (sizeof ac_aggr.msg_accrights)
21526 return 0;
21528 return 0;
21530 _ACEOF
21531 rm -f conftest.$ac_objext
21532 if { (ac_try="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21536 esac
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21546 { (case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21549 esac
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_try") 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try='test -s conftest.$ac_objext'
21556 { (case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_try") 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_cv_member_struct_msghdr_msg_accrights=yes
21566 else
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21570 ac_cv_member_struct_msghdr_msg_accrights=no
21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21579 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21580 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21582 cat >>confdefs.h <<_ACEOF
21583 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21584 _ACEOF
21588 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21589 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21590 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21592 else
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #include <sys/types.h>
21600 #ifdef HAVE_SYS_SOCKET_H
21601 # include <sys/socket.h>
21602 #endif
21603 #ifdef HAVE_SYS_UN_H
21604 # include <sys/un.h>
21605 #endif
21608 main ()
21610 static struct sockaddr ac_aggr;
21611 if (ac_aggr.sa_len)
21612 return 0;
21614 return 0;
21616 _ACEOF
21617 rm -f conftest.$ac_objext
21618 if { (ac_try="$ac_compile"
21619 case "(($ac_try" in
21620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21621 *) ac_try_echo=$ac_try;;
21622 esac
21623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21624 (eval "$ac_compile") 2>conftest.er1
21625 ac_status=$?
21626 grep -v '^ *+' conftest.er1 >conftest.err
21627 rm -f conftest.er1
21628 cat conftest.err >&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } &&
21631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21632 { (case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21635 esac
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_try") 2>&5
21638 ac_status=$?
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; } &&
21641 { ac_try='test -s conftest.$ac_objext'
21642 { (case "(($ac_try" in
21643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21644 *) ac_try_echo=$ac_try;;
21645 esac
21646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21647 (eval "$ac_try") 2>&5
21648 ac_status=$?
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; }; then
21651 ac_cv_member_struct_sockaddr_sa_len=yes
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 #include <sys/types.h>
21663 #ifdef HAVE_SYS_SOCKET_H
21664 # include <sys/socket.h>
21665 #endif
21666 #ifdef HAVE_SYS_UN_H
21667 # include <sys/un.h>
21668 #endif
21671 main ()
21673 static struct sockaddr ac_aggr;
21674 if (sizeof ac_aggr.sa_len)
21675 return 0;
21677 return 0;
21679 _ACEOF
21680 rm -f conftest.$ac_objext
21681 if { (ac_try="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21684 *) ac_try_echo=$ac_try;;
21685 esac
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21688 ac_status=$?
21689 grep -v '^ *+' conftest.er1 >conftest.err
21690 rm -f conftest.er1
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21695 { (case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21698 esac
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; } &&
21704 { ac_try='test -s conftest.$ac_objext'
21705 { (case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21708 esac
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_try") 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_cv_member_struct_sockaddr_sa_len=yes
21715 else
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 ac_cv_member_struct_sockaddr_sa_len=no
21722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21728 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21729 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21731 cat >>confdefs.h <<_ACEOF
21732 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21733 _ACEOF
21737 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21738 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21739 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 else
21742 cat >conftest.$ac_ext <<_ACEOF
21743 /* confdefs.h. */
21744 _ACEOF
21745 cat confdefs.h >>conftest.$ac_ext
21746 cat >>conftest.$ac_ext <<_ACEOF
21747 /* end confdefs.h. */
21748 #include <sys/types.h>
21749 #ifdef HAVE_SYS_SOCKET_H
21750 # include <sys/socket.h>
21751 #endif
21752 #ifdef HAVE_SYS_UN_H
21753 # include <sys/un.h>
21754 #endif
21757 main ()
21759 static struct sockaddr_un ac_aggr;
21760 if (ac_aggr.sun_len)
21761 return 0;
21763 return 0;
21765 _ACEOF
21766 rm -f conftest.$ac_objext
21767 if { (ac_try="$ac_compile"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21771 esac
21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_compile") 2>conftest.er1
21774 ac_status=$?
21775 grep -v '^ *+' conftest.er1 >conftest.err
21776 rm -f conftest.er1
21777 cat conftest.err >&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } &&
21780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21781 { (case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21784 esac
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_try") 2>&5
21787 ac_status=$?
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; } &&
21790 { ac_try='test -s conftest.$ac_objext'
21791 { (case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21793 *) ac_try_echo=$ac_try;;
21794 esac
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_try") 2>&5
21797 ac_status=$?
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; }; then
21800 ac_cv_member_struct_sockaddr_un_sun_len=yes
21801 else
21802 echo "$as_me: failed program was:" >&5
21803 sed 's/^/| /' conftest.$ac_ext >&5
21805 cat >conftest.$ac_ext <<_ACEOF
21806 /* confdefs.h. */
21807 _ACEOF
21808 cat confdefs.h >>conftest.$ac_ext
21809 cat >>conftest.$ac_ext <<_ACEOF
21810 /* end confdefs.h. */
21811 #include <sys/types.h>
21812 #ifdef HAVE_SYS_SOCKET_H
21813 # include <sys/socket.h>
21814 #endif
21815 #ifdef HAVE_SYS_UN_H
21816 # include <sys/un.h>
21817 #endif
21820 main ()
21822 static struct sockaddr_un ac_aggr;
21823 if (sizeof ac_aggr.sun_len)
21824 return 0;
21826 return 0;
21828 _ACEOF
21829 rm -f conftest.$ac_objext
21830 if { (ac_try="$ac_compile"
21831 case "(($ac_try" in
21832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21833 *) ac_try_echo=$ac_try;;
21834 esac
21835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21836 (eval "$ac_compile") 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21847 esac
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; } &&
21853 { ac_try='test -s conftest.$ac_objext'
21854 { (case "(($ac_try" in
21855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21857 esac
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_try") 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 ac_cv_member_struct_sockaddr_un_sun_len=yes
21864 else
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21868 ac_cv_member_struct_sockaddr_un_sun_len=no
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21877 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21878 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21880 cat >>confdefs.h <<_ACEOF
21881 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21882 _ACEOF
21888 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21889 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21890 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 #include <sys/types.h>
21900 #ifdef HAVE_SCSI_SG_H
21901 #include <scsi/sg.h>
21902 #endif
21905 main ()
21907 static scsireq_t ac_aggr;
21908 if (ac_aggr.cmd)
21909 return 0;
21911 return 0;
21913 _ACEOF
21914 rm -f conftest.$ac_objext
21915 if { (ac_try="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21922 ac_status=$?
21923 grep -v '^ *+' conftest.er1 >conftest.err
21924 rm -f conftest.er1
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } &&
21928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21929 { (case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21932 esac
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_try") 2>&5
21935 ac_status=$?
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; } &&
21938 { ac_try='test -s conftest.$ac_objext'
21939 { (case "(($ac_try" in
21940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21941 *) ac_try_echo=$ac_try;;
21942 esac
21943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21944 (eval "$ac_try") 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; }; then
21948 ac_cv_member_scsireq_t_cmd=yes
21949 else
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21953 cat >conftest.$ac_ext <<_ACEOF
21954 /* confdefs.h. */
21955 _ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 #include <sys/types.h>
21960 #ifdef HAVE_SCSI_SG_H
21961 #include <scsi/sg.h>
21962 #endif
21965 main ()
21967 static scsireq_t ac_aggr;
21968 if (sizeof ac_aggr.cmd)
21969 return 0;
21971 return 0;
21973 _ACEOF
21974 rm -f conftest.$ac_objext
21975 if { (ac_try="$ac_compile"
21976 case "(($ac_try" in
21977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21978 *) ac_try_echo=$ac_try;;
21979 esac
21980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21981 (eval "$ac_compile") 2>conftest.er1
21982 ac_status=$?
21983 grep -v '^ *+' conftest.er1 >conftest.err
21984 rm -f conftest.er1
21985 cat conftest.err >&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21989 { (case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21992 esac
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_try") 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; } &&
21998 { ac_try='test -s conftest.$ac_objext'
21999 { (case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22002 esac
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_try") 2>&5
22005 ac_status=$?
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; }; then
22008 ac_cv_member_scsireq_t_cmd=yes
22009 else
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22013 ac_cv_member_scsireq_t_cmd=no
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22021 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22022 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22023 if test $ac_cv_member_scsireq_t_cmd = yes; then
22025 cat >>confdefs.h <<_ACEOF
22026 #define HAVE_SCSIREQ_T_CMD 1
22027 _ACEOF
22031 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22032 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22033 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 else
22036 cat >conftest.$ac_ext <<_ACEOF
22037 /* confdefs.h. */
22038 _ACEOF
22039 cat confdefs.h >>conftest.$ac_ext
22040 cat >>conftest.$ac_ext <<_ACEOF
22041 /* end confdefs.h. */
22042 #include <sys/types.h>
22043 #ifdef HAVE_SCSI_SG_H
22044 #include <scsi/sg.h>
22045 #endif
22048 main ()
22050 static sg_io_hdr_t ac_aggr;
22051 if (ac_aggr.interface_id)
22052 return 0;
22054 return 0;
22056 _ACEOF
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22065 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } &&
22071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22072 { (case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22075 esac
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_try") 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; } &&
22081 { ac_try='test -s conftest.$ac_objext'
22082 { (case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_try") 2>&5
22088 ac_status=$?
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 ac_cv_member_sg_io_hdr_t_interface_id=yes
22092 else
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.$ac_ext >&5
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_SCSI_SG_H
22104 #include <scsi/sg.h>
22105 #endif
22108 main ()
22110 static sg_io_hdr_t ac_aggr;
22111 if (sizeof ac_aggr.interface_id)
22112 return 0;
22114 return 0;
22116 _ACEOF
22117 rm -f conftest.$ac_objext
22118 if { (ac_try="$ac_compile"
22119 case "(($ac_try" in
22120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22121 *) ac_try_echo=$ac_try;;
22122 esac
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_compile") 2>conftest.er1
22125 ac_status=$?
22126 grep -v '^ *+' conftest.er1 >conftest.err
22127 rm -f conftest.er1
22128 cat conftest.err >&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
22131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22132 { (case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22135 esac
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_try") 2>&5
22138 ac_status=$?
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; } &&
22141 { ac_try='test -s conftest.$ac_objext'
22142 { (case "(($ac_try" in
22143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22144 *) ac_try_echo=$ac_try;;
22145 esac
22146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22147 (eval "$ac_try") 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 ac_cv_member_sg_io_hdr_t_interface_id=yes
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22156 ac_cv_member_sg_io_hdr_t_interface_id=no
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22165 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22166 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22168 cat >>confdefs.h <<_ACEOF
22169 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22170 _ACEOF
22176 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22177 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22178 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22179 echo $ECHO_N "(cached) $ECHO_C" >&6
22180 else
22181 cat >conftest.$ac_ext <<_ACEOF
22182 /* confdefs.h. */
22183 _ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 #include <signal.h>
22190 main ()
22192 static siginfo_t ac_aggr;
22193 if (ac_aggr.si_fd)
22194 return 0;
22196 return 0;
22198 _ACEOF
22199 rm -f conftest.$ac_objext
22200 if { (ac_try="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22204 esac
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22207 ac_status=$?
22208 grep -v '^ *+' conftest.er1 >conftest.err
22209 rm -f conftest.er1
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } &&
22213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22214 { (case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22217 esac
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_try") 2>&5
22220 ac_status=$?
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; } &&
22223 { ac_try='test -s conftest.$ac_objext'
22224 { (case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22227 esac
22228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_try") 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_member_siginfo_t_si_fd=yes
22234 else
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 #include <signal.h>
22247 main ()
22249 static siginfo_t ac_aggr;
22250 if (sizeof ac_aggr.si_fd)
22251 return 0;
22253 return 0;
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
22277 ac_status=$?
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); }; } &&
22280 { ac_try='test -s conftest.$ac_objext'
22281 { (case "(($ac_try" in
22282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22283 *) ac_try_echo=$ac_try;;
22284 esac
22285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22286 (eval "$ac_try") 2>&5
22287 ac_status=$?
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; }; then
22290 ac_cv_member_siginfo_t_si_fd=yes
22291 else
22292 echo "$as_me: failed program was:" >&5
22293 sed 's/^/| /' conftest.$ac_ext >&5
22295 ac_cv_member_siginfo_t_si_fd=no
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22303 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22304 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22305 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22307 cat >>confdefs.h <<_ACEOF
22308 #define HAVE_SIGINFO_T_SI_FD 1
22309 _ACEOF
22315 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22316 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22317 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 else
22320 cat >conftest.$ac_ext <<_ACEOF
22321 /* confdefs.h. */
22322 _ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 #include <sys/types.h>
22327 #ifdef HAVE_SYS_MTIO_H
22328 #include <sys/mtio.h>
22329 #endif
22332 main ()
22334 static struct mtget ac_aggr;
22335 if (ac_aggr.mt_blksiz)
22336 return 0;
22338 return 0;
22340 _ACEOF
22341 rm -f conftest.$ac_objext
22342 if { (ac_try="$ac_compile"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22346 esac
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_compile") 2>conftest.er1
22349 ac_status=$?
22350 grep -v '^ *+' conftest.er1 >conftest.err
22351 rm -f conftest.er1
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } &&
22355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22356 { (case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22359 esac
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_try") 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest.$ac_objext'
22366 { (case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22369 esac
22370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_try") 2>&5
22372 ac_status=$?
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); }; }; then
22375 ac_cv_member_struct_mtget_mt_blksiz=yes
22376 else
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 #include <sys/types.h>
22387 #ifdef HAVE_SYS_MTIO_H
22388 #include <sys/mtio.h>
22389 #endif
22392 main ()
22394 static struct mtget ac_aggr;
22395 if (sizeof ac_aggr.mt_blksiz)
22396 return 0;
22398 return 0;
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (ac_try="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405 *) ac_try_echo=$ac_try;;
22406 esac
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22409 ac_status=$?
22410 grep -v '^ *+' conftest.er1 >conftest.err
22411 rm -f conftest.er1
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } &&
22415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22416 { (case "(($ac_try" in
22417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22418 *) ac_try_echo=$ac_try;;
22419 esac
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22421 (eval "$ac_try") 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try='test -s conftest.$ac_objext'
22426 { (case "(($ac_try" in
22427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22428 *) ac_try_echo=$ac_try;;
22429 esac
22430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22431 (eval "$ac_try") 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_member_struct_mtget_mt_blksiz=yes
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22440 ac_cv_member_struct_mtget_mt_blksiz=no
22443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22448 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22449 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22450 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22452 cat >>confdefs.h <<_ACEOF
22453 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22454 _ACEOF
22458 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22459 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22460 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22462 else
22463 cat >conftest.$ac_ext <<_ACEOF
22464 /* confdefs.h. */
22465 _ACEOF
22466 cat confdefs.h >>conftest.$ac_ext
22467 cat >>conftest.$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22469 #include <sys/types.h>
22470 #ifdef HAVE_SYS_MTIO_H
22471 #include <sys/mtio.h>
22472 #endif
22475 main ()
22477 static struct mtget ac_aggr;
22478 if (ac_aggr.mt_gstat)
22479 return 0;
22481 return 0;
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (ac_try="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } &&
22498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22499 { (case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_try") 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; } &&
22508 { ac_try='test -s conftest.$ac_objext'
22509 { (case "(($ac_try" in
22510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22512 esac
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_try") 2>&5
22515 ac_status=$?
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 ac_cv_member_struct_mtget_mt_gstat=yes
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 #include <sys/types.h>
22530 #ifdef HAVE_SYS_MTIO_H
22531 #include <sys/mtio.h>
22532 #endif
22535 main ()
22537 static struct mtget ac_aggr;
22538 if (sizeof ac_aggr.mt_gstat)
22539 return 0;
22541 return 0;
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22549 esac
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22559 { (case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22562 esac
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_try") 2>&5
22565 ac_status=$?
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22572 esac
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_try") 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_member_struct_mtget_mt_gstat=yes
22579 else
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22583 ac_cv_member_struct_mtget_mt_gstat=no
22586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22591 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22592 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22593 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22595 cat >>confdefs.h <<_ACEOF
22596 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22597 _ACEOF
22601 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22602 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22603 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22605 else
22606 cat >conftest.$ac_ext <<_ACEOF
22607 /* confdefs.h. */
22608 _ACEOF
22609 cat confdefs.h >>conftest.$ac_ext
22610 cat >>conftest.$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22612 #include <sys/types.h>
22613 #ifdef HAVE_SYS_MTIO_H
22614 #include <sys/mtio.h>
22615 #endif
22618 main ()
22620 static struct mtget ac_aggr;
22621 if (ac_aggr.mt_blkno)
22622 return 0;
22624 return 0;
22626 _ACEOF
22627 rm -f conftest.$ac_objext
22628 if { (ac_try="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22632 esac
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22642 { (case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22645 esac
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_try") 2>&5
22648 ac_status=$?
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; } &&
22651 { ac_try='test -s conftest.$ac_objext'
22652 { (case "(($ac_try" in
22653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22654 *) ac_try_echo=$ac_try;;
22655 esac
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_try") 2>&5
22658 ac_status=$?
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); }; }; then
22661 ac_cv_member_struct_mtget_mt_blkno=yes
22662 else
22663 echo "$as_me: failed program was:" >&5
22664 sed 's/^/| /' conftest.$ac_ext >&5
22666 cat >conftest.$ac_ext <<_ACEOF
22667 /* confdefs.h. */
22668 _ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 #include <sys/types.h>
22673 #ifdef HAVE_SYS_MTIO_H
22674 #include <sys/mtio.h>
22675 #endif
22678 main ()
22680 static struct mtget ac_aggr;
22681 if (sizeof ac_aggr.mt_blkno)
22682 return 0;
22684 return 0;
22686 _ACEOF
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22692 esac
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22695 ac_status=$?
22696 grep -v '^ *+' conftest.er1 >conftest.err
22697 rm -f conftest.er1
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22702 { (case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22705 esac
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_try") 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (case "(($ac_try" in
22713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22714 *) ac_try_echo=$ac_try;;
22715 esac
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22717 (eval "$ac_try") 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_member_struct_mtget_mt_blkno=yes
22722 else
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22726 ac_cv_member_struct_mtget_mt_blkno=no
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22735 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22736 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22738 cat >>confdefs.h <<_ACEOF
22739 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22740 _ACEOF
22746 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22747 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22748 if test "${ac_cv_member_struct_option_name+set}" = set; then
22749 echo $ECHO_N "(cached) $ECHO_C" >&6
22750 else
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 #ifdef HAVE_GETOPT_H
22758 #include <getopt.h>
22759 #endif
22762 main ()
22764 static struct option ac_aggr;
22765 if (ac_aggr.name)
22766 return 0;
22768 return 0;
22770 _ACEOF
22771 rm -f conftest.$ac_objext
22772 if { (ac_try="$ac_compile"
22773 case "(($ac_try" in
22774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22775 *) ac_try_echo=$ac_try;;
22776 esac
22777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22778 (eval "$ac_compile") 2>conftest.er1
22779 ac_status=$?
22780 grep -v '^ *+' conftest.er1 >conftest.err
22781 rm -f conftest.er1
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } &&
22785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22786 { (case "(($ac_try" in
22787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22788 *) ac_try_echo=$ac_try;;
22789 esac
22790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22791 (eval "$ac_try") 2>&5
22792 ac_status=$?
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; } &&
22795 { ac_try='test -s conftest.$ac_objext'
22796 { (case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22799 esac
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_try") 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 ac_cv_member_struct_option_name=yes
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 cat >conftest.$ac_ext <<_ACEOF
22811 /* confdefs.h. */
22812 _ACEOF
22813 cat confdefs.h >>conftest.$ac_ext
22814 cat >>conftest.$ac_ext <<_ACEOF
22815 /* end confdefs.h. */
22816 #ifdef HAVE_GETOPT_H
22817 #include <getopt.h>
22818 #endif
22821 main ()
22823 static struct option ac_aggr;
22824 if (sizeof ac_aggr.name)
22825 return 0;
22827 return 0;
22829 _ACEOF
22830 rm -f conftest.$ac_objext
22831 if { (ac_try="$ac_compile"
22832 case "(($ac_try" in
22833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22834 *) ac_try_echo=$ac_try;;
22835 esac
22836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22837 (eval "$ac_compile") 2>conftest.er1
22838 ac_status=$?
22839 grep -v '^ *+' conftest.er1 >conftest.err
22840 rm -f conftest.er1
22841 cat conftest.err >&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22845 { (case "(($ac_try" in
22846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22847 *) ac_try_echo=$ac_try;;
22848 esac
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_try") 2>&5
22851 ac_status=$?
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); }; } &&
22854 { ac_try='test -s conftest.$ac_objext'
22855 { (case "(($ac_try" in
22856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22857 *) ac_try_echo=$ac_try;;
22858 esac
22859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22860 (eval "$ac_try") 2>&5
22861 ac_status=$?
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; }; then
22864 ac_cv_member_struct_option_name=yes
22865 else
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22869 ac_cv_member_struct_option_name=no
22872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22878 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22879 if test $ac_cv_member_struct_option_name = yes; then
22881 cat >>confdefs.h <<_ACEOF
22882 #define HAVE_STRUCT_OPTION_NAME 1
22883 _ACEOF
22889 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22890 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22891 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 else
22894 cat >conftest.$ac_ext <<_ACEOF
22895 /* confdefs.h. */
22896 _ACEOF
22897 cat confdefs.h >>conftest.$ac_ext
22898 cat >>conftest.$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900 $ac_includes_default
22902 main ()
22904 static struct stat ac_aggr;
22905 if (ac_aggr.st_blocks)
22906 return 0;
22908 return 0;
22910 _ACEOF
22911 rm -f conftest.$ac_objext
22912 if { (ac_try="$ac_compile"
22913 case "(($ac_try" in
22914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22915 *) ac_try_echo=$ac_try;;
22916 esac
22917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22918 (eval "$ac_compile") 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (case "(($ac_try" in
22927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22928 *) ac_try_echo=$ac_try;;
22929 esac
22930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22931 (eval "$ac_try") 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try='test -s conftest.$ac_objext'
22936 { (case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22939 esac
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_try") 2>&5
22942 ac_status=$?
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_member_struct_stat_st_blocks=yes
22946 else
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 cat >conftest.$ac_ext <<_ACEOF
22951 /* confdefs.h. */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22958 main ()
22960 static struct stat ac_aggr;
22961 if (sizeof ac_aggr.st_blocks)
22962 return 0;
22964 return 0;
22966 _ACEOF
22967 rm -f conftest.$ac_objext
22968 if { (ac_try="$ac_compile"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22972 esac
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_compile") 2>conftest.er1
22975 ac_status=$?
22976 grep -v '^ *+' conftest.er1 >conftest.err
22977 rm -f conftest.er1
22978 cat conftest.err >&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } &&
22981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22982 { (case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22985 esac
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_try") 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; } &&
22991 { ac_try='test -s conftest.$ac_objext'
22992 { (case "(($ac_try" in
22993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22994 *) ac_try_echo=$ac_try;;
22995 esac
22996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22997 (eval "$ac_try") 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_member_struct_stat_st_blocks=yes
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23006 ac_cv_member_struct_stat_st_blocks=no
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23015 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23016 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23018 cat >>confdefs.h <<_ACEOF
23019 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23020 _ACEOF
23026 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23027 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23028 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 else
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 #ifdef HAVE_SYS_TYPES_H
23038 #include <sys/types.h>
23039 #endif
23040 #ifdef HAVE_NETINET_IN_H
23041 #include <netinet/in.h>
23042 #endif
23045 main ()
23047 static struct sockaddr_in6 ac_aggr;
23048 if (ac_aggr.sin6_scope_id)
23049 return 0;
23051 return 0;
23053 _ACEOF
23054 rm -f conftest.$ac_objext
23055 if { (ac_try="$ac_compile"
23056 case "(($ac_try" in
23057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23059 esac
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_compile") 2>conftest.er1
23062 ac_status=$?
23063 grep -v '^ *+' conftest.er1 >conftest.err
23064 rm -f conftest.er1
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; } &&
23078 { ac_try='test -s conftest.$ac_objext'
23079 { (case "(($ac_try" in
23080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23082 esac
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_try") 2>&5
23085 ac_status=$?
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23089 else
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 cat >conftest.$ac_ext <<_ACEOF
23094 /* confdefs.h. */
23095 _ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #ifdef HAVE_SYS_TYPES_H
23100 #include <sys/types.h>
23101 #endif
23102 #ifdef HAVE_NETINET_IN_H
23103 #include <netinet/in.h>
23104 #endif
23107 main ()
23109 static struct sockaddr_in6 ac_aggr;
23110 if (sizeof ac_aggr.sin6_scope_id)
23111 return 0;
23113 return 0;
23115 _ACEOF
23116 rm -f conftest.$ac_objext
23117 if { (ac_try="$ac_compile"
23118 case "(($ac_try" in
23119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23120 *) ac_try_echo=$ac_try;;
23121 esac
23122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23123 (eval "$ac_compile") 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23131 { (case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_try") 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; } &&
23140 { ac_try='test -s conftest.$ac_objext'
23141 { (case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23144 esac
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_try") 2>&5
23147 ac_status=$?
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; }; then
23150 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23151 else
23152 echo "$as_me: failed program was:" >&5
23153 sed 's/^/| /' conftest.$ac_ext >&5
23155 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23164 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23165 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23167 cat >>confdefs.h <<_ACEOF
23168 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23169 _ACEOF
23175 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23176 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23177 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 else
23180 cat >conftest.$ac_ext <<_ACEOF
23181 /* confdefs.h. */
23182 _ACEOF
23183 cat confdefs.h >>conftest.$ac_ext
23184 cat >>conftest.$ac_ext <<_ACEOF
23185 /* end confdefs.h. */
23186 #ifdef HAVE_SYS_TYPES_H
23187 #include <sys/types.h>
23188 #endif
23189 #ifdef HAVE_NETINET_IN_H
23190 # include <netinet/in.h>
23191 #endif
23192 #ifdef HAVE_ARPA_NAMESER_H
23193 # include <arpa/nameser.h>
23194 #endif
23197 main ()
23199 static ns_msg ac_aggr;
23200 if (ac_aggr._msg_ptr)
23201 return 0;
23203 return 0;
23205 _ACEOF
23206 rm -f conftest.$ac_objext
23207 if { (ac_try="$ac_compile"
23208 case "(($ac_try" in
23209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23211 esac
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_compile") 2>conftest.er1
23214 ac_status=$?
23215 grep -v '^ *+' conftest.er1 >conftest.err
23216 rm -f conftest.er1
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23224 esac
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_try") 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest.$ac_objext'
23231 { (case "(($ac_try" in
23232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23234 esac
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_try") 2>&5
23237 ac_status=$?
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); }; }; then
23240 ac_cv_member_ns_msg__msg_ptr=yes
23241 else
23242 echo "$as_me: failed program was:" >&5
23243 sed 's/^/| /' conftest.$ac_ext >&5
23245 cat >conftest.$ac_ext <<_ACEOF
23246 /* confdefs.h. */
23247 _ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23251 #ifdef HAVE_SYS_TYPES_H
23252 #include <sys/types.h>
23253 #endif
23254 #ifdef HAVE_NETINET_IN_H
23255 # include <netinet/in.h>
23256 #endif
23257 #ifdef HAVE_ARPA_NAMESER_H
23258 # include <arpa/nameser.h>
23259 #endif
23262 main ()
23264 static ns_msg ac_aggr;
23265 if (sizeof ac_aggr._msg_ptr)
23266 return 0;
23268 return 0;
23270 _ACEOF
23271 rm -f conftest.$ac_objext
23272 if { (ac_try="$ac_compile"
23273 case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23276 esac
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_compile") 2>conftest.er1
23279 ac_status=$?
23280 grep -v '^ *+' conftest.er1 >conftest.err
23281 rm -f conftest.er1
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23286 { (case "(($ac_try" in
23287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23288 *) ac_try_echo=$ac_try;;
23289 esac
23290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291 (eval "$ac_try") 2>&5
23292 ac_status=$?
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; } &&
23295 { ac_try='test -s conftest.$ac_objext'
23296 { (case "(($ac_try" in
23297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23298 *) ac_try_echo=$ac_try;;
23299 esac
23300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23301 (eval "$ac_try") 2>&5
23302 ac_status=$?
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); }; }; then
23305 ac_cv_member_ns_msg__msg_ptr=yes
23306 else
23307 echo "$as_me: failed program was:" >&5
23308 sed 's/^/| /' conftest.$ac_ext >&5
23310 ac_cv_member_ns_msg__msg_ptr=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23318 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23319 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23320 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23322 cat >>confdefs.h <<_ACEOF
23323 #define HAVE_NS_MSG__MSG_PTR 1
23324 _ACEOF
23330 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23331 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23332 if test "${ac_cv_have_timezone+set}" = set; then
23333 echo $ECHO_N "(cached) $ECHO_C" >&6
23334 else
23335 cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 #include <time.h>
23343 main ()
23345 timezone = 1
23347 return 0;
23349 _ACEOF
23350 rm -f conftest.$ac_objext conftest$ac_exeext
23351 if { (ac_try="$ac_link"
23352 case "(($ac_try" in
23353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23354 *) ac_try_echo=$ac_try;;
23355 esac
23356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23357 (eval "$ac_link") 2>conftest.er1
23358 ac_status=$?
23359 grep -v '^ *+' conftest.er1 >conftest.err
23360 rm -f conftest.er1
23361 cat conftest.err >&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23365 { (case "(($ac_try" in
23366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367 *) ac_try_echo=$ac_try;;
23368 esac
23369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370 (eval "$ac_try") 2>&5
23371 ac_status=$?
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; } &&
23374 { ac_try='test -s conftest$ac_exeext'
23375 { (case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23378 esac
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_try") 2>&5
23381 ac_status=$?
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 ac_cv_have_timezone="yes"
23385 else
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23389 ac_cv_have_timezone="no"
23392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23393 conftest$ac_exeext conftest.$ac_ext
23395 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23396 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23397 if test "$ac_cv_have_timezone" = "yes"
23398 then
23400 cat >>confdefs.h <<\_ACEOF
23401 #define HAVE_TIMEZONE 1
23402 _ACEOF
23405 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23406 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23407 if test "${ac_cv_have_daylight+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23409 else
23410 cat >conftest.$ac_ext <<_ACEOF
23411 /* confdefs.h. */
23412 _ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23416 #include <time.h>
23418 main ()
23420 daylight = 1
23422 return 0;
23424 _ACEOF
23425 rm -f conftest.$ac_objext conftest$ac_exeext
23426 if { (ac_try="$ac_link"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23430 esac
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_link") 2>conftest.er1
23433 ac_status=$?
23434 grep -v '^ *+' conftest.er1 >conftest.err
23435 rm -f conftest.er1
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23440 { (case "(($ac_try" in
23441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 *) ac_try_echo=$ac_try;;
23443 esac
23444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 (eval "$ac_try") 2>&5
23446 ac_status=$?
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); }; } &&
23449 { ac_try='test -s conftest$ac_exeext'
23450 { (case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23453 esac
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_try") 2>&5
23456 ac_status=$?
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; }; then
23459 ac_cv_have_daylight="yes"
23460 else
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.$ac_ext >&5
23464 ac_cv_have_daylight="no"
23467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23468 conftest$ac_exeext conftest.$ac_ext
23470 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23471 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23472 if test "$ac_cv_have_daylight" = "yes"
23473 then
23475 cat >>confdefs.h <<\_ACEOF
23476 #define HAVE_DAYLIGHT 1
23477 _ACEOF
23482 case $host_cpu in
23483 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23484 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23485 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23486 echo $ECHO_N "(cached) $ECHO_C" >&6
23487 else
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 #ifndef __i386__
23496 #endif
23497 _ACEOF
23498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23499 $EGREP "yes" >/dev/null 2>&1; then
23500 ac_cv_cpp_def___i386__=yes
23501 else
23502 ac_cv_cpp_def___i386__=no
23504 rm -f conftest*
23507 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23508 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23509 if test $ac_cv_cpp_def___i386__ = yes; then
23510 CFLAGS="$CFLAGS -D__i386__"
23511 LINTFLAGS="$LINTFLAGS -D__i386__"
23514 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23515 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23516 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23518 else
23519 cat >conftest.$ac_ext <<_ACEOF
23520 /* confdefs.h. */
23521 _ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #ifndef __x86_64__
23527 #endif
23528 _ACEOF
23529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23530 $EGREP "yes" >/dev/null 2>&1; then
23531 ac_cv_cpp_def___x86_64__=yes
23532 else
23533 ac_cv_cpp_def___x86_64__=no
23535 rm -f conftest*
23538 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23539 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23540 if test $ac_cv_cpp_def___x86_64__ = yes; then
23541 CFLAGS="$CFLAGS -D__x86_64__"
23542 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23545 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23546 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23547 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23548 echo $ECHO_N "(cached) $ECHO_C" >&6
23549 else
23550 cat >conftest.$ac_ext <<_ACEOF
23551 /* confdefs.h. */
23552 _ACEOF
23553 cat confdefs.h >>conftest.$ac_ext
23554 cat >>conftest.$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23556 #ifndef __ALPHA__
23558 #endif
23559 _ACEOF
23560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23561 $EGREP "yes" >/dev/null 2>&1; then
23562 ac_cv_cpp_def___ALPHA__=yes
23563 else
23564 ac_cv_cpp_def___ALPHA__=no
23566 rm -f conftest*
23569 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23570 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23571 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23572 CFLAGS="$CFLAGS -D__ALPHA__"
23573 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23576 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23577 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23578 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23579 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 else
23581 cat >conftest.$ac_ext <<_ACEOF
23582 /* confdefs.h. */
23583 _ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587 #ifndef __sparc__
23589 #endif
23590 _ACEOF
23591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23592 $EGREP "yes" >/dev/null 2>&1; then
23593 ac_cv_cpp_def___sparc__=yes
23594 else
23595 ac_cv_cpp_def___sparc__=no
23597 rm -f conftest*
23600 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23601 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23602 if test $ac_cv_cpp_def___sparc__ = yes; then
23603 CFLAGS="$CFLAGS -D__sparc__"
23604 LINTFLAGS="$LINTFLAGS -D__sparc__"
23607 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23608 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23609 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23611 else
23612 cat >conftest.$ac_ext <<_ACEOF
23613 /* confdefs.h. */
23614 _ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #ifndef __powerpc__
23620 #endif
23621 _ACEOF
23622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23623 $EGREP "yes" >/dev/null 2>&1; then
23624 ac_cv_cpp_def___powerpc__=yes
23625 else
23626 ac_cv_cpp_def___powerpc__=no
23628 rm -f conftest*
23631 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23632 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23633 if test $ac_cv_cpp_def___powerpc__ = yes; then
23634 CFLAGS="$CFLAGS -D__powerpc__"
23635 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23638 esac
23640 case $host_vendor in
23641 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23642 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23643 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 cat >conftest.$ac_ext <<_ACEOF
23647 /* confdefs.h. */
23648 _ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 #ifndef __sun__
23654 #endif
23655 _ACEOF
23656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23657 $EGREP "yes" >/dev/null 2>&1; then
23658 ac_cv_cpp_def___sun__=yes
23659 else
23660 ac_cv_cpp_def___sun__=no
23662 rm -f conftest*
23665 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23666 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23667 if test $ac_cv_cpp_def___sun__ = yes; then
23668 CFLAGS="$CFLAGS -D__sun__"
23669 LINTFLAGS="$LINTFLAGS -D__sun__"
23672 esac
23675 DEPENDENCIES="### Dependencies:
23677 .INIT: Makefile
23678 .BEGIN: Makefile
23679 Makefile: dummy
23680 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23682 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23683 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23684 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23685 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23691 ac_config_commands="$ac_config_commands include/stamp-h"
23694 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23696 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23698 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23700 ac_config_commands="$ac_config_commands dlls/user/resources"
23702 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23704 ac_config_commands="$ac_config_commands include/wine"
23707 MAKE_RULES=Make.rules
23710 MAKE_DLL_RULES=dlls/Makedll.rules
23713 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23716 MAKE_TEST_RULES=dlls/Maketest.rules
23719 MAKE_PROG_RULES=programs/Makeprog.rules
23722 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23725 cat >confcache <<\_ACEOF
23726 # This file is a shell script that caches the results of configure
23727 # tests run on this system so they can be shared between configure
23728 # scripts and configure runs, see configure's option --config-cache.
23729 # It is not useful on other systems. If it contains results you don't
23730 # want to keep, you may remove or edit it.
23732 # config.status only pays attention to the cache file if you give it
23733 # the --recheck option to rerun configure.
23735 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23736 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23737 # following values.
23739 _ACEOF
23741 # The following way of writing the cache mishandles newlines in values,
23742 # but we know of no workaround that is simple, portable, and efficient.
23743 # So, we kill variables containing newlines.
23744 # Ultrix sh set writes to stderr and can't be redirected directly,
23745 # and sets the high bit in the cache file unless we assign to the vars.
23747 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23748 eval ac_val=\$$ac_var
23749 case $ac_val in #(
23750 *${as_nl}*)
23751 case $ac_var in #(
23752 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23753 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23754 esac
23755 case $ac_var in #(
23756 _ | IFS | as_nl) ;; #(
23757 *) $as_unset $ac_var ;;
23758 esac ;;
23759 esac
23760 done
23762 (set) 2>&1 |
23763 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23764 *${as_nl}ac_space=\ *)
23765 # `set' does not quote correctly, so add quotes (double-quote
23766 # substitution turns \\\\ into \\, and sed turns \\ into \).
23767 sed -n \
23768 "s/'/'\\\\''/g;
23769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23770 ;; #(
23772 # `set' quotes correctly as required by POSIX, so do not add quotes.
23773 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23775 esac |
23776 sort
23778 sed '
23779 /^ac_cv_env_/b end
23780 t clear
23781 :clear
23782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23783 t end
23784 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23785 :end' >>confcache
23786 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23787 if test -w "$cache_file"; then
23788 test "x$cache_file" != "x/dev/null" &&
23789 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23790 echo "$as_me: updating cache $cache_file" >&6;}
23791 cat confcache >$cache_file
23792 else
23793 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23794 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23797 rm -f confcache
23799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23800 # Let make expand exec_prefix.
23801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23803 DEFS=-DHAVE_CONFIG_H
23805 ac_libobjs=
23806 ac_ltlibobjs=
23807 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23808 # 1. Remove the extension, and $U if already installed.
23809 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23810 ac_i=`echo "$ac_i" | sed "$ac_script"`
23811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23812 # will be set to the directory where LIBOBJS objects are built.
23813 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23814 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23815 done
23816 LIBOBJS=$ac_libobjs
23818 LTLIBOBJS=$ac_ltlibobjs
23822 : ${CONFIG_STATUS=./config.status}
23823 ac_clean_files_save=$ac_clean_files
23824 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23825 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23826 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23827 cat >$CONFIG_STATUS <<_ACEOF
23828 #! $SHELL
23829 # Generated by $as_me.
23830 # Run this file to recreate the current configuration.
23831 # Compiler output produced by configure, useful for debugging
23832 # configure, is in config.log if it exists.
23834 debug=false
23835 ac_cs_recheck=false
23836 ac_cs_silent=false
23837 SHELL=\${CONFIG_SHELL-$SHELL}
23838 _ACEOF
23840 cat >>$CONFIG_STATUS <<\_ACEOF
23841 ## --------------------- ##
23842 ## M4sh Initialization. ##
23843 ## --------------------- ##
23845 # Be Bourne compatible
23846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23847 emulate sh
23848 NULLCMD=:
23849 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23850 # is contrary to our usage. Disable this feature.
23851 alias -g '${1+"$@"}'='"$@"'
23852 setopt NO_GLOB_SUBST
23853 else
23854 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23856 BIN_SH=xpg4; export BIN_SH # for Tru64
23857 DUALCASE=1; export DUALCASE # for MKS sh
23860 # PATH needs CR
23861 # Avoid depending upon Character Ranges.
23862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23865 as_cr_digits='0123456789'
23866 as_cr_alnum=$as_cr_Letters$as_cr_digits
23868 # The user is always right.
23869 if test "${PATH_SEPARATOR+set}" != set; then
23870 echo "#! /bin/sh" >conf$$.sh
23871 echo "exit 0" >>conf$$.sh
23872 chmod +x conf$$.sh
23873 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23874 PATH_SEPARATOR=';'
23875 else
23876 PATH_SEPARATOR=:
23878 rm -f conf$$.sh
23881 # Support unset when possible.
23882 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23883 as_unset=unset
23884 else
23885 as_unset=false
23889 # IFS
23890 # We need space, tab and new line, in precisely that order. Quoting is
23891 # there to prevent editors from complaining about space-tab.
23892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23893 # splitting by setting IFS to empty value.)
23894 as_nl='
23896 IFS=" "" $as_nl"
23898 # Find who we are. Look in the path if we contain no directory separator.
23899 case $0 in
23900 *[\\/]* ) as_myself=$0 ;;
23901 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23902 for as_dir in $PATH
23904 IFS=$as_save_IFS
23905 test -z "$as_dir" && as_dir=.
23906 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23907 done
23908 IFS=$as_save_IFS
23911 esac
23912 # We did not find ourselves, most probably we were run as `sh COMMAND'
23913 # in which case we are not to be found in the path.
23914 if test "x$as_myself" = x; then
23915 as_myself=$0
23917 if test ! -f "$as_myself"; then
23918 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23919 { (exit 1); exit 1; }
23922 # Work around bugs in pre-3.0 UWIN ksh.
23923 for as_var in ENV MAIL MAILPATH
23924 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23925 done
23926 PS1='$ '
23927 PS2='> '
23928 PS4='+ '
23930 # NLS nuisances.
23931 for as_var in \
23932 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23933 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23934 LC_TELEPHONE LC_TIME
23936 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23937 eval $as_var=C; export $as_var
23938 else
23939 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23941 done
23943 # Required to use basename.
23944 if expr a : '\(a\)' >/dev/null 2>&1 &&
23945 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23946 as_expr=expr
23947 else
23948 as_expr=false
23951 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23952 as_basename=basename
23953 else
23954 as_basename=false
23958 # Name of the executable.
23959 as_me=`$as_basename -- "$0" ||
23960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23961 X"$0" : 'X\(//\)$' \| \
23962 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23963 echo X/"$0" |
23964 sed '/^.*\/\([^/][^/]*\)\/*$/{
23965 s//\1/
23968 /^X\/\(\/\/\)$/{
23969 s//\1/
23972 /^X\/\(\/\).*/{
23973 s//\1/
23976 s/.*/./; q'`
23978 # CDPATH.
23979 $as_unset CDPATH
23983 as_lineno_1=$LINENO
23984 as_lineno_2=$LINENO
23985 test "x$as_lineno_1" != "x$as_lineno_2" &&
23986 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23988 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23989 # uniformly replaced by the line number. The first 'sed' inserts a
23990 # line-number line after each line using $LINENO; the second 'sed'
23991 # does the real work. The second script uses 'N' to pair each
23992 # line-number line with the line containing $LINENO, and appends
23993 # trailing '-' during substitution so that $LINENO is not a special
23994 # case at line end.
23995 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23996 # scripts with optimization help from Paolo Bonzini. Blame Lee
23997 # E. McMahon (1931-1989) for sed's syntax. :-)
23998 sed -n '
24000 /[$]LINENO/=
24001 ' <$as_myself |
24002 sed '
24003 s/[$]LINENO.*/&-/
24004 t lineno
24006 :lineno
24008 :loop
24009 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24010 t loop
24011 s/-\n.*//
24012 ' >$as_me.lineno &&
24013 chmod +x "$as_me.lineno" ||
24014 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24015 { (exit 1); exit 1; }; }
24017 # Don't try to exec as it changes $[0], causing all sort of problems
24018 # (the dirname of $[0] is not the place where we might find the
24019 # original and so on. Autoconf is especially sensitive to this).
24020 . "./$as_me.lineno"
24021 # Exit status is that of the last command.
24022 exit
24026 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24027 as_dirname=dirname
24028 else
24029 as_dirname=false
24032 ECHO_C= ECHO_N= ECHO_T=
24033 case `echo -n x` in
24034 -n*)
24035 case `echo 'x\c'` in
24036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24037 *) ECHO_C='\c';;
24038 esac;;
24040 ECHO_N='-n';;
24041 esac
24043 if expr a : '\(a\)' >/dev/null 2>&1 &&
24044 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24045 as_expr=expr
24046 else
24047 as_expr=false
24050 rm -f conf$$ conf$$.exe conf$$.file
24051 if test -d conf$$.dir; then
24052 rm -f conf$$.dir/conf$$.file
24053 else
24054 rm -f conf$$.dir
24055 mkdir conf$$.dir
24057 echo >conf$$.file
24058 if ln -s conf$$.file conf$$ 2>/dev/null; then
24059 as_ln_s='ln -s'
24060 # ... but there are two gotchas:
24061 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24062 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24063 # In both cases, we have to default to `cp -p'.
24064 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24065 as_ln_s='cp -p'
24066 elif ln conf$$.file conf$$ 2>/dev/null; then
24067 as_ln_s=ln
24068 else
24069 as_ln_s='cp -p'
24071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24072 rmdir conf$$.dir 2>/dev/null
24074 if mkdir -p . 2>/dev/null; then
24075 as_mkdir_p=:
24076 else
24077 test -d ./-p && rmdir ./-p
24078 as_mkdir_p=false
24081 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24082 # systems may use methods other than mode bits to determine executability.
24083 cat >conf$$.file <<_ASEOF
24084 #! /bin/sh
24085 exit 0
24086 _ASEOF
24087 chmod +x conf$$.file
24088 if test -x conf$$.file >/dev/null 2>&1; then
24089 as_executable_p="test -x"
24090 else
24091 as_executable_p=:
24093 rm -f conf$$.file
24095 # Sed expression to map a string onto a valid CPP name.
24096 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24098 # Sed expression to map a string onto a valid variable name.
24099 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24102 exec 6>&1
24104 # Save the log message, to keep $[0] and so on meaningful, and to
24105 # report actual input values of CONFIG_FILES etc. instead of their
24106 # values after options handling.
24107 ac_log="
24108 This file was extended by Wine $as_me 0.9.24, which was
24109 generated by GNU Autoconf 2.60a. Invocation command line was
24111 CONFIG_FILES = $CONFIG_FILES
24112 CONFIG_HEADERS = $CONFIG_HEADERS
24113 CONFIG_LINKS = $CONFIG_LINKS
24114 CONFIG_COMMANDS = $CONFIG_COMMANDS
24115 $ $0 $@
24117 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24120 _ACEOF
24122 cat >>$CONFIG_STATUS <<_ACEOF
24123 # Files that config.status was made for.
24124 config_files="$ac_config_files"
24125 config_headers="$ac_config_headers"
24126 config_commands="$ac_config_commands"
24128 _ACEOF
24130 cat >>$CONFIG_STATUS <<\_ACEOF
24131 ac_cs_usage="\
24132 \`$as_me' instantiates files from templates according to the
24133 current configuration.
24135 Usage: $0 [OPTIONS] [FILE]...
24137 -h, --help print this help, then exit
24138 -V, --version print version number and configuration settings, then exit
24139 -q, --quiet do not print progress messages
24140 -d, --debug don't remove temporary files
24141 --recheck update $as_me by reconfiguring in the same conditions
24142 --file=FILE[:TEMPLATE]
24143 instantiate the configuration file FILE
24144 --header=FILE[:TEMPLATE]
24145 instantiate the configuration header FILE
24147 Configuration files:
24148 $config_files
24150 Configuration headers:
24151 $config_headers
24153 Configuration commands:
24154 $config_commands
24156 Report bugs to <bug-autoconf@gnu.org>."
24158 _ACEOF
24159 cat >>$CONFIG_STATUS <<_ACEOF
24160 ac_cs_version="\\
24161 Wine config.status 0.9.24
24162 configured by $0, generated by GNU Autoconf 2.60a,
24163 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24165 Copyright (C) 2006 Free Software Foundation, Inc.
24166 This config.status script is free software; the Free Software Foundation
24167 gives unlimited permission to copy, distribute and modify it."
24169 ac_pwd='$ac_pwd'
24170 srcdir='$srcdir'
24171 INSTALL='$INSTALL'
24172 _ACEOF
24174 cat >>$CONFIG_STATUS <<\_ACEOF
24175 # If no file are specified by the user, then we need to provide default
24176 # value. By we need to know if files were specified by the user.
24177 ac_need_defaults=:
24178 while test $# != 0
24180 case $1 in
24181 --*=*)
24182 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24183 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24184 ac_shift=:
24187 ac_option=$1
24188 ac_optarg=$2
24189 ac_shift=shift
24191 esac
24193 case $ac_option in
24194 # Handling of the options.
24195 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24196 ac_cs_recheck=: ;;
24197 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24198 echo "$ac_cs_version"; exit ;;
24199 --debug | --debu | --deb | --de | --d | -d )
24200 debug=: ;;
24201 --file | --fil | --fi | --f )
24202 $ac_shift
24203 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24204 ac_need_defaults=false;;
24205 --header | --heade | --head | --hea )
24206 $ac_shift
24207 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24208 ac_need_defaults=false;;
24209 --he | --h)
24210 # Conflict between --help and --header
24211 { echo "$as_me: error: ambiguous option: $1
24212 Try \`$0 --help' for more information." >&2
24213 { (exit 1); exit 1; }; };;
24214 --help | --hel | -h )
24215 echo "$ac_cs_usage"; exit ;;
24216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24218 ac_cs_silent=: ;;
24220 # This is an error.
24221 -*) { echo "$as_me: error: unrecognized option: $1
24222 Try \`$0 --help' for more information." >&2
24223 { (exit 1); exit 1; }; } ;;
24225 *) ac_config_targets="$ac_config_targets $1"
24226 ac_need_defaults=false ;;
24228 esac
24229 shift
24230 done
24232 ac_configure_extra_args=
24234 if $ac_cs_silent; then
24235 exec 6>/dev/null
24236 ac_configure_extra_args="$ac_configure_extra_args --silent"
24239 _ACEOF
24240 cat >>$CONFIG_STATUS <<_ACEOF
24241 if \$ac_cs_recheck; then
24242 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24243 CONFIG_SHELL=$SHELL
24244 export CONFIG_SHELL
24245 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24248 _ACEOF
24249 cat >>$CONFIG_STATUS <<\_ACEOF
24250 exec 5>>config.log
24252 echo
24253 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24254 ## Running $as_me. ##
24255 _ASBOX
24256 echo "$ac_log"
24257 } >&5
24259 _ACEOF
24260 cat >>$CONFIG_STATUS <<_ACEOF
24261 _ACEOF
24263 cat >>$CONFIG_STATUS <<\_ACEOF
24265 # Handling of arguments.
24266 for ac_config_target in $ac_config_targets
24268 case $ac_config_target in
24269 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24270 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24271 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24272 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24273 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24274 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24275 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24276 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24277 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24278 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24279 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24280 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24281 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24282 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24283 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24284 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24285 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24286 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24287 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24288 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24289 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24290 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24291 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24292 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24293 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24294 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24295 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24296 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24297 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24298 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24299 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24300 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24301 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24302 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24303 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24304 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24305 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24306 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24307 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24308 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24309 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24310 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24311 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24312 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24313 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24314 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24315 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24316 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24317 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24318 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24319 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24320 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24321 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24322 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24323 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24324 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24325 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24326 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24327 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24328 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24329 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24330 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24331 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24332 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24333 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24334 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24335 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24336 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24337 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24338 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24339 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24340 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24341 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24342 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24343 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24344 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24345 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24346 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24347 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24348 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24349 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24350 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24351 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24352 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24353 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24354 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24355 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24356 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24357 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24358 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24359 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24360 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24361 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24362 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24363 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24364 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24365 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24366 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24367 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24368 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24369 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24370 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24371 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24372 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24373 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24374 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24375 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24376 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24377 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24378 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24379 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24380 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24381 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24382 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24383 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24384 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24385 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24386 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24387 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24388 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24389 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24390 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24391 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24392 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24393 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24394 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24395 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24396 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24397 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24398 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24399 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24400 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24401 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24402 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24403 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24404 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24405 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24406 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24407 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24408 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24409 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24410 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24411 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24412 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24413 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24414 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24415 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24416 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24417 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24418 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24419 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24420 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24421 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24422 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24423 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24424 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24425 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24426 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24427 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24428 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24429 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24430 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24431 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24432 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24433 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24434 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24435 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24436 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24437 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24438 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24439 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24440 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24441 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24442 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24443 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24444 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24445 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24446 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24447 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24448 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24449 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24450 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24451 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24452 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24453 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24454 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24455 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24456 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24457 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24458 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24459 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24460 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24461 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24462 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24463 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24464 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24465 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24466 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24467 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24468 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24469 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24470 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24471 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24472 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24473 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24474 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24475 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24476 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24477 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24478 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24479 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24480 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24481 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24482 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24483 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24484 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24485 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24486 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24487 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24488 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24489 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24490 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24491 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24492 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24493 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24494 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24495 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24496 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24497 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24498 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24499 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24500 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24501 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24502 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24503 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24504 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24505 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24506 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24507 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24508 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24509 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24510 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24511 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24512 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24513 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24514 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24515 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24516 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24517 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24518 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24519 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24520 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24521 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24522 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24523 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24524 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24525 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24526 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24527 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24528 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24529 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24530 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24531 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24532 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24533 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24534 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24535 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24536 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24537 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24538 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24539 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24540 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24541 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24542 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24543 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24544 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24545 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24546 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24547 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24548 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24549 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24550 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24551 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24552 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24553 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24554 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24555 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24556 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24557 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24558 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24559 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24560 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24561 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24562 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24563 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24564 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24565 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24566 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24567 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24568 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24569 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24570 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24571 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24572 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24573 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24574 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24575 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24576 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24577 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24578 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24579 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24580 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24581 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24582 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24583 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24584 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24585 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24586 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24587 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24588 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24589 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24590 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24592 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24593 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24594 { (exit 1); exit 1; }; };;
24595 esac
24596 done
24599 # If the user did not use the arguments to specify the items to instantiate,
24600 # then the envvar interface is used. Set only those that are not.
24601 # We use the long form for the default assignment because of an extremely
24602 # bizarre bug on SunOS 4.1.3.
24603 if $ac_need_defaults; then
24604 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24605 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24606 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24609 # Have a temporary directory for convenience. Make it in the build tree
24610 # simply because there is no reason against having it here, and in addition,
24611 # creating and moving files from /tmp can sometimes cause problems.
24612 # Hook for its removal unless debugging.
24613 # Note that there is a small window in which the directory will not be cleaned:
24614 # after its creation but before its name has been assigned to `$tmp'.
24615 $debug ||
24617 tmp=
24618 trap 'exit_status=$?
24619 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24621 trap '{ (exit 1); exit 1; }' 1 2 13 15
24623 # Create a (secure) tmp directory for tmp files.
24626 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24627 test -n "$tmp" && test -d "$tmp"
24628 } ||
24630 tmp=./conf$$-$RANDOM
24631 (umask 077 && mkdir "$tmp")
24632 } ||
24634 echo "$me: cannot create a temporary directory in ." >&2
24635 { (exit 1); exit 1; }
24639 # Set up the sed scripts for CONFIG_FILES section.
24642 # No need to generate the scripts if there are no CONFIG_FILES.
24643 # This happens for instance when ./config.status config.h
24644 if test -n "$CONFIG_FILES"; then
24646 _ACEOF
24648 # Create sed commands to just substitute file output variables.
24650 # Remaining file output variables are in a fragment that also has non-file
24651 # output varibles.
24655 ac_delim='%!_!# '
24656 for ac_last_try in false false false false false :; do
24657 cat >conf$$subs.sed <<_ACEOF
24658 SHELL!$SHELL$ac_delim
24659 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24660 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24661 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24662 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24663 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24664 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24665 exec_prefix!$exec_prefix$ac_delim
24666 prefix!$prefix$ac_delim
24667 program_transform_name!$program_transform_name$ac_delim
24668 bindir!$bindir$ac_delim
24669 sbindir!$sbindir$ac_delim
24670 libexecdir!$libexecdir$ac_delim
24671 datarootdir!$datarootdir$ac_delim
24672 datadir!$datadir$ac_delim
24673 sysconfdir!$sysconfdir$ac_delim
24674 sharedstatedir!$sharedstatedir$ac_delim
24675 localstatedir!$localstatedir$ac_delim
24676 includedir!$includedir$ac_delim
24677 oldincludedir!$oldincludedir$ac_delim
24678 docdir!$docdir$ac_delim
24679 infodir!$infodir$ac_delim
24680 htmldir!$htmldir$ac_delim
24681 dvidir!$dvidir$ac_delim
24682 pdfdir!$pdfdir$ac_delim
24683 psdir!$psdir$ac_delim
24684 libdir!$libdir$ac_delim
24685 localedir!$localedir$ac_delim
24686 mandir!$mandir$ac_delim
24687 DEFS!$DEFS$ac_delim
24688 ECHO_C!$ECHO_C$ac_delim
24689 ECHO_N!$ECHO_N$ac_delim
24690 ECHO_T!$ECHO_T$ac_delim
24691 LIBS!$LIBS$ac_delim
24692 build_alias!$build_alias$ac_delim
24693 host_alias!$host_alias$ac_delim
24694 target_alias!$target_alias$ac_delim
24695 build!$build$ac_delim
24696 build_cpu!$build_cpu$ac_delim
24697 build_vendor!$build_vendor$ac_delim
24698 build_os!$build_os$ac_delim
24699 host!$host$ac_delim
24700 host_cpu!$host_cpu$ac_delim
24701 host_vendor!$host_vendor$ac_delim
24702 host_os!$host_os$ac_delim
24703 WIN16_FILES!$WIN16_FILES$ac_delim
24704 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24705 SET_MAKE!$SET_MAKE$ac_delim
24706 CC!$CC$ac_delim
24707 CFLAGS!$CFLAGS$ac_delim
24708 LDFLAGS!$LDFLAGS$ac_delim
24709 CPPFLAGS!$CPPFLAGS$ac_delim
24710 ac_ct_CC!$ac_ct_CC$ac_delim
24711 EXEEXT!$EXEEXT$ac_delim
24712 OBJEXT!$OBJEXT$ac_delim
24713 CXX!$CXX$ac_delim
24714 CXXFLAGS!$CXXFLAGS$ac_delim
24715 ac_ct_CXX!$ac_ct_CXX$ac_delim
24716 CPPBIN!$CPPBIN$ac_delim
24717 TOOLSDIR!$TOOLSDIR$ac_delim
24718 XMKMF!$XMKMF$ac_delim
24719 CPP!$CPP$ac_delim
24720 X_CFLAGS!$X_CFLAGS$ac_delim
24721 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24722 X_LIBS!$X_LIBS$ac_delim
24723 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24724 LEX!$LEX$ac_delim
24725 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24726 LEXLIB!$LEXLIB$ac_delim
24727 XLEX!$XLEX$ac_delim
24728 BISON!$BISON$ac_delim
24729 AS!$AS$ac_delim
24730 ac_ct_AS!$ac_ct_AS$ac_delim
24731 LD!$LD$ac_delim
24732 AR!$AR$ac_delim
24733 RANLIB!$RANLIB$ac_delim
24734 STRIP!$STRIP$ac_delim
24735 WINDRES!$WINDRES$ac_delim
24736 LN_S!$LN_S$ac_delim
24737 LN!$LN$ac_delim
24738 GREP!$GREP$ac_delim
24739 EGREP!$EGREP$ac_delim
24740 _ACEOF
24742 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24743 break
24744 elif $ac_last_try; then
24745 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24746 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24747 { (exit 1); exit 1; }; }
24748 else
24749 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24751 done
24753 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24754 if test -n "$ac_eof"; then
24755 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24756 ac_eof=`expr $ac_eof + 1`
24759 cat >>$CONFIG_STATUS <<_ACEOF
24760 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24762 /^[ ]*@MAKE_RULES@[ ]*$/{
24763 r $MAKE_RULES
24766 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24767 r $MAKE_DLL_RULES
24770 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24771 r $MAKE_IMPLIB_RULES
24774 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24775 r $MAKE_TEST_RULES
24778 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24779 r $MAKE_PROG_RULES
24782 _ACEOF
24783 sed '
24784 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24785 s/^/s,@/; s/!/@,|#_!!_#|/
24788 s/'"$ac_delim"'$/,g/; t
24789 s/$/\\/; p
24790 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24791 ' >>$CONFIG_STATUS <conf$$subs.sed
24792 rm -f conf$$subs.sed
24793 cat >>$CONFIG_STATUS <<_ACEOF
24794 CEOF$ac_eof
24795 _ACEOF
24798 ac_delim='%!_!# '
24799 for ac_last_try in false false false false false :; do
24800 cat >conf$$subs.sed <<_ACEOF
24801 LDCONFIG!$LDCONFIG$ac_delim
24802 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24803 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24804 INSTALL_DATA!$INSTALL_DATA$ac_delim
24805 LINT!$LINT$ac_delim
24806 LINTFLAGS!$LINTFLAGS$ac_delim
24807 FONTFORGE!$FONTFORGE$ac_delim
24808 PKG_CONFIG!$PKG_CONFIG$ac_delim
24809 PRELINK!$PRELINK$ac_delim
24810 LIBPTHREAD!$LIBPTHREAD$ac_delim
24811 XLIB!$XLIB$ac_delim
24812 XFILES!$XFILES$ac_delim
24813 OPENGLFILES!$OPENGLFILES$ac_delim
24814 GLU32FILES!$GLU32FILES$ac_delim
24815 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24816 QUARTZFILES!$QUARTZFILES$ac_delim
24817 GLUT_LIBS!$GLUT_LIBS$ac_delim
24818 GLUT32FILES!$GLUT32FILES$ac_delim
24819 NASLIBS!$NASLIBS$ac_delim
24820 XML2LIBS!$XML2LIBS$ac_delim
24821 XML2INCL!$XML2INCL$ac_delim
24822 XSLTLIBS!$XSLTLIBS$ac_delim
24823 XSLTINCL!$XSLTINCL$ac_delim
24824 HALINCL!$HALINCL$ac_delim
24825 CURSESLIBS!$CURSESLIBS$ac_delim
24826 sane_devel!$sane_devel$ac_delim
24827 SANELIBS!$SANELIBS$ac_delim
24828 SANEINCL!$SANEINCL$ac_delim
24829 gphoto2_devel!$gphoto2_devel$ac_delim
24830 gphoto2port_devel!$gphoto2port_devel$ac_delim
24831 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24832 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24833 ICULIBS!$ICULIBS$ac_delim
24834 RESOLVLIBS!$RESOLVLIBS$ac_delim
24835 LCMSLIBS!$LCMSLIBS$ac_delim
24836 LDAPLIBS!$LDAPLIBS$ac_delim
24837 FREETYPELIBS!$FREETYPELIBS$ac_delim
24838 FREETYPEINCL!$FREETYPEINCL$ac_delim
24839 ft_devel!$ft_devel$ac_delim
24840 ft_devel2!$ft_devel2$ac_delim
24841 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24842 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24843 ARTSLIBS!$ARTSLIBS$ac_delim
24844 ARTSINCL!$ARTSINCL$ac_delim
24845 ESDCONFIG!$ESDCONFIG$ac_delim
24846 ESDLIBS!$ESDLIBS$ac_delim
24847 ESDINCL!$ESDINCL$ac_delim
24848 ALSALIBS!$ALSALIBS$ac_delim
24849 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24850 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24851 BUILTINFLAG!$BUILTINFLAG$ac_delim
24852 DLLEXT!$DLLEXT$ac_delim
24853 DLLFLAGS!$DLLFLAGS$ac_delim
24854 LDSHARED!$LDSHARED$ac_delim
24855 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24856 LIBEXT!$LIBEXT$ac_delim
24857 IMPLIBEXT!$IMPLIBEXT$ac_delim
24858 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24859 DLLTOOL!$DLLTOOL$ac_delim
24860 DLLWRAP!$DLLWRAP$ac_delim
24861 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24862 IOKITLIB!$IOKITLIB$ac_delim
24863 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24864 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24865 COREAUDIO!$COREAUDIO$ac_delim
24866 CROSSTEST!$CROSSTEST$ac_delim
24867 CROSSCC!$CROSSCC$ac_delim
24868 CROSSWINDRES!$CROSSWINDRES$ac_delim
24869 LDPATH!$LDPATH$ac_delim
24870 CRTLIBS!$CRTLIBS$ac_delim
24871 SOCKETLIBS!$SOCKETLIBS$ac_delim
24872 MAIN_BINARY!$MAIN_BINARY$ac_delim
24873 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24874 LDD!$LDD$ac_delim
24875 LIBDL!$LIBDL$ac_delim
24876 LIBPOLL!$LIBPOLL$ac_delim
24877 DEPENDENCIES!$DEPENDENCIES$ac_delim
24878 LIBOBJS!$LIBOBJS$ac_delim
24879 LTLIBOBJS!$LTLIBOBJS$ac_delim
24880 _ACEOF
24882 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
24883 break
24884 elif $ac_last_try; then
24885 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24886 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24887 { (exit 1); exit 1; }; }
24888 else
24889 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24891 done
24893 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24894 if test -n "$ac_eof"; then
24895 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24896 ac_eof=`expr $ac_eof + 1`
24899 cat >>$CONFIG_STATUS <<_ACEOF
24900 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24902 _ACEOF
24903 sed '
24904 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24905 s/^/s,@/; s/!/@,|#_!!_#|/
24908 s/'"$ac_delim"'$/,g/; t
24909 s/$/\\/; p
24910 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24911 ' >>$CONFIG_STATUS <conf$$subs.sed
24912 rm -f conf$$subs.sed
24913 cat >>$CONFIG_STATUS <<_ACEOF
24914 :end
24915 s/|#_!!_#|//g
24916 CEOF$ac_eof
24917 _ACEOF
24920 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24921 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24922 # trailing colons and then remove the whole line if VPATH becomes empty
24923 # (actually we leave an empty line to preserve line numbers).
24924 if test "x$srcdir" = x.; then
24925 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24926 s/:*\$(srcdir):*/:/
24927 s/:*\${srcdir}:*/:/
24928 s/:*@srcdir@:*/:/
24929 s/^\([^=]*=[ ]*\):*/\1/
24930 s/:*$//
24931 s/^[^=]*=[ ]*$//
24935 cat >>$CONFIG_STATUS <<\_ACEOF
24936 fi # test -n "$CONFIG_FILES"
24939 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24941 case $ac_tag in
24942 :[FHLC]) ac_mode=$ac_tag; continue;;
24943 esac
24944 case $ac_mode$ac_tag in
24945 :[FHL]*:*);;
24946 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24947 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24948 { (exit 1); exit 1; }; };;
24949 :[FH]-) ac_tag=-:-;;
24950 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24951 esac
24952 ac_save_IFS=$IFS
24953 IFS=:
24954 set x $ac_tag
24955 IFS=$ac_save_IFS
24956 shift
24957 ac_file=$1
24958 shift
24960 case $ac_mode in
24961 :L) ac_source=$1;;
24962 :[FH])
24963 ac_file_inputs=
24964 for ac_f
24966 case $ac_f in
24967 -) ac_f="$tmp/stdin";;
24968 *) # Look for the file first in the build tree, then in the source tree
24969 # (if the path is not absolute). The absolute path cannot be DOS-style,
24970 # because $ac_f cannot contain `:'.
24971 test -f "$ac_f" ||
24972 case $ac_f in
24973 [\\/$]*) false;;
24974 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24975 esac ||
24976 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24977 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24978 { (exit 1); exit 1; }; };;
24979 esac
24980 ac_file_inputs="$ac_file_inputs $ac_f"
24981 done
24983 # Let's still pretend it is `configure' which instantiates (i.e., don't
24984 # use $as_me), people would be surprised to read:
24985 # /* config.h. Generated by config.status. */
24986 configure_input="Generated from "`IFS=:
24987 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24988 if test x"$ac_file" != x-; then
24989 configure_input="$ac_file. $configure_input"
24990 { echo "$as_me:$LINENO: creating $ac_file" >&5
24991 echo "$as_me: creating $ac_file" >&6;}
24994 case $ac_tag in
24995 *:-:* | *:-) cat >"$tmp/stdin";;
24996 esac
24998 esac
25000 ac_dir=`$as_dirname -- "$ac_file" ||
25001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25002 X"$ac_file" : 'X\(//\)[^/]' \| \
25003 X"$ac_file" : 'X\(//\)$' \| \
25004 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25005 echo X"$ac_file" |
25006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25007 s//\1/
25010 /^X\(\/\/\)[^/].*/{
25011 s//\1/
25014 /^X\(\/\/\)$/{
25015 s//\1/
25018 /^X\(\/\).*/{
25019 s//\1/
25022 s/.*/./; q'`
25023 { as_dir="$ac_dir"
25024 case $as_dir in #(
25025 -*) as_dir=./$as_dir;;
25026 esac
25027 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25028 as_dirs=
25029 while :; do
25030 case $as_dir in #(
25031 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25032 *) as_qdir=$as_dir;;
25033 esac
25034 as_dirs="'$as_qdir' $as_dirs"
25035 as_dir=`$as_dirname -- "$as_dir" ||
25036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25037 X"$as_dir" : 'X\(//\)[^/]' \| \
25038 X"$as_dir" : 'X\(//\)$' \| \
25039 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25040 echo X"$as_dir" |
25041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25042 s//\1/
25045 /^X\(\/\/\)[^/].*/{
25046 s//\1/
25049 /^X\(\/\/\)$/{
25050 s//\1/
25053 /^X\(\/\).*/{
25054 s//\1/
25057 s/.*/./; q'`
25058 test -d "$as_dir" && break
25059 done
25060 test -z "$as_dirs" || eval "mkdir $as_dirs"
25061 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25062 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25063 { (exit 1); exit 1; }; }; }
25064 ac_builddir=.
25066 case "$ac_dir" in
25067 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25069 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25070 # A ".." for each directory in $ac_dir_suffix.
25071 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25072 case $ac_top_builddir_sub in
25073 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25074 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25075 esac ;;
25076 esac
25077 ac_abs_top_builddir=$ac_pwd
25078 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25079 # for backward compatibility:
25080 ac_top_builddir=$ac_top_build_prefix
25082 case $srcdir in
25083 .) # We are building in place.
25084 ac_srcdir=.
25085 ac_top_srcdir=$ac_top_builddir_sub
25086 ac_abs_top_srcdir=$ac_pwd ;;
25087 [\\/]* | ?:[\\/]* ) # Absolute name.
25088 ac_srcdir=$srcdir$ac_dir_suffix;
25089 ac_top_srcdir=$srcdir
25090 ac_abs_top_srcdir=$srcdir ;;
25091 *) # Relative name.
25092 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25093 ac_top_srcdir=$ac_top_build_prefix$srcdir
25094 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25095 esac
25096 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25099 case $ac_mode in
25102 # CONFIG_FILE
25105 case $INSTALL in
25106 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25107 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25108 esac
25109 _ACEOF
25111 cat >>$CONFIG_STATUS <<\_ACEOF
25112 # If the template does not know about datarootdir, expand it.
25113 # FIXME: This hack should be removed a few years after 2.60.
25114 ac_datarootdir_hack=; ac_datarootdir_seen=
25116 case `sed -n '/datarootdir/ {
25120 /@datadir@/p
25121 /@docdir@/p
25122 /@infodir@/p
25123 /@localedir@/p
25124 /@mandir@/p
25125 ' $ac_file_inputs` in
25126 *datarootdir*) ac_datarootdir_seen=yes;;
25127 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25128 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25129 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25130 _ACEOF
25131 cat >>$CONFIG_STATUS <<_ACEOF
25132 ac_datarootdir_hack='
25133 s&@datadir@&$datadir&g
25134 s&@docdir@&$docdir&g
25135 s&@infodir@&$infodir&g
25136 s&@localedir@&$localedir&g
25137 s&@mandir@&$mandir&g
25138 s&\\\${datarootdir}&$datarootdir&g' ;;
25139 esac
25140 _ACEOF
25142 # Neutralize VPATH when `$srcdir' = `.'.
25143 # Shell code in configure.ac might set extrasub.
25144 # FIXME: do we really want to maintain this feature?
25145 cat >>$CONFIG_STATUS <<_ACEOF
25146 sed "$ac_vpsub
25147 $extrasub
25148 _ACEOF
25149 cat >>$CONFIG_STATUS <<\_ACEOF
25151 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25152 s&@configure_input@&$configure_input&;t t
25153 s&@top_builddir@&$ac_top_builddir_sub&;t t
25154 s&@srcdir@&$ac_srcdir&;t t
25155 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25156 s&@top_srcdir@&$ac_top_srcdir&;t t
25157 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25158 s&@builddir@&$ac_builddir&;t t
25159 s&@abs_builddir@&$ac_abs_builddir&;t t
25160 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25161 s&@INSTALL@&$ac_INSTALL&;t t
25162 $ac_datarootdir_hack
25163 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25165 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25166 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25167 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25168 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25169 which seems to be undefined. Please make sure it is defined." >&5
25170 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25171 which seems to be undefined. Please make sure it is defined." >&2;}
25173 rm -f "$tmp/stdin"
25174 case $ac_file in
25175 -) cat "$tmp/out"; rm -f "$tmp/out";;
25176 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25177 esac
25181 # CONFIG_HEADER
25183 _ACEOF
25185 # Transform confdefs.h into a sed script `conftest.defines', that
25186 # substitutes the proper values into config.h.in to produce config.h.
25187 rm -f conftest.defines conftest.tail
25188 # First, append a space to every undef/define line, to ease matching.
25189 echo 's/$/ /' >conftest.defines
25190 # Then, protect against being on the right side of a sed subst, or in
25191 # an unquoted here document, in config.status. If some macros were
25192 # called several times there might be several #defines for the same
25193 # symbol, which is useless. But do not sort them, since the last
25194 # AC_DEFINE must be honored.
25195 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25196 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25197 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25198 # PARAMS is the parameter list in the macro definition--in most cases, it's
25199 # just an empty string.
25200 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25201 ac_dB='\\)[ (].*,\\1define\\2'
25202 ac_dC=' '
25203 ac_dD=' ,'
25205 uniq confdefs.h |
25206 sed -n '
25207 t rset
25208 :rset
25209 s/^[ ]*#[ ]*define[ ][ ]*//
25210 t ok
25213 s/[\\&,]/\\&/g
25214 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25215 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25216 ' >>conftest.defines
25218 # Remove the space that was appended to ease matching.
25219 # Then replace #undef with comments. This is necessary, for
25220 # example, in the case of _POSIX_SOURCE, which is predefined and required
25221 # on some systems where configure will not decide to define it.
25222 # (The regexp can be short, since the line contains either #define or #undef.)
25223 echo 's/ $//
25224 s,^[ #]*u.*,/* & */,' >>conftest.defines
25226 # Break up conftest.defines:
25227 ac_max_sed_lines=50
25229 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25230 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25231 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25232 # et cetera.
25233 ac_in='$ac_file_inputs'
25234 ac_out='"$tmp/out1"'
25235 ac_nxt='"$tmp/out2"'
25237 while :
25239 # Write a here document:
25240 cat >>$CONFIG_STATUS <<_ACEOF
25241 # First, check the format of the line:
25242 cat >"\$tmp/defines.sed" <<\\CEOF
25243 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25244 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25246 :def
25247 _ACEOF
25248 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25249 echo 'CEOF
25250 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25251 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25252 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25253 grep . conftest.tail >/dev/null || break
25254 rm -f conftest.defines
25255 mv conftest.tail conftest.defines
25256 done
25257 rm -f conftest.defines conftest.tail
25259 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25260 cat >>$CONFIG_STATUS <<\_ACEOF
25261 if test x"$ac_file" != x-; then
25262 echo "/* $configure_input */" >"$tmp/config.h"
25263 cat "$ac_result" >>"$tmp/config.h"
25264 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25265 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25266 echo "$as_me: $ac_file is unchanged" >&6;}
25267 else
25268 rm -f $ac_file
25269 mv "$tmp/config.h" $ac_file
25271 else
25272 echo "/* $configure_input */"
25273 cat "$ac_result"
25275 rm -f "$tmp/out12"
25278 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25279 echo "$as_me: executing $ac_file commands" >&6;}
25281 esac
25284 case $ac_file$ac_mode in
25285 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25286 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25287 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25288 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25289 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25290 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25291 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25292 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25293 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25294 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25295 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25296 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25297 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25299 esac
25300 done # for ac_tag
25303 { (exit 0); exit 0; }
25304 _ACEOF
25305 chmod +x $CONFIG_STATUS
25306 ac_clean_files=$ac_clean_files_save
25309 # configure is writing to config.log, and then calls config.status.
25310 # config.status does its own redirection, appending to config.log.
25311 # Unfortunately, on DOS this fails, as config.log is still kept open
25312 # by configure, so config.status won't be able to write to it; its
25313 # output is simply discarded. So we exec the FD to /dev/null,
25314 # effectively closing config.log, so it can be properly (re)opened and
25315 # appended to by config.status. When coming back to configure, we
25316 # need to make the FD available again.
25317 if test "$no_create" != yes; then
25318 ac_cs_success=:
25319 ac_config_status_args=
25320 test "$silent" = yes &&
25321 ac_config_status_args="$ac_config_status_args --quiet"
25322 exec 5>/dev/null
25323 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25324 exec 5>>config.log
25325 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25326 # would make configure fail if this is the last instruction.
25327 $ac_cs_success || { (exit 1); exit 1; }
25332 if test "$no_create" = "yes"
25333 then
25334 exit 0
25337 if test "$verbose" = "yes"
25338 then
25339 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25340 then
25341 echo >&2
25342 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25343 echo "$as_me: libcapi20 development files not found." >&6;}
25344 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25345 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25348 if test "$ac_cv_header_cups_cups_h" != "yes"
25349 then
25350 echo >&2
25351 { echo "$as_me:$LINENO: libcups development files not found." >&5
25352 echo "$as_me: libcups development files not found." >&6;}
25353 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25354 echo "$as_me: Wine will be built without CUPS support." >&6;}
25358 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25359 then
25360 echo >&2
25361 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25362 echo "$as_me: libgphoto2 development files not found." >&6;}
25363 if test "$ac_cv_header_sane_sane_h" = "yes"
25364 then
25365 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25366 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25367 else
25368 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25369 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25373 if test "$ac_cv_header_hal_libhal_h" != "yes"
25374 then
25375 echo >&2
25376 { echo "$as_me:$LINENO: libhal development files not found." >&5
25377 echo "$as_me: libhal development files not found." >&6;}
25378 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25379 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25382 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25383 then
25384 echo >&2
25385 { echo "$as_me:$LINENO: libicu development files not found." >&5
25386 echo "$as_me: libicu development files not found." >&6;}
25387 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25388 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25391 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25392 then
25393 echo >&2
25394 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25395 echo "$as_me: liblcms development files not found." >&6;}
25396 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25397 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25400 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25401 then
25402 echo >&2
25403 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25404 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25405 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25406 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25409 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25410 then
25411 echo >&2
25412 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25413 echo "$as_me: lib(n)curses development files not found." >&6;}
25414 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25415 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25418 if test "$ac_cv_header_sane_sane_h" != "yes"
25419 then
25420 echo >&2
25421 { echo "$as_me:$LINENO: libsane development files not found." >&5
25422 echo "$as_me: libsane development files not found." >&6;}
25423 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25424 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25427 if test "$have_x" = "yes"
25428 then
25429 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25430 then
25431 echo >&2
25432 { echo "$as_me:$LINENO: libxext development files not found." >&5
25433 echo "$as_me: libxext development files not found." >&6;}
25434 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25435 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25438 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25439 then
25440 echo >&2
25441 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25442 echo "$as_me: libXrandr development files not found." >&6;}
25443 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25444 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25447 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25448 then
25449 echo >&2
25450 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25451 echo "$as_me: libXrender development files not found." >&6;}
25452 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25453 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25456 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25457 then
25458 echo >&2
25459 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25460 echo "$as_me: libXxf86vm development files not found." >&6;}
25461 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25462 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25466 if test "$ac_cv_header_libxml_parser_h" != "yes"
25467 then
25468 echo >&2
25469 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25470 echo "$as_me: libxml2 development files not found." >&6;}
25471 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25472 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25475 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25476 then
25477 echo >&2
25478 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25479 echo "$as_me: libxslt development files not found." >&6;}
25480 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25481 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25486 if test "$have_x" = "no"
25487 then
25488 echo >&2
25489 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25490 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25492 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25494 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25495 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25496 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25499 if test -z "$OPENGLFILES"
25500 then
25501 echo >&2
25502 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25503 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25504 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25505 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25506 if test "$wine_cv_opengl_headers_found" = "no"
25507 then
25508 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25509 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25511 if test "$wine_cv_opengl_header_version_OK" = "no"
25512 then
25513 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25514 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25515 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25516 then
25517 if test -f /usr/X11R6/lib/libGL.a
25518 then
25519 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25520 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25521 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25522 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25523 else
25524 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25525 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25530 if test "$wine_cv_msg_freetype" = "yes"
25531 then
25532 echo >&2
25533 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25534 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25535 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25536 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25537 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25538 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25539 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25540 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25543 if test -z "$FONTSSUBDIRS"
25544 then
25545 echo >&2
25546 if test "$FONTFORGE" = "false"
25547 then
25548 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25549 echo "$as_me: WARNING: FontForge is missing." >&2;}
25550 else
25551 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25552 echo "$as_me: WARNING: FreeType is missing." >&2;}
25554 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25555 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25558 if test -z "$ALSALIBS" -a \
25559 -z "$ARTSC_LIBS" -a \
25560 -z "$AUDIOIOLIBS" -a \
25561 -z "$NASLIBS" -a \
25562 -z "$ESD_LIBS" -a \
25563 -z "$ac_cv_lib_soname_jack" -a \
25564 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25565 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25566 "$ac_cv_header_soundcard_h" != "yes"
25567 then
25568 echo >&2
25569 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25570 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25571 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25572 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25573 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25574 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25577 echo
25578 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25579 echo