winebuild: Check for illegal characters in entry point names.
[wine/wine-kai.git] / configure
blob7f1e5888d228e5ad9a6a2e8a57d1716336c9a93f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.26.
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.26'
563 PACKAGE_STRING='Wine 0.9.26'
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.26 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.26:";;
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.26
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.26, 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
10392 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10393 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10394 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10396 else
10397 ac_check_lib_save_LIBS=$LIBS
10398 LIBS="-lxml2 $ac_xml_libs $LIBS"
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h. */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10409 #ifdef __cplusplus
10410 extern "C"
10411 #endif
10412 char xmlNewDocPI ();
10414 main ()
10416 return xmlNewDocPI ();
10418 return 0;
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (ac_try="$ac_link"
10423 case "(($ac_try" in
10424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10425 *) ac_try_echo=$ac_try;;
10426 esac
10427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10428 (eval "$ac_link") 2>conftest.er1
10429 ac_status=$?
10430 grep -v '^ *+' conftest.er1 >conftest.err
10431 rm -f conftest.er1
10432 cat conftest.err >&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } &&
10435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10436 { (case "(($ac_try" in
10437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10438 *) ac_try_echo=$ac_try;;
10439 esac
10440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10441 (eval "$ac_try") 2>&5
10442 ac_status=$?
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; } &&
10445 { ac_try='test -s conftest$ac_exeext'
10446 { (case "(($ac_try" in
10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448 *) ac_try_echo=$ac_try;;
10449 esac
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10451 (eval "$ac_try") 2>&5
10452 ac_status=$?
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; }; then
10455 ac_cv_lib_xml2_xmlNewDocPI=yes
10456 else
10457 echo "$as_me: failed program was:" >&5
10458 sed 's/^/| /' conftest.$ac_ext >&5
10460 ac_cv_lib_xml2_xmlNewDocPI=no
10463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LIBS=$ac_check_lib_save_LIBS
10467 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10468 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10469 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10471 cat >>confdefs.h <<\_ACEOF
10472 #define HAVE_XMLNEWDOCPI 1
10473 _ACEOF
10480 done
10482 CPPFLAGS="$ac_save_CPPFLAGS"
10483 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10484 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10485 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10488 for ac_header in libxslt/pattern.h libxslt/transform.h
10490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 else
10496 cat >conftest.$ac_ext <<_ACEOF
10497 /* confdefs.h. */
10498 _ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10502 #ifdef HAVE_LIBXSLT_PATTERN_H
10503 # include <libxslt/pattern.h>
10504 #endif
10506 #include <$ac_header>
10507 _ACEOF
10508 rm -f conftest.$ac_objext
10509 if { (ac_try="$ac_compile"
10510 case "(($ac_try" in
10511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10512 *) ac_try_echo=$ac_try;;
10513 esac
10514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10515 (eval "$ac_compile") 2>conftest.er1
10516 ac_status=$?
10517 grep -v '^ *+' conftest.er1 >conftest.err
10518 rm -f conftest.er1
10519 cat conftest.err >&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10523 { (case "(($ac_try" in
10524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10525 *) ac_try_echo=$ac_try;;
10526 esac
10527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10528 (eval "$ac_try") 2>&5
10529 ac_status=$?
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); }; } &&
10532 { ac_try='test -s conftest.$ac_objext'
10533 { (case "(($ac_try" in
10534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10536 esac
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_try") 2>&5
10539 ac_status=$?
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; }; then
10542 eval "$as_ac_Header=yes"
10543 else
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5
10547 eval "$as_ac_Header=no"
10550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10552 ac_res=`eval echo '${'$as_ac_Header'}'`
10553 { echo "$as_me:$LINENO: result: $ac_res" >&5
10554 echo "${ECHO_T}$ac_res" >&6; }
10555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10556 cat >>confdefs.h <<_ACEOF
10557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10558 _ACEOF
10559 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10560 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10561 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10563 else
10564 ac_check_lib_save_LIBS=$LIBS
10565 LIBS="-lxslt $ac_xslt_libs $LIBS"
10566 cat >conftest.$ac_ext <<_ACEOF
10567 /* confdefs.h. */
10568 _ACEOF
10569 cat confdefs.h >>conftest.$ac_ext
10570 cat >>conftest.$ac_ext <<_ACEOF
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char xsltCompilePattern ();
10581 main ()
10583 return xsltCompilePattern ();
10585 return 0;
10587 _ACEOF
10588 rm -f conftest.$ac_objext conftest$ac_exeext
10589 if { (ac_try="$ac_link"
10590 case "(($ac_try" in
10591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592 *) ac_try_echo=$ac_try;;
10593 esac
10594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10595 (eval "$ac_link") 2>conftest.er1
10596 ac_status=$?
10597 grep -v '^ *+' conftest.er1 >conftest.err
10598 rm -f conftest.er1
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10603 { (case "(($ac_try" in
10604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10605 *) ac_try_echo=$ac_try;;
10606 esac
10607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10608 (eval "$ac_try") 2>&5
10609 ac_status=$?
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; } &&
10612 { ac_try='test -s conftest$ac_exeext'
10613 { (case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10616 esac
10617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_try") 2>&5
10619 ac_status=$?
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10622 ac_cv_lib_xslt_xsltCompilePattern=yes
10623 else
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ac_cv_lib_xslt_xsltCompilePattern=no
10630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_lib_save_LIBS
10634 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10635 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10636 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10638 cat >>confdefs.h <<\_ACEOF
10639 #define HAVE_LIBXSLT 1
10640 _ACEOF
10642 XSLTLIBS="$ac_xslt_libs"
10643 XSLTINCL="$ac_xslt_cflags"
10649 done
10651 CPPFLAGS="$ac_save_CPPFLAGS"
10654 HALINCL=""
10656 if test "$PKG_CONFIG" != "false"
10657 then
10658 ac_save_CPPFLAGS="$CPPFLAGS"
10659 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10660 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10661 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10664 for ac_header in dbus/dbus.h hal/libhal.h
10666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 ac_res=`eval echo '${'$as_ac_Header'}'`
10674 { echo "$as_me:$LINENO: result: $ac_res" >&5
10675 echo "${ECHO_T}$ac_res" >&6; }
10676 else
10677 # Is the header compilable?
10678 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10680 cat >conftest.$ac_ext <<_ACEOF
10681 /* confdefs.h. */
10682 _ACEOF
10683 cat confdefs.h >>conftest.$ac_ext
10684 cat >>conftest.$ac_ext <<_ACEOF
10685 /* end confdefs.h. */
10686 $ac_includes_default
10687 #include <$ac_header>
10688 _ACEOF
10689 rm -f conftest.$ac_objext
10690 if { (ac_try="$ac_compile"
10691 case "(($ac_try" in
10692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10693 *) ac_try_echo=$ac_try;;
10694 esac
10695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10696 (eval "$ac_compile") 2>conftest.er1
10697 ac_status=$?
10698 grep -v '^ *+' conftest.er1 >conftest.err
10699 rm -f conftest.er1
10700 cat conftest.err >&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } &&
10703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10704 { (case "(($ac_try" in
10705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10706 *) ac_try_echo=$ac_try;;
10707 esac
10708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10709 (eval "$ac_try") 2>&5
10710 ac_status=$?
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; } &&
10713 { ac_try='test -s conftest.$ac_objext'
10714 { (case "(($ac_try" in
10715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10716 *) ac_try_echo=$ac_try;;
10717 esac
10718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10719 (eval "$ac_try") 2>&5
10720 ac_status=$?
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); }; }; then
10723 ac_header_compiler=yes
10724 else
10725 echo "$as_me: failed program was:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 ac_header_compiler=no
10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10733 echo "${ECHO_T}$ac_header_compiler" >&6; }
10735 # Is the header present?
10736 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10738 cat >conftest.$ac_ext <<_ACEOF
10739 /* confdefs.h. */
10740 _ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 #include <$ac_header>
10745 _ACEOF
10746 if { (ac_try="$ac_cpp conftest.$ac_ext"
10747 case "(($ac_try" in
10748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10749 *) ac_try_echo=$ac_try;;
10750 esac
10751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10753 ac_status=$?
10754 grep -v '^ *+' conftest.er1 >conftest.err
10755 rm -f conftest.er1
10756 cat conftest.err >&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } >/dev/null; then
10759 if test -s conftest.err; then
10760 ac_cpp_err=$ac_c_preproc_warn_flag
10761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10762 else
10763 ac_cpp_err=
10765 else
10766 ac_cpp_err=yes
10768 if test -z "$ac_cpp_err"; then
10769 ac_header_preproc=yes
10770 else
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.$ac_ext >&5
10774 ac_header_preproc=no
10777 rm -f conftest.err conftest.$ac_ext
10778 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10779 echo "${ECHO_T}$ac_header_preproc" >&6; }
10781 # So? What about this header?
10782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10783 yes:no: )
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10788 ac_header_preproc=yes
10790 no:yes:* )
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10803 ( cat <<\_ASBOX
10804 ## ------------------------------------ ##
10805 ## Report this to wine-devel@winehq.org ##
10806 ## ------------------------------------ ##
10807 _ASBOX
10808 ) | sed "s/^/$as_me: WARNING: /" >&2
10810 esac
10811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 else
10816 eval "$as_ac_Header=\$ac_header_preproc"
10818 ac_res=`eval echo '${'$as_ac_Header'}'`
10819 { echo "$as_me:$LINENO: result: $ac_res" >&5
10820 echo "${ECHO_T}$ac_res" >&6; }
10823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10824 cat >>confdefs.h <<_ACEOF
10825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10826 _ACEOF
10830 done
10832 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10833 then
10834 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10835 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10836 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10837 echo $ECHO_N "(cached) $ECHO_C" >&6
10838 else
10839 ac_check_lib_save_LIBS=$LIBS
10840 LIBS="-lhal $LIBS"
10841 cat >conftest.$ac_ext <<_ACEOF
10842 /* confdefs.h. */
10843 _ACEOF
10844 cat confdefs.h >>conftest.$ac_ext
10845 cat >>conftest.$ac_ext <<_ACEOF
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10851 #ifdef __cplusplus
10852 extern "C"
10853 #endif
10854 char libhal_ctx_new ();
10856 main ()
10858 return libhal_ctx_new ();
10860 return 0;
10862 _ACEOF
10863 rm -f conftest.$ac_objext conftest$ac_exeext
10864 if { (ac_try="$ac_link"
10865 case "(($ac_try" in
10866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10867 *) ac_try_echo=$ac_try;;
10868 esac
10869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10870 (eval "$ac_link") 2>conftest.er1
10871 ac_status=$?
10872 grep -v '^ *+' conftest.er1 >conftest.err
10873 rm -f conftest.er1
10874 cat conftest.err >&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); } &&
10877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10878 { (case "(($ac_try" in
10879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10880 *) ac_try_echo=$ac_try;;
10881 esac
10882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10883 (eval "$ac_try") 2>&5
10884 ac_status=$?
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); }; } &&
10887 { ac_try='test -s conftest$ac_exeext'
10888 { (case "(($ac_try" in
10889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10890 *) ac_try_echo=$ac_try;;
10891 esac
10892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10893 (eval "$ac_try") 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; }; then
10897 ac_cv_lib_hal_libhal_ctx_new=yes
10898 else
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10902 ac_cv_lib_hal_libhal_ctx_new=no
10905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10910 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10911 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10912 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10913 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10914 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10915 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 else
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10919 cat >conftest.$ac_ext <<_ACEOF
10920 /* confdefs.h. */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char dbus_connection_close ();
10934 main ()
10936 return dbus_connection_close ();
10938 return 0;
10940 _ACEOF
10941 rm -f conftest.$ac_objext conftest$ac_exeext
10942 if { (ac_try="$ac_link"
10943 case "(($ac_try" in
10944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10945 *) ac_try_echo=$ac_try;;
10946 esac
10947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10948 (eval "$ac_link") 2>conftest.er1
10949 ac_status=$?
10950 grep -v '^ *+' conftest.er1 >conftest.err
10951 rm -f conftest.er1
10952 cat conftest.err >&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10956 { (case "(($ac_try" in
10957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10958 *) ac_try_echo=$ac_try;;
10959 esac
10960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10961 (eval "$ac_try") 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try='test -s conftest$ac_exeext'
10966 { (case "(($ac_try" in
10967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10969 esac
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_try") 2>&5
10972 ac_status=$?
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_cv_lib_dbus_1_dbus_connection_close=yes
10976 else
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10980 ac_cv_lib_dbus_1_dbus_connection_close=no
10983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10988 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10989 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10991 cat >>confdefs.h <<\_ACEOF
10992 #define HAVE_LIBHAL 1
10993 _ACEOF
10995 HALINCL="$ac_hal_cflags"
11001 CPPFLAGS="$ac_save_CPPFLAGS"
11004 CURSESLIBS=""
11005 if test "x$with_curses" != "xno"
11006 then
11007 if test "$ac_cv_header_ncurses_h" = "yes"
11008 then
11009 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11010 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11011 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lncurses $LIBS"
11016 cat >conftest.$ac_ext <<_ACEOF
11017 /* confdefs.h. */
11018 _ACEOF
11019 cat confdefs.h >>conftest.$ac_ext
11020 cat >>conftest.$ac_ext <<_ACEOF
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11026 #ifdef __cplusplus
11027 extern "C"
11028 #endif
11029 char waddch ();
11031 main ()
11033 return waddch ();
11035 return 0;
11037 _ACEOF
11038 rm -f conftest.$ac_objext conftest$ac_exeext
11039 if { (ac_try="$ac_link"
11040 case "(($ac_try" in
11041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11042 *) ac_try_echo=$ac_try;;
11043 esac
11044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11045 (eval "$ac_link") 2>conftest.er1
11046 ac_status=$?
11047 grep -v '^ *+' conftest.er1 >conftest.err
11048 rm -f conftest.er1
11049 cat conftest.err >&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } &&
11052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11053 { (case "(($ac_try" in
11054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055 *) ac_try_echo=$ac_try;;
11056 esac
11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 (eval "$ac_try") 2>&5
11059 ac_status=$?
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; } &&
11062 { ac_try='test -s conftest$ac_exeext'
11063 { (case "(($ac_try" in
11064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11065 *) ac_try_echo=$ac_try;;
11066 esac
11067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11068 (eval "$ac_try") 2>&5
11069 ac_status=$?
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; }; then
11072 ac_cv_lib_ncurses_waddch=yes
11073 else
11074 echo "$as_me: failed program was:" >&5
11075 sed 's/^/| /' conftest.$ac_ext >&5
11077 ac_cv_lib_ncurses_waddch=no
11080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS=$ac_check_lib_save_LIBS
11084 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11085 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11086 if test $ac_cv_lib_ncurses_waddch = yes; then
11088 cat >>confdefs.h <<\_ACEOF
11089 #define HAVE_LIBNCURSES 1
11090 _ACEOF
11092 CURSESLIBS="-lncurses"
11095 elif test "$ac_cv_header_curses_h" = "yes"
11096 then
11097 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11098 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11099 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lcurses $LIBS"
11104 cat >conftest.$ac_ext <<_ACEOF
11105 /* confdefs.h. */
11106 _ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char waddch ();
11119 main ()
11121 return waddch ();
11123 return 0;
11125 _ACEOF
11126 rm -f conftest.$ac_objext conftest$ac_exeext
11127 if { (ac_try="$ac_link"
11128 case "(($ac_try" in
11129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11131 esac
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_link") 2>conftest.er1
11134 ac_status=$?
11135 grep -v '^ *+' conftest.er1 >conftest.err
11136 rm -f conftest.er1
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11141 { (case "(($ac_try" in
11142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11143 *) ac_try_echo=$ac_try;;
11144 esac
11145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11146 (eval "$ac_try") 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; } &&
11150 { ac_try='test -s conftest$ac_exeext'
11151 { (case "(($ac_try" in
11152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11153 *) ac_try_echo=$ac_try;;
11154 esac
11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11156 (eval "$ac_try") 2>&5
11157 ac_status=$?
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; }; then
11160 ac_cv_lib_curses_waddch=yes
11161 else
11162 echo "$as_me: failed program was:" >&5
11163 sed 's/^/| /' conftest.$ac_ext >&5
11165 ac_cv_lib_curses_waddch=no
11168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11173 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11174 if test $ac_cv_lib_curses_waddch = yes; then
11176 cat >>confdefs.h <<\_ACEOF
11177 #define HAVE_LIBCURSES 1
11178 _ACEOF
11180 CURSESLIBS="-lcurses"
11184 ac_save_LIBS="$LIBS"
11185 LIBS="$LIBS $CURSESLIBS"
11187 for ac_func in mousemask
11189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 else
11195 cat >conftest.$ac_ext <<_ACEOF
11196 /* confdefs.h. */
11197 _ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11203 #define $ac_func innocuous_$ac_func
11205 /* System header to define __stub macros and hopefully few prototypes,
11206 which can conflict with char $ac_func (); below.
11207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11208 <limits.h> exists even on freestanding compilers. */
11210 #ifdef __STDC__
11211 # include <limits.h>
11212 #else
11213 # include <assert.h>
11214 #endif
11216 #undef $ac_func
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char $ac_func ();
11225 /* The GNU C library defines this for functions which it implements
11226 to always fail with ENOSYS. Some functions are actually named
11227 something starting with __ and the normal name is an alias. */
11228 #if defined __stub_$ac_func || defined __stub___$ac_func
11229 choke me
11230 #endif
11233 main ()
11235 return $ac_func ();
11237 return 0;
11239 _ACEOF
11240 rm -f conftest.$ac_objext conftest$ac_exeext
11241 if { (ac_try="$ac_link"
11242 case "(($ac_try" in
11243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11244 *) ac_try_echo=$ac_try;;
11245 esac
11246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11247 (eval "$ac_link") 2>conftest.er1
11248 ac_status=$?
11249 grep -v '^ *+' conftest.er1 >conftest.err
11250 rm -f conftest.er1
11251 cat conftest.err >&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); } &&
11254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11255 { (case "(($ac_try" in
11256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11257 *) ac_try_echo=$ac_try;;
11258 esac
11259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11260 (eval "$ac_try") 2>&5
11261 ac_status=$?
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; } &&
11264 { ac_try='test -s conftest$ac_exeext'
11265 { (case "(($ac_try" in
11266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11267 *) ac_try_echo=$ac_try;;
11268 esac
11269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11270 (eval "$ac_try") 2>&5
11271 ac_status=$?
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; }; then
11274 eval "$as_ac_var=yes"
11275 else
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.$ac_ext >&5
11279 eval "$as_ac_var=no"
11282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11283 conftest$ac_exeext conftest.$ac_ext
11285 ac_res=`eval echo '${'$as_ac_var'}'`
11286 { echo "$as_me:$LINENO: result: $ac_res" >&5
11287 echo "${ECHO_T}$ac_res" >&6; }
11288 if test `eval echo '${'$as_ac_var'}'` = yes; then
11289 cat >>confdefs.h <<_ACEOF
11290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11291 _ACEOF
11294 done
11296 LIBS="$ac_save_LIBS"
11300 # Extract the first word of "sane-config", so it can be a program name with args.
11301 set dummy sane-config; ac_word=$2
11302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11304 if test "${ac_cv_prog_sane_devel+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 else
11307 if test -n "$sane_devel"; then
11308 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11309 else
11310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11311 for as_dir in $PATH
11313 IFS=$as_save_IFS
11314 test -z "$as_dir" && as_dir=.
11315 for ac_exec_ext in '' $ac_executable_extensions; do
11316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11317 ac_cv_prog_sane_devel="sane-config"
11318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11319 break 2
11321 done
11322 done
11323 IFS=$as_save_IFS
11325 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11328 sane_devel=$ac_cv_prog_sane_devel
11329 if test -n "$sane_devel"; then
11330 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11331 echo "${ECHO_T}$sane_devel" >&6; }
11332 else
11333 { echo "$as_me:$LINENO: result: no" >&5
11334 echo "${ECHO_T}no" >&6; }
11338 SANELIBS=""
11340 SANEINCL=""
11342 if test "$sane_devel" != "no"
11343 then
11344 SANELIBS="`$sane_devel --libs`"
11345 SANEINCL="`$sane_devel --cflags`"
11346 ac_save_CPPFLAGS="$CPPFLAGS"
11347 ac_save_LIBS="$LIBS"
11348 CPPFLAGS="$CPPFLAGS $SANEINCL"
11349 LIBS="$LIBS $SANELIBS"
11350 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11351 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11352 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11353 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11354 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11357 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11358 else
11359 # Is the header compilable?
11360 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11361 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11362 cat >conftest.$ac_ext <<_ACEOF
11363 /* confdefs.h. */
11364 _ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 $ac_includes_default
11369 #include <sane/sane.h>
11370 _ACEOF
11371 rm -f conftest.$ac_objext
11372 if { (ac_try="$ac_compile"
11373 case "(($ac_try" in
11374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11375 *) ac_try_echo=$ac_try;;
11376 esac
11377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11378 (eval "$ac_compile") 2>conftest.er1
11379 ac_status=$?
11380 grep -v '^ *+' conftest.er1 >conftest.err
11381 rm -f conftest.er1
11382 cat conftest.err >&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); } &&
11385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11386 { (case "(($ac_try" in
11387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11388 *) ac_try_echo=$ac_try;;
11389 esac
11390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11391 (eval "$ac_try") 2>&5
11392 ac_status=$?
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try='test -s conftest.$ac_objext'
11396 { (case "(($ac_try" in
11397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11398 *) ac_try_echo=$ac_try;;
11399 esac
11400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11401 (eval "$ac_try") 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 ac_header_compiler=yes
11406 else
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11410 ac_header_compiler=no
11413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11415 echo "${ECHO_T}$ac_header_compiler" >&6; }
11417 # Is the header present?
11418 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11419 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11420 cat >conftest.$ac_ext <<_ACEOF
11421 /* confdefs.h. */
11422 _ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 #include <sane/sane.h>
11427 _ACEOF
11428 if { (ac_try="$ac_cpp conftest.$ac_ext"
11429 case "(($ac_try" in
11430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11431 *) ac_try_echo=$ac_try;;
11432 esac
11433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11435 ac_status=$?
11436 grep -v '^ *+' conftest.er1 >conftest.err
11437 rm -f conftest.er1
11438 cat conftest.err >&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } >/dev/null; then
11441 if test -s conftest.err; then
11442 ac_cpp_err=$ac_c_preproc_warn_flag
11443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11444 else
11445 ac_cpp_err=
11447 else
11448 ac_cpp_err=yes
11450 if test -z "$ac_cpp_err"; then
11451 ac_header_preproc=yes
11452 else
11453 echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.$ac_ext >&5
11456 ac_header_preproc=no
11459 rm -f conftest.err conftest.$ac_ext
11460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11461 echo "${ECHO_T}$ac_header_preproc" >&6; }
11463 # So? What about this header?
11464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11465 yes:no: )
11466 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11467 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11468 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11469 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11470 ac_header_preproc=yes
11472 no:yes:* )
11473 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11474 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11475 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11476 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11478 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11480 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11482 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11484 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11485 ( cat <<\_ASBOX
11486 ## ------------------------------------ ##
11487 ## Report this to wine-devel@winehq.org ##
11488 ## ------------------------------------ ##
11489 _ASBOX
11490 ) | sed "s/^/$as_me: WARNING: /" >&2
11492 esac
11493 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11494 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11495 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 else
11498 ac_cv_header_sane_sane_h=$ac_header_preproc
11500 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11501 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11504 if test $ac_cv_header_sane_sane_h = yes; then
11505 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11506 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11507 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 else
11510 ac_check_lib_save_LIBS=$LIBS
11511 LIBS="-lsane $LIBS"
11512 cat >conftest.$ac_ext <<_ACEOF
11513 /* confdefs.h. */
11514 _ACEOF
11515 cat confdefs.h >>conftest.$ac_ext
11516 cat >>conftest.$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11519 /* Override any GCC internal prototype to avoid an error.
11520 Use char because int might match the return type of a GCC
11521 builtin and then its argument prototype would still apply. */
11522 #ifdef __cplusplus
11523 extern "C"
11524 #endif
11525 char sane_open ();
11527 main ()
11529 return sane_open ();
11531 return 0;
11533 _ACEOF
11534 rm -f conftest.$ac_objext conftest$ac_exeext
11535 if { (ac_try="$ac_link"
11536 case "(($ac_try" in
11537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11538 *) ac_try_echo=$ac_try;;
11539 esac
11540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11541 (eval "$ac_link") 2>conftest.er1
11542 ac_status=$?
11543 grep -v '^ *+' conftest.er1 >conftest.err
11544 rm -f conftest.er1
11545 cat conftest.err >&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); } &&
11548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11549 { (case "(($ac_try" in
11550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11551 *) ac_try_echo=$ac_try;;
11552 esac
11553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554 (eval "$ac_try") 2>&5
11555 ac_status=$?
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; } &&
11558 { ac_try='test -s conftest$ac_exeext'
11559 { (case "(($ac_try" in
11560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11561 *) ac_try_echo=$ac_try;;
11562 esac
11563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11564 (eval "$ac_try") 2>&5
11565 ac_status=$?
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); }; }; then
11568 ac_cv_lib_sane_sane_open=yes
11569 else
11570 echo "$as_me: failed program was:" >&5
11571 sed 's/^/| /' conftest.$ac_ext >&5
11573 ac_cv_lib_sane_sane_open=no
11576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11577 conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_lib_save_LIBS
11580 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11581 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11582 if test $ac_cv_lib_sane_sane_open = yes; then
11584 cat >>confdefs.h <<\_ACEOF
11585 #define HAVE_SANE 1
11586 _ACEOF
11588 else
11589 SANELIBS=""
11590 SANEINCL=""
11593 else
11594 SANELIBS=""
11595 SANEINCL=""
11599 LIBS="$ac_save_LIBS"
11600 CPPFLAGS="$ac_save_CPPFLAGS"
11603 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11604 set dummy gphoto2-config; ac_word=$2
11605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11607 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 else
11610 if test -n "$gphoto2_devel"; then
11611 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11612 else
11613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11614 for as_dir in $PATH
11616 IFS=$as_save_IFS
11617 test -z "$as_dir" && as_dir=.
11618 for ac_exec_ext in '' $ac_executable_extensions; do
11619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11620 ac_cv_prog_gphoto2_devel="gphoto2-config"
11621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11622 break 2
11624 done
11625 done
11626 IFS=$as_save_IFS
11628 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11631 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11632 if test -n "$gphoto2_devel"; then
11633 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11634 echo "${ECHO_T}$gphoto2_devel" >&6; }
11635 else
11636 { echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6; }
11641 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11642 set dummy gphoto2-port-config; ac_word=$2
11643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11645 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 else
11648 if test -n "$gphoto2port_devel"; then
11649 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11650 else
11651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11652 for as_dir in $PATH
11654 IFS=$as_save_IFS
11655 test -z "$as_dir" && as_dir=.
11656 for ac_exec_ext in '' $ac_executable_extensions; do
11657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11658 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11660 break 2
11662 done
11663 done
11664 IFS=$as_save_IFS
11666 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11669 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11670 if test -n "$gphoto2port_devel"; then
11671 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11672 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11673 else
11674 { echo "$as_me:$LINENO: result: no" >&5
11675 echo "${ECHO_T}no" >&6; }
11679 GPHOTO2LIBS=""
11681 GPHOTO2INCL=""
11683 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11684 then
11685 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11686 GPHOTO2LIBS=""
11687 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11689 case "$i" in
11690 -L/usr/lib|-L/usr/lib64) ;;
11691 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11692 esac
11693 done
11694 ac_save_CPPFLAGS="$CPPFLAGS"
11695 ac_save_LIBS="$LIBS"
11696 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11697 LIBS="$LIBS $GPHOTO2LIBS"
11698 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11699 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11700 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11701 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11702 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11705 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11706 else
11707 # Is the header compilable?
11708 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11709 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11710 cat >conftest.$ac_ext <<_ACEOF
11711 /* confdefs.h. */
11712 _ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11716 $ac_includes_default
11717 #include <gphoto2-camera.h>
11718 _ACEOF
11719 rm -f conftest.$ac_objext
11720 if { (ac_try="$ac_compile"
11721 case "(($ac_try" in
11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11723 *) ac_try_echo=$ac_try;;
11724 esac
11725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11726 (eval "$ac_compile") 2>conftest.er1
11727 ac_status=$?
11728 grep -v '^ *+' conftest.er1 >conftest.err
11729 rm -f conftest.er1
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11734 { (case "(($ac_try" in
11735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11736 *) ac_try_echo=$ac_try;;
11737 esac
11738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11739 (eval "$ac_try") 2>&5
11740 ac_status=$?
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; } &&
11743 { ac_try='test -s conftest.$ac_objext'
11744 { (case "(($ac_try" in
11745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11746 *) ac_try_echo=$ac_try;;
11747 esac
11748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11749 (eval "$ac_try") 2>&5
11750 ac_status=$?
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then
11753 ac_header_compiler=yes
11754 else
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11758 ac_header_compiler=no
11761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11762 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11763 echo "${ECHO_T}$ac_header_compiler" >&6; }
11765 # Is the header present?
11766 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11767 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11768 cat >conftest.$ac_ext <<_ACEOF
11769 /* confdefs.h. */
11770 _ACEOF
11771 cat confdefs.h >>conftest.$ac_ext
11772 cat >>conftest.$ac_ext <<_ACEOF
11773 /* end confdefs.h. */
11774 #include <gphoto2-camera.h>
11775 _ACEOF
11776 if { (ac_try="$ac_cpp conftest.$ac_ext"
11777 case "(($ac_try" in
11778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11779 *) ac_try_echo=$ac_try;;
11780 esac
11781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11783 ac_status=$?
11784 grep -v '^ *+' conftest.er1 >conftest.err
11785 rm -f conftest.er1
11786 cat conftest.err >&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } >/dev/null; then
11789 if test -s conftest.err; then
11790 ac_cpp_err=$ac_c_preproc_warn_flag
11791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11792 else
11793 ac_cpp_err=
11795 else
11796 ac_cpp_err=yes
11798 if test -z "$ac_cpp_err"; then
11799 ac_header_preproc=yes
11800 else
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11804 ac_header_preproc=no
11807 rm -f conftest.err conftest.$ac_ext
11808 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11809 echo "${ECHO_T}$ac_header_preproc" >&6; }
11811 # So? What about this header?
11812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11813 yes:no: )
11814 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11815 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11816 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11817 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11818 ac_header_preproc=yes
11820 no:yes:* )
11821 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11822 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11823 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11824 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11825 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11826 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11827 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11828 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11829 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11830 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11831 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11832 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11833 ( cat <<\_ASBOX
11834 ## ------------------------------------ ##
11835 ## Report this to wine-devel@winehq.org ##
11836 ## ------------------------------------ ##
11837 _ASBOX
11838 ) | sed "s/^/$as_me: WARNING: /" >&2
11840 esac
11841 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11842 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11843 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11848 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11849 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11852 if test $ac_cv_header_gphoto2_camera_h = yes; then
11853 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11854 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11855 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 else
11858 ac_check_lib_save_LIBS=$LIBS
11859 LIBS="-lgphoto2 $LIBS"
11860 cat >conftest.$ac_ext <<_ACEOF
11861 /* confdefs.h. */
11862 _ACEOF
11863 cat confdefs.h >>conftest.$ac_ext
11864 cat >>conftest.$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11870 #ifdef __cplusplus
11871 extern "C"
11872 #endif
11873 char gp_camera_new ();
11875 main ()
11877 return gp_camera_new ();
11879 return 0;
11881 _ACEOF
11882 rm -f conftest.$ac_objext conftest$ac_exeext
11883 if { (ac_try="$ac_link"
11884 case "(($ac_try" in
11885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11886 *) ac_try_echo=$ac_try;;
11887 esac
11888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11889 (eval "$ac_link") 2>conftest.er1
11890 ac_status=$?
11891 grep -v '^ *+' conftest.er1 >conftest.err
11892 rm -f conftest.er1
11893 cat conftest.err >&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } &&
11896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11897 { (case "(($ac_try" in
11898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11899 *) ac_try_echo=$ac_try;;
11900 esac
11901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11902 (eval "$ac_try") 2>&5
11903 ac_status=$?
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; } &&
11906 { ac_try='test -s conftest$ac_exeext'
11907 { (case "(($ac_try" in
11908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11909 *) ac_try_echo=$ac_try;;
11910 esac
11911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11912 (eval "$ac_try") 2>&5
11913 ac_status=$?
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; }; then
11916 ac_cv_lib_gphoto2_gp_camera_new=yes
11917 else
11918 echo "$as_me: failed program was:" >&5
11919 sed 's/^/| /' conftest.$ac_ext >&5
11921 ac_cv_lib_gphoto2_gp_camera_new=no
11924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11925 conftest$ac_exeext conftest.$ac_ext
11926 LIBS=$ac_check_lib_save_LIBS
11928 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11929 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11930 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11932 cat >>confdefs.h <<\_ACEOF
11933 #define HAVE_GPHOTO2 1
11934 _ACEOF
11936 else
11937 GPHOTO2LIBS=""
11938 GPHOTO2INCL=""
11941 else
11942 GPHOTO2LIBS=""
11943 GPHOTO2INCL=""
11947 LIBS="$ac_save_LIBS"
11948 CPPFLAGS="$ac_save_CPPFLAGS"
11951 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11952 then
11953 saved_libs="$LIBS"
11954 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11956 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11957 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11958 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11959 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11960 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11961 cat >conftest.$ac_ext <<_ACEOF
11962 /* confdefs.h. */
11963 _ACEOF
11964 cat confdefs.h >>conftest.$ac_ext
11965 cat >>conftest.$ac_ext <<_ACEOF
11966 /* end confdefs.h. */
11967 #include <unicode/ubidi.h>
11969 main ()
11971 ubidi_open()
11973 return 0;
11975 _ACEOF
11976 rm -f conftest.$ac_objext conftest$ac_exeext
11977 if { (ac_try="$ac_link"
11978 case "(($ac_try" in
11979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11981 esac
11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_link") 2>conftest.er1
11984 ac_status=$?
11985 grep -v '^ *+' conftest.er1 >conftest.err
11986 rm -f conftest.er1
11987 cat conftest.err >&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } &&
11990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11991 { (case "(($ac_try" in
11992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11993 *) ac_try_echo=$ac_try;;
11994 esac
11995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11996 (eval "$ac_try") 2>&5
11997 ac_status=$?
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; } &&
12000 { ac_try='test -s conftest$ac_exeext'
12001 { (case "(($ac_try" in
12002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12003 *) ac_try_echo=$ac_try;;
12004 esac
12005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12006 (eval "$ac_try") 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12011 cat >>confdefs.h <<\_ACEOF
12012 #define HAVE_ICU 1
12013 _ACEOF
12015 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12017 { echo "$as_me:$LINENO: result: yes" >&5
12018 echo "${ECHO_T}yes" >&6; }
12019 else
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12023 { echo "$as_me:$LINENO: result: no" >&5
12024 echo "${ECHO_T}no" >&6; }
12027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12028 conftest$ac_exeext conftest.$ac_ext
12029 done
12030 LIBS="$saved_libs"
12033 RESOLVLIBS=""
12035 if test "$ac_cv_header_resolv_h" = "yes"
12036 then
12037 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12038 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12039 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-lresolv $LIBS"
12044 cat >conftest.$ac_ext <<_ACEOF
12045 /* confdefs.h. */
12046 _ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char res_query ();
12059 main ()
12061 return res_query ();
12063 return 0;
12065 _ACEOF
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (ac_try="$ac_link"
12068 case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12071 esac
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_link") 2>conftest.er1
12074 ac_status=$?
12075 grep -v '^ *+' conftest.er1 >conftest.err
12076 rm -f conftest.er1
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12081 { (case "(($ac_try" in
12082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083 *) ac_try_echo=$ac_try;;
12084 esac
12085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12086 (eval "$ac_try") 2>&5
12087 ac_status=$?
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } &&
12090 { ac_try='test -s conftest$ac_exeext'
12091 { (case "(($ac_try" in
12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12094 esac
12095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12096 (eval "$ac_try") 2>&5
12097 ac_status=$?
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; }; then
12100 ac_cv_lib_resolv_res_query=yes
12101 else
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.$ac_ext >&5
12105 ac_cv_lib_resolv_res_query=no
12108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12113 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12114 if test $ac_cv_lib_resolv_res_query = yes; then
12116 cat >>confdefs.h <<\_ACEOF
12117 #define HAVE_RESOLV 1
12118 _ACEOF
12120 RESOLVLIBS="-lresolv"
12125 LCMSLIBS=""
12127 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12128 then
12129 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12130 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12131 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 else
12134 ac_check_lib_save_LIBS=$LIBS
12135 LIBS="-llcms $LIBS"
12136 cat >conftest.$ac_ext <<_ACEOF
12137 /* confdefs.h. */
12138 _ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12146 #ifdef __cplusplus
12147 extern "C"
12148 #endif
12149 char cmsOpenProfileFromFile ();
12151 main ()
12153 return cmsOpenProfileFromFile ();
12155 return 0;
12157 _ACEOF
12158 rm -f conftest.$ac_objext conftest$ac_exeext
12159 if { (ac_try="$ac_link"
12160 case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12163 esac
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_link") 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12173 { (case "(($ac_try" in
12174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12175 *) ac_try_echo=$ac_try;;
12176 esac
12177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12178 (eval "$ac_try") 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try='test -s conftest$ac_exeext'
12183 { (case "(($ac_try" in
12184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12185 *) ac_try_echo=$ac_try;;
12186 esac
12187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12188 (eval "$ac_try") 2>&5
12189 ac_status=$?
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12192 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12193 else
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12204 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12205 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12206 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12208 cat >>confdefs.h <<\_ACEOF
12209 #define HAVE_LCMS 1
12210 _ACEOF
12212 LCMSLIBS="-llcms"
12217 LDAPLIBS=""
12219 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12220 then
12221 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12222 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12223 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 else
12226 ac_check_lib_save_LIBS=$LIBS
12227 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12228 cat >conftest.$ac_ext <<_ACEOF
12229 /* confdefs.h. */
12230 _ACEOF
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 char ldap_initialize ();
12243 main ()
12245 return ldap_initialize ();
12247 return 0;
12249 _ACEOF
12250 rm -f conftest.$ac_objext conftest$ac_exeext
12251 if { (ac_try="$ac_link"
12252 case "(($ac_try" in
12253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12254 *) ac_try_echo=$ac_try;;
12255 esac
12256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12257 (eval "$ac_link") 2>conftest.er1
12258 ac_status=$?
12259 grep -v '^ *+' conftest.er1 >conftest.err
12260 rm -f conftest.er1
12261 cat conftest.err >&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12265 { (case "(($ac_try" in
12266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12267 *) ac_try_echo=$ac_try;;
12268 esac
12269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12270 (eval "$ac_try") 2>&5
12271 ac_status=$?
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try='test -s conftest$ac_exeext'
12275 { (case "(($ac_try" in
12276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12277 *) ac_try_echo=$ac_try;;
12278 esac
12279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12280 (eval "$ac_try") 2>&5
12281 ac_status=$?
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284 ac_cv_lib_ldap_r_ldap_initialize=yes
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12289 ac_cv_lib_ldap_r_ldap_initialize=no
12292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_lib_save_LIBS
12296 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12297 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12298 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12299 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12300 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12301 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12303 else
12304 ac_check_lib_save_LIBS=$LIBS
12305 LIBS="-llber $LIBPTHREAD $LIBS"
12306 cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h. */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 #ifdef __cplusplus
12317 extern "C"
12318 #endif
12319 char ber_init ();
12321 main ()
12323 return ber_init ();
12325 return 0;
12327 _ACEOF
12328 rm -f conftest.$ac_objext conftest$ac_exeext
12329 if { (ac_try="$ac_link"
12330 case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12333 esac
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_link") 2>conftest.er1
12336 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } &&
12342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12343 { (case "(($ac_try" in
12344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12345 *) ac_try_echo=$ac_try;;
12346 esac
12347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12348 (eval "$ac_try") 2>&5
12349 ac_status=$?
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; } &&
12352 { ac_try='test -s conftest$ac_exeext'
12353 { (case "(($ac_try" in
12354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12355 *) ac_try_echo=$ac_try;;
12356 esac
12357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12358 (eval "$ac_try") 2>&5
12359 ac_status=$?
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_lib_lber_ber_init=yes
12363 else
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.$ac_ext >&5
12367 ac_cv_lib_lber_ber_init=no
12370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12371 conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_lib_save_LIBS
12374 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12375 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12376 if test $ac_cv_lib_lber_ber_init = yes; then
12378 cat >>confdefs.h <<\_ACEOF
12379 #define HAVE_LDAP 1
12380 _ACEOF
12382 LDAPLIBS="-lldap_r -llber"
12387 ac_wine_check_funcs_save_LIBS="$LIBS"
12388 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12393 for ac_func in \
12394 ldap_count_references \
12395 ldap_first_reference \
12396 ldap_next_reference \
12397 ldap_parse_reference
12399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 else
12405 cat >conftest.$ac_ext <<_ACEOF
12406 /* confdefs.h. */
12407 _ACEOF
12408 cat confdefs.h >>conftest.$ac_ext
12409 cat >>conftest.$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12413 #define $ac_func innocuous_$ac_func
12415 /* System header to define __stub macros and hopefully few prototypes,
12416 which can conflict with char $ac_func (); below.
12417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12418 <limits.h> exists even on freestanding compilers. */
12420 #ifdef __STDC__
12421 # include <limits.h>
12422 #else
12423 # include <assert.h>
12424 #endif
12426 #undef $ac_func
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12431 #ifdef __cplusplus
12432 extern "C"
12433 #endif
12434 char $ac_func ();
12435 /* The GNU C library defines this for functions which it implements
12436 to always fail with ENOSYS. Some functions are actually named
12437 something starting with __ and the normal name is an alias. */
12438 #if defined __stub_$ac_func || defined __stub___$ac_func
12439 choke me
12440 #endif
12443 main ()
12445 return $ac_func ();
12447 return 0;
12449 _ACEOF
12450 rm -f conftest.$ac_objext conftest$ac_exeext
12451 if { (ac_try="$ac_link"
12452 case "(($ac_try" in
12453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12454 *) ac_try_echo=$ac_try;;
12455 esac
12456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12457 (eval "$ac_link") 2>conftest.er1
12458 ac_status=$?
12459 grep -v '^ *+' conftest.er1 >conftest.err
12460 rm -f conftest.er1
12461 cat conftest.err >&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } &&
12464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12465 { (case "(($ac_try" in
12466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12467 *) ac_try_echo=$ac_try;;
12468 esac
12469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12470 (eval "$ac_try") 2>&5
12471 ac_status=$?
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try='test -s conftest$ac_exeext'
12475 { (case "(($ac_try" in
12476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12477 *) ac_try_echo=$ac_try;;
12478 esac
12479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12480 (eval "$ac_try") 2>&5
12481 ac_status=$?
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; }; then
12484 eval "$as_ac_var=yes"
12485 else
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12489 eval "$as_ac_var=no"
12492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12493 conftest$ac_exeext conftest.$ac_ext
12495 ac_res=`eval echo '${'$as_ac_var'}'`
12496 { echo "$as_me:$LINENO: result: $ac_res" >&5
12497 echo "${ECHO_T}$ac_res" >&6; }
12498 if test `eval echo '${'$as_ac_var'}'` = yes; then
12499 cat >>confdefs.h <<_ACEOF
12500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12501 _ACEOF
12504 done
12506 LIBS="$ac_wine_check_funcs_save_LIBS"
12509 FREETYPELIBS=""
12511 FREETYPEINCL=""
12513 # Extract the first word of "freetype-config", so it can be a program name with args.
12514 set dummy freetype-config; ac_word=$2
12515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12517 if test "${ac_cv_prog_ft_devel+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 else
12520 if test -n "$ft_devel"; then
12521 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12522 else
12523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12524 for as_dir in $PATH
12526 IFS=$as_save_IFS
12527 test -z "$as_dir" && as_dir=.
12528 for ac_exec_ext in '' $ac_executable_extensions; do
12529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12530 ac_cv_prog_ft_devel="freetype-config"
12531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12532 break 2
12534 done
12535 done
12536 IFS=$as_save_IFS
12538 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12541 ft_devel=$ac_cv_prog_ft_devel
12542 if test -n "$ft_devel"; then
12543 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12544 echo "${ECHO_T}$ft_devel" >&6; }
12545 else
12546 { echo "$as_me:$LINENO: result: no" >&5
12547 echo "${ECHO_T}no" >&6; }
12551 if test "$ft_devel" = "no"
12552 then
12553 # Extract the first word of "freetype2-config", so it can be a program name with args.
12554 set dummy freetype2-config; ac_word=$2
12555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12557 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 else
12560 if test -n "$ft_devel2"; then
12561 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12562 else
12563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12564 for as_dir in $PATH
12566 IFS=$as_save_IFS
12567 test -z "$as_dir" && as_dir=.
12568 for ac_exec_ext in '' $ac_executable_extensions; do
12569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12570 ac_cv_prog_ft_devel2="freetype2-config"
12571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12572 break 2
12574 done
12575 done
12576 IFS=$as_save_IFS
12578 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12581 ft_devel2=$ac_cv_prog_ft_devel2
12582 if test -n "$ft_devel2"; then
12583 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12584 echo "${ECHO_T}$ft_devel2" >&6; }
12585 else
12586 { echo "$as_me:$LINENO: result: no" >&5
12587 echo "${ECHO_T}no" >&6; }
12591 if test "$ft_devel2" = "freetype2-config"
12592 then
12593 ft_devel=$ft_devel2
12597 if test "$ft_devel" = "no"
12598 then
12599 wine_cv_msg_freetype=yes
12600 else
12601 FREETYPELIBS=`$ft_devel --libs`
12602 FREETYPEINCL=`$ft_devel --cflags`
12603 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12604 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12605 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 else
12608 ac_check_lib_save_LIBS=$LIBS
12609 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12610 cat >conftest.$ac_ext <<_ACEOF
12611 /* confdefs.h. */
12612 _ACEOF
12613 cat confdefs.h >>conftest.$ac_ext
12614 cat >>conftest.$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char FT_Init_FreeType ();
12625 main ()
12627 return FT_Init_FreeType ();
12629 return 0;
12631 _ACEOF
12632 rm -f conftest.$ac_objext conftest$ac_exeext
12633 if { (ac_try="$ac_link"
12634 case "(($ac_try" in
12635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12636 *) ac_try_echo=$ac_try;;
12637 esac
12638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12639 (eval "$ac_link") 2>conftest.er1
12640 ac_status=$?
12641 grep -v '^ *+' conftest.er1 >conftest.err
12642 rm -f conftest.er1
12643 cat conftest.err >&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12647 { (case "(($ac_try" in
12648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12649 *) ac_try_echo=$ac_try;;
12650 esac
12651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12652 (eval "$ac_try") 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try='test -s conftest$ac_exeext'
12657 { (case "(($ac_try" in
12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12660 esac
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_try") 2>&5
12663 ac_status=$?
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; }; then
12666 ac_cv_lib_freetype_FT_Init_FreeType=yes
12667 else
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.$ac_ext >&5
12671 ac_cv_lib_freetype_FT_Init_FreeType=no
12674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12675 conftest$ac_exeext conftest.$ac_ext
12676 LIBS=$ac_check_lib_save_LIBS
12678 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12679 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12680 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12681 ft_lib=yes
12682 else
12683 ft_lib=no
12686 if test "$ft_lib" = "no"
12687 then
12688 wine_cv_msg_freetype=yes
12689 FREETYPELIBS=""
12690 FREETYPEINCL=""
12691 else
12692 ac_save_CPPFLAGS="$CPPFLAGS"
12693 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12705 for ac_header in ft2build.h \
12706 freetype/freetype.h \
12707 freetype/ftglyph.h \
12708 freetype/tttables.h \
12709 freetype/ftnames.h \
12710 freetype/ftsnames.h \
12711 freetype/ttnameid.h \
12712 freetype/ftoutln.h \
12713 freetype/ftwinfnt.h \
12714 freetype/ftmodapi.h \
12715 freetype/internal/sfnt.h
12717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 else
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 #if HAVE_FT2BUILD_H
12730 #include <ft2build.h>
12731 #endif
12733 #include <$ac_header>
12734 _ACEOF
12735 rm -f conftest.$ac_objext
12736 if { (ac_try="$ac_compile"
12737 case "(($ac_try" in
12738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12739 *) ac_try_echo=$ac_try;;
12740 esac
12741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12742 (eval "$ac_compile") 2>conftest.er1
12743 ac_status=$?
12744 grep -v '^ *+' conftest.er1 >conftest.err
12745 rm -f conftest.er1
12746 cat conftest.err >&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12750 { (case "(($ac_try" in
12751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12752 *) ac_try_echo=$ac_try;;
12753 esac
12754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12755 (eval "$ac_try") 2>&5
12756 ac_status=$?
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try='test -s conftest.$ac_objext'
12760 { (case "(($ac_try" in
12761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12762 *) ac_try_echo=$ac_try;;
12763 esac
12764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12765 (eval "$ac_try") 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 eval "$as_ac_Header=yes"
12770 else
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5
12774 eval "$as_ac_Header=no"
12777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12779 ac_res=`eval echo '${'$as_ac_Header'}'`
12780 { echo "$as_me:$LINENO: result: $ac_res" >&5
12781 echo "${ECHO_T}$ac_res" >&6; }
12782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12783 cat >>confdefs.h <<_ACEOF
12784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12785 _ACEOF
12789 done
12791 cat >conftest.$ac_ext <<_ACEOF
12792 /* confdefs.h. */
12793 _ACEOF
12794 cat confdefs.h >>conftest.$ac_ext
12795 cat >>conftest.$ac_ext <<_ACEOF
12796 /* end confdefs.h. */
12797 #include <ft2build.h>
12798 #include <freetype/fttrigon.h>
12799 _ACEOF
12800 if { (ac_try="$ac_cpp conftest.$ac_ext"
12801 case "(($ac_try" in
12802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12803 *) ac_try_echo=$ac_try;;
12804 esac
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } >/dev/null; then
12813 if test -s conftest.err; then
12814 ac_cpp_err=$ac_c_preproc_warn_flag
12815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12816 else
12817 ac_cpp_err=
12819 else
12820 ac_cpp_err=yes
12822 if test -z "$ac_cpp_err"; then
12824 cat >>confdefs.h <<\_ACEOF
12825 #define HAVE_FREETYPE_FTTRIGON_H 1
12826 _ACEOF
12828 wine_cv_fttrigon=yes
12829 else
12830 echo "$as_me: failed program was:" >&5
12831 sed 's/^/| /' conftest.$ac_ext >&5
12833 wine_cv_fttrigon=no
12836 rm -f conftest.err conftest.$ac_ext
12837 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12838 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12839 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12840 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 else
12842 cat >conftest.$ac_ext <<_ACEOF
12843 /* confdefs.h. */
12844 _ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 #include <freetype/ftmodapi.h>
12850 typedef FT_TrueTypeEngineType ac__type_new_;
12852 main ()
12854 if ((ac__type_new_ *) 0)
12855 return 0;
12856 if (sizeof (ac__type_new_))
12857 return 0;
12859 return 0;
12861 _ACEOF
12862 rm -f conftest.$ac_objext
12863 if { (ac_try="$ac_compile"
12864 case "(($ac_try" in
12865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12866 *) ac_try_echo=$ac_try;;
12867 esac
12868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12869 (eval "$ac_compile") 2>conftest.er1
12870 ac_status=$?
12871 grep -v '^ *+' conftest.er1 >conftest.err
12872 rm -f conftest.er1
12873 cat conftest.err >&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); } &&
12876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12877 { (case "(($ac_try" in
12878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12879 *) ac_try_echo=$ac_try;;
12880 esac
12881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12882 (eval "$ac_try") 2>&5
12883 ac_status=$?
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }; } &&
12886 { ac_try='test -s conftest.$ac_objext'
12887 { (case "(($ac_try" in
12888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12889 *) ac_try_echo=$ac_try;;
12890 esac
12891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12892 (eval "$ac_try") 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 ac_cv_type_FT_TrueTypeEngineType=yes
12897 else
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.$ac_ext >&5
12901 ac_cv_type_FT_TrueTypeEngineType=no
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12906 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12907 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12908 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12910 cat >>confdefs.h <<_ACEOF
12911 #define HAVE_FT_TRUETYPEENGINETYPE 1
12912 _ACEOF
12917 ac_save_CFLAGS="$CFLAGS"
12918 CFLAGS="$CFLAGS $FREETYPELIBS"
12920 for ac_func in FT_Load_Sfnt_Table
12922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 else
12928 cat >conftest.$ac_ext <<_ACEOF
12929 /* confdefs.h. */
12930 _ACEOF
12931 cat confdefs.h >>conftest.$ac_ext
12932 cat >>conftest.$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12936 #define $ac_func innocuous_$ac_func
12938 /* System header to define __stub macros and hopefully few prototypes,
12939 which can conflict with char $ac_func (); below.
12940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12941 <limits.h> exists even on freestanding compilers. */
12943 #ifdef __STDC__
12944 # include <limits.h>
12945 #else
12946 # include <assert.h>
12947 #endif
12949 #undef $ac_func
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char $ac_func ();
12958 /* The GNU C library defines this for functions which it implements
12959 to always fail with ENOSYS. Some functions are actually named
12960 something starting with __ and the normal name is an alias. */
12961 #if defined __stub_$ac_func || defined __stub___$ac_func
12962 choke me
12963 #endif
12966 main ()
12968 return $ac_func ();
12970 return 0;
12972 _ACEOF
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (ac_try="$ac_link"
12975 case "(($ac_try" in
12976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12977 *) ac_try_echo=$ac_try;;
12978 esac
12979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 (eval "$ac_link") 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12988 { (case "(($ac_try" in
12989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12990 *) ac_try_echo=$ac_try;;
12991 esac
12992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12993 (eval "$ac_try") 2>&5
12994 ac_status=$?
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; } &&
12997 { ac_try='test -s conftest$ac_exeext'
12998 { (case "(($ac_try" in
12999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13000 *) ac_try_echo=$ac_try;;
13001 esac
13002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13003 (eval "$ac_try") 2>&5
13004 ac_status=$?
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 eval "$as_ac_var=yes"
13008 else
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.$ac_ext >&5
13012 eval "$as_ac_var=no"
13015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13016 conftest$ac_exeext conftest.$ac_ext
13018 ac_res=`eval echo '${'$as_ac_var'}'`
13019 { echo "$as_me:$LINENO: result: $ac_res" >&5
13020 echo "${ECHO_T}$ac_res" >&6; }
13021 if test `eval echo '${'$as_ac_var'}'` = yes; then
13022 cat >>confdefs.h <<_ACEOF
13023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13024 _ACEOF
13027 done
13029 CFLAGS="$ac_save_CFLAGS"
13030 CPPFLAGS="$ac_save_CPPFLAGS"
13031 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13032 then
13034 cat >>confdefs.h <<\_ACEOF
13035 #define HAVE_FREETYPE 1
13036 _ACEOF
13038 wine_cv_msg_freetype=no
13039 else
13040 FREETYPELIBS=""
13041 FREETYPEINCL=""
13042 wine_cv_msg_freetype=yes
13047 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13048 then
13049 FONTSSUBDIRS="fonts"
13053 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13054 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13055 if test "${ac_cv_c_ppdev+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13057 else
13058 cat >conftest.$ac_ext <<_ACEOF
13059 /* confdefs.h. */
13060 _ACEOF
13061 cat confdefs.h >>conftest.$ac_ext
13062 cat >>conftest.$ac_ext <<_ACEOF
13063 /* end confdefs.h. */
13064 #include <linux/ppdev.h>
13066 main ()
13068 ioctl (1,PPCLAIM,0)
13070 return 0;
13072 _ACEOF
13073 rm -f conftest.$ac_objext
13074 if { (ac_try="$ac_compile"
13075 case "(($ac_try" in
13076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13077 *) ac_try_echo=$ac_try;;
13078 esac
13079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13080 (eval "$ac_compile") 2>conftest.er1
13081 ac_status=$?
13082 grep -v '^ *+' conftest.er1 >conftest.err
13083 rm -f conftest.er1
13084 cat conftest.err >&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } &&
13087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13088 { (case "(($ac_try" in
13089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13091 esac
13092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13093 (eval "$ac_try") 2>&5
13094 ac_status=$?
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }; } &&
13097 { ac_try='test -s conftest.$ac_objext'
13098 { (case "(($ac_try" in
13099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13100 *) ac_try_echo=$ac_try;;
13101 esac
13102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13103 (eval "$ac_try") 2>&5
13104 ac_status=$?
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; }; then
13107 ac_cv_c_ppdev="yes"
13108 else
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13112 ac_cv_c_ppdev="no"
13115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13118 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13119 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13120 if test "$ac_cv_c_ppdev" = "yes"
13121 then
13123 cat >>confdefs.h <<\_ACEOF
13124 #define HAVE_PPDEV 1
13125 _ACEOF
13129 { echo "$as_me:$LINENO: checking for va_copy" >&5
13130 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13131 if test "${ac_cv_c_va_copy+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 else
13134 cat >conftest.$ac_ext <<_ACEOF
13135 /* confdefs.h. */
13136 _ACEOF
13137 cat confdefs.h >>conftest.$ac_ext
13138 cat >>conftest.$ac_ext <<_ACEOF
13139 /* end confdefs.h. */
13140 #include <stdarg.h>
13142 main ()
13144 va_list ap1, ap2;
13145 va_copy(ap1,ap2);
13148 return 0;
13150 _ACEOF
13151 rm -f conftest.$ac_objext conftest$ac_exeext
13152 if { (ac_try="$ac_link"
13153 case "(($ac_try" in
13154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13155 *) ac_try_echo=$ac_try;;
13156 esac
13157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13158 (eval "$ac_link") 2>conftest.er1
13159 ac_status=$?
13160 grep -v '^ *+' conftest.er1 >conftest.err
13161 rm -f conftest.er1
13162 cat conftest.err >&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13166 { (case "(($ac_try" in
13167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13168 *) ac_try_echo=$ac_try;;
13169 esac
13170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13171 (eval "$ac_try") 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; } &&
13175 { ac_try='test -s conftest$ac_exeext'
13176 { (case "(($ac_try" in
13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 *) ac_try_echo=$ac_try;;
13179 esac
13180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13181 (eval "$ac_try") 2>&5
13182 ac_status=$?
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; }; then
13185 ac_cv_c_va_copy="yes"
13186 else
13187 echo "$as_me: failed program was:" >&5
13188 sed 's/^/| /' conftest.$ac_ext >&5
13190 ac_cv_c_va_copy="no"
13193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13194 conftest$ac_exeext conftest.$ac_ext
13197 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13198 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13199 if test "$ac_cv_c_va_copy" = "yes"
13200 then
13202 cat >>confdefs.h <<\_ACEOF
13203 #define HAVE_VA_COPY 1
13204 _ACEOF
13207 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13208 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13209 if test "${ac_cv_c___va_copy+set}" = set; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13211 else
13212 cat >conftest.$ac_ext <<_ACEOF
13213 /* confdefs.h. */
13214 _ACEOF
13215 cat confdefs.h >>conftest.$ac_ext
13216 cat >>conftest.$ac_ext <<_ACEOF
13217 /* end confdefs.h. */
13218 #include <stdarg.h>
13220 main ()
13222 va_list ap1, ap2;
13223 __va_copy(ap1,ap2);
13226 return 0;
13228 _ACEOF
13229 rm -f conftest.$ac_objext conftest$ac_exeext
13230 if { (ac_try="$ac_link"
13231 case "(($ac_try" in
13232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13233 *) ac_try_echo=$ac_try;;
13234 esac
13235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13236 (eval "$ac_link") 2>conftest.er1
13237 ac_status=$?
13238 grep -v '^ *+' conftest.er1 >conftest.err
13239 rm -f conftest.er1
13240 cat conftest.err >&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } &&
13243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13244 { (case "(($ac_try" in
13245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 *) ac_try_echo=$ac_try;;
13247 esac
13248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13249 (eval "$ac_try") 2>&5
13250 ac_status=$?
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; } &&
13253 { ac_try='test -s conftest$ac_exeext'
13254 { (case "(($ac_try" in
13255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13256 *) ac_try_echo=$ac_try;;
13257 esac
13258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13259 (eval "$ac_try") 2>&5
13260 ac_status=$?
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 ac_cv_c___va_copy="yes"
13264 else
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.$ac_ext >&5
13268 ac_cv_c___va_copy="no"
13271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13272 conftest$ac_exeext conftest.$ac_ext
13275 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13276 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13277 if test "$ac_cv_c___va_copy" = "yes"
13278 then
13280 cat >>confdefs.h <<\_ACEOF
13281 #define HAVE___VA_COPY 1
13282 _ACEOF
13286 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13287 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13288 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 cat >conftest.$ac_ext <<_ACEOF
13292 /* confdefs.h. */
13293 _ACEOF
13294 cat confdefs.h >>conftest.$ac_ext
13295 cat >>conftest.$ac_ext <<_ACEOF
13296 /* end confdefs.h. */
13297 #include <setjmp.h>
13299 main ()
13301 sigjmp_buf buf;
13302 sigsetjmp( buf, 1 );
13303 siglongjmp( buf, 1 );
13305 return 0;
13307 _ACEOF
13308 rm -f conftest.$ac_objext conftest$ac_exeext
13309 if { (ac_try="$ac_link"
13310 case "(($ac_try" in
13311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13312 *) ac_try_echo=$ac_try;;
13313 esac
13314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13315 (eval "$ac_link") 2>conftest.er1
13316 ac_status=$?
13317 grep -v '^ *+' conftest.er1 >conftest.err
13318 rm -f conftest.er1
13319 cat conftest.err >&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); } &&
13322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13323 { (case "(($ac_try" in
13324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13325 *) ac_try_echo=$ac_try;;
13326 esac
13327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13328 (eval "$ac_try") 2>&5
13329 ac_status=$?
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; } &&
13332 { ac_try='test -s conftest$ac_exeext'
13333 { (case "(($ac_try" in
13334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13335 *) ac_try_echo=$ac_try;;
13336 esac
13337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13338 (eval "$ac_try") 2>&5
13339 ac_status=$?
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 ac_cv_c_sigsetjmp="yes"
13343 else
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.$ac_ext >&5
13347 ac_cv_c_sigsetjmp="no"
13350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13351 conftest$ac_exeext conftest.$ac_ext
13354 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13355 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13356 if test "$ac_cv_c_sigsetjmp" = "yes"
13357 then
13359 cat >>confdefs.h <<\_ACEOF
13360 #define HAVE_SIGSETJMP 1
13361 _ACEOF
13365 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13366 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13367 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13369 else
13370 cat >conftest.$ac_ext <<_ACEOF
13371 /* confdefs.h. */
13372 _ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376 #define _GNU_SOURCE
13377 #include <pthread.h>
13379 typedef pthread_rwlock_t ac__type_new_;
13381 main ()
13383 if ((ac__type_new_ *) 0)
13384 return 0;
13385 if (sizeof (ac__type_new_))
13386 return 0;
13388 return 0;
13390 _ACEOF
13391 rm -f conftest.$ac_objext
13392 if { (ac_try="$ac_compile"
13393 case "(($ac_try" in
13394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13395 *) ac_try_echo=$ac_try;;
13396 esac
13397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13398 (eval "$ac_compile") 2>conftest.er1
13399 ac_status=$?
13400 grep -v '^ *+' conftest.er1 >conftest.err
13401 rm -f conftest.er1
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13406 { (case "(($ac_try" in
13407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13408 *) ac_try_echo=$ac_try;;
13409 esac
13410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13411 (eval "$ac_try") 2>&5
13412 ac_status=$?
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; } &&
13415 { ac_try='test -s conftest.$ac_objext'
13416 { (case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13419 esac
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_try") 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; }; then
13425 ac_cv_type_pthread_rwlock_t=yes
13426 else
13427 echo "$as_me: failed program was:" >&5
13428 sed 's/^/| /' conftest.$ac_ext >&5
13430 ac_cv_type_pthread_rwlock_t=no
13433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13435 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13436 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13437 if test $ac_cv_type_pthread_rwlock_t = yes; then
13439 cat >>confdefs.h <<_ACEOF
13440 #define HAVE_PTHREAD_RWLOCK_T 1
13441 _ACEOF
13445 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13446 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13447 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 else
13450 cat >conftest.$ac_ext <<_ACEOF
13451 /* confdefs.h. */
13452 _ACEOF
13453 cat confdefs.h >>conftest.$ac_ext
13454 cat >>conftest.$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 #define _GNU_SOURCE
13457 #include <pthread.h>
13459 typedef pthread_rwlockattr_t ac__type_new_;
13461 main ()
13463 if ((ac__type_new_ *) 0)
13464 return 0;
13465 if (sizeof (ac__type_new_))
13466 return 0;
13468 return 0;
13470 _ACEOF
13471 rm -f conftest.$ac_objext
13472 if { (ac_try="$ac_compile"
13473 case "(($ac_try" in
13474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13475 *) ac_try_echo=$ac_try;;
13476 esac
13477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13478 (eval "$ac_compile") 2>conftest.er1
13479 ac_status=$?
13480 grep -v '^ *+' conftest.er1 >conftest.err
13481 rm -f conftest.er1
13482 cat conftest.err >&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13486 { (case "(($ac_try" in
13487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13488 *) ac_try_echo=$ac_try;;
13489 esac
13490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13491 (eval "$ac_try") 2>&5
13492 ac_status=$?
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; } &&
13495 { ac_try='test -s conftest.$ac_objext'
13496 { (case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13499 esac
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_try") 2>&5
13502 ac_status=$?
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; }; then
13505 ac_cv_type_pthread_rwlockattr_t=yes
13506 else
13507 echo "$as_me: failed program was:" >&5
13508 sed 's/^/| /' conftest.$ac_ext >&5
13510 ac_cv_type_pthread_rwlockattr_t=no
13513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13515 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13516 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13517 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13519 cat >>confdefs.h <<_ACEOF
13520 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13521 _ACEOF
13527 ac_wine_check_funcs_save_LIBS="$LIBS"
13528 LIBS="$LIBS $LIBPTHREAD"
13533 for ac_func in \
13534 pthread_attr_get_np \
13535 pthread_getattr_np \
13536 pthread_get_stackaddr_np \
13537 pthread_get_stacksize_np
13539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 else
13545 cat >conftest.$ac_ext <<_ACEOF
13546 /* confdefs.h. */
13547 _ACEOF
13548 cat confdefs.h >>conftest.$ac_ext
13549 cat >>conftest.$ac_ext <<_ACEOF
13550 /* end confdefs.h. */
13551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13553 #define $ac_func innocuous_$ac_func
13555 /* System header to define __stub macros and hopefully few prototypes,
13556 which can conflict with char $ac_func (); below.
13557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13558 <limits.h> exists even on freestanding compilers. */
13560 #ifdef __STDC__
13561 # include <limits.h>
13562 #else
13563 # include <assert.h>
13564 #endif
13566 #undef $ac_func
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13571 #ifdef __cplusplus
13572 extern "C"
13573 #endif
13574 char $ac_func ();
13575 /* The GNU C library defines this for functions which it implements
13576 to always fail with ENOSYS. Some functions are actually named
13577 something starting with __ and the normal name is an alias. */
13578 #if defined __stub_$ac_func || defined __stub___$ac_func
13579 choke me
13580 #endif
13583 main ()
13585 return $ac_func ();
13587 return 0;
13589 _ACEOF
13590 rm -f conftest.$ac_objext conftest$ac_exeext
13591 if { (ac_try="$ac_link"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595 esac
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_link") 2>conftest.er1
13598 ac_status=$?
13599 grep -v '^ *+' conftest.er1 >conftest.err
13600 rm -f conftest.er1
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13605 { (case "(($ac_try" in
13606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13607 *) ac_try_echo=$ac_try;;
13608 esac
13609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13610 (eval "$ac_try") 2>&5
13611 ac_status=$?
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; } &&
13614 { ac_try='test -s conftest$ac_exeext'
13615 { (case "(($ac_try" in
13616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13617 *) ac_try_echo=$ac_try;;
13618 esac
13619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13620 (eval "$ac_try") 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13624 eval "$as_ac_var=yes"
13625 else
13626 echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.$ac_ext >&5
13629 eval "$as_ac_var=no"
13632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13633 conftest$ac_exeext conftest.$ac_ext
13635 ac_res=`eval echo '${'$as_ac_var'}'`
13636 { echo "$as_me:$LINENO: result: $ac_res" >&5
13637 echo "${ECHO_T}$ac_res" >&6; }
13638 if test `eval echo '${'$as_ac_var'}'` = yes; then
13639 cat >>confdefs.h <<_ACEOF
13640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13641 _ACEOF
13644 done
13646 LIBS="$ac_wine_check_funcs_save_LIBS"
13648 # Extract the first word of "artsc-config", so it can be a program name with args.
13649 set dummy artsc-config; ac_word=$2
13650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13652 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 else
13655 case $ARTSCCONFIG in
13656 [\\/]* | ?:[\\/]*)
13657 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13661 for as_dir in $PATH
13663 IFS=$as_save_IFS
13664 test -z "$as_dir" && as_dir=.
13665 for ac_exec_ext in '' $ac_executable_extensions; do
13666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13667 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13669 break 2
13671 done
13672 done
13673 IFS=$as_save_IFS
13676 esac
13678 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13679 if test -n "$ARTSCCONFIG"; then
13680 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13681 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13682 else
13683 { echo "$as_me:$LINENO: result: no" >&5
13684 echo "${ECHO_T}no" >&6; }
13688 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13689 then
13690 ARTSC_CFLAGS=""
13691 for i in `$ARTSCCONFIG --cflags`
13693 case "$i" in
13694 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13695 esac
13696 done
13697 ARTSC_LIBS=""
13698 for i in `$ARTSCCONFIG --libs`
13700 case "$i" in
13701 -L/usr/lib|-L/usr/lib64) ;;
13702 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13703 esac
13704 done
13705 save_CFLAGS="$CFLAGS"
13706 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13707 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13708 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13709 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 else
13712 ac_check_lib_save_LIBS=$LIBS
13713 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13714 cat >conftest.$ac_ext <<_ACEOF
13715 /* confdefs.h. */
13716 _ACEOF
13717 cat confdefs.h >>conftest.$ac_ext
13718 cat >>conftest.$ac_ext <<_ACEOF
13719 /* end confdefs.h. */
13721 /* Override any GCC internal prototype to avoid an error.
13722 Use char because int might match the return type of a GCC
13723 builtin and then its argument prototype would still apply. */
13724 #ifdef __cplusplus
13725 extern "C"
13726 #endif
13727 char arts_init ();
13729 main ()
13731 return arts_init ();
13733 return 0;
13735 _ACEOF
13736 rm -f conftest.$ac_objext conftest$ac_exeext
13737 if { (ac_try="$ac_link"
13738 case "(($ac_try" in
13739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13740 *) ac_try_echo=$ac_try;;
13741 esac
13742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13743 (eval "$ac_link") 2>conftest.er1
13744 ac_status=$?
13745 grep -v '^ *+' conftest.er1 >conftest.err
13746 rm -f conftest.er1
13747 cat conftest.err >&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13751 { (case "(($ac_try" in
13752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13753 *) ac_try_echo=$ac_try;;
13754 esac
13755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13756 (eval "$ac_try") 2>&5
13757 ac_status=$?
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; } &&
13760 { ac_try='test -s conftest$ac_exeext'
13761 { (case "(($ac_try" in
13762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13763 *) ac_try_echo=$ac_try;;
13764 esac
13765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13766 (eval "$ac_try") 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; }; then
13770 ac_cv_lib_artsc_arts_init=yes
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13775 ac_cv_lib_artsc_arts_init=no
13778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS=$ac_check_lib_save_LIBS
13782 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13783 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13784 if test $ac_cv_lib_artsc_arts_init = yes; then
13785 cat >conftest.$ac_ext <<_ACEOF
13786 /* confdefs.h. */
13787 _ACEOF
13788 cat confdefs.h >>conftest.$ac_ext
13789 cat >>conftest.$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13791 #include <artsc.h>
13793 main ()
13795 arts_stream_t stream;
13797 return 0;
13799 _ACEOF
13800 rm -f conftest.$ac_objext
13801 if { (ac_try="$ac_compile"
13802 case "(($ac_try" in
13803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13804 *) ac_try_echo=$ac_try;;
13805 esac
13806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13807 (eval "$ac_compile") 2>conftest.er1
13808 ac_status=$?
13809 grep -v '^ *+' conftest.er1 >conftest.err
13810 rm -f conftest.er1
13811 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } &&
13814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13815 { (case "(($ac_try" in
13816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13817 *) ac_try_echo=$ac_try;;
13818 esac
13819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13820 (eval "$ac_try") 2>&5
13821 ac_status=$?
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; } &&
13824 { ac_try='test -s conftest.$ac_objext'
13825 { (case "(($ac_try" in
13826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13827 *) ac_try_echo=$ac_try;;
13828 esac
13829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13830 (eval "$ac_try") 2>&5
13831 ac_status=$?
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; }; then
13834 ARTSLIBS=$ARTSC_LIBS
13836 ARTSINCL=$ARTSC_CFLAGS
13839 cat >>confdefs.h <<\_ACEOF
13840 #define HAVE_ARTS 1
13841 _ACEOF
13843 else
13844 echo "$as_me: failed program was:" >&5
13845 sed 's/^/| /' conftest.$ac_ext >&5
13850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13853 CFLAGS="$save_CFLAGS"
13856 # Extract the first word of "esd-config", so it can be a program name with args.
13857 set dummy esd-config; ac_word=$2
13858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13860 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 else
13863 case $ESDCONFIG in
13864 [\\/]* | ?:[\\/]*)
13865 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13869 for as_dir in $PATH
13871 IFS=$as_save_IFS
13872 test -z "$as_dir" && as_dir=.
13873 for ac_exec_ext in '' $ac_executable_extensions; do
13874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13875 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13877 break 2
13879 done
13880 done
13881 IFS=$as_save_IFS
13884 esac
13886 ESDCONFIG=$ac_cv_path_ESDCONFIG
13887 if test -n "$ESDCONFIG"; then
13888 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13889 echo "${ECHO_T}$ESDCONFIG" >&6; }
13890 else
13891 { echo "$as_me:$LINENO: result: no" >&5
13892 echo "${ECHO_T}no" >&6; }
13896 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13897 then
13898 ESD_CFLAGS=""
13899 for i in `$ESDCONFIG --cflags`
13901 case "$i" in
13902 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13903 esac
13904 done
13905 ESD_LIBS=`$ESDCONFIG --libs`
13906 save_CFLAGS="$CFLAGS"
13907 CFLAGS="$CFLAGS $ESD_CFLAGS"
13908 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13909 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13910 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13911 echo $ECHO_N "(cached) $ECHO_C" >&6
13912 else
13913 ac_check_lib_save_LIBS=$LIBS
13914 LIBS="-lesd $LIBS"
13915 cat >conftest.$ac_ext <<_ACEOF
13916 /* confdefs.h. */
13917 _ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13922 /* Override any GCC internal prototype to avoid an error.
13923 Use char because int might match the return type of a GCC
13924 builtin and then its argument prototype would still apply. */
13925 #ifdef __cplusplus
13926 extern "C"
13927 #endif
13928 char esd_open_sound ();
13930 main ()
13932 return esd_open_sound ();
13934 return 0;
13936 _ACEOF
13937 rm -f conftest.$ac_objext conftest$ac_exeext
13938 if { (ac_try="$ac_link"
13939 case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13942 esac
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_link") 2>conftest.er1
13945 ac_status=$?
13946 grep -v '^ *+' conftest.er1 >conftest.err
13947 rm -f conftest.er1
13948 cat conftest.err >&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13952 { (case "(($ac_try" in
13953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13954 *) ac_try_echo=$ac_try;;
13955 esac
13956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13957 (eval "$ac_try") 2>&5
13958 ac_status=$?
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); }; } &&
13961 { ac_try='test -s conftest$ac_exeext'
13962 { (case "(($ac_try" in
13963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13964 *) ac_try_echo=$ac_try;;
13965 esac
13966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13967 (eval "$ac_try") 2>&5
13968 ac_status=$?
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; }; then
13971 ac_cv_lib_esd_esd_open_sound=yes
13972 else
13973 echo "$as_me: failed program was:" >&5
13974 sed 's/^/| /' conftest.$ac_ext >&5
13976 ac_cv_lib_esd_esd_open_sound=no
13979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS=$ac_check_lib_save_LIBS
13983 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13984 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13985 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13986 ESDLIBS=$ESD_LIBS
13988 ESDINCL=$ESD_CFLAGS
13991 cat >>confdefs.h <<\_ACEOF
13992 #define HAVE_ESD 1
13993 _ACEOF
13997 CFLAGS="$save_CFLAGS"
14000 ALSALIBS=""
14002 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14003 then
14004 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14005 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14006 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14007 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 else
14009 ac_check_lib_save_LIBS=$LIBS
14010 LIBS="-lasound $LIBS"
14011 cat >conftest.$ac_ext <<_ACEOF
14012 /* confdefs.h. */
14013 _ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14018 /* Override any GCC internal prototype to avoid an error.
14019 Use char because int might match the return type of a GCC
14020 builtin and then its argument prototype would still apply. */
14021 #ifdef __cplusplus
14022 extern "C"
14023 #endif
14024 char snd_pcm_hw_params_get_access ();
14026 main ()
14028 return snd_pcm_hw_params_get_access ();
14030 return 0;
14032 _ACEOF
14033 rm -f conftest.$ac_objext conftest$ac_exeext
14034 if { (ac_try="$ac_link"
14035 case "(($ac_try" in
14036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14037 *) ac_try_echo=$ac_try;;
14038 esac
14039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14040 (eval "$ac_link") 2>conftest.er1
14041 ac_status=$?
14042 grep -v '^ *+' conftest.er1 >conftest.err
14043 rm -f conftest.er1
14044 cat conftest.err >&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } &&
14047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14048 { (case "(($ac_try" in
14049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14050 *) ac_try_echo=$ac_try;;
14051 esac
14052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14053 (eval "$ac_try") 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; } &&
14057 { ac_try='test -s conftest$ac_exeext'
14058 { (case "(($ac_try" in
14059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14060 *) ac_try_echo=$ac_try;;
14061 esac
14062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14063 (eval "$ac_try") 2>&5
14064 ac_status=$?
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14068 else
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.$ac_ext >&5
14072 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_lib_save_LIBS
14079 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14080 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14081 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14082 cat >conftest.$ac_ext <<_ACEOF
14083 /* confdefs.h. */
14084 _ACEOF
14085 cat confdefs.h >>conftest.$ac_ext
14086 cat >>conftest.$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14088 #ifdef HAVE_ALSA_ASOUNDLIB_H
14089 #include <alsa/asoundlib.h>
14090 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14091 #include <sys/asoundlib.h>
14092 #endif
14094 main ()
14096 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14098 return 0;
14100 _ACEOF
14101 rm -f conftest.$ac_objext
14102 if { (ac_try="$ac_compile"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106 esac
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_compile") 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14116 { (case "(($ac_try" in
14117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14119 esac
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_try") 2>&5
14122 ac_status=$?
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try='test -s conftest.$ac_objext'
14126 { (case "(($ac_try" in
14127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14128 *) ac_try_echo=$ac_try;;
14129 esac
14130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14131 (eval "$ac_try") 2>&5
14132 ac_status=$?
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; }; then
14136 cat >>confdefs.h <<\_ACEOF
14137 #define HAVE_ALSA 1
14138 _ACEOF
14140 ALSALIBS="-lasound"
14141 else
14142 echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.$ac_ext >&5
14148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 AUDIOIOLIBS=""
14156 if test "$ac_cv_header_libaudioio_h" = "yes"
14157 then
14158 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14159 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14160 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14161 echo $ECHO_N "(cached) $ECHO_C" >&6
14162 else
14163 ac_check_lib_save_LIBS=$LIBS
14164 LIBS="-laudioio $LIBS"
14165 cat >conftest.$ac_ext <<_ACEOF
14166 /* confdefs.h. */
14167 _ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 #ifdef __cplusplus
14176 extern "C"
14177 #endif
14178 char AudioIOGetVersion ();
14180 main ()
14182 return AudioIOGetVersion ();
14184 return 0;
14186 _ACEOF
14187 rm -f conftest.$ac_objext conftest$ac_exeext
14188 if { (ac_try="$ac_link"
14189 case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14192 esac
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_link") 2>conftest.er1
14195 ac_status=$?
14196 grep -v '^ *+' conftest.er1 >conftest.err
14197 rm -f conftest.er1
14198 cat conftest.err >&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } &&
14201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14202 { (case "(($ac_try" in
14203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14204 *) ac_try_echo=$ac_try;;
14205 esac
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14207 (eval "$ac_try") 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try='test -s conftest$ac_exeext'
14212 { (case "(($ac_try" in
14213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14214 *) ac_try_echo=$ac_try;;
14215 esac
14216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14217 (eval "$ac_try") 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; }; then
14221 ac_cv_lib_audioio_AudioIOGetVersion=yes
14222 else
14223 echo "$as_me: failed program was:" >&5
14224 sed 's/^/| /' conftest.$ac_ext >&5
14226 ac_cv_lib_audioio_AudioIOGetVersion=no
14229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_lib_save_LIBS
14233 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14234 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14235 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14236 AUDIOIOLIBS="-laudioio"
14238 cat >>confdefs.h <<\_ACEOF
14239 #define HAVE_LIBAUDIOIO 1
14240 _ACEOF
14247 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14248 then
14249 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14250 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14251 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14253 else
14254 ac_check_lib_save_LIBS=$LIBS
14255 LIBS="-lcapi20 $LIBS"
14256 cat >conftest.$ac_ext <<_ACEOF
14257 /* confdefs.h. */
14258 _ACEOF
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 #ifdef __cplusplus
14267 extern "C"
14268 #endif
14269 char capi20_register ();
14271 main ()
14273 return capi20_register ();
14275 return 0;
14277 _ACEOF
14278 rm -f conftest.$ac_objext conftest$ac_exeext
14279 if { (ac_try="$ac_link"
14280 case "(($ac_try" in
14281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14282 *) ac_try_echo=$ac_try;;
14283 esac
14284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14285 (eval "$ac_link") 2>conftest.er1
14286 ac_status=$?
14287 grep -v '^ *+' conftest.er1 >conftest.err
14288 rm -f conftest.er1
14289 cat conftest.err >&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14293 { (case "(($ac_try" in
14294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14295 *) ac_try_echo=$ac_try;;
14296 esac
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_try") 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; } &&
14302 { ac_try='test -s conftest$ac_exeext'
14303 { (case "(($ac_try" in
14304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14305 *) ac_try_echo=$ac_try;;
14306 esac
14307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 (eval "$ac_try") 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_lib_capi20_capi20_register=yes
14313 else
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14317 ac_cv_lib_capi20_capi20_register=no
14320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS
14324 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14325 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14326 if test $ac_cv_lib_capi20_capi20_register = yes; then
14328 cat >>confdefs.h <<\_ACEOF
14329 #define HAVE_CAPI4LINUX 1
14330 _ACEOF
14337 EXTRACFLAGS=""
14339 if test "x${GCC}" = "xyes"
14340 then
14341 EXTRACFLAGS="-Wall -pipe"
14343 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14344 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14345 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 else
14348 if test "$cross_compiling" = yes; then
14349 ac_cv_c_gcc_strength_bug="yes"
14350 else
14351 cat >conftest.$ac_ext <<_ACEOF
14352 /* confdefs.h. */
14353 _ACEOF
14354 cat confdefs.h >>conftest.$ac_ext
14355 cat >>conftest.$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14358 int L[4] = {0,1,2,3};
14359 int main(void) {
14360 static int Array[3];
14361 unsigned int B = 3;
14362 int i;
14363 for(i=0; i<B; i++) Array[i] = i - 3;
14364 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14365 L[i] = 4;
14367 exit( Array[1] != -2 || L[2] != 3);
14369 _ACEOF
14370 rm -f conftest$ac_exeext
14371 if { (ac_try="$ac_link"
14372 case "(($ac_try" in
14373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14374 *) ac_try_echo=$ac_try;;
14375 esac
14376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14377 (eval "$ac_link") 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14381 { (case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14384 esac
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_try") 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_cv_c_gcc_strength_bug="no"
14391 else
14392 echo "$as_me: program exited with status $ac_status" >&5
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 ( exit $ac_status )
14397 ac_cv_c_gcc_strength_bug="yes"
14399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14404 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14405 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14406 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14407 then
14408 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14412 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14413 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14414 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 else
14417 ac_wine_try_cflags_saved=$CFLAGS
14418 CFLAGS="$CFLAGS -fshort-wchar"
14419 cat >conftest.$ac_ext <<_ACEOF
14420 /* confdefs.h. */
14421 _ACEOF
14422 cat confdefs.h >>conftest.$ac_ext
14423 cat >>conftest.$ac_ext <<_ACEOF
14424 /* end confdefs.h. */
14427 main ()
14431 return 0;
14433 _ACEOF
14434 rm -f conftest.$ac_objext conftest$ac_exeext
14435 if { (ac_try="$ac_link"
14436 case "(($ac_try" in
14437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14438 *) ac_try_echo=$ac_try;;
14439 esac
14440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14441 (eval "$ac_link") 2>conftest.er1
14442 ac_status=$?
14443 grep -v '^ *+' conftest.er1 >conftest.err
14444 rm -f conftest.er1
14445 cat conftest.err >&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } &&
14448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14449 { (case "(($ac_try" in
14450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14451 *) ac_try_echo=$ac_try;;
14452 esac
14453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14454 (eval "$ac_try") 2>&5
14455 ac_status=$?
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); }; } &&
14458 { ac_try='test -s conftest$ac_exeext'
14459 { (case "(($ac_try" in
14460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14461 *) ac_try_echo=$ac_try;;
14462 esac
14463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14464 (eval "$ac_try") 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_cv_cflags__fshort_wchar=yes
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 ac_cv_cflags__fshort_wchar=no
14476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14477 conftest$ac_exeext conftest.$ac_ext
14478 CFLAGS=$ac_wine_try_cflags_saved
14480 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14481 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14482 if test $ac_cv_cflags__fshort_wchar = yes; then
14484 cat >>confdefs.h <<\_ACEOF
14485 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14486 _ACEOF
14490 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14491 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14492 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14494 else
14495 ac_wine_try_cflags_saved=$CFLAGS
14496 CFLAGS="$CFLAGS -fno-strict-aliasing"
14497 cat >conftest.$ac_ext <<_ACEOF
14498 /* confdefs.h. */
14499 _ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14505 main ()
14509 return 0;
14511 _ACEOF
14512 rm -f conftest.$ac_objext conftest$ac_exeext
14513 if { (ac_try="$ac_link"
14514 case "(($ac_try" in
14515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14516 *) ac_try_echo=$ac_try;;
14517 esac
14518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14519 (eval "$ac_link") 2>conftest.er1
14520 ac_status=$?
14521 grep -v '^ *+' conftest.er1 >conftest.err
14522 rm -f conftest.er1
14523 cat conftest.err >&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14527 { (case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14530 esac
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_try") 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; } &&
14536 { ac_try='test -s conftest$ac_exeext'
14537 { (case "(($ac_try" in
14538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14539 *) ac_try_echo=$ac_try;;
14540 esac
14541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14542 (eval "$ac_try") 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_cv_cflags__fno_strict_aliasing=yes
14547 else
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.$ac_ext >&5
14551 ac_cv_cflags__fno_strict_aliasing=no
14554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14555 conftest$ac_exeext conftest.$ac_ext
14556 CFLAGS=$ac_wine_try_cflags_saved
14558 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14559 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14560 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14561 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14564 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14565 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14566 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14579 main ()
14583 return 0;
14585 _ACEOF
14586 rm -f conftest.$ac_objext conftest$ac_exeext
14587 if { (ac_try="$ac_link"
14588 case "(($ac_try" in
14589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14590 *) ac_try_echo=$ac_try;;
14591 esac
14592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14593 (eval "$ac_link") 2>conftest.er1
14594 ac_status=$?
14595 grep -v '^ *+' conftest.er1 >conftest.err
14596 rm -f conftest.er1
14597 cat conftest.err >&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14601 { (case "(($ac_try" in
14602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14603 *) ac_try_echo=$ac_try;;
14604 esac
14605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14606 (eval "$ac_try") 2>&5
14607 ac_status=$?
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; } &&
14610 { ac_try='test -s conftest$ac_exeext'
14611 { (case "(($ac_try" in
14612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14613 *) ac_try_echo=$ac_try;;
14614 esac
14615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14616 (eval "$ac_try") 2>&5
14617 ac_status=$?
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; }; then
14620 ac_cv_cflags__Wdeclaration_after_statement=yes
14621 else
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14625 ac_cv_cflags__Wdeclaration_after_statement=no
14628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14629 conftest$ac_exeext conftest.$ac_ext
14630 CFLAGS=$ac_wine_try_cflags_saved
14632 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14633 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14634 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14635 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14638 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14639 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14640 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 else
14643 ac_wine_try_cflags_saved=$CFLAGS
14644 CFLAGS="$CFLAGS -Wwrite-strings"
14645 cat >conftest.$ac_ext <<_ACEOF
14646 /* confdefs.h. */
14647 _ACEOF
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14653 main ()
14657 return 0;
14659 _ACEOF
14660 rm -f conftest.$ac_objext conftest$ac_exeext
14661 if { (ac_try="$ac_link"
14662 case "(($ac_try" in
14663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14664 *) ac_try_echo=$ac_try;;
14665 esac
14666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14667 (eval "$ac_link") 2>conftest.er1
14668 ac_status=$?
14669 grep -v '^ *+' conftest.er1 >conftest.err
14670 rm -f conftest.er1
14671 cat conftest.err >&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14684 { ac_try='test -s conftest$ac_exeext'
14685 { (case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_try") 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_cv_cflags__Wwrite_strings=yes
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_cflags__Wwrite_strings=no
14702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14703 conftest$ac_exeext conftest.$ac_ext
14704 CFLAGS=$ac_wine_try_cflags_saved
14706 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14707 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14708 if test $ac_cv_cflags__Wwrite_strings = yes; then
14709 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14713 saved_CFLAGS="$CFLAGS"
14714 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14715 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14716 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14717 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 else
14720 cat >conftest.$ac_ext <<_ACEOF
14721 /* confdefs.h. */
14722 _ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #include <string.h>
14728 main ()
14732 return 0;
14734 _ACEOF
14735 rm -f conftest.$ac_objext
14736 if { (ac_try="$ac_compile"
14737 case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14740 esac
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_compile") 2>conftest.er1
14743 ac_status=$?
14744 grep -v '^ *+' conftest.er1 >conftest.err
14745 rm -f conftest.er1
14746 cat conftest.err >&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } &&
14749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14750 { (case "(($ac_try" in
14751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14752 *) ac_try_echo=$ac_try;;
14753 esac
14754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14755 (eval "$ac_try") 2>&5
14756 ac_status=$?
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; } &&
14759 { ac_try='test -s conftest.$ac_objext'
14760 { (case "(($ac_try" in
14761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14762 *) ac_try_echo=$ac_try;;
14763 esac
14764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14765 (eval "$ac_try") 2>&5
14766 ac_status=$?
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; }; then
14769 ac_cv_c_string_h_warnings=no
14770 else
14771 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.$ac_ext >&5
14774 ac_cv_c_string_h_warnings=yes
14777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14779 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14780 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14781 CFLAGS="$saved_CFLAGS"
14782 if test "$ac_cv_c_string_h_warnings" = "no"
14783 then
14784 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14787 BUILTINFLAG=""
14789 saved_CFLAGS="$CFLAGS"
14790 CFLAGS="$CFLAGS -Werror"
14791 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14792 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14793 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 else
14796 cat >conftest.$ac_ext <<_ACEOF
14797 /* confdefs.h. */
14798 _ACEOF
14799 cat confdefs.h >>conftest.$ac_ext
14800 cat >>conftest.$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14804 main ()
14806 int iswlower(unsigned short);
14808 return 0;
14810 _ACEOF
14811 rm -f conftest.$ac_objext
14812 if { (ac_try="$ac_compile"
14813 case "(($ac_try" in
14814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14815 *) ac_try_echo=$ac_try;;
14816 esac
14817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14818 (eval "$ac_compile") 2>conftest.er1
14819 ac_status=$?
14820 grep -v '^ *+' conftest.er1 >conftest.err
14821 rm -f conftest.er1
14822 cat conftest.err >&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14835 { ac_try='test -s conftest.$ac_objext'
14836 { (case "(($ac_try" in
14837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14838 *) ac_try_echo=$ac_try;;
14839 esac
14840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14841 (eval "$ac_try") 2>&5
14842 ac_status=$?
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; }; then
14845 ac_cv_c_builtin_wchar_ctype=no
14846 else
14847 echo "$as_me: failed program was:" >&5
14848 sed 's/^/| /' conftest.$ac_ext >&5
14850 ac_cv_c_builtin_wchar_ctype=yes
14853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14855 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14856 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14857 CFLAGS="$saved_CFLAGS"
14858 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14859 then
14860 BUILTINFLAG="-fno-builtin"
14865 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14866 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14867 if test "${ac_cv_asm_func_def+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 else
14870 cat >conftest.$ac_ext <<_ACEOF
14871 /* confdefs.h. */
14872 _ACEOF
14873 cat confdefs.h >>conftest.$ac_ext
14874 cat >>conftest.$ac_ext <<_ACEOF
14875 /* end confdefs.h. */
14876 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"); }
14879 main ()
14883 return 0;
14885 _ACEOF
14886 rm -f conftest.$ac_objext conftest$ac_exeext
14887 if { (ac_try="$ac_link"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_link") 2>conftest.er1
14894 ac_status=$?
14895 grep -v '^ *+' conftest.er1 >conftest.err
14896 rm -f conftest.er1
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14901 { (case "(($ac_try" in
14902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14903 *) ac_try_echo=$ac_try;;
14904 esac
14905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14906 (eval "$ac_try") 2>&5
14907 ac_status=$?
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try='test -s conftest$ac_exeext'
14911 { (case "(($ac_try" in
14912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14914 esac
14915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14916 (eval "$ac_try") 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; }; then
14920 ac_cv_asm_func_def=".def"
14921 else
14922 echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.$ac_ext >&5
14925 cat >conftest.$ac_ext <<_ACEOF
14926 /* confdefs.h. */
14927 _ACEOF
14928 cat confdefs.h >>conftest.$ac_ext
14929 cat >>conftest.$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14931 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14934 main ()
14938 return 0;
14940 _ACEOF
14941 rm -f conftest.$ac_objext conftest$ac_exeext
14942 if { (ac_try="$ac_link"
14943 case "(($ac_try" in
14944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14945 *) ac_try_echo=$ac_try;;
14946 esac
14947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14948 (eval "$ac_link") 2>conftest.er1
14949 ac_status=$?
14950 grep -v '^ *+' conftest.er1 >conftest.err
14951 rm -f conftest.er1
14952 cat conftest.err >&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } &&
14955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14956 { (case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14959 esac
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_try") 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest$ac_exeext'
14966 { (case "(($ac_try" in
14967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14968 *) ac_try_echo=$ac_try;;
14969 esac
14970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14971 (eval "$ac_try") 2>&5
14972 ac_status=$?
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; }; then
14975 ac_cv_asm_func_def=".type @function"
14976 else
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14980 cat >conftest.$ac_ext <<_ACEOF
14981 /* confdefs.h. */
14982 _ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14986 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14989 main ()
14993 return 0;
14995 _ACEOF
14996 rm -f conftest.$ac_objext conftest$ac_exeext
14997 if { (ac_try="$ac_link"
14998 case "(($ac_try" in
14999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15000 *) ac_try_echo=$ac_try;;
15001 esac
15002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15003 (eval "$ac_link") 2>conftest.er1
15004 ac_status=$?
15005 grep -v '^ *+' conftest.er1 >conftest.err
15006 rm -f conftest.er1
15007 cat conftest.err >&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); } &&
15010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15011 { (case "(($ac_try" in
15012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15013 *) ac_try_echo=$ac_try;;
15014 esac
15015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15016 (eval "$ac_try") 2>&5
15017 ac_status=$?
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; } &&
15020 { ac_try='test -s conftest$ac_exeext'
15021 { (case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_try") 2>&5
15027 ac_status=$?
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; }; then
15030 ac_cv_asm_func_def=".type 2"
15031 else
15032 echo "$as_me: failed program was:" >&5
15033 sed 's/^/| /' conftest.$ac_ext >&5
15035 ac_cv_asm_func_def="unknown"
15038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15039 conftest$ac_exeext conftest.$ac_ext
15042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15043 conftest$ac_exeext conftest.$ac_ext
15046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15047 conftest$ac_exeext conftest.$ac_ext
15049 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15050 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15054 case "$ac_cv_asm_func_def" in
15055 ".def")
15056 cat >>confdefs.h <<\_ACEOF
15057 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15058 _ACEOF
15060 ".type @function")
15061 cat >>confdefs.h <<\_ACEOF
15062 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15063 _ACEOF
15065 ".type 2")
15066 cat >>confdefs.h <<\_ACEOF
15067 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15068 _ACEOF
15071 cat >>confdefs.h <<\_ACEOF
15072 #define __ASM_FUNC(name) ""
15073 _ACEOF
15075 esac
15078 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15079 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15080 if test "${ac_cv_c_extern_prefix+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15090 extern int ac_test;
15092 main ()
15094 if (ac_test) return 1
15096 return 0;
15098 _ACEOF
15099 rm -f conftest.$ac_objext conftest$ac_exeext
15100 if { (ac_try="$ac_link"
15101 case "(($ac_try" in
15102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15104 esac
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_link") 2>conftest.er1
15107 ac_status=$?
15108 grep -v '^ *+' conftest.er1 >conftest.err
15109 rm -f conftest.er1
15110 cat conftest.err >&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } &&
15113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15114 { (case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_try") 2>&5
15120 ac_status=$?
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; } &&
15123 { ac_try='test -s conftest$ac_exeext'
15124 { (case "(($ac_try" in
15125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15127 esac
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_try") 2>&5
15130 ac_status=$?
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; }; then
15133 ac_cv_c_extern_prefix="yes"
15134 else
15135 echo "$as_me: failed program was:" >&5
15136 sed 's/^/| /' conftest.$ac_ext >&5
15138 ac_cv_c_extern_prefix="no"
15141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15142 conftest$ac_exeext conftest.$ac_ext
15144 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15145 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15149 if test "$ac_cv_c_extern_prefix" = "yes"
15150 then
15151 cat >>confdefs.h <<\_ACEOF
15152 #define __ASM_NAME(name) "_" name
15153 _ACEOF
15155 else
15156 cat >>confdefs.h <<\_ACEOF
15157 #define __ASM_NAME(name) name
15158 _ACEOF
15163 DLLEXT=""
15165 DLLFLAGS="-D_REENTRANT"
15167 LDSHARED=""
15169 LDDLLFLAGS=""
15171 LIBEXT="so"
15173 IMPLIBEXT="def"
15175 LIBWINE_LDFLAGS=""
15178 case $host_os in
15179 cygwin*|mingw32*)
15180 if test -n "$ac_tool_prefix"; then
15181 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15182 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15185 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 if test -n "$DLLTOOL"; then
15189 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15190 else
15191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15192 for as_dir in $PATH
15194 IFS=$as_save_IFS
15195 test -z "$as_dir" && as_dir=.
15196 for ac_exec_ext in '' $ac_executable_extensions; do
15197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15198 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15200 break 2
15202 done
15203 done
15204 IFS=$as_save_IFS
15208 DLLTOOL=$ac_cv_prog_DLLTOOL
15209 if test -n "$DLLTOOL"; then
15210 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15211 echo "${ECHO_T}$DLLTOOL" >&6; }
15212 else
15213 { echo "$as_me:$LINENO: result: no" >&5
15214 echo "${ECHO_T}no" >&6; }
15219 if test -z "$ac_cv_prog_DLLTOOL"; then
15220 ac_ct_DLLTOOL=$DLLTOOL
15221 # Extract the first word of "dlltool", so it can be a program name with args.
15222 set dummy dlltool; ac_word=$2
15223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15225 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 else
15228 if test -n "$ac_ct_DLLTOOL"; then
15229 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15230 else
15231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15232 for as_dir in $PATH
15234 IFS=$as_save_IFS
15235 test -z "$as_dir" && as_dir=.
15236 for ac_exec_ext in '' $ac_executable_extensions; do
15237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15238 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15240 break 2
15242 done
15243 done
15244 IFS=$as_save_IFS
15248 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15249 if test -n "$ac_ct_DLLTOOL"; then
15250 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15251 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15252 else
15253 { echo "$as_me:$LINENO: result: no" >&5
15254 echo "${ECHO_T}no" >&6; }
15257 if test "x$ac_ct_DLLTOOL" = x; then
15258 DLLTOOL="false"
15259 else
15260 case $cross_compiling:$ac_tool_warned in
15261 yes:)
15262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15263 whose name does not start with the host triplet. If you think this
15264 configuration is useful to you, please write to autoconf@gnu.org." >&5
15265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15266 whose name does not start with the host triplet. If you think this
15267 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15268 ac_tool_warned=yes ;;
15269 esac
15270 DLLTOOL=$ac_ct_DLLTOOL
15272 else
15273 DLLTOOL="$ac_cv_prog_DLLTOOL"
15276 if test -n "$ac_tool_prefix"; then
15277 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15278 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15281 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15282 echo $ECHO_N "(cached) $ECHO_C" >&6
15283 else
15284 if test -n "$DLLWRAP"; then
15285 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15286 else
15287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15288 for as_dir in $PATH
15290 IFS=$as_save_IFS
15291 test -z "$as_dir" && as_dir=.
15292 for ac_exec_ext in '' $ac_executable_extensions; do
15293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15294 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15296 break 2
15298 done
15299 done
15300 IFS=$as_save_IFS
15304 DLLWRAP=$ac_cv_prog_DLLWRAP
15305 if test -n "$DLLWRAP"; then
15306 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15307 echo "${ECHO_T}$DLLWRAP" >&6; }
15308 else
15309 { echo "$as_me:$LINENO: result: no" >&5
15310 echo "${ECHO_T}no" >&6; }
15315 if test -z "$ac_cv_prog_DLLWRAP"; then
15316 ac_ct_DLLWRAP=$DLLWRAP
15317 # Extract the first word of "dllwrap", so it can be a program name with args.
15318 set dummy dllwrap; ac_word=$2
15319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15321 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15323 else
15324 if test -n "$ac_ct_DLLWRAP"; then
15325 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15326 else
15327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15328 for as_dir in $PATH
15330 IFS=$as_save_IFS
15331 test -z "$as_dir" && as_dir=.
15332 for ac_exec_ext in '' $ac_executable_extensions; do
15333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15334 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15336 break 2
15338 done
15339 done
15340 IFS=$as_save_IFS
15344 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15345 if test -n "$ac_ct_DLLWRAP"; then
15346 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15347 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15348 else
15349 { echo "$as_me:$LINENO: result: no" >&5
15350 echo "${ECHO_T}no" >&6; }
15353 if test "x$ac_ct_DLLWRAP" = x; then
15354 DLLWRAP="false"
15355 else
15356 case $cross_compiling:$ac_tool_warned in
15357 yes:)
15358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15359 whose name does not start with the host triplet. If you think this
15360 configuration is useful to you, please write to autoconf@gnu.org." >&5
15361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15362 whose name does not start with the host triplet. If you think this
15363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15364 ac_tool_warned=yes ;;
15365 esac
15366 DLLWRAP=$ac_ct_DLLWRAP
15368 else
15369 DLLWRAP="$ac_cv_prog_DLLWRAP"
15372 if test "$DLLWRAP" = "false"; then
15373 LIBEXT="a"
15374 else
15375 LIBEXT="dll"
15377 IMPLIBEXT="a"
15378 WIN16_FILES=""
15379 WIN16_INSTALL=""
15381 darwin*|macosx*)
15382 DLLEXT=".so"
15383 LIBEXT="dylib"
15384 DLLFLAGS="$DLLFLAGS -fPIC"
15385 LDDLLFLAGS="-bundle -multiply_defined suppress"
15386 LIBWINE_LDFLAGS="-multiply_defined suppress"
15387 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15388 STRIP="$STRIP -u -r"
15389 COREFOUNDATIONLIB="-framework CoreFoundation"
15391 IOKITLIB="-framework IOKit -framework CoreFoundation"
15393 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15395 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
15396 then
15397 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15400 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15401 then
15402 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15405 case $host_cpu in
15406 *powerpc*)
15407 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15408 esac
15409 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15410 then
15411 QUARTZFILES='$(QUARTZFILES)'
15415 DLLFLAGS="$DLLFLAGS -fPIC"
15416 DLLEXT=".so"
15417 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15418 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15419 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 else
15422 ac_wine_try_cflags_saved=$CFLAGS
15423 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15424 cat >conftest.$ac_ext <<_ACEOF
15425 void myfunc() {}
15426 _ACEOF
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15432 esac
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_link") 2>conftest.er1
15435 ac_status=$?
15436 grep -v '^ *+' conftest.er1 >conftest.err
15437 rm -f conftest.er1
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15442 { (case "(($ac_try" in
15443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15444 *) ac_try_echo=$ac_try;;
15445 esac
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15447 (eval "$ac_try") 2>&5
15448 ac_status=$?
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; } &&
15451 { ac_try='test -s conftest$ac_exeext'
15452 { (case "(($ac_try" in
15453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15455 esac
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_try") 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 ac_cv_c_dll_gnuelf="yes"
15462 else
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.$ac_ext >&5
15466 ac_cv_c_dll_gnuelf="no"
15469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15470 conftest$ac_exeext conftest.$ac_ext
15471 CFLAGS=$ac_wine_try_cflags_saved
15473 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15474 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15475 if test "$ac_cv_c_dll_gnuelf" = "yes"
15476 then
15477 LDSHARED="\$(CC) -shared"
15478 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15479 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15480 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15481 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15484 ac_wine_try_cflags_saved=$CFLAGS
15485 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15486 cat >conftest.$ac_ext <<_ACEOF
15487 /* confdefs.h. */
15488 _ACEOF
15489 cat confdefs.h >>conftest.$ac_ext
15490 cat >>conftest.$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15494 main ()
15498 return 0;
15500 _ACEOF
15501 rm -f conftest.$ac_objext conftest$ac_exeext
15502 if { (ac_try="$ac_link"
15503 case "(($ac_try" in
15504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15506 esac
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_link") 2>conftest.er1
15509 ac_status=$?
15510 grep -v '^ *+' conftest.er1 >conftest.err
15511 rm -f conftest.er1
15512 cat conftest.err >&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15516 { (case "(($ac_try" in
15517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15518 *) ac_try_echo=$ac_try;;
15519 esac
15520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15521 (eval "$ac_try") 2>&5
15522 ac_status=$?
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; } &&
15525 { ac_try='test -s conftest$ac_exeext'
15526 { (case "(($ac_try" in
15527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15528 *) ac_try_echo=$ac_try;;
15529 esac
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_try") 2>&5
15532 ac_status=$?
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15536 else
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15540 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15544 conftest$ac_exeext conftest.$ac_ext
15545 CFLAGS=$ac_wine_try_cflags_saved
15547 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15548 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15549 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15550 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15551 else
15552 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15553 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15554 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557 ac_wine_try_cflags_saved=$CFLAGS
15558 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15559 cat >conftest.$ac_ext <<_ACEOF
15560 /* confdefs.h. */
15561 _ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15567 main ()
15571 return 0;
15573 _ACEOF
15574 rm -f conftest.$ac_objext conftest$ac_exeext
15575 if { (ac_try="$ac_link"
15576 case "(($ac_try" in
15577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15578 *) ac_try_echo=$ac_try;;
15579 esac
15580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15581 (eval "$ac_link") 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (case "(($ac_try" in
15590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15592 esac
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_try") 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; } &&
15598 { ac_try='test -s conftest$ac_exeext'
15599 { (case "(($ac_try" in
15600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15601 *) ac_try_echo=$ac_try;;
15602 esac
15603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15604 (eval "$ac_try") 2>&5
15605 ac_status=$?
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15617 conftest$ac_exeext conftest.$ac_ext
15618 CFLAGS=$ac_wine_try_cflags_saved
15620 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15621 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15622 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15623 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15629 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15630 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15631 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15632 echo $ECHO_N "(cached) $ECHO_C" >&6
15633 else
15634 ac_wine_try_cflags_saved=$CFLAGS
15635 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15636 cat >conftest.$ac_ext <<_ACEOF
15637 /* confdefs.h. */
15638 _ACEOF
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15644 main ()
15648 return 0;
15650 _ACEOF
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (ac_try="$ac_link"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15656 esac
15657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15658 (eval "$ac_link") 2>conftest.er1
15659 ac_status=$?
15660 grep -v '^ *+' conftest.er1 >conftest.err
15661 rm -f conftest.er1
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15675 { ac_try='test -s conftest$ac_exeext'
15676 { (case "(($ac_try" in
15677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15678 *) ac_try_echo=$ac_try;;
15679 esac
15680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15681 (eval "$ac_try") 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15686 else
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15690 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15694 conftest$ac_exeext conftest.$ac_ext
15695 CFLAGS=$ac_wine_try_cflags_saved
15697 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15698 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15699 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15700 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15704 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15705 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15706 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15707 echo $ECHO_N "(cached) $ECHO_C" >&6
15708 else
15709 ac_wine_try_cflags_saved=$CFLAGS
15710 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15711 cat >conftest.$ac_ext <<_ACEOF
15712 /* confdefs.h. */
15713 _ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15719 main ()
15723 return 0;
15725 _ACEOF
15726 rm -f conftest.$ac_objext conftest$ac_exeext
15727 if { (ac_try="$ac_link"
15728 case "(($ac_try" in
15729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15730 *) ac_try_echo=$ac_try;;
15731 esac
15732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15733 (eval "$ac_link") 2>conftest.er1
15734 ac_status=$?
15735 grep -v '^ *+' conftest.er1 >conftest.err
15736 rm -f conftest.er1
15737 cat conftest.err >&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15741 { (case "(($ac_try" in
15742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15743 *) ac_try_echo=$ac_try;;
15744 esac
15745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15746 (eval "$ac_try") 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; } &&
15750 { ac_try='test -s conftest$ac_exeext'
15751 { (case "(($ac_try" in
15752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15753 *) ac_try_echo=$ac_try;;
15754 esac
15755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15756 (eval "$ac_try") 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; }; then
15760 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15765 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15769 conftest$ac_exeext conftest.$ac_ext
15770 CFLAGS=$ac_wine_try_cflags_saved
15772 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15773 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15774 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15775 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15779 echo '{ global: *; };' >conftest.map
15780 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15781 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15782 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 else
15785 ac_wine_try_cflags_saved=$CFLAGS
15786 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15787 cat >conftest.$ac_ext <<_ACEOF
15788 /* confdefs.h. */
15789 _ACEOF
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15795 main ()
15799 return 0;
15801 _ACEOF
15802 rm -f conftest.$ac_objext conftest$ac_exeext
15803 if { (ac_try="$ac_link"
15804 case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807 esac
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_link") 2>conftest.er1
15810 ac_status=$?
15811 grep -v '^ *+' conftest.er1 >conftest.err
15812 rm -f conftest.er1
15813 cat conftest.err >&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } &&
15816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15817 { (case "(($ac_try" in
15818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 *) ac_try_echo=$ac_try;;
15820 esac
15821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15822 (eval "$ac_try") 2>&5
15823 ac_status=$?
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; } &&
15826 { ac_try='test -s conftest$ac_exeext'
15827 { (case "(($ac_try" in
15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15829 *) ac_try_echo=$ac_try;;
15830 esac
15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_try") 2>&5
15833 ac_status=$?
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15841 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15845 conftest$ac_exeext conftest.$ac_ext
15846 CFLAGS=$ac_wine_try_cflags_saved
15848 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15849 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15850 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15851 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15854 rm -f conftest.map
15856 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15857 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15858 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 else
15861 ac_wine_try_cflags_saved=$CFLAGS
15862 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15863 cat >conftest.$ac_ext <<_ACEOF
15864 /* confdefs.h. */
15865 _ACEOF
15866 cat confdefs.h >>conftest.$ac_ext
15867 cat >>conftest.$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15871 main ()
15875 return 0;
15877 _ACEOF
15878 rm -f conftest.$ac_objext conftest$ac_exeext
15879 if { (ac_try="$ac_link"
15880 case "(($ac_try" in
15881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15882 *) ac_try_echo=$ac_try;;
15883 esac
15884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15885 (eval "$ac_link") 2>conftest.er1
15886 ac_status=$?
15887 grep -v '^ *+' conftest.er1 >conftest.err
15888 rm -f conftest.er1
15889 cat conftest.err >&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15893 { (case "(($ac_try" in
15894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15896 esac
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_try") 2>&5
15899 ac_status=$?
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; } &&
15902 { ac_try='test -s conftest$ac_exeext'
15903 { (case "(($ac_try" in
15904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15905 *) ac_try_echo=$ac_try;;
15906 esac
15907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15908 (eval "$ac_try") 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15913 else
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.$ac_ext >&5
15917 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15921 conftest$ac_exeext conftest.$ac_ext
15922 CFLAGS=$ac_wine_try_cflags_saved
15924 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15925 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15926 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15927 LDEXECFLAGS="-Wl,--export-dynamic"
15932 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15933 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15934 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 ac_wine_try_cflags_saved=$CFLAGS
15939 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15940 cat >conftest.$ac_ext <<_ACEOF
15941 /* confdefs.h. */
15942 _ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15948 main ()
15952 return 0;
15954 _ACEOF
15955 rm -f conftest.$ac_objext conftest$ac_exeext
15956 if { (ac_try="$ac_link"
15957 case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15960 esac
15961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 (eval "$ac_link") 2>conftest.er1
15963 ac_status=$?
15964 grep -v '^ *+' conftest.er1 >conftest.err
15965 rm -f conftest.er1
15966 cat conftest.err >&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } &&
15969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15970 { (case "(($ac_try" in
15971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15972 *) ac_try_echo=$ac_try;;
15973 esac
15974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15975 (eval "$ac_try") 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest$ac_exeext'
15980 { (case "(($ac_try" in
15981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15982 *) ac_try_echo=$ac_try;;
15983 esac
15984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15985 (eval "$ac_try") 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 eval "$as_ac_var=yes"
15990 else
15991 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.$ac_ext >&5
15994 eval "$as_ac_var=no"
15997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15998 conftest$ac_exeext conftest.$ac_ext
15999 CFLAGS=$ac_wine_try_cflags_saved
16001 ac_res=`eval echo '${'$as_ac_var'}'`
16002 { echo "$as_me:$LINENO: result: $ac_res" >&5
16003 echo "${ECHO_T}$ac_res" >&6; }
16004 if test `eval echo '${'$as_ac_var'}'` = yes; then
16005 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16009 case $host_cpu in
16010 *i[3456789]86* | x86_64)
16011 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
16012 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
16013 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 ac_wine_try_cflags_saved=$CFLAGS
16017 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16026 main ()
16030 return 0;
16032 _ACEOF
16033 rm -f conftest.$ac_objext conftest$ac_exeext
16034 if { (ac_try="$ac_link"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16038 esac
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_link") 2>conftest.er1
16041 ac_status=$?
16042 grep -v '^ *+' conftest.er1 >conftest.err
16043 rm -f conftest.er1
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16048 { (case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 *) ac_try_echo=$ac_try;;
16051 esac
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_try") 2>&5
16054 ac_status=$?
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; } &&
16057 { ac_try='test -s conftest$ac_exeext'
16058 { (case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16061 esac
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_try") 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
16068 else
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16072 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
16075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16076 conftest$ac_exeext conftest.$ac_ext
16077 CFLAGS=$ac_wine_try_cflags_saved
16079 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16080 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16081 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16082 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16086 esac
16088 else
16089 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16090 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16091 if test "${ac_cv_c_dll_unixware+set}" = set; then
16092 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 else
16094 ac_wine_try_cflags_saved=$CFLAGS
16095 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16096 cat >conftest.$ac_ext <<_ACEOF
16097 void myfunc() {}
16098 _ACEOF
16099 rm -f conftest.$ac_objext conftest$ac_exeext
16100 if { (ac_try="$ac_link"
16101 case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16104 esac
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_link") 2>conftest.er1
16107 ac_status=$?
16108 grep -v '^ *+' conftest.er1 >conftest.err
16109 rm -f conftest.er1
16110 cat conftest.err >&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16114 { (case "(($ac_try" in
16115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16116 *) ac_try_echo=$ac_try;;
16117 esac
16118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16119 (eval "$ac_try") 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; } &&
16123 { ac_try='test -s conftest$ac_exeext'
16124 { (case "(($ac_try" in
16125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16126 *) ac_try_echo=$ac_try;;
16127 esac
16128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16129 (eval "$ac_try") 2>&5
16130 ac_status=$?
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); }; }; then
16133 ac_cv_c_dll_unixware="yes"
16134 else
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.$ac_ext >&5
16138 ac_cv_c_dll_unixware="no"
16141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16142 conftest$ac_exeext conftest.$ac_ext
16143 CFLAGS=$ac_wine_try_cflags_saved
16145 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16146 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16147 if test "$ac_cv_c_dll_unixware" = "yes"
16148 then
16149 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16150 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16152 else
16153 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16154 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16155 if test "${ac_cv_c_dll_hpux+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158 ac_wine_try_cflags_saved=$CFLAGS
16159 CFLAGS="$CFLAGS -shared"
16160 cat >conftest.$ac_ext <<_ACEOF
16161 void myfunc() {}
16162 _ACEOF
16163 rm -f conftest.$ac_objext conftest$ac_exeext
16164 if { (ac_try="$ac_link"
16165 case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16167 *) ac_try_echo=$ac_try;;
16168 esac
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_link") 2>conftest.er1
16171 ac_status=$?
16172 grep -v '^ *+' conftest.er1 >conftest.err
16173 rm -f conftest.er1
16174 cat conftest.err >&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } &&
16177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16178 { (case "(($ac_try" in
16179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16180 *) ac_try_echo=$ac_try;;
16181 esac
16182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16183 (eval "$ac_try") 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; } &&
16187 { ac_try='test -s conftest$ac_exeext'
16188 { (case "(($ac_try" in
16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16191 esac
16192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 (eval "$ac_try") 2>&5
16194 ac_status=$?
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16197 ac_cv_c_dll_hpux="yes"
16198 else
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.$ac_ext >&5
16202 ac_cv_c_dll_hpux="no"
16205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16206 conftest$ac_exeext conftest.$ac_ext
16207 CFLAGS=$ac_wine_try_cflags_saved
16209 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16210 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16211 if test "$ac_cv_c_dll_hpux" = "yes"
16212 then
16213 LIBEXT="sl"
16214 DLLEXT=".sl"
16215 LDDLLFLAGS="-shared -fPIC"
16216 LDSHARED="\$(CC) -shared"
16221 CROSSTEST=""
16223 if test "$cross_compiling" = "no"
16224 then
16225 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16227 # Extract the first word of "$ac_prog", so it can be a program name with args.
16228 set dummy $ac_prog; ac_word=$2
16229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16231 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 else
16234 if test -n "$CROSSCC"; then
16235 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16236 else
16237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16238 for as_dir in $PATH
16240 IFS=$as_save_IFS
16241 test -z "$as_dir" && as_dir=.
16242 for ac_exec_ext in '' $ac_executable_extensions; do
16243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16244 ac_cv_prog_CROSSCC="$ac_prog"
16245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16246 break 2
16248 done
16249 done
16250 IFS=$as_save_IFS
16254 CROSSCC=$ac_cv_prog_CROSSCC
16255 if test -n "$CROSSCC"; then
16256 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16257 echo "${ECHO_T}$CROSSCC" >&6; }
16258 else
16259 { echo "$as_me:$LINENO: result: no" >&5
16260 echo "${ECHO_T}no" >&6; }
16264 test -n "$CROSSCC" && break
16265 done
16266 test -n "$CROSSCC" || CROSSCC="false"
16268 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16270 # Extract the first word of "$ac_prog", so it can be a program name with args.
16271 set dummy $ac_prog; ac_word=$2
16272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16274 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16275 echo $ECHO_N "(cached) $ECHO_C" >&6
16276 else
16277 if test -n "$DLLTOOL"; then
16278 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16279 else
16280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16281 for as_dir in $PATH
16283 IFS=$as_save_IFS
16284 test -z "$as_dir" && as_dir=.
16285 for ac_exec_ext in '' $ac_executable_extensions; do
16286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16287 ac_cv_prog_DLLTOOL="$ac_prog"
16288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16289 break 2
16291 done
16292 done
16293 IFS=$as_save_IFS
16297 DLLTOOL=$ac_cv_prog_DLLTOOL
16298 if test -n "$DLLTOOL"; then
16299 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16300 echo "${ECHO_T}$DLLTOOL" >&6; }
16301 else
16302 { echo "$as_me:$LINENO: result: no" >&5
16303 echo "${ECHO_T}no" >&6; }
16307 test -n "$DLLTOOL" && break
16308 done
16309 test -n "$DLLTOOL" || DLLTOOL="false"
16311 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16313 # Extract the first word of "$ac_prog", so it can be a program name with args.
16314 set dummy $ac_prog; ac_word=$2
16315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16317 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16318 echo $ECHO_N "(cached) $ECHO_C" >&6
16319 else
16320 if test -n "$CROSSWINDRES"; then
16321 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16322 else
16323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16324 for as_dir in $PATH
16326 IFS=$as_save_IFS
16327 test -z "$as_dir" && as_dir=.
16328 for ac_exec_ext in '' $ac_executable_extensions; do
16329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16330 ac_cv_prog_CROSSWINDRES="$ac_prog"
16331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16332 break 2
16334 done
16335 done
16336 IFS=$as_save_IFS
16340 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16341 if test -n "$CROSSWINDRES"; then
16342 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16343 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16344 else
16345 { echo "$as_me:$LINENO: result: no" >&5
16346 echo "${ECHO_T}no" >&6; }
16350 test -n "$CROSSWINDRES" && break
16351 done
16352 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16354 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16357 esac
16359 if test "$LIBEXT" = "a"; then
16360 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16361 It is currently not possible to build Wine without shared library
16362 (.so) support to allow transparent switch between .so and .dll files.
16363 If you are using Linux, you will need a newer binutils.
16364 " >&5
16365 echo "$as_me: error: could not find a way to build shared libraries.
16366 It is currently not possible to build Wine without shared library
16367 (.so) support to allow transparent switch between .so and .dll files.
16368 If you are using Linux, you will need a newer binutils.
16369 " >&2;}
16370 { (exit 1); exit 1; }; }
16373 case $build_os in
16374 cygwin*|mingw32*)
16375 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16377 darwin*|macosx*)
16378 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16381 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16383 esac
16385 case $host_os in
16386 mingw32*)
16387 CRTLIBS="-lmsvcrt"
16389 SOCKETLIBS="-lws2_32"
16392 esac
16394 MAIN_BINARY="wine-pthread"
16395 case $host_cpu in
16396 *i[3456789]86*)
16397 case $host_os in
16398 linux* | k*bsd*-gnu)
16399 MAIN_BINARY="wine-glibc"
16401 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16403 esac
16405 esac
16408 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16409 then
16410 # Extract the first word of "ldd", so it can be a program name with args.
16411 set dummy ldd; ac_word=$2
16412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16414 if test "${ac_cv_path_LDD+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417 case $LDD in
16418 [\\/]* | ?:[\\/]*)
16419 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16423 as_dummy="/sbin:/usr/sbin:$PATH"
16424 for as_dir in $as_dummy
16426 IFS=$as_save_IFS
16427 test -z "$as_dir" && as_dir=.
16428 for ac_exec_ext in '' $ac_executable_extensions; do
16429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16430 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16432 break 2
16434 done
16435 done
16436 IFS=$as_save_IFS
16438 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16440 esac
16442 LDD=$ac_cv_path_LDD
16443 if test -n "$LDD"; then
16444 { echo "$as_me:$LINENO: result: $LDD" >&5
16445 echo "${ECHO_T}$LDD" >&6; }
16446 else
16447 { echo "$as_me:$LINENO: result: no" >&5
16448 echo "${ECHO_T}no" >&6; }
16452 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16453 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16454 if test "${ac_cv_lib_soname_X11+set}" = set; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 else
16457 ac_get_soname_save_LIBS=$LIBS
16458 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16459 cat >conftest.$ac_ext <<_ACEOF
16460 /* confdefs.h. */
16461 _ACEOF
16462 cat confdefs.h >>conftest.$ac_ext
16463 cat >>conftest.$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16466 /* Override any GCC internal prototype to avoid an error.
16467 Use char because int might match the return type of a GCC
16468 builtin and then its argument prototype would still apply. */
16469 #ifdef __cplusplus
16470 extern "C"
16471 #endif
16472 char XCreateWindow ();
16474 main ()
16476 return XCreateWindow ();
16478 return 0;
16480 _ACEOF
16481 rm -f conftest.$ac_objext conftest$ac_exeext
16482 if { (ac_try="$ac_link"
16483 case "(($ac_try" in
16484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16485 *) ac_try_echo=$ac_try;;
16486 esac
16487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16488 (eval "$ac_link") 2>conftest.er1
16489 ac_status=$?
16490 grep -v '^ *+' conftest.er1 >conftest.err
16491 rm -f conftest.er1
16492 cat conftest.err >&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16496 { (case "(($ac_try" in
16497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16498 *) ac_try_echo=$ac_try;;
16499 esac
16500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16501 (eval "$ac_try") 2>&5
16502 ac_status=$?
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try='test -s conftest$ac_exeext'
16506 { (case "(($ac_try" in
16507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16508 *) ac_try_echo=$ac_try;;
16509 esac
16510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16511 (eval "$ac_try") 2>&5
16512 ac_status=$?
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; }; then
16515 case "$LIBEXT" in
16516 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'` ;;
16517 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16518 esac
16519 if test "x$ac_cv_lib_soname_X11" = "x"
16520 then
16521 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16523 else
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16527 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16531 conftest$ac_exeext conftest.$ac_ext
16532 LIBS=$ac_get_soname_save_LIBS
16534 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16535 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16536 if test "${ac_cv_lib_soname_X11+set}" = set; then
16538 cat >>confdefs.h <<_ACEOF
16539 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16540 _ACEOF
16544 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16545 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16546 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 else
16549 ac_get_soname_save_LIBS=$LIBS
16550 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16551 cat >conftest.$ac_ext <<_ACEOF
16552 /* confdefs.h. */
16553 _ACEOF
16554 cat confdefs.h >>conftest.$ac_ext
16555 cat >>conftest.$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16561 #ifdef __cplusplus
16562 extern "C"
16563 #endif
16564 char XextCreateExtension ();
16566 main ()
16568 return XextCreateExtension ();
16570 return 0;
16572 _ACEOF
16573 rm -f conftest.$ac_objext conftest$ac_exeext
16574 if { (ac_try="$ac_link"
16575 case "(($ac_try" in
16576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16577 *) ac_try_echo=$ac_try;;
16578 esac
16579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16580 (eval "$ac_link") 2>conftest.er1
16581 ac_status=$?
16582 grep -v '^ *+' conftest.er1 >conftest.err
16583 rm -f conftest.er1
16584 cat conftest.err >&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16588 { (case "(($ac_try" in
16589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16590 *) ac_try_echo=$ac_try;;
16591 esac
16592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16593 (eval "$ac_try") 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest$ac_exeext'
16598 { (case "(($ac_try" in
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16601 esac
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_try") 2>&5
16604 ac_status=$?
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16607 case "$LIBEXT" in
16608 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'` ;;
16609 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16610 esac
16611 if test "x$ac_cv_lib_soname_Xext" = "x"
16612 then
16613 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16615 else
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16619 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16623 conftest$ac_exeext conftest.$ac_ext
16624 LIBS=$ac_get_soname_save_LIBS
16626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16627 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16628 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16630 cat >>confdefs.h <<_ACEOF
16631 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16632 _ACEOF
16636 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16637 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16638 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 else
16641 ac_get_soname_save_LIBS=$LIBS
16642 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16650 /* Override any GCC internal prototype to avoid an error.
16651 Use char because int might match the return type of a GCC
16652 builtin and then its argument prototype would still apply. */
16653 #ifdef __cplusplus
16654 extern "C"
16655 #endif
16656 char XOpenDevice ();
16658 main ()
16660 return XOpenDevice ();
16662 return 0;
16664 _ACEOF
16665 rm -f conftest.$ac_objext conftest$ac_exeext
16666 if { (ac_try="$ac_link"
16667 case "(($ac_try" in
16668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16669 *) ac_try_echo=$ac_try;;
16670 esac
16671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16672 (eval "$ac_link") 2>conftest.er1
16673 ac_status=$?
16674 grep -v '^ *+' conftest.er1 >conftest.err
16675 rm -f conftest.er1
16676 cat conftest.err >&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); } &&
16679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16680 { (case "(($ac_try" in
16681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16682 *) ac_try_echo=$ac_try;;
16683 esac
16684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16685 (eval "$ac_try") 2>&5
16686 ac_status=$?
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try='test -s conftest$ac_exeext'
16690 { (case "(($ac_try" in
16691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16692 *) ac_try_echo=$ac_try;;
16693 esac
16694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16695 (eval "$ac_try") 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 case "$LIBEXT" in
16700 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'` ;;
16701 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16702 esac
16703 if test "x$ac_cv_lib_soname_Xi" = "x"
16704 then
16705 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16707 else
16708 echo "$as_me: failed program was:" >&5
16709 sed 's/^/| /' conftest.$ac_ext >&5
16711 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16715 conftest$ac_exeext conftest.$ac_ext
16716 LIBS=$ac_get_soname_save_LIBS
16718 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16719 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16720 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16722 cat >>confdefs.h <<_ACEOF
16723 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16724 _ACEOF
16728 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16729 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16730 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 ac_get_soname_save_LIBS=$LIBS
16734 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 #ifdef __cplusplus
16746 extern "C"
16747 #endif
16748 char XineramaQueryScreens ();
16750 main ()
16752 return XineramaQueryScreens ();
16754 return 0;
16756 _ACEOF
16757 rm -f conftest.$ac_objext conftest$ac_exeext
16758 if { (ac_try="$ac_link"
16759 case "(($ac_try" in
16760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16761 *) ac_try_echo=$ac_try;;
16762 esac
16763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16764 (eval "$ac_link") 2>conftest.er1
16765 ac_status=$?
16766 grep -v '^ *+' conftest.er1 >conftest.err
16767 rm -f conftest.er1
16768 cat conftest.err >&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16772 { (case "(($ac_try" in
16773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16774 *) ac_try_echo=$ac_try;;
16775 esac
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_try") 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; } &&
16781 { ac_try='test -s conftest$ac_exeext'
16782 { (case "(($ac_try" in
16783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16784 *) ac_try_echo=$ac_try;;
16785 esac
16786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16787 (eval "$ac_try") 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; }; then
16791 case "$LIBEXT" in
16792 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'` ;;
16793 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16794 esac
16795 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16796 then
16797 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16799 else
16800 echo "$as_me: failed program was:" >&5
16801 sed 's/^/| /' conftest.$ac_ext >&5
16803 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_get_soname_save_LIBS
16810 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16811 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16812 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16814 cat >>confdefs.h <<_ACEOF
16815 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16816 _ACEOF
16820 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16821 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16822 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825 ac_get_soname_save_LIBS=$LIBS
16826 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16827 cat >conftest.$ac_ext <<_ACEOF
16828 /* confdefs.h. */
16829 _ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 #ifdef __cplusplus
16838 extern "C"
16839 #endif
16840 char XRenderQueryExtension ();
16842 main ()
16844 return XRenderQueryExtension ();
16846 return 0;
16848 _ACEOF
16849 rm -f conftest.$ac_objext conftest$ac_exeext
16850 if { (ac_try="$ac_link"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16854 esac
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_link") 2>conftest.er1
16857 ac_status=$?
16858 grep -v '^ *+' conftest.er1 >conftest.err
16859 rm -f conftest.er1
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } &&
16863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16864 { (case "(($ac_try" in
16865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16866 *) ac_try_echo=$ac_try;;
16867 esac
16868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16869 (eval "$ac_try") 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; } &&
16873 { ac_try='test -s conftest$ac_exeext'
16874 { (case "(($ac_try" in
16875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876 *) ac_try_echo=$ac_try;;
16877 esac
16878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879 (eval "$ac_try") 2>&5
16880 ac_status=$?
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16883 case "$LIBEXT" in
16884 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'` ;;
16885 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16886 esac
16887 if test "x$ac_cv_lib_soname_Xrender" = "x"
16888 then
16889 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16891 else
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16895 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16899 conftest$ac_exeext conftest.$ac_ext
16900 LIBS=$ac_get_soname_save_LIBS
16902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16903 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16904 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16906 cat >>confdefs.h <<_ACEOF
16907 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16908 _ACEOF
16912 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16913 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16914 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 ac_get_soname_save_LIBS=$LIBS
16918 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16926 /* Override any GCC internal prototype to avoid an error.
16927 Use char because int might match the return type of a GCC
16928 builtin and then its argument prototype would still apply. */
16929 #ifdef __cplusplus
16930 extern "C"
16931 #endif
16932 char XRRQueryExtension ();
16934 main ()
16936 return XRRQueryExtension ();
16938 return 0;
16940 _ACEOF
16941 rm -f conftest.$ac_objext conftest$ac_exeext
16942 if { (ac_try="$ac_link"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16946 esac
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_link") 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16956 { (case "(($ac_try" in
16957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16958 *) ac_try_echo=$ac_try;;
16959 esac
16960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16961 (eval "$ac_try") 2>&5
16962 ac_status=$?
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try='test -s conftest$ac_exeext'
16966 { (case "(($ac_try" in
16967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16969 esac
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_try") 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 case "$LIBEXT" in
16976 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'` ;;
16977 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16978 esac
16979 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16980 then
16981 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16983 else
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16991 conftest$ac_exeext conftest.$ac_ext
16992 LIBS=$ac_get_soname_save_LIBS
16994 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16995 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16996 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16998 cat >>confdefs.h <<_ACEOF
16999 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17000 _ACEOF
17004 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17005 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17006 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17007 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 else
17009 ac_get_soname_save_LIBS=$LIBS
17010 LIBS="-lfreetype $X_LIBS $LIBS"
17011 cat >conftest.$ac_ext <<_ACEOF
17012 /* confdefs.h. */
17013 _ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17018 /* Override any GCC internal prototype to avoid an error.
17019 Use char because int might match the return type of a GCC
17020 builtin and then its argument prototype would still apply. */
17021 #ifdef __cplusplus
17022 extern "C"
17023 #endif
17024 char FT_Init_FreeType ();
17026 main ()
17028 return FT_Init_FreeType ();
17030 return 0;
17032 _ACEOF
17033 rm -f conftest.$ac_objext conftest$ac_exeext
17034 if { (ac_try="$ac_link"
17035 case "(($ac_try" in
17036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17037 *) ac_try_echo=$ac_try;;
17038 esac
17039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17040 (eval "$ac_link") 2>conftest.er1
17041 ac_status=$?
17042 grep -v '^ *+' conftest.er1 >conftest.err
17043 rm -f conftest.er1
17044 cat conftest.err >&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17048 { (case "(($ac_try" in
17049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17050 *) ac_try_echo=$ac_try;;
17051 esac
17052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17053 (eval "$ac_try") 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try='test -s conftest$ac_exeext'
17058 { (case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17061 esac
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_try") 2>&5
17064 ac_status=$?
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 case "$LIBEXT" in
17068 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'` ;;
17069 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17070 esac
17071 if test "x$ac_cv_lib_soname_freetype" = "x"
17072 then
17073 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17075 else
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17083 conftest$ac_exeext conftest.$ac_ext
17084 LIBS=$ac_get_soname_save_LIBS
17086 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17087 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17088 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17090 cat >>confdefs.h <<_ACEOF
17091 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17092 _ACEOF
17096 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17097 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17098 if test "${ac_cv_lib_soname_GL+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 else
17101 ac_get_soname_save_LIBS=$LIBS
17102 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17103 cat >conftest.$ac_ext <<_ACEOF
17104 /* confdefs.h. */
17105 _ACEOF
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17110 /* Override any GCC internal prototype to avoid an error.
17111 Use char because int might match the return type of a GCC
17112 builtin and then its argument prototype would still apply. */
17113 #ifdef __cplusplus
17114 extern "C"
17115 #endif
17116 char glXQueryExtension ();
17118 main ()
17120 return glXQueryExtension ();
17122 return 0;
17124 _ACEOF
17125 rm -f conftest.$ac_objext conftest$ac_exeext
17126 if { (ac_try="$ac_link"
17127 case "(($ac_try" in
17128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17129 *) ac_try_echo=$ac_try;;
17130 esac
17131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17132 (eval "$ac_link") 2>conftest.er1
17133 ac_status=$?
17134 grep -v '^ *+' conftest.er1 >conftest.err
17135 rm -f conftest.er1
17136 cat conftest.err >&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); } &&
17139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17140 { (case "(($ac_try" in
17141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17142 *) ac_try_echo=$ac_try;;
17143 esac
17144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17145 (eval "$ac_try") 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try='test -s conftest$ac_exeext'
17150 { (case "(($ac_try" in
17151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17152 *) ac_try_echo=$ac_try;;
17153 esac
17154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17155 (eval "$ac_try") 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; }; then
17159 case "$LIBEXT" in
17160 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'` ;;
17161 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17162 esac
17163 if test "x$ac_cv_lib_soname_GL" = "x"
17164 then
17165 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17167 else
17168 echo "$as_me: failed program was:" >&5
17169 sed 's/^/| /' conftest.$ac_ext >&5
17171 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17175 conftest$ac_exeext conftest.$ac_ext
17176 LIBS=$ac_get_soname_save_LIBS
17178 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17179 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17180 if test "${ac_cv_lib_soname_GL+set}" = set; then
17182 cat >>confdefs.h <<_ACEOF
17183 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17184 _ACEOF
17188 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17189 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17190 if test "${ac_cv_lib_soname_hal+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 else
17193 ac_get_soname_save_LIBS=$LIBS
17194 LIBS="-lhal $LIBS"
17195 cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17205 #ifdef __cplusplus
17206 extern "C"
17207 #endif
17208 char libhal_ctx_new ();
17210 main ()
17212 return libhal_ctx_new ();
17214 return 0;
17216 _ACEOF
17217 rm -f conftest.$ac_objext conftest$ac_exeext
17218 if { (ac_try="$ac_link"
17219 case "(($ac_try" in
17220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17221 *) ac_try_echo=$ac_try;;
17222 esac
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_link") 2>conftest.er1
17225 ac_status=$?
17226 grep -v '^ *+' conftest.er1 >conftest.err
17227 rm -f conftest.er1
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } &&
17231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17232 { (case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17235 esac
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_try") 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try='test -s conftest$ac_exeext'
17242 { (case "(($ac_try" in
17243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17244 *) ac_try_echo=$ac_try;;
17245 esac
17246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17247 (eval "$ac_try") 2>&5
17248 ac_status=$?
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; }; then
17251 case "$LIBEXT" in
17252 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'` ;;
17253 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17254 esac
17255 if test "x$ac_cv_lib_soname_hal" = "x"
17256 then
17257 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17259 else
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.$ac_ext >&5
17263 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17267 conftest$ac_exeext conftest.$ac_ext
17268 LIBS=$ac_get_soname_save_LIBS
17270 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17271 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17272 if test "${ac_cv_lib_soname_hal+set}" = set; then
17274 cat >>confdefs.h <<_ACEOF
17275 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17276 _ACEOF
17280 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17281 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17282 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 else
17285 ac_get_soname_save_LIBS=$LIBS
17286 LIBS="-ltxc_dxtn $LIBS"
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17294 /* Override any GCC internal prototype to avoid an error.
17295 Use char because int might match the return type of a GCC
17296 builtin and then its argument prototype would still apply. */
17297 #ifdef __cplusplus
17298 extern "C"
17299 #endif
17300 char fetch_2d_texel_rgba_dxt1 ();
17302 main ()
17304 return fetch_2d_texel_rgba_dxt1 ();
17306 return 0;
17308 _ACEOF
17309 rm -f conftest.$ac_objext conftest$ac_exeext
17310 if { (ac_try="$ac_link"
17311 case "(($ac_try" in
17312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17313 *) ac_try_echo=$ac_try;;
17314 esac
17315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17316 (eval "$ac_link") 2>conftest.er1
17317 ac_status=$?
17318 grep -v '^ *+' conftest.er1 >conftest.err
17319 rm -f conftest.er1
17320 cat conftest.err >&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17324 { (case "(($ac_try" in
17325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17326 *) ac_try_echo=$ac_try;;
17327 esac
17328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17329 (eval "$ac_try") 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try='test -s conftest$ac_exeext'
17334 { (case "(($ac_try" in
17335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17336 *) ac_try_echo=$ac_try;;
17337 esac
17338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17339 (eval "$ac_try") 2>&5
17340 ac_status=$?
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17343 case "$LIBEXT" in
17344 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'` ;;
17345 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'` ;;
17346 esac
17347 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17348 then
17349 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17359 conftest$ac_exeext conftest.$ac_ext
17360 LIBS=$ac_get_soname_save_LIBS
17362 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17363 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17364 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17366 cat >>confdefs.h <<_ACEOF
17367 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17368 _ACEOF
17372 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17373 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17374 if test "${ac_cv_lib_soname_cups+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 else
17377 ac_get_soname_save_LIBS=$LIBS
17378 LIBS="-lcups $LIBS"
17379 cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h. */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17386 /* Override any GCC internal prototype to avoid an error.
17387 Use char because int might match the return type of a GCC
17388 builtin and then its argument prototype would still apply. */
17389 #ifdef __cplusplus
17390 extern "C"
17391 #endif
17392 char cupsGetDefault ();
17394 main ()
17396 return cupsGetDefault ();
17398 return 0;
17400 _ACEOF
17401 rm -f conftest.$ac_objext conftest$ac_exeext
17402 if { (ac_try="$ac_link"
17403 case "(($ac_try" in
17404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17405 *) ac_try_echo=$ac_try;;
17406 esac
17407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17408 (eval "$ac_link") 2>conftest.er1
17409 ac_status=$?
17410 grep -v '^ *+' conftest.er1 >conftest.err
17411 rm -f conftest.er1
17412 cat conftest.err >&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } &&
17415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17416 { (case "(($ac_try" in
17417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17418 *) ac_try_echo=$ac_try;;
17419 esac
17420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17421 (eval "$ac_try") 2>&5
17422 ac_status=$?
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; } &&
17425 { ac_try='test -s conftest$ac_exeext'
17426 { (case "(($ac_try" in
17427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17428 *) ac_try_echo=$ac_try;;
17429 esac
17430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17431 (eval "$ac_try") 2>&5
17432 ac_status=$?
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 case "$LIBEXT" in
17436 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'` ;;
17437 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17438 esac
17439 if test "x$ac_cv_lib_soname_cups" = "x"
17440 then
17441 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17443 else
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.$ac_ext >&5
17447 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17451 conftest$ac_exeext conftest.$ac_ext
17452 LIBS=$ac_get_soname_save_LIBS
17454 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17455 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17456 if test "${ac_cv_lib_soname_cups+set}" = set; then
17458 cat >>confdefs.h <<_ACEOF
17459 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17460 _ACEOF
17464 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17465 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17466 if test "${ac_cv_lib_soname_jack+set}" = set; then
17467 echo $ECHO_N "(cached) $ECHO_C" >&6
17468 else
17469 ac_get_soname_save_LIBS=$LIBS
17470 LIBS="-ljack $LIBS"
17471 cat >conftest.$ac_ext <<_ACEOF
17472 /* confdefs.h. */
17473 _ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17478 /* Override any GCC internal prototype to avoid an error.
17479 Use char because int might match the return type of a GCC
17480 builtin and then its argument prototype would still apply. */
17481 #ifdef __cplusplus
17482 extern "C"
17483 #endif
17484 char jack_client_new ();
17486 main ()
17488 return jack_client_new ();
17490 return 0;
17492 _ACEOF
17493 rm -f conftest.$ac_objext conftest$ac_exeext
17494 if { (ac_try="$ac_link"
17495 case "(($ac_try" in
17496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17497 *) ac_try_echo=$ac_try;;
17498 esac
17499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_link") 2>conftest.er1
17501 ac_status=$?
17502 grep -v '^ *+' conftest.er1 >conftest.err
17503 rm -f conftest.er1
17504 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17508 { (case "(($ac_try" in
17509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17510 *) ac_try_echo=$ac_try;;
17511 esac
17512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17513 (eval "$ac_try") 2>&5
17514 ac_status=$?
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; } &&
17517 { ac_try='test -s conftest$ac_exeext'
17518 { (case "(($ac_try" in
17519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17520 *) ac_try_echo=$ac_try;;
17521 esac
17522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17523 (eval "$ac_try") 2>&5
17524 ac_status=$?
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); }; }; then
17527 case "$LIBEXT" in
17528 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'` ;;
17529 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17530 esac
17531 if test "x$ac_cv_lib_soname_jack" = "x"
17532 then
17533 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17535 else
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17539 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17543 conftest$ac_exeext conftest.$ac_ext
17544 LIBS=$ac_get_soname_save_LIBS
17546 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17547 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17548 if test "${ac_cv_lib_soname_jack+set}" = set; then
17550 cat >>confdefs.h <<_ACEOF
17551 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17552 _ACEOF
17556 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17557 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17558 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17561 ac_get_soname_save_LIBS=$LIBS
17562 LIBS="-lfontconfig $LIBS"
17563 cat >conftest.$ac_ext <<_ACEOF
17564 /* confdefs.h. */
17565 _ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17570 /* Override any GCC internal prototype to avoid an error.
17571 Use char because int might match the return type of a GCC
17572 builtin and then its argument prototype would still apply. */
17573 #ifdef __cplusplus
17574 extern "C"
17575 #endif
17576 char FcInit ();
17578 main ()
17580 return FcInit ();
17582 return 0;
17584 _ACEOF
17585 rm -f conftest.$ac_objext conftest$ac_exeext
17586 if { (ac_try="$ac_link"
17587 case "(($ac_try" in
17588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589 *) ac_try_echo=$ac_try;;
17590 esac
17591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592 (eval "$ac_link") 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } &&
17599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17600 { (case "(($ac_try" in
17601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17602 *) ac_try_echo=$ac_try;;
17603 esac
17604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17605 (eval "$ac_try") 2>&5
17606 ac_status=$?
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try='test -s conftest$ac_exeext'
17610 { (case "(($ac_try" in
17611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17612 *) ac_try_echo=$ac_try;;
17613 esac
17614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17615 (eval "$ac_try") 2>&5
17616 ac_status=$?
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; }; then
17619 case "$LIBEXT" in
17620 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'` ;;
17621 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17622 esac
17623 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17624 then
17625 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17627 else
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.$ac_ext >&5
17631 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17635 conftest$ac_exeext conftest.$ac_ext
17636 LIBS=$ac_get_soname_save_LIBS
17638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17639 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17640 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17642 cat >>confdefs.h <<_ACEOF
17643 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17644 _ACEOF
17648 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17649 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17650 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else
17653 ac_get_soname_save_LIBS=$LIBS
17654 LIBS="-lssl $LIBS"
17655 cat >conftest.$ac_ext <<_ACEOF
17656 /* confdefs.h. */
17657 _ACEOF
17658 cat confdefs.h >>conftest.$ac_ext
17659 cat >>conftest.$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17662 /* Override any GCC internal prototype to avoid an error.
17663 Use char because int might match the return type of a GCC
17664 builtin and then its argument prototype would still apply. */
17665 #ifdef __cplusplus
17666 extern "C"
17667 #endif
17668 char SSL_library_init ();
17670 main ()
17672 return SSL_library_init ();
17674 return 0;
17676 _ACEOF
17677 rm -f conftest.$ac_objext conftest$ac_exeext
17678 if { (ac_try="$ac_link"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17682 esac
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_link") 2>conftest.er1
17685 ac_status=$?
17686 grep -v '^ *+' conftest.er1 >conftest.err
17687 rm -f conftest.er1
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } &&
17691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17692 { (case "(($ac_try" in
17693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17694 *) ac_try_echo=$ac_try;;
17695 esac
17696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17697 (eval "$ac_try") 2>&5
17698 ac_status=$?
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; } &&
17701 { ac_try='test -s conftest$ac_exeext'
17702 { (case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17705 esac
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_try") 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 case "$LIBEXT" in
17712 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'` ;;
17713 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17714 esac
17715 if test "x$ac_cv_lib_soname_ssl" = "x"
17716 then
17717 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17723 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17727 conftest$ac_exeext conftest.$ac_ext
17728 LIBS=$ac_get_soname_save_LIBS
17730 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17731 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17732 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17734 cat >>confdefs.h <<_ACEOF
17735 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17736 _ACEOF
17740 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17741 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17742 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17743 echo $ECHO_N "(cached) $ECHO_C" >&6
17744 else
17745 ac_get_soname_save_LIBS=$LIBS
17746 LIBS="-lcrypto $LIBS"
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17754 /* Override any GCC internal prototype to avoid an error.
17755 Use char because int might match the return type of a GCC
17756 builtin and then its argument prototype would still apply. */
17757 #ifdef __cplusplus
17758 extern "C"
17759 #endif
17760 char BIO_new_socket ();
17762 main ()
17764 return BIO_new_socket ();
17766 return 0;
17768 _ACEOF
17769 rm -f conftest.$ac_objext conftest$ac_exeext
17770 if { (ac_try="$ac_link"
17771 case "(($ac_try" in
17772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17773 *) ac_try_echo=$ac_try;;
17774 esac
17775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17776 (eval "$ac_link") 2>conftest.er1
17777 ac_status=$?
17778 grep -v '^ *+' conftest.er1 >conftest.err
17779 rm -f conftest.er1
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17784 { (case "(($ac_try" in
17785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17786 *) ac_try_echo=$ac_try;;
17787 esac
17788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17789 (eval "$ac_try") 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; } &&
17793 { ac_try='test -s conftest$ac_exeext'
17794 { (case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17797 esac
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_try") 2>&5
17800 ac_status=$?
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; }; then
17803 case "$LIBEXT" in
17804 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'` ;;
17805 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17806 esac
17807 if test "x$ac_cv_lib_soname_crypto" = "x"
17808 then
17809 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17815 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17819 conftest$ac_exeext conftest.$ac_ext
17820 LIBS=$ac_get_soname_save_LIBS
17822 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17823 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17824 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17826 cat >>confdefs.h <<_ACEOF
17827 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17828 _ACEOF
17832 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17833 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17834 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17835 echo $ECHO_N "(cached) $ECHO_C" >&6
17836 else
17837 ac_get_soname_save_LIBS=$LIBS
17838 LIBS="-lncurses $LIBS"
17839 cat >conftest.$ac_ext <<_ACEOF
17840 /* confdefs.h. */
17841 _ACEOF
17842 cat confdefs.h >>conftest.$ac_ext
17843 cat >>conftest.$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17846 /* Override any GCC internal prototype to avoid an error.
17847 Use char because int might match the return type of a GCC
17848 builtin and then its argument prototype would still apply. */
17849 #ifdef __cplusplus
17850 extern "C"
17851 #endif
17852 char waddch ();
17854 main ()
17856 return waddch ();
17858 return 0;
17860 _ACEOF
17861 rm -f conftest.$ac_objext conftest$ac_exeext
17862 if { (ac_try="$ac_link"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_link") 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17876 { (case "(($ac_try" in
17877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17879 esac
17880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17881 (eval "$ac_try") 2>&5
17882 ac_status=$?
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try='test -s conftest$ac_exeext'
17886 { (case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17889 esac
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_try") 2>&5
17892 ac_status=$?
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; }; then
17895 case "$LIBEXT" in
17896 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'` ;;
17897 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17898 esac
17899 if test "x$ac_cv_lib_soname_ncurses" = "x"
17900 then
17901 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17907 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17911 conftest$ac_exeext conftest.$ac_ext
17912 LIBS=$ac_get_soname_save_LIBS
17914 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17915 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17916 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17918 cat >>confdefs.h <<_ACEOF
17919 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17920 _ACEOF
17924 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17925 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17926 if test "${ac_cv_lib_soname_curses+set}" = set; then
17927 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 else
17929 ac_get_soname_save_LIBS=$LIBS
17930 LIBS="-lcurses $LIBS"
17931 cat >conftest.$ac_ext <<_ACEOF
17932 /* confdefs.h. */
17933 _ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17938 /* Override any GCC internal prototype to avoid an error.
17939 Use char because int might match the return type of a GCC
17940 builtin and then its argument prototype would still apply. */
17941 #ifdef __cplusplus
17942 extern "C"
17943 #endif
17944 char waddch ();
17946 main ()
17948 return waddch ();
17950 return 0;
17952 _ACEOF
17953 rm -f conftest.$ac_objext conftest$ac_exeext
17954 if { (ac_try="$ac_link"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_link") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17968 { (case "(($ac_try" in
17969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17970 *) ac_try_echo=$ac_try;;
17971 esac
17972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17973 (eval "$ac_try") 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest$ac_exeext'
17978 { (case "(($ac_try" in
17979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17980 *) ac_try_echo=$ac_try;;
17981 esac
17982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17983 (eval "$ac_try") 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; }; then
17987 case "$LIBEXT" in
17988 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'` ;;
17989 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17990 esac
17991 if test "x$ac_cv_lib_soname_curses" = "x"
17992 then
17993 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17995 else
17996 echo "$as_me: failed program was:" >&5
17997 sed 's/^/| /' conftest.$ac_ext >&5
17999 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18003 conftest$ac_exeext conftest.$ac_ext
18004 LIBS=$ac_get_soname_save_LIBS
18006 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18007 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18008 if test "${ac_cv_lib_soname_curses+set}" = set; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18012 _ACEOF
18016 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18017 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18018 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 else
18021 ac_get_soname_save_LIBS=$LIBS
18022 LIBS="-ljpeg $LIBS"
18023 cat >conftest.$ac_ext <<_ACEOF
18024 /* confdefs.h. */
18025 _ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18030 /* Override any GCC internal prototype to avoid an error.
18031 Use char because int might match the return type of a GCC
18032 builtin and then its argument prototype would still apply. */
18033 #ifdef __cplusplus
18034 extern "C"
18035 #endif
18036 char jpeg_start_decompress ();
18038 main ()
18040 return jpeg_start_decompress ();
18042 return 0;
18044 _ACEOF
18045 rm -f conftest.$ac_objext conftest$ac_exeext
18046 if { (ac_try="$ac_link"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18050 esac
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_link") 2>conftest.er1
18053 ac_status=$?
18054 grep -v '^ *+' conftest.er1 >conftest.err
18055 rm -f conftest.er1
18056 cat conftest.err >&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18060 { (case "(($ac_try" in
18061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18062 *) ac_try_echo=$ac_try;;
18063 esac
18064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18065 (eval "$ac_try") 2>&5
18066 ac_status=$?
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); }; } &&
18069 { ac_try='test -s conftest$ac_exeext'
18070 { (case "(($ac_try" in
18071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18072 *) ac_try_echo=$ac_try;;
18073 esac
18074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18075 (eval "$ac_try") 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 case "$LIBEXT" in
18080 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'` ;;
18081 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18082 esac
18083 if test "x$ac_cv_lib_soname_jpeg" = "x"
18084 then
18085 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18087 else
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18091 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18095 conftest$ac_exeext conftest.$ac_ext
18096 LIBS=$ac_get_soname_save_LIBS
18098 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18099 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18100 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18102 cat >>confdefs.h <<_ACEOF
18103 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18104 _ACEOF
18108 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18109 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18110 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 else
18113 ac_get_soname_save_LIBS=$LIBS
18114 LIBS="-lcapi20 $LIBS"
18115 cat >conftest.$ac_ext <<_ACEOF
18116 /* confdefs.h. */
18117 _ACEOF
18118 cat confdefs.h >>conftest.$ac_ext
18119 cat >>conftest.$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18122 /* Override any GCC internal prototype to avoid an error.
18123 Use char because int might match the return type of a GCC
18124 builtin and then its argument prototype would still apply. */
18125 #ifdef __cplusplus
18126 extern "C"
18127 #endif
18128 char capi20_isinstalled ();
18130 main ()
18132 return capi20_isinstalled ();
18134 return 0;
18136 _ACEOF
18137 rm -f conftest.$ac_objext conftest$ac_exeext
18138 if { (ac_try="$ac_link"
18139 case "(($ac_try" in
18140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18141 *) ac_try_echo=$ac_try;;
18142 esac
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_link") 2>conftest.er1
18145 ac_status=$?
18146 grep -v '^ *+' conftest.er1 >conftest.err
18147 rm -f conftest.er1
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } &&
18151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18152 { (case "(($ac_try" in
18153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18154 *) ac_try_echo=$ac_try;;
18155 esac
18156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18157 (eval "$ac_try") 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; } &&
18161 { ac_try='test -s conftest$ac_exeext'
18162 { (case "(($ac_try" in
18163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18165 esac
18166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18167 (eval "$ac_try") 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 case "$LIBEXT" in
18172 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'` ;;
18173 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18174 esac
18175 if test "x$ac_cv_lib_soname_capi20" = "x"
18176 then
18177 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18179 else
18180 echo "$as_me: failed program was:" >&5
18181 sed 's/^/| /' conftest.$ac_ext >&5
18183 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18187 conftest$ac_exeext conftest.$ac_ext
18188 LIBS=$ac_get_soname_save_LIBS
18190 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18191 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18192 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18194 cat >>confdefs.h <<_ACEOF
18195 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18196 _ACEOF
18274 for ac_func in \
18275 _pclose \
18276 _popen \
18277 _snprintf \
18278 _spawnvp \
18279 _stricmp \
18280 _strnicmp \
18281 _vsnprintf \
18282 asctime_r \
18283 chsize \
18284 clone \
18285 connect \
18286 dlopen \
18287 epoll_create \
18288 ffs \
18289 finite \
18290 fork \
18291 fpclass \
18292 fstatfs \
18293 fstatvfs \
18294 ftruncate \
18295 futimes \
18296 futimesat \
18297 getaddrinfo \
18298 getdirentries \
18299 gethostbyname \
18300 getnameinfo \
18301 getnetbyname \
18302 getopt_long \
18303 getpagesize \
18304 getprotobyname \
18305 getprotobynumber \
18306 getpwuid \
18307 getservbyport \
18308 gettid \
18309 gettimeofday \
18310 getuid \
18311 inet_aton \
18312 inet_network \
18313 kqueue \
18314 lstat \
18315 memmove \
18316 mmap \
18317 pclose \
18318 poll \
18319 popen \
18320 prctl \
18321 pread \
18322 pwrite \
18323 readlink \
18324 rfork \
18325 sched_yield \
18326 select \
18327 sendmsg \
18328 setrlimit \
18329 settimeofday \
18330 sigaltstack \
18331 sigprocmask \
18332 snprintf \
18333 spawnvp \
18334 statfs \
18335 statvfs \
18336 strcasecmp \
18337 strerror \
18338 strncasecmp \
18339 tcgetattr \
18340 timegm \
18341 usleep \
18342 vsnprintf \
18343 wait4 \
18344 waitpid \
18347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18350 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18361 #define $ac_func innocuous_$ac_func
18363 /* System header to define __stub macros and hopefully few prototypes,
18364 which can conflict with char $ac_func (); below.
18365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18366 <limits.h> exists even on freestanding compilers. */
18368 #ifdef __STDC__
18369 # include <limits.h>
18370 #else
18371 # include <assert.h>
18372 #endif
18374 #undef $ac_func
18376 /* Override any GCC internal prototype to avoid an error.
18377 Use char because int might match the return type of a GCC
18378 builtin and then its argument prototype would still apply. */
18379 #ifdef __cplusplus
18380 extern "C"
18381 #endif
18382 char $ac_func ();
18383 /* The GNU C library defines this for functions which it implements
18384 to always fail with ENOSYS. Some functions are actually named
18385 something starting with __ and the normal name is an alias. */
18386 #if defined __stub_$ac_func || defined __stub___$ac_func
18387 choke me
18388 #endif
18391 main ()
18393 return $ac_func ();
18395 return 0;
18397 _ACEOF
18398 rm -f conftest.$ac_objext conftest$ac_exeext
18399 if { (ac_try="$ac_link"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_link") 2>conftest.er1
18406 ac_status=$?
18407 grep -v '^ *+' conftest.er1 >conftest.err
18408 rm -f conftest.er1
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } &&
18412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18413 { (case "(($ac_try" in
18414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18415 *) ac_try_echo=$ac_try;;
18416 esac
18417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18418 (eval "$ac_try") 2>&5
18419 ac_status=$?
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try='test -s conftest$ac_exeext'
18423 { (case "(($ac_try" in
18424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18425 *) ac_try_echo=$ac_try;;
18426 esac
18427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18428 (eval "$ac_try") 2>&5
18429 ac_status=$?
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 eval "$as_ac_var=yes"
18433 else
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18437 eval "$as_ac_var=no"
18440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18441 conftest$ac_exeext conftest.$ac_ext
18443 ac_res=`eval echo '${'$as_ac_var'}'`
18444 { echo "$as_me:$LINENO: result: $ac_res" >&5
18445 echo "${ECHO_T}$ac_res" >&6; }
18446 if test `eval echo '${'$as_ac_var'}'` = yes; then
18447 cat >>confdefs.h <<_ACEOF
18448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18449 _ACEOF
18452 done
18455 if test "$ac_cv_func_dlopen" = no
18456 then
18457 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18458 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18459 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 else
18462 ac_check_lib_save_LIBS=$LIBS
18463 LIBS="-ldl $LIBS"
18464 cat >conftest.$ac_ext <<_ACEOF
18465 /* confdefs.h. */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18471 /* Override any GCC internal prototype to avoid an error.
18472 Use char because int might match the return type of a GCC
18473 builtin and then its argument prototype would still apply. */
18474 #ifdef __cplusplus
18475 extern "C"
18476 #endif
18477 char dlopen ();
18479 main ()
18481 return dlopen ();
18483 return 0;
18485 _ACEOF
18486 rm -f conftest.$ac_objext conftest$ac_exeext
18487 if { (ac_try="$ac_link"
18488 case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18491 esac
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_link") 2>conftest.er1
18494 ac_status=$?
18495 grep -v '^ *+' conftest.er1 >conftest.err
18496 rm -f conftest.er1
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } &&
18500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18501 { (case "(($ac_try" in
18502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18504 esac
18505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_try") 2>&5
18507 ac_status=$?
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; } &&
18510 { ac_try='test -s conftest$ac_exeext'
18511 { (case "(($ac_try" in
18512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18513 *) ac_try_echo=$ac_try;;
18514 esac
18515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18516 (eval "$ac_try") 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 ac_cv_lib_dl_dlopen=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18525 ac_cv_lib_dl_dlopen=no
18528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18529 conftest$ac_exeext conftest.$ac_ext
18530 LIBS=$ac_check_lib_save_LIBS
18532 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18533 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18534 if test $ac_cv_lib_dl_dlopen = yes; then
18535 cat >>confdefs.h <<\_ACEOF
18536 #define HAVE_DLOPEN 1
18537 _ACEOF
18538 LIBDL="-ldl"
18543 ac_wine_check_funcs_save_LIBS="$LIBS"
18544 LIBS="$LIBS $LIBDL"
18546 for ac_func in dladdr
18548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18549 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18551 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h. */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18562 #define $ac_func innocuous_$ac_func
18564 /* System header to define __stub macros and hopefully few prototypes,
18565 which can conflict with char $ac_func (); below.
18566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18567 <limits.h> exists even on freestanding compilers. */
18569 #ifdef __STDC__
18570 # include <limits.h>
18571 #else
18572 # include <assert.h>
18573 #endif
18575 #undef $ac_func
18577 /* Override any GCC internal prototype to avoid an error.
18578 Use char because int might match the return type of a GCC
18579 builtin and then its argument prototype would still apply. */
18580 #ifdef __cplusplus
18581 extern "C"
18582 #endif
18583 char $ac_func ();
18584 /* The GNU C library defines this for functions which it implements
18585 to always fail with ENOSYS. Some functions are actually named
18586 something starting with __ and the normal name is an alias. */
18587 #if defined __stub_$ac_func || defined __stub___$ac_func
18588 choke me
18589 #endif
18592 main ()
18594 return $ac_func ();
18596 return 0;
18598 _ACEOF
18599 rm -f conftest.$ac_objext conftest$ac_exeext
18600 if { (ac_try="$ac_link"
18601 case "(($ac_try" in
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18604 esac
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_link") 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18614 { (case "(($ac_try" in
18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18616 *) ac_try_echo=$ac_try;;
18617 esac
18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_try") 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try='test -s conftest$ac_exeext'
18624 { (case "(($ac_try" in
18625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18626 *) ac_try_echo=$ac_try;;
18627 esac
18628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18629 (eval "$ac_try") 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 eval "$as_ac_var=yes"
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18638 eval "$as_ac_var=no"
18641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18642 conftest$ac_exeext conftest.$ac_ext
18644 ac_res=`eval echo '${'$as_ac_var'}'`
18645 { echo "$as_me:$LINENO: result: $ac_res" >&5
18646 echo "${ECHO_T}$ac_res" >&6; }
18647 if test `eval echo '${'$as_ac_var'}'` = yes; then
18648 cat >>confdefs.h <<_ACEOF
18649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18650 _ACEOF
18653 done
18655 LIBS="$ac_wine_check_funcs_save_LIBS"
18657 if test "$ac_cv_func_poll" = no
18658 then
18659 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18660 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18661 if test "${ac_cv_lib_poll_poll+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 else
18664 ac_check_lib_save_LIBS=$LIBS
18665 LIBS="-lpoll $LIBS"
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18673 /* Override any GCC internal prototype to avoid an error.
18674 Use char because int might match the return type of a GCC
18675 builtin and then its argument prototype would still apply. */
18676 #ifdef __cplusplus
18677 extern "C"
18678 #endif
18679 char poll ();
18681 main ()
18683 return poll ();
18685 return 0;
18687 _ACEOF
18688 rm -f conftest.$ac_objext conftest$ac_exeext
18689 if { (ac_try="$ac_link"
18690 case "(($ac_try" in
18691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18693 esac
18694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_link") 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18703 { (case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705 *) ac_try_echo=$ac_try;;
18706 esac
18707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18708 (eval "$ac_try") 2>&5
18709 ac_status=$?
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; } &&
18712 { ac_try='test -s conftest$ac_exeext'
18713 { (case "(($ac_try" in
18714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18715 *) ac_try_echo=$ac_try;;
18716 esac
18717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18718 (eval "$ac_try") 2>&5
18719 ac_status=$?
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; }; then
18722 ac_cv_lib_poll_poll=yes
18723 else
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18727 ac_cv_lib_poll_poll=no
18730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18731 conftest$ac_exeext conftest.$ac_ext
18732 LIBS=$ac_check_lib_save_LIBS
18734 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18735 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18736 if test $ac_cv_lib_poll_poll = yes; then
18737 cat >>confdefs.h <<\_ACEOF
18738 #define HAVE_POLL 1
18739 _ACEOF
18740 LIBPOLL="-lpoll"
18746 if test "$ac_cv_func_gethostbyname" = no
18747 then
18749 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18750 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18751 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 else
18754 ac_check_lib_save_LIBS=$LIBS
18755 LIBS="-lnsl $LIBS"
18756 cat >conftest.$ac_ext <<_ACEOF
18757 /* confdefs.h. */
18758 _ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18763 /* Override any GCC internal prototype to avoid an error.
18764 Use char because int might match the return type of a GCC
18765 builtin and then its argument prototype would still apply. */
18766 #ifdef __cplusplus
18767 extern "C"
18768 #endif
18769 char gethostbyname ();
18771 main ()
18773 return gethostbyname ();
18775 return 0;
18777 _ACEOF
18778 rm -f conftest.$ac_objext conftest$ac_exeext
18779 if { (ac_try="$ac_link"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_link") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18793 { (case "(($ac_try" in
18794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18795 *) ac_try_echo=$ac_try;;
18796 esac
18797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18798 (eval "$ac_try") 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; } &&
18802 { ac_try='test -s conftest$ac_exeext'
18803 { (case "(($ac_try" in
18804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18805 *) ac_try_echo=$ac_try;;
18806 esac
18807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18808 (eval "$ac_try") 2>&5
18809 ac_status=$?
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18812 ac_cv_lib_nsl_gethostbyname=yes
18813 else
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.$ac_ext >&5
18817 ac_cv_lib_nsl_gethostbyname=no
18820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18821 conftest$ac_exeext conftest.$ac_ext
18822 LIBS=$ac_check_lib_save_LIBS
18824 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18825 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18826 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_LIBNSL 1
18829 _ACEOF
18831 LIBS="-lnsl $LIBS"
18837 if test "$ac_cv_func_connect" = no
18838 then
18840 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18841 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18842 if test "${ac_cv_lib_socket_connect+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 else
18845 ac_check_lib_save_LIBS=$LIBS
18846 LIBS="-lsocket $LIBS"
18847 cat >conftest.$ac_ext <<_ACEOF
18848 /* confdefs.h. */
18849 _ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18854 /* Override any GCC internal prototype to avoid an error.
18855 Use char because int might match the return type of a GCC
18856 builtin and then its argument prototype would still apply. */
18857 #ifdef __cplusplus
18858 extern "C"
18859 #endif
18860 char connect ();
18862 main ()
18864 return connect ();
18866 return 0;
18868 _ACEOF
18869 rm -f conftest.$ac_objext conftest$ac_exeext
18870 if { (ac_try="$ac_link"
18871 case "(($ac_try" in
18872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;;
18874 esac
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876 (eval "$ac_link") 2>conftest.er1
18877 ac_status=$?
18878 grep -v '^ *+' conftest.er1 >conftest.err
18879 rm -f conftest.er1
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } &&
18883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18884 { (case "(($ac_try" in
18885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18886 *) ac_try_echo=$ac_try;;
18887 esac
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_try") 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try='test -s conftest$ac_exeext'
18894 { (case "(($ac_try" in
18895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18896 *) ac_try_echo=$ac_try;;
18897 esac
18898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18899 (eval "$ac_try") 2>&5
18900 ac_status=$?
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18903 ac_cv_lib_socket_connect=yes
18904 else
18905 echo "$as_me: failed program was:" >&5
18906 sed 's/^/| /' conftest.$ac_ext >&5
18908 ac_cv_lib_socket_connect=no
18911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18912 conftest$ac_exeext conftest.$ac_ext
18913 LIBS=$ac_check_lib_save_LIBS
18915 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18916 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18917 if test $ac_cv_lib_socket_connect = yes; then
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_LIBSOCKET 1
18920 _ACEOF
18922 LIBS="-lsocket $LIBS"
18928 if test "$ac_cv_func_inet_aton" = no
18929 then
18931 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18932 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18933 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 else
18936 ac_check_lib_save_LIBS=$LIBS
18937 LIBS="-lresolv $LIBS"
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. */
18945 /* Override any GCC internal prototype to avoid an error.
18946 Use char because int might match the return type of a GCC
18947 builtin and then its argument prototype would still apply. */
18948 #ifdef __cplusplus
18949 extern "C"
18950 #endif
18951 char inet_aton ();
18953 main ()
18955 return inet_aton ();
18957 return 0;
18959 _ACEOF
18960 rm -f conftest.$ac_objext conftest$ac_exeext
18961 if { (ac_try="$ac_link"
18962 case "(($ac_try" in
18963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18964 *) ac_try_echo=$ac_try;;
18965 esac
18966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18967 (eval "$ac_link") 2>conftest.er1
18968 ac_status=$?
18969 grep -v '^ *+' conftest.er1 >conftest.err
18970 rm -f conftest.er1
18971 cat conftest.err >&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } &&
18974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18975 { (case "(($ac_try" in
18976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18977 *) ac_try_echo=$ac_try;;
18978 esac
18979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18980 (eval "$ac_try") 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; } &&
18984 { ac_try='test -s conftest$ac_exeext'
18985 { (case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_try") 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; }; then
18994 ac_cv_lib_resolv_inet_aton=yes
18995 else
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18999 ac_cv_lib_resolv_inet_aton=no
19002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19003 conftest$ac_exeext conftest.$ac_ext
19004 LIBS=$ac_check_lib_save_LIBS
19006 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
19007 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
19008 if test $ac_cv_lib_resolv_inet_aton = yes; then
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_LIBRESOLV 1
19011 _ACEOF
19013 LIBS="-lresolv $LIBS"
19020 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19021 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19022 if test "${ac_cv_c_const+set}" = set; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025 cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h. */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19033 main ()
19035 /* FIXME: Include the comments suggested by Paul. */
19036 #ifndef __cplusplus
19037 /* Ultrix mips cc rejects this. */
19038 typedef int charset[2];
19039 const charset cs;
19040 /* SunOS 4.1.1 cc rejects this. */
19041 char const *const *pcpcc;
19042 char **ppc;
19043 /* NEC SVR4.0.2 mips cc rejects this. */
19044 struct point {int x, y;};
19045 static struct point const zero = {0,0};
19046 /* AIX XL C 1.02.0.0 rejects this.
19047 It does not let you subtract one const X* pointer from another in
19048 an arm of an if-expression whose if-part is not a constant
19049 expression */
19050 const char *g = "string";
19051 pcpcc = &g + (g ? g-g : 0);
19052 /* HPUX 7.0 cc rejects these. */
19053 ++pcpcc;
19054 ppc = (char**) pcpcc;
19055 pcpcc = (char const *const *) ppc;
19056 { /* SCO 3.2v4 cc rejects this. */
19057 char *t;
19058 char const *s = 0 ? (char *) 0 : (char const *) 0;
19060 *t++ = 0;
19061 if (s) return 0;
19063 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19064 int x[] = {25, 17};
19065 const int *foo = &x[0];
19066 ++foo;
19068 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19069 typedef const int *iptr;
19070 iptr p = 0;
19071 ++p;
19073 { /* AIX XL C 1.02.0.0 rejects this saying
19074 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19075 struct s { int j; const int *ap[3]; };
19076 struct s *b; b->j = 5;
19078 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19079 const int foo = 10;
19080 if (!foo) return 0;
19082 return !cs[0] && !zero.x;
19083 #endif
19086 return 0;
19088 _ACEOF
19089 rm -f conftest.$ac_objext
19090 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19097 ac_status=$?
19098 grep -v '^ *+' conftest.er1 >conftest.err
19099 rm -f conftest.er1
19100 cat conftest.err >&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19107 esac
19108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try='test -s conftest.$ac_objext'
19114 { (case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_try") 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 ac_cv_c_const=yes
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19128 ac_cv_c_const=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19134 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19135 if test $ac_cv_c_const = no; then
19137 cat >>confdefs.h <<\_ACEOF
19138 #define const
19139 _ACEOF
19143 { echo "$as_me:$LINENO: checking for inline" >&5
19144 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19145 if test "${ac_cv_c_inline+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 else
19148 ac_cv_c_inline=no
19149 for ac_kw in inline __inline__ __inline; do
19150 cat >conftest.$ac_ext <<_ACEOF
19151 /* confdefs.h. */
19152 _ACEOF
19153 cat confdefs.h >>conftest.$ac_ext
19154 cat >>conftest.$ac_ext <<_ACEOF
19155 /* end confdefs.h. */
19156 #ifndef __cplusplus
19157 typedef int foo_t;
19158 static $ac_kw foo_t static_foo () {return 0; }
19159 $ac_kw foo_t foo () {return 0; }
19160 #endif
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19178 { (case "(($ac_try" in
19179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19180 *) ac_try_echo=$ac_try;;
19181 esac
19182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19183 (eval "$ac_try") 2>&5
19184 ac_status=$?
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try='test -s conftest.$ac_objext'
19188 { (case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;;
19191 esac
19192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19193 (eval "$ac_try") 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_c_inline=$ac_kw
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19206 test "$ac_cv_c_inline" != no && break
19207 done
19210 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19211 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19214 case $ac_cv_c_inline in
19215 inline | yes) ;;
19217 case $ac_cv_c_inline in
19218 no) ac_val=;;
19219 *) ac_val=$ac_cv_c_inline;;
19220 esac
19221 cat >>confdefs.h <<_ACEOF
19222 #ifndef __cplusplus
19223 #define inline $ac_val
19224 #endif
19225 _ACEOF
19227 esac
19229 { echo "$as_me:$LINENO: checking for mode_t" >&5
19230 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19231 if test "${ac_cv_type_mode_t+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19241 typedef mode_t ac__type_new_;
19243 main ()
19245 if ((ac__type_new_ *) 0)
19246 return 0;
19247 if (sizeof (ac__type_new_))
19248 return 0;
19250 return 0;
19252 _ACEOF
19253 rm -f conftest.$ac_objext
19254 if { (ac_try="$ac_compile"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19258 esac
19259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_compile") 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19268 { (case "(($ac_try" in
19269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19270 *) ac_try_echo=$ac_try;;
19271 esac
19272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19273 (eval "$ac_try") 2>&5
19274 ac_status=$?
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; } &&
19277 { ac_try='test -s conftest.$ac_objext'
19278 { (case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19281 esac
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_try") 2>&5
19284 ac_status=$?
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; }; then
19287 ac_cv_type_mode_t=yes
19288 else
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.$ac_ext >&5
19292 ac_cv_type_mode_t=no
19295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19297 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19298 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19299 if test $ac_cv_type_mode_t = yes; then
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_MODE_T 1
19303 _ACEOF
19307 { echo "$as_me:$LINENO: checking for off_t" >&5
19308 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19309 if test "${ac_cv_type_off_t+set}" = set; then
19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19311 else
19312 cat >conftest.$ac_ext <<_ACEOF
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 $ac_includes_default
19319 typedef off_t ac__type_new_;
19321 main ()
19323 if ((ac__type_new_ *) 0)
19324 return 0;
19325 if (sizeof (ac__type_new_))
19326 return 0;
19328 return 0;
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19336 esac
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19339 ac_status=$?
19340 grep -v '^ *+' conftest.er1 >conftest.err
19341 rm -f conftest.er1
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19346 { (case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19349 esac
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_try") 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; } &&
19355 { ac_try='test -s conftest.$ac_objext'
19356 { (case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19359 esac
19360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_try") 2>&5
19362 ac_status=$?
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 ac_cv_type_off_t=yes
19366 else
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.$ac_ext >&5
19370 ac_cv_type_off_t=no
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19375 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19376 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19377 if test $ac_cv_type_off_t = yes; then
19379 cat >>confdefs.h <<_ACEOF
19380 #define HAVE_OFF_T 1
19381 _ACEOF
19385 { echo "$as_me:$LINENO: checking for pid_t" >&5
19386 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19387 if test "${ac_cv_type_pid_t+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390 cat >conftest.$ac_ext <<_ACEOF
19391 /* confdefs.h. */
19392 _ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 $ac_includes_default
19397 typedef pid_t ac__type_new_;
19399 main ()
19401 if ((ac__type_new_ *) 0)
19402 return 0;
19403 if (sizeof (ac__type_new_))
19404 return 0;
19406 return 0;
19408 _ACEOF
19409 rm -f conftest.$ac_objext
19410 if { (ac_try="$ac_compile"
19411 case "(($ac_try" in
19412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19413 *) ac_try_echo=$ac_try;;
19414 esac
19415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19416 (eval "$ac_compile") 2>conftest.er1
19417 ac_status=$?
19418 grep -v '^ *+' conftest.er1 >conftest.err
19419 rm -f conftest.er1
19420 cat conftest.err >&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } &&
19423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19424 { (case "(($ac_try" in
19425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19426 *) ac_try_echo=$ac_try;;
19427 esac
19428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19429 (eval "$ac_try") 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try='test -s conftest.$ac_objext'
19434 { (case "(($ac_try" in
19435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19436 *) ac_try_echo=$ac_try;;
19437 esac
19438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19439 (eval "$ac_try") 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_cv_type_pid_t=yes
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 ac_cv_type_pid_t=no
19451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19453 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19454 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19455 if test $ac_cv_type_pid_t = yes; then
19457 cat >>confdefs.h <<_ACEOF
19458 #define HAVE_PID_T 1
19459 _ACEOF
19463 { echo "$as_me:$LINENO: checking for size_t" >&5
19464 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19465 if test "${ac_cv_type_size_t+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 else
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 $ac_includes_default
19475 typedef size_t ac__type_new_;
19477 main ()
19479 if ((ac__type_new_ *) 0)
19480 return 0;
19481 if (sizeof (ac__type_new_))
19482 return 0;
19484 return 0;
19486 _ACEOF
19487 rm -f conftest.$ac_objext
19488 if { (ac_try="$ac_compile"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19492 esac
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19495 ac_status=$?
19496 grep -v '^ *+' conftest.er1 >conftest.err
19497 rm -f conftest.er1
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } &&
19501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19502 { (case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;;
19505 esac
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_try") 2>&5
19508 ac_status=$?
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try='test -s conftest.$ac_objext'
19512 { (case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_try") 2>&5
19518 ac_status=$?
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19521 ac_cv_type_size_t=yes
19522 else
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.$ac_ext >&5
19526 ac_cv_type_size_t=no
19529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19531 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19532 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19533 if test $ac_cv_type_size_t = yes; then
19535 cat >>confdefs.h <<_ACEOF
19536 #define HAVE_SIZE_T 1
19537 _ACEOF
19541 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19542 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19543 if test "${ac_cv_type_ssize_t+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 $ac_includes_default
19553 typedef ssize_t ac__type_new_;
19555 main ()
19557 if ((ac__type_new_ *) 0)
19558 return 0;
19559 if (sizeof (ac__type_new_))
19560 return 0;
19562 return 0;
19564 _ACEOF
19565 rm -f conftest.$ac_objext
19566 if { (ac_try="$ac_compile"
19567 case "(($ac_try" in
19568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19569 *) ac_try_echo=$ac_try;;
19570 esac
19571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19572 (eval "$ac_compile") 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19580 { (case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19583 esac
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_try") 2>&5
19586 ac_status=$?
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try='test -s conftest.$ac_objext'
19590 { (case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_try") 2>&5
19596 ac_status=$?
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 ac_cv_type_ssize_t=yes
19600 else
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19604 ac_cv_type_ssize_t=no
19607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19609 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19610 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19611 if test $ac_cv_type_ssize_t = yes; then
19613 cat >>confdefs.h <<_ACEOF
19614 #define HAVE_SSIZE_T 1
19615 _ACEOF
19619 { echo "$as_me:$LINENO: checking for long long" >&5
19620 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19621 if test "${ac_cv_type_long_long+set}" = set; then
19622 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 else
19624 cat >conftest.$ac_ext <<_ACEOF
19625 /* confdefs.h. */
19626 _ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 $ac_includes_default
19631 typedef long long ac__type_new_;
19633 main ()
19635 if ((ac__type_new_ *) 0)
19636 return 0;
19637 if (sizeof (ac__type_new_))
19638 return 0;
19640 return 0;
19642 _ACEOF
19643 rm -f conftest.$ac_objext
19644 if { (ac_try="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19648 esac
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19651 ac_status=$?
19652 grep -v '^ *+' conftest.er1 >conftest.err
19653 rm -f conftest.er1
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19658 { (case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19661 esac
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_try") 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (case "(($ac_try" in
19669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19671 esac
19672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_try") 2>&5
19674 ac_status=$?
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 ac_cv_type_long_long=yes
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19682 ac_cv_type_long_long=no
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19688 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19689 if test $ac_cv_type_long_long = yes; then
19691 cat >>confdefs.h <<_ACEOF
19692 #define HAVE_LONG_LONG 1
19693 _ACEOF
19697 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19698 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19699 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19702 cat >conftest.$ac_ext <<_ACEOF
19703 /* confdefs.h. */
19704 _ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19709 typedef fsblkcnt_t ac__type_new_;
19711 main ()
19713 if ((ac__type_new_ *) 0)
19714 return 0;
19715 if (sizeof (ac__type_new_))
19716 return 0;
19718 return 0;
19720 _ACEOF
19721 rm -f conftest.$ac_objext
19722 if { (ac_try="$ac_compile"
19723 case "(($ac_try" in
19724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19725 *) ac_try_echo=$ac_try;;
19726 esac
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_compile") 2>conftest.er1
19729 ac_status=$?
19730 grep -v '^ *+' conftest.er1 >conftest.err
19731 rm -f conftest.er1
19732 cat conftest.err >&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } &&
19735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19736 { (case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;;
19739 esac
19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19741 (eval "$ac_try") 2>&5
19742 ac_status=$?
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; } &&
19745 { ac_try='test -s conftest.$ac_objext'
19746 { (case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749 esac
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_try") 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_type_fsblkcnt_t=yes
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19760 ac_cv_type_fsblkcnt_t=no
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19766 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19767 if test $ac_cv_type_fsblkcnt_t = yes; then
19769 cat >>confdefs.h <<_ACEOF
19770 #define HAVE_FSBLKCNT_T 1
19771 _ACEOF
19775 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19776 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19777 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 $ac_includes_default
19787 typedef fsfilcnt_t ac__type_new_;
19789 main ()
19791 if ((ac__type_new_ *) 0)
19792 return 0;
19793 if (sizeof (ac__type_new_))
19794 return 0;
19796 return 0;
19798 _ACEOF
19799 rm -f conftest.$ac_objext
19800 if { (ac_try="$ac_compile"
19801 case "(($ac_try" in
19802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19803 *) ac_try_echo=$ac_try;;
19804 esac
19805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19806 (eval "$ac_compile") 2>conftest.er1
19807 ac_status=$?
19808 grep -v '^ *+' conftest.er1 >conftest.err
19809 rm -f conftest.er1
19810 cat conftest.err >&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); } &&
19813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19814 { (case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19817 esac
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_try") 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try='test -s conftest.$ac_objext'
19824 { (case "(($ac_try" in
19825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19826 *) ac_try_echo=$ac_try;;
19827 esac
19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_try") 2>&5
19830 ac_status=$?
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; }; then
19833 ac_cv_type_fsfilcnt_t=yes
19834 else
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19838 ac_cv_type_fsfilcnt_t=no
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19843 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19844 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19845 if test $ac_cv_type_fsfilcnt_t = yes; then
19847 cat >>confdefs.h <<_ACEOF
19848 #define HAVE_FSFILCNT_T 1
19849 _ACEOF
19854 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19855 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19856 if test "${ac_cv_type_sigset_t+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 else
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 #include <signal.h>
19867 typedef sigset_t ac__type_new_;
19869 main ()
19871 if ((ac__type_new_ *) 0)
19872 return 0;
19873 if (sizeof (ac__type_new_))
19874 return 0;
19876 return 0;
19878 _ACEOF
19879 rm -f conftest.$ac_objext
19880 if { (ac_try="$ac_compile"
19881 case "(($ac_try" in
19882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19883 *) ac_try_echo=$ac_try;;
19884 esac
19885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19886 (eval "$ac_compile") 2>conftest.er1
19887 ac_status=$?
19888 grep -v '^ *+' conftest.er1 >conftest.err
19889 rm -f conftest.er1
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } &&
19893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19894 { (case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19897 esac
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_try") 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; } &&
19903 { ac_try='test -s conftest.$ac_objext'
19904 { (case "(($ac_try" in
19905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19906 *) ac_try_echo=$ac_try;;
19907 esac
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_try") 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19913 ac_cv_type_sigset_t=yes
19914 else
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19918 ac_cv_type_sigset_t=no
19921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19924 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19925 if test $ac_cv_type_sigset_t = yes; then
19927 cat >>confdefs.h <<_ACEOF
19928 #define HAVE_SIGSET_T 1
19929 _ACEOF
19934 { echo "$as_me:$LINENO: checking for request_sense" >&5
19935 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19936 if test "${ac_cv_type_request_sense+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <linux/cdrom.h>
19947 typedef request_sense ac__type_new_;
19949 main ()
19951 if ((ac__type_new_ *) 0)
19952 return 0;
19953 if (sizeof (ac__type_new_))
19954 return 0;
19956 return 0;
19958 _ACEOF
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19964 esac
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } &&
19973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19974 { (case "(($ac_try" in
19975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19976 *) ac_try_echo=$ac_try;;
19977 esac
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979 (eval "$ac_try") 2>&5
19980 ac_status=$?
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); }; } &&
19983 { ac_try='test -s conftest.$ac_objext'
19984 { (case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19987 esac
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_try") 2>&5
19990 ac_status=$?
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 ac_cv_type_request_sense=yes
19994 else
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19998 ac_cv_type_request_sense=no
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20004 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20005 if test $ac_cv_type_request_sense = yes; then
20007 cat >>confdefs.h <<_ACEOF
20008 #define HAVE_REQUEST_SENSE 1
20009 _ACEOF
20015 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20016 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20017 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20018 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 else
20020 cat >conftest.$ac_ext <<_ACEOF
20021 /* confdefs.h. */
20022 _ACEOF
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 #ifdef HAVE_LINUX_INPUT_H
20027 #include <linux/input.h>
20028 #endif
20031 main ()
20033 static struct ff_effect ac_aggr;
20034 if (ac_aggr.direction)
20035 return 0;
20037 return 0;
20039 _ACEOF
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20045 esac
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20048 ac_status=$?
20049 grep -v '^ *+' conftest.er1 >conftest.err
20050 rm -f conftest.er1
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } &&
20054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20055 { (case "(($ac_try" in
20056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20058 esac
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_try") 2>&5
20061 ac_status=$?
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; } &&
20064 { ac_try='test -s conftest.$ac_objext'
20065 { (case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20068 esac
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_try") 2>&5
20071 ac_status=$?
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; }; then
20074 ac_cv_member_struct_ff_effect_direction=yes
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 cat >conftest.$ac_ext <<_ACEOF
20080 /* confdefs.h. */
20081 _ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #ifdef HAVE_LINUX_INPUT_H
20086 #include <linux/input.h>
20087 #endif
20090 main ()
20092 static struct ff_effect ac_aggr;
20093 if (sizeof ac_aggr.direction)
20094 return 0;
20096 return 0;
20098 _ACEOF
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20104 esac
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20114 { (case "(($ac_try" in
20115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20116 *) ac_try_echo=$ac_try;;
20117 esac
20118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20119 (eval "$ac_try") 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (case "(($ac_try" in
20125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20127 esac
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_try") 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; }; then
20133 ac_cv_member_struct_ff_effect_direction=yes
20134 else
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.$ac_ext >&5
20138 ac_cv_member_struct_ff_effect_direction=no
20141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20147 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20148 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20150 cat >>confdefs.h <<_ACEOF
20151 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20152 _ACEOF
20158 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20159 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20160 if test "${wine_cv_have_sigaddset+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 #include <signal.h>
20171 main ()
20173 sigset_t set; sigaddset(&set,SIGTERM);
20175 return 0;
20177 _ACEOF
20178 rm -f conftest.$ac_objext conftest$ac_exeext
20179 if { (ac_try="$ac_link"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20183 esac
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_link") 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20193 { (case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_try") 2>&5
20199 ac_status=$?
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try='test -s conftest$ac_exeext'
20203 { (case "(($ac_try" in
20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20205 *) ac_try_echo=$ac_try;;
20206 esac
20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20208 (eval "$ac_try") 2>&5
20209 ac_status=$?
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20212 wine_cv_have_sigaddset=yes
20213 else
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 wine_cv_have_sigaddset=no
20220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20221 conftest$ac_exeext conftest.$ac_ext
20223 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20224 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20225 if test "$wine_cv_have_sigaddset" = "yes"
20226 then
20228 cat >>confdefs.h <<\_ACEOF
20229 #define HAVE_SIGADDSET 1
20230 _ACEOF
20235 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20236 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20237 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20247 #include <netdb.h>
20250 main ()
20253 char *name=NULL;
20254 struct hostent he;
20255 struct hostent *result;
20256 char *buf=NULL;
20257 int bufsize=0;
20258 int res,errnr;
20259 char *addr=NULL;
20260 int addrlen=0;
20261 int addrtype=0;
20262 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20263 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20266 return 0;
20268 _ACEOF
20269 rm -f conftest.$ac_objext conftest$ac_exeext
20270 if { (ac_try="$ac_link"
20271 case "(($ac_try" in
20272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 *) ac_try_echo=$ac_try;;
20274 esac
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$ac_link") 2>conftest.er1
20277 ac_status=$?
20278 grep -v '^ *+' conftest.er1 >conftest.err
20279 rm -f conftest.er1
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20284 { (case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_try") 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest$ac_exeext'
20294 { (case "(($ac_try" in
20295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20296 *) ac_try_echo=$ac_try;;
20297 esac
20298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20299 (eval "$ac_try") 2>&5
20300 ac_status=$?
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20303 wine_cv_linux_gethostbyname_r_6=yes
20304 else
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20308 wine_cv_linux_gethostbyname_r_6=no
20312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20313 conftest$ac_exeext conftest.$ac_ext
20316 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20317 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20318 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20319 then
20321 cat >>confdefs.h <<\_ACEOF
20322 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20323 _ACEOF
20327 if test "$ac_cv_header_linux_joystick_h" = "yes"
20328 then
20329 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20330 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20331 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20333 else
20334 cat >conftest.$ac_ext <<_ACEOF
20335 /* confdefs.h. */
20336 _ACEOF
20337 cat confdefs.h >>conftest.$ac_ext
20338 cat >>conftest.$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20341 #include <sys/ioctl.h>
20342 #include <linux/joystick.h>
20344 struct js_event blub;
20345 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20346 #error "no 2.2 header"
20347 #endif
20350 main ()
20352 /*empty*/
20354 return 0;
20356 _ACEOF
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20362 esac
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20365 ac_status=$?
20366 grep -v '^ *+' conftest.er1 >conftest.err
20367 rm -f conftest.er1
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } &&
20371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20372 { (case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20375 esac
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_try") 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; } &&
20381 { ac_try='test -s conftest.$ac_objext'
20382 { (case "(($ac_try" in
20383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20385 esac
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_try") 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; }; then
20391 wine_cv_linux_joystick_22_api=yes
20392 else
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20396 wine_cv_linux_joystick_22_api=no
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20403 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20404 if test "$wine_cv_linux_joystick_22_api" = "yes"
20405 then
20407 cat >>confdefs.h <<\_ACEOF
20408 #define HAVE_LINUX_22_JOYSTICK_API 1
20409 _ACEOF
20415 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20416 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20417 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #include <sys/types.h>
20427 #ifdef HAVE_SYS_PARAM_H
20428 # include <sys/param.h>
20429 #endif
20430 #ifdef HAVE_SYS_MOUNT_H
20431 # include <sys/mount.h>
20432 #endif
20433 #ifdef HAVE_SYS_VFS_H
20434 # include <sys/vfs.h>
20435 #endif
20436 #ifdef HAVE_SYS_STATFS_H
20437 # include <sys/statfs.h>
20438 #endif
20441 main ()
20443 static struct statfs ac_aggr;
20444 if (ac_aggr.f_bfree)
20445 return 0;
20447 return 0;
20449 _ACEOF
20450 rm -f conftest.$ac_objext
20451 if { (ac_try="$ac_compile"
20452 case "(($ac_try" in
20453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20454 *) ac_try_echo=$ac_try;;
20455 esac
20456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20457 (eval "$ac_compile") 2>conftest.er1
20458 ac_status=$?
20459 grep -v '^ *+' conftest.er1 >conftest.err
20460 rm -f conftest.er1
20461 cat conftest.err >&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20465 { (case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20468 esac
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_try") 2>&5
20471 ac_status=$?
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; } &&
20474 { ac_try='test -s conftest.$ac_objext'
20475 { (case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20478 esac
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_try") 2>&5
20481 ac_status=$?
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; }; then
20484 ac_cv_member_struct_statfs_f_bfree=yes
20485 else
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 #include <sys/types.h>
20496 #ifdef HAVE_SYS_PARAM_H
20497 # include <sys/param.h>
20498 #endif
20499 #ifdef HAVE_SYS_MOUNT_H
20500 # include <sys/mount.h>
20501 #endif
20502 #ifdef HAVE_SYS_VFS_H
20503 # include <sys/vfs.h>
20504 #endif
20505 #ifdef HAVE_SYS_STATFS_H
20506 # include <sys/statfs.h>
20507 #endif
20510 main ()
20512 static struct statfs ac_aggr;
20513 if (sizeof ac_aggr.f_bfree)
20514 return 0;
20516 return 0;
20518 _ACEOF
20519 rm -f conftest.$ac_objext
20520 if { (ac_try="$ac_compile"
20521 case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20523 *) ac_try_echo=$ac_try;;
20524 esac
20525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20526 (eval "$ac_compile") 2>conftest.er1
20527 ac_status=$?
20528 grep -v '^ *+' conftest.er1 >conftest.err
20529 rm -f conftest.er1
20530 cat conftest.err >&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } &&
20533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20534 { (case "(($ac_try" in
20535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20536 *) ac_try_echo=$ac_try;;
20537 esac
20538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20539 (eval "$ac_try") 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; } &&
20543 { ac_try='test -s conftest.$ac_objext'
20544 { (case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20546 *) ac_try_echo=$ac_try;;
20547 esac
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_try") 2>&5
20550 ac_status=$?
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; }; then
20553 ac_cv_member_struct_statfs_f_bfree=yes
20554 else
20555 echo "$as_me: failed program was:" >&5
20556 sed 's/^/| /' conftest.$ac_ext >&5
20558 ac_cv_member_struct_statfs_f_bfree=no
20561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20566 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20567 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20568 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20570 cat >>confdefs.h <<_ACEOF
20571 #define HAVE_STRUCT_STATFS_F_BFREE 1
20572 _ACEOF
20576 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20577 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20578 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 else
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h. */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 #include <sys/types.h>
20588 #ifdef HAVE_SYS_PARAM_H
20589 # include <sys/param.h>
20590 #endif
20591 #ifdef HAVE_SYS_MOUNT_H
20592 # include <sys/mount.h>
20593 #endif
20594 #ifdef HAVE_SYS_VFS_H
20595 # include <sys/vfs.h>
20596 #endif
20597 #ifdef HAVE_SYS_STATFS_H
20598 # include <sys/statfs.h>
20599 #endif
20602 main ()
20604 static struct statfs ac_aggr;
20605 if (ac_aggr.f_bavail)
20606 return 0;
20608 return 0;
20610 _ACEOF
20611 rm -f conftest.$ac_objext
20612 if { (ac_try="$ac_compile"
20613 case "(($ac_try" in
20614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20616 esac
20617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_compile") 2>conftest.er1
20619 ac_status=$?
20620 grep -v '^ *+' conftest.er1 >conftest.err
20621 rm -f conftest.er1
20622 cat conftest.err >&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } &&
20625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20626 { (case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20629 esac
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_try") 2>&5
20632 ac_status=$?
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; } &&
20635 { ac_try='test -s conftest.$ac_objext'
20636 { (case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20639 esac
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_try") 2>&5
20642 ac_status=$?
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 ac_cv_member_struct_statfs_f_bavail=yes
20646 else
20647 echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.$ac_ext >&5
20650 cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h. */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 #include <sys/types.h>
20657 #ifdef HAVE_SYS_PARAM_H
20658 # include <sys/param.h>
20659 #endif
20660 #ifdef HAVE_SYS_MOUNT_H
20661 # include <sys/mount.h>
20662 #endif
20663 #ifdef HAVE_SYS_VFS_H
20664 # include <sys/vfs.h>
20665 #endif
20666 #ifdef HAVE_SYS_STATFS_H
20667 # include <sys/statfs.h>
20668 #endif
20671 main ()
20673 static struct statfs ac_aggr;
20674 if (sizeof ac_aggr.f_bavail)
20675 return 0;
20677 return 0;
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20695 { (case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20698 esac
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_try") 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (case "(($ac_try" in
20706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20708 esac
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_try") 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; }; then
20714 ac_cv_member_struct_statfs_f_bavail=yes
20715 else
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20719 ac_cv_member_struct_statfs_f_bavail=no
20722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20727 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20728 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20729 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20731 cat >>confdefs.h <<_ACEOF
20732 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20733 _ACEOF
20737 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20738 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20739 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 else
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h. */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #include <sys/types.h>
20749 #ifdef HAVE_SYS_PARAM_H
20750 # include <sys/param.h>
20751 #endif
20752 #ifdef HAVE_SYS_MOUNT_H
20753 # include <sys/mount.h>
20754 #endif
20755 #ifdef HAVE_SYS_VFS_H
20756 # include <sys/vfs.h>
20757 #endif
20758 #ifdef HAVE_SYS_STATFS_H
20759 # include <sys/statfs.h>
20760 #endif
20763 main ()
20765 static struct statfs ac_aggr;
20766 if (ac_aggr.f_frsize)
20767 return 0;
20769 return 0;
20771 _ACEOF
20772 rm -f conftest.$ac_objext
20773 if { (ac_try="$ac_compile"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_compile") 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20787 { (case "(($ac_try" in
20788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20789 *) ac_try_echo=$ac_try;;
20790 esac
20791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20792 (eval "$ac_try") 2>&5
20793 ac_status=$?
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); }; } &&
20796 { ac_try='test -s conftest.$ac_objext'
20797 { (case "(($ac_try" in
20798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20799 *) ac_try_echo=$ac_try;;
20800 esac
20801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20802 (eval "$ac_try") 2>&5
20803 ac_status=$?
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); }; }; then
20806 ac_cv_member_struct_statfs_f_frsize=yes
20807 else
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 #include <sys/types.h>
20818 #ifdef HAVE_SYS_PARAM_H
20819 # include <sys/param.h>
20820 #endif
20821 #ifdef HAVE_SYS_MOUNT_H
20822 # include <sys/mount.h>
20823 #endif
20824 #ifdef HAVE_SYS_VFS_H
20825 # include <sys/vfs.h>
20826 #endif
20827 #ifdef HAVE_SYS_STATFS_H
20828 # include <sys/statfs.h>
20829 #endif
20832 main ()
20834 static struct statfs ac_aggr;
20835 if (sizeof ac_aggr.f_frsize)
20836 return 0;
20838 return 0;
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20856 { (case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20859 esac
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_try") 2>&5
20862 ac_status=$?
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; } &&
20865 { ac_try='test -s conftest.$ac_objext'
20866 { (case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20869 esac
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_try") 2>&5
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 ac_cv_member_struct_statfs_f_frsize=yes
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20880 ac_cv_member_struct_statfs_f_frsize=no
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20889 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20890 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20892 cat >>confdefs.h <<_ACEOF
20893 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20894 _ACEOF
20898 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20899 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20900 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 else
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 #include <sys/types.h>
20910 #ifdef HAVE_SYS_PARAM_H
20911 # include <sys/param.h>
20912 #endif
20913 #ifdef HAVE_SYS_MOUNT_H
20914 # include <sys/mount.h>
20915 #endif
20916 #ifdef HAVE_SYS_VFS_H
20917 # include <sys/vfs.h>
20918 #endif
20919 #ifdef HAVE_SYS_STATFS_H
20920 # include <sys/statfs.h>
20921 #endif
20924 main ()
20926 static struct statfs ac_aggr;
20927 if (ac_aggr.f_ffree)
20928 return 0;
20930 return 0;
20932 _ACEOF
20933 rm -f conftest.$ac_objext
20934 if { (ac_try="$ac_compile"
20935 case "(($ac_try" in
20936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20937 *) ac_try_echo=$ac_try;;
20938 esac
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20940 (eval "$ac_compile") 2>conftest.er1
20941 ac_status=$?
20942 grep -v '^ *+' conftest.er1 >conftest.err
20943 rm -f conftest.er1
20944 cat conftest.err >&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } &&
20947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20948 { (case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20950 *) ac_try_echo=$ac_try;;
20951 esac
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_try") 2>&5
20954 ac_status=$?
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; } &&
20957 { ac_try='test -s conftest.$ac_objext'
20958 { (case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20961 esac
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_try") 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_cv_member_struct_statfs_f_ffree=yes
20968 else
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 cat >conftest.$ac_ext <<_ACEOF
20973 /* confdefs.h. */
20974 _ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #include <sys/types.h>
20979 #ifdef HAVE_SYS_PARAM_H
20980 # include <sys/param.h>
20981 #endif
20982 #ifdef HAVE_SYS_MOUNT_H
20983 # include <sys/mount.h>
20984 #endif
20985 #ifdef HAVE_SYS_VFS_H
20986 # include <sys/vfs.h>
20987 #endif
20988 #ifdef HAVE_SYS_STATFS_H
20989 # include <sys/statfs.h>
20990 #endif
20993 main ()
20995 static struct statfs ac_aggr;
20996 if (sizeof ac_aggr.f_ffree)
20997 return 0;
20999 return 0;
21001 _ACEOF
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21007 esac
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21017 { (case "(($ac_try" in
21018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21020 esac
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_try") 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; } &&
21026 { ac_try='test -s conftest.$ac_objext'
21027 { (case "(($ac_try" in
21028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21029 *) ac_try_echo=$ac_try;;
21030 esac
21031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21032 (eval "$ac_try") 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 ac_cv_member_struct_statfs_f_ffree=yes
21037 else
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21041 ac_cv_member_struct_statfs_f_ffree=no
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21050 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21051 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21053 cat >>confdefs.h <<_ACEOF
21054 #define HAVE_STRUCT_STATFS_F_FFREE 1
21055 _ACEOF
21059 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21060 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21061 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21062 echo $ECHO_N "(cached) $ECHO_C" >&6
21063 else
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
21066 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 #include <sys/types.h>
21071 #ifdef HAVE_SYS_PARAM_H
21072 # include <sys/param.h>
21073 #endif
21074 #ifdef HAVE_SYS_MOUNT_H
21075 # include <sys/mount.h>
21076 #endif
21077 #ifdef HAVE_SYS_VFS_H
21078 # include <sys/vfs.h>
21079 #endif
21080 #ifdef HAVE_SYS_STATFS_H
21081 # include <sys/statfs.h>
21082 #endif
21085 main ()
21087 static struct statfs ac_aggr;
21088 if (ac_aggr.f_favail)
21089 return 0;
21091 return 0;
21093 _ACEOF
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21109 { (case "(($ac_try" in
21110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 *) ac_try_echo=$ac_try;;
21112 esac
21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21114 (eval "$ac_try") 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; } &&
21118 { ac_try='test -s conftest.$ac_objext'
21119 { (case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21122 esac
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_try") 2>&5
21125 ac_status=$?
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); }; }; then
21128 ac_cv_member_struct_statfs_f_favail=yes
21129 else
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21133 cat >conftest.$ac_ext <<_ACEOF
21134 /* confdefs.h. */
21135 _ACEOF
21136 cat confdefs.h >>conftest.$ac_ext
21137 cat >>conftest.$ac_ext <<_ACEOF
21138 /* end confdefs.h. */
21139 #include <sys/types.h>
21140 #ifdef HAVE_SYS_PARAM_H
21141 # include <sys/param.h>
21142 #endif
21143 #ifdef HAVE_SYS_MOUNT_H
21144 # include <sys/mount.h>
21145 #endif
21146 #ifdef HAVE_SYS_VFS_H
21147 # include <sys/vfs.h>
21148 #endif
21149 #ifdef HAVE_SYS_STATFS_H
21150 # include <sys/statfs.h>
21151 #endif
21154 main ()
21156 static struct statfs ac_aggr;
21157 if (sizeof ac_aggr.f_favail)
21158 return 0;
21160 return 0;
21162 _ACEOF
21163 rm -f conftest.$ac_objext
21164 if { (ac_try="$ac_compile"
21165 case "(($ac_try" in
21166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21167 *) ac_try_echo=$ac_try;;
21168 esac
21169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21170 (eval "$ac_compile") 2>conftest.er1
21171 ac_status=$?
21172 grep -v '^ *+' conftest.er1 >conftest.err
21173 rm -f conftest.er1
21174 cat conftest.err >&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } &&
21177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21178 { (case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21181 esac
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_try") 2>&5
21184 ac_status=$?
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try='test -s conftest.$ac_objext'
21188 { (case "(($ac_try" in
21189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21190 *) ac_try_echo=$ac_try;;
21191 esac
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21193 (eval "$ac_try") 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 ac_cv_member_struct_statfs_f_favail=yes
21198 else
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.$ac_ext >&5
21202 ac_cv_member_struct_statfs_f_favail=no
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21210 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21211 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21212 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21214 cat >>confdefs.h <<_ACEOF
21215 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21216 _ACEOF
21220 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21221 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21222 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21223 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 else
21225 cat >conftest.$ac_ext <<_ACEOF
21226 /* confdefs.h. */
21227 _ACEOF
21228 cat confdefs.h >>conftest.$ac_ext
21229 cat >>conftest.$ac_ext <<_ACEOF
21230 /* end confdefs.h. */
21231 #include <sys/types.h>
21232 #ifdef HAVE_SYS_PARAM_H
21233 # include <sys/param.h>
21234 #endif
21235 #ifdef HAVE_SYS_MOUNT_H
21236 # include <sys/mount.h>
21237 #endif
21238 #ifdef HAVE_SYS_VFS_H
21239 # include <sys/vfs.h>
21240 #endif
21241 #ifdef HAVE_SYS_STATFS_H
21242 # include <sys/statfs.h>
21243 #endif
21246 main ()
21248 static struct statfs ac_aggr;
21249 if (ac_aggr.f_namelen)
21250 return 0;
21252 return 0;
21254 _ACEOF
21255 rm -f conftest.$ac_objext
21256 if { (ac_try="$ac_compile"
21257 case "(($ac_try" in
21258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21260 esac
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_compile") 2>conftest.er1
21263 ac_status=$?
21264 grep -v '^ *+' conftest.er1 >conftest.err
21265 rm -f conftest.er1
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21270 { (case "(($ac_try" in
21271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21272 *) ac_try_echo=$ac_try;;
21273 esac
21274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21275 (eval "$ac_try") 2>&5
21276 ac_status=$?
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try='test -s conftest.$ac_objext'
21280 { (case "(($ac_try" in
21281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21282 *) ac_try_echo=$ac_try;;
21283 esac
21284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21285 (eval "$ac_try") 2>&5
21286 ac_status=$?
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; }; then
21289 ac_cv_member_struct_statfs_f_namelen=yes
21290 else
21291 echo "$as_me: failed program was:" >&5
21292 sed 's/^/| /' conftest.$ac_ext >&5
21294 cat >conftest.$ac_ext <<_ACEOF
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 #include <sys/types.h>
21301 #ifdef HAVE_SYS_PARAM_H
21302 # include <sys/param.h>
21303 #endif
21304 #ifdef HAVE_SYS_MOUNT_H
21305 # include <sys/mount.h>
21306 #endif
21307 #ifdef HAVE_SYS_VFS_H
21308 # include <sys/vfs.h>
21309 #endif
21310 #ifdef HAVE_SYS_STATFS_H
21311 # include <sys/statfs.h>
21312 #endif
21315 main ()
21317 static struct statfs ac_aggr;
21318 if (sizeof ac_aggr.f_namelen)
21319 return 0;
21321 return 0;
21323 _ACEOF
21324 rm -f conftest.$ac_objext
21325 if { (ac_try="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21329 esac
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21339 { (case "(($ac_try" in
21340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21341 *) ac_try_echo=$ac_try;;
21342 esac
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_try") 2>&5
21345 ac_status=$?
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; } &&
21348 { ac_try='test -s conftest.$ac_objext'
21349 { (case "(($ac_try" in
21350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21351 *) ac_try_echo=$ac_try;;
21352 esac
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_try") 2>&5
21355 ac_status=$?
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; }; then
21358 ac_cv_member_struct_statfs_f_namelen=yes
21359 else
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21363 ac_cv_member_struct_statfs_f_namelen=no
21366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21371 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21372 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21373 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21375 cat >>confdefs.h <<_ACEOF
21376 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21377 _ACEOF
21383 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21384 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21385 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 else
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 #ifdef HAVE_SYS_STATVFS_H
21395 #include <sys/statvfs.h>
21396 #endif
21399 main ()
21401 static struct statvfs ac_aggr;
21402 if (ac_aggr.f_blocks)
21403 return 0;
21405 return 0;
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } &&
21422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21423 { (case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21426 esac
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_try") 2>&5
21429 ac_status=$?
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); }; } &&
21432 { ac_try='test -s conftest.$ac_objext'
21433 { (case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21436 esac
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_try") 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 ac_cv_member_struct_statvfs_f_blocks=yes
21443 else
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21447 cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h. */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 #ifdef HAVE_SYS_STATVFS_H
21454 #include <sys/statvfs.h>
21455 #endif
21458 main ()
21460 static struct statvfs ac_aggr;
21461 if (sizeof ac_aggr.f_blocks)
21462 return 0;
21464 return 0;
21466 _ACEOF
21467 rm -f conftest.$ac_objext
21468 if { (ac_try="$ac_compile"
21469 case "(($ac_try" in
21470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21472 esac
21473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_compile") 2>conftest.er1
21475 ac_status=$?
21476 grep -v '^ *+' conftest.er1 >conftest.err
21477 rm -f conftest.er1
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } &&
21481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21482 { (case "(($ac_try" in
21483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21485 esac
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_try") 2>&5
21488 ac_status=$?
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); }; } &&
21491 { ac_try='test -s conftest.$ac_objext'
21492 { (case "(($ac_try" in
21493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;;
21495 esac
21496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 (eval "$ac_try") 2>&5
21498 ac_status=$?
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 ac_cv_member_struct_statvfs_f_blocks=yes
21502 else
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5
21506 ac_cv_member_struct_statvfs_f_blocks=no
21509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21514 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21515 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21516 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21518 cat >>confdefs.h <<_ACEOF
21519 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21520 _ACEOF
21526 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21527 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21528 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21529 echo $ECHO_N "(cached) $ECHO_C" >&6
21530 else
21531 cat >conftest.$ac_ext <<_ACEOF
21532 /* confdefs.h. */
21533 _ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 #include <sys/types.h>
21538 #ifdef HAVE_SYS_SOCKET_H
21539 # include <sys/socket.h>
21540 #endif
21541 #ifdef HAVE_SYS_UN_H
21542 # include <sys/un.h>
21543 #endif
21546 main ()
21548 static struct msghdr ac_aggr;
21549 if (ac_aggr.msg_accrights)
21550 return 0;
21552 return 0;
21554 _ACEOF
21555 rm -f conftest.$ac_objext
21556 if { (ac_try="$ac_compile"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_compile") 2>conftest.er1
21563 ac_status=$?
21564 grep -v '^ *+' conftest.er1 >conftest.err
21565 rm -f conftest.er1
21566 cat conftest.err >&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } &&
21569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21570 { (case "(($ac_try" in
21571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21572 *) ac_try_echo=$ac_try;;
21573 esac
21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575 (eval "$ac_try") 2>&5
21576 ac_status=$?
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try='test -s conftest.$ac_objext'
21580 { (case "(($ac_try" in
21581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21582 *) ac_try_echo=$ac_try;;
21583 esac
21584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21585 (eval "$ac_try") 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_member_struct_msghdr_msg_accrights=yes
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21594 cat >conftest.$ac_ext <<_ACEOF
21595 /* confdefs.h. */
21596 _ACEOF
21597 cat confdefs.h >>conftest.$ac_ext
21598 cat >>conftest.$ac_ext <<_ACEOF
21599 /* end confdefs.h. */
21600 #include <sys/types.h>
21601 #ifdef HAVE_SYS_SOCKET_H
21602 # include <sys/socket.h>
21603 #endif
21604 #ifdef HAVE_SYS_UN_H
21605 # include <sys/un.h>
21606 #endif
21609 main ()
21611 static struct msghdr ac_aggr;
21612 if (sizeof ac_aggr.msg_accrights)
21613 return 0;
21615 return 0;
21617 _ACEOF
21618 rm -f conftest.$ac_objext
21619 if { (ac_try="$ac_compile"
21620 case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21622 *) ac_try_echo=$ac_try;;
21623 esac
21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_compile") 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21633 { (case "(($ac_try" in
21634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21635 *) ac_try_echo=$ac_try;;
21636 esac
21637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21638 (eval "$ac_try") 2>&5
21639 ac_status=$?
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; } &&
21642 { ac_try='test -s conftest.$ac_objext'
21643 { (case "(($ac_try" in
21644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21645 *) ac_try_echo=$ac_try;;
21646 esac
21647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 (eval "$ac_try") 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; }; then
21652 ac_cv_member_struct_msghdr_msg_accrights=yes
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21657 ac_cv_member_struct_msghdr_msg_accrights=no
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21666 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21667 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21669 cat >>confdefs.h <<_ACEOF
21670 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21671 _ACEOF
21675 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21676 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21677 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21678 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 else
21680 cat >conftest.$ac_ext <<_ACEOF
21681 /* confdefs.h. */
21682 _ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h. */
21686 #include <sys/types.h>
21687 #ifdef HAVE_SYS_SOCKET_H
21688 # include <sys/socket.h>
21689 #endif
21690 #ifdef HAVE_SYS_UN_H
21691 # include <sys/un.h>
21692 #endif
21695 main ()
21697 static struct sockaddr ac_aggr;
21698 if (ac_aggr.sa_len)
21699 return 0;
21701 return 0;
21703 _ACEOF
21704 rm -f conftest.$ac_objext
21705 if { (ac_try="$ac_compile"
21706 case "(($ac_try" in
21707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21708 *) ac_try_echo=$ac_try;;
21709 esac
21710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21711 (eval "$ac_compile") 2>conftest.er1
21712 ac_status=$?
21713 grep -v '^ *+' conftest.er1 >conftest.err
21714 rm -f conftest.er1
21715 cat conftest.err >&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); } &&
21718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21719 { (case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21722 esac
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_try") 2>&5
21725 ac_status=$?
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; } &&
21728 { ac_try='test -s conftest.$ac_objext'
21729 { (case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21732 esac
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_try") 2>&5
21735 ac_status=$?
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_cv_member_struct_sockaddr_sa_len=yes
21739 else
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.$ac_ext >&5
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #include <sys/types.h>
21750 #ifdef HAVE_SYS_SOCKET_H
21751 # include <sys/socket.h>
21752 #endif
21753 #ifdef HAVE_SYS_UN_H
21754 # include <sys/un.h>
21755 #endif
21758 main ()
21760 static struct sockaddr ac_aggr;
21761 if (sizeof ac_aggr.sa_len)
21762 return 0;
21764 return 0;
21766 _ACEOF
21767 rm -f conftest.$ac_objext
21768 if { (ac_try="$ac_compile"
21769 case "(($ac_try" in
21770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21771 *) ac_try_echo=$ac_try;;
21772 esac
21773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21774 (eval "$ac_compile") 2>conftest.er1
21775 ac_status=$?
21776 grep -v '^ *+' conftest.er1 >conftest.err
21777 rm -f conftest.er1
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21782 { (case "(($ac_try" in
21783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21785 esac
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_try") 2>&5
21788 ac_status=$?
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; } &&
21791 { ac_try='test -s conftest.$ac_objext'
21792 { (case "(($ac_try" in
21793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21794 *) ac_try_echo=$ac_try;;
21795 esac
21796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21797 (eval "$ac_try") 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; }; then
21801 ac_cv_member_struct_sockaddr_sa_len=yes
21802 else
21803 echo "$as_me: failed program was:" >&5
21804 sed 's/^/| /' conftest.$ac_ext >&5
21806 ac_cv_member_struct_sockaddr_sa_len=no
21809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21816 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21818 cat >>confdefs.h <<_ACEOF
21819 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21820 _ACEOF
21824 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21825 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21826 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 else
21829 cat >conftest.$ac_ext <<_ACEOF
21830 /* confdefs.h. */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 #include <sys/types.h>
21836 #ifdef HAVE_SYS_SOCKET_H
21837 # include <sys/socket.h>
21838 #endif
21839 #ifdef HAVE_SYS_UN_H
21840 # include <sys/un.h>
21841 #endif
21844 main ()
21846 static struct sockaddr_un ac_aggr;
21847 if (ac_aggr.sun_len)
21848 return 0;
21850 return 0;
21852 _ACEOF
21853 rm -f conftest.$ac_objext
21854 if { (ac_try="$ac_compile"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21858 esac
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_compile") 2>conftest.er1
21861 ac_status=$?
21862 grep -v '^ *+' conftest.er1 >conftest.err
21863 rm -f conftest.er1
21864 cat conftest.err >&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } &&
21867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21868 { (case "(($ac_try" in
21869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21870 *) ac_try_echo=$ac_try;;
21871 esac
21872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21873 (eval "$ac_try") 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; } &&
21877 { ac_try='test -s conftest.$ac_objext'
21878 { (case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21881 esac
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_try") 2>&5
21884 ac_status=$?
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; }; then
21887 ac_cv_member_struct_sockaddr_un_sun_len=yes
21888 else
21889 echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.$ac_ext >&5
21892 cat >conftest.$ac_ext <<_ACEOF
21893 /* confdefs.h. */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 #include <sys/types.h>
21899 #ifdef HAVE_SYS_SOCKET_H
21900 # include <sys/socket.h>
21901 #endif
21902 #ifdef HAVE_SYS_UN_H
21903 # include <sys/un.h>
21904 #endif
21907 main ()
21909 static struct sockaddr_un ac_aggr;
21910 if (sizeof ac_aggr.sun_len)
21911 return 0;
21913 return 0;
21915 _ACEOF
21916 rm -f conftest.$ac_objext
21917 if { (ac_try="$ac_compile"
21918 case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21921 esac
21922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_compile") 2>conftest.er1
21924 ac_status=$?
21925 grep -v '^ *+' conftest.er1 >conftest.err
21926 rm -f conftest.er1
21927 cat conftest.err >&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } &&
21930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21931 { (case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21934 esac
21935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_try") 2>&5
21937 ac_status=$?
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; } &&
21940 { ac_try='test -s conftest.$ac_objext'
21941 { (case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21944 esac
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_try") 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 ac_cv_member_struct_sockaddr_un_sun_len=yes
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21955 ac_cv_member_struct_sockaddr_un_sun_len=no
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21964 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21965 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21967 cat >>confdefs.h <<_ACEOF
21968 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21969 _ACEOF
21975 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21976 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21977 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 else
21980 cat >conftest.$ac_ext <<_ACEOF
21981 /* confdefs.h. */
21982 _ACEOF
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 #include <sys/types.h>
21987 #ifdef HAVE_SCSI_SG_H
21988 #include <scsi/sg.h>
21989 #endif
21992 main ()
21994 static scsireq_t ac_aggr;
21995 if (ac_aggr.cmd)
21996 return 0;
21998 return 0;
22000 _ACEOF
22001 rm -f conftest.$ac_objext
22002 if { (ac_try="$ac_compile"
22003 case "(($ac_try" in
22004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22005 *) ac_try_echo=$ac_try;;
22006 esac
22007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22008 (eval "$ac_compile") 2>conftest.er1
22009 ac_status=$?
22010 grep -v '^ *+' conftest.er1 >conftest.err
22011 rm -f conftest.er1
22012 cat conftest.err >&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); } &&
22015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22016 { (case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22019 esac
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_try") 2>&5
22022 ac_status=$?
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; } &&
22025 { ac_try='test -s conftest.$ac_objext'
22026 { (case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22029 esac
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_try") 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 ac_cv_member_scsireq_t_cmd=yes
22036 else
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22040 cat >conftest.$ac_ext <<_ACEOF
22041 /* confdefs.h. */
22042 _ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 #include <sys/types.h>
22047 #ifdef HAVE_SCSI_SG_H
22048 #include <scsi/sg.h>
22049 #endif
22052 main ()
22054 static scsireq_t ac_aggr;
22055 if (sizeof ac_aggr.cmd)
22056 return 0;
22058 return 0;
22060 _ACEOF
22061 rm -f conftest.$ac_objext
22062 if { (ac_try="$ac_compile"
22063 case "(($ac_try" in
22064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22065 *) ac_try_echo=$ac_try;;
22066 esac
22067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22068 (eval "$ac_compile") 2>conftest.er1
22069 ac_status=$?
22070 grep -v '^ *+' conftest.er1 >conftest.err
22071 rm -f conftest.er1
22072 cat conftest.err >&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } &&
22075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22076 { (case "(($ac_try" in
22077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22078 *) ac_try_echo=$ac_try;;
22079 esac
22080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22081 (eval "$ac_try") 2>&5
22082 ac_status=$?
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); }; } &&
22085 { ac_try='test -s conftest.$ac_objext'
22086 { (case "(($ac_try" in
22087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22088 *) ac_try_echo=$ac_try;;
22089 esac
22090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22091 (eval "$ac_try") 2>&5
22092 ac_status=$?
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; }; then
22095 ac_cv_member_scsireq_t_cmd=yes
22096 else
22097 echo "$as_me: failed program was:" >&5
22098 sed 's/^/| /' conftest.$ac_ext >&5
22100 ac_cv_member_scsireq_t_cmd=no
22103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22109 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22110 if test $ac_cv_member_scsireq_t_cmd = yes; then
22112 cat >>confdefs.h <<_ACEOF
22113 #define HAVE_SCSIREQ_T_CMD 1
22114 _ACEOF
22118 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22119 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22120 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22121 echo $ECHO_N "(cached) $ECHO_C" >&6
22122 else
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h. */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 #include <sys/types.h>
22130 #ifdef HAVE_SCSI_SG_H
22131 #include <scsi/sg.h>
22132 #endif
22135 main ()
22137 static sg_io_hdr_t ac_aggr;
22138 if (ac_aggr.interface_id)
22139 return 0;
22141 return 0;
22143 _ACEOF
22144 rm -f conftest.$ac_objext
22145 if { (ac_try="$ac_compile"
22146 case "(($ac_try" in
22147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22148 *) ac_try_echo=$ac_try;;
22149 esac
22150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22151 (eval "$ac_compile") 2>conftest.er1
22152 ac_status=$?
22153 grep -v '^ *+' conftest.er1 >conftest.err
22154 rm -f conftest.er1
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } &&
22158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22159 { (case "(($ac_try" in
22160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22161 *) ac_try_echo=$ac_try;;
22162 esac
22163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22164 (eval "$ac_try") 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; } &&
22168 { ac_try='test -s conftest.$ac_objext'
22169 { (case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22172 esac
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_try") 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_member_sg_io_hdr_t_interface_id=yes
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22183 cat >conftest.$ac_ext <<_ACEOF
22184 /* confdefs.h. */
22185 _ACEOF
22186 cat confdefs.h >>conftest.$ac_ext
22187 cat >>conftest.$ac_ext <<_ACEOF
22188 /* end confdefs.h. */
22189 #include <sys/types.h>
22190 #ifdef HAVE_SCSI_SG_H
22191 #include <scsi/sg.h>
22192 #endif
22195 main ()
22197 static sg_io_hdr_t ac_aggr;
22198 if (sizeof ac_aggr.interface_id)
22199 return 0;
22201 return 0;
22203 _ACEOF
22204 rm -f conftest.$ac_objext
22205 if { (ac_try="$ac_compile"
22206 case "(($ac_try" in
22207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22208 *) ac_try_echo=$ac_try;;
22209 esac
22210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22211 (eval "$ac_compile") 2>conftest.er1
22212 ac_status=$?
22213 grep -v '^ *+' conftest.er1 >conftest.err
22214 rm -f conftest.er1
22215 cat conftest.err >&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } &&
22218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22219 { (case "(($ac_try" in
22220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22221 *) ac_try_echo=$ac_try;;
22222 esac
22223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22224 (eval "$ac_try") 2>&5
22225 ac_status=$?
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; } &&
22228 { ac_try='test -s conftest.$ac_objext'
22229 { (case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22232 esac
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_try") 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; }; then
22238 ac_cv_member_sg_io_hdr_t_interface_id=yes
22239 else
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22243 ac_cv_member_sg_io_hdr_t_interface_id=no
22246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22252 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22253 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22257 _ACEOF
22263 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22264 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22265 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22266 echo $ECHO_N "(cached) $ECHO_C" >&6
22267 else
22268 cat >conftest.$ac_ext <<_ACEOF
22269 /* confdefs.h. */
22270 _ACEOF
22271 cat confdefs.h >>conftest.$ac_ext
22272 cat >>conftest.$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 #include <signal.h>
22277 main ()
22279 static siginfo_t ac_aggr;
22280 if (ac_aggr.si_fd)
22281 return 0;
22283 return 0;
22285 _ACEOF
22286 rm -f conftest.$ac_objext
22287 if { (ac_try="$ac_compile"
22288 case "(($ac_try" in
22289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22290 *) ac_try_echo=$ac_try;;
22291 esac
22292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22293 (eval "$ac_compile") 2>conftest.er1
22294 ac_status=$?
22295 grep -v '^ *+' conftest.er1 >conftest.err
22296 rm -f conftest.er1
22297 cat conftest.err >&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); } &&
22300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22301 { (case "(($ac_try" in
22302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22303 *) ac_try_echo=$ac_try;;
22304 esac
22305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22306 (eval "$ac_try") 2>&5
22307 ac_status=$?
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; } &&
22310 { ac_try='test -s conftest.$ac_objext'
22311 { (case "(($ac_try" in
22312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22313 *) ac_try_echo=$ac_try;;
22314 esac
22315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22316 (eval "$ac_try") 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; }; then
22320 ac_cv_member_siginfo_t_si_fd=yes
22321 else
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22325 cat >conftest.$ac_ext <<_ACEOF
22326 /* confdefs.h. */
22327 _ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22331 #include <signal.h>
22334 main ()
22336 static siginfo_t ac_aggr;
22337 if (sizeof ac_aggr.si_fd)
22338 return 0;
22340 return 0;
22342 _ACEOF
22343 rm -f conftest.$ac_objext
22344 if { (ac_try="$ac_compile"
22345 case "(($ac_try" in
22346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22347 *) ac_try_echo=$ac_try;;
22348 esac
22349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22350 (eval "$ac_compile") 2>conftest.er1
22351 ac_status=$?
22352 grep -v '^ *+' conftest.er1 >conftest.err
22353 rm -f conftest.er1
22354 cat conftest.err >&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); } &&
22357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22358 { (case "(($ac_try" in
22359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22360 *) ac_try_echo=$ac_try;;
22361 esac
22362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22363 (eval "$ac_try") 2>&5
22364 ac_status=$?
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; } &&
22367 { ac_try='test -s conftest.$ac_objext'
22368 { (case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22371 esac
22372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_try") 2>&5
22374 ac_status=$?
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; }; then
22377 ac_cv_member_siginfo_t_si_fd=yes
22378 else
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.$ac_ext >&5
22382 ac_cv_member_siginfo_t_si_fd=no
22385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22390 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22391 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22392 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22394 cat >>confdefs.h <<_ACEOF
22395 #define HAVE_SIGINFO_T_SI_FD 1
22396 _ACEOF
22402 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22403 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22404 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22405 echo $ECHO_N "(cached) $ECHO_C" >&6
22406 else
22407 cat >conftest.$ac_ext <<_ACEOF
22408 /* confdefs.h. */
22409 _ACEOF
22410 cat confdefs.h >>conftest.$ac_ext
22411 cat >>conftest.$ac_ext <<_ACEOF
22412 /* end confdefs.h. */
22413 #include <sys/types.h>
22414 #ifdef HAVE_SYS_MTIO_H
22415 #include <sys/mtio.h>
22416 #endif
22419 main ()
22421 static struct mtget ac_aggr;
22422 if (ac_aggr.mt_blksiz)
22423 return 0;
22425 return 0;
22427 _ACEOF
22428 rm -f conftest.$ac_objext
22429 if { (ac_try="$ac_compile"
22430 case "(($ac_try" in
22431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22432 *) ac_try_echo=$ac_try;;
22433 esac
22434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22435 (eval "$ac_compile") 2>conftest.er1
22436 ac_status=$?
22437 grep -v '^ *+' conftest.er1 >conftest.err
22438 rm -f conftest.er1
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22443 { (case "(($ac_try" in
22444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22445 *) ac_try_echo=$ac_try;;
22446 esac
22447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22448 (eval "$ac_try") 2>&5
22449 ac_status=$?
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; } &&
22452 { ac_try='test -s conftest.$ac_objext'
22453 { (case "(($ac_try" in
22454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22456 esac
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_try") 2>&5
22459 ac_status=$?
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 ac_cv_member_struct_mtget_mt_blksiz=yes
22463 else
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.$ac_ext >&5
22467 cat >conftest.$ac_ext <<_ACEOF
22468 /* confdefs.h. */
22469 _ACEOF
22470 cat confdefs.h >>conftest.$ac_ext
22471 cat >>conftest.$ac_ext <<_ACEOF
22472 /* end confdefs.h. */
22473 #include <sys/types.h>
22474 #ifdef HAVE_SYS_MTIO_H
22475 #include <sys/mtio.h>
22476 #endif
22479 main ()
22481 static struct mtget ac_aggr;
22482 if (sizeof ac_aggr.mt_blksiz)
22483 return 0;
22485 return 0;
22487 _ACEOF
22488 rm -f conftest.$ac_objext
22489 if { (ac_try="$ac_compile"
22490 case "(($ac_try" in
22491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22492 *) ac_try_echo=$ac_try;;
22493 esac
22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495 (eval "$ac_compile") 2>conftest.er1
22496 ac_status=$?
22497 grep -v '^ *+' conftest.er1 >conftest.err
22498 rm -f conftest.er1
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22503 { (case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22506 esac
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_try") 2>&5
22509 ac_status=$?
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try='test -s conftest.$ac_objext'
22513 { (case "(($ac_try" in
22514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22515 *) ac_try_echo=$ac_try;;
22516 esac
22517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22518 (eval "$ac_try") 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; }; then
22522 ac_cv_member_struct_mtget_mt_blksiz=yes
22523 else
22524 echo "$as_me: failed program was:" >&5
22525 sed 's/^/| /' conftest.$ac_ext >&5
22527 ac_cv_member_struct_mtget_mt_blksiz=no
22530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22535 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22536 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22537 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22539 cat >>confdefs.h <<_ACEOF
22540 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22541 _ACEOF
22545 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22546 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22547 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 else
22550 cat >conftest.$ac_ext <<_ACEOF
22551 /* confdefs.h. */
22552 _ACEOF
22553 cat confdefs.h >>conftest.$ac_ext
22554 cat >>conftest.$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22556 #include <sys/types.h>
22557 #ifdef HAVE_SYS_MTIO_H
22558 #include <sys/mtio.h>
22559 #endif
22562 main ()
22564 static struct mtget ac_aggr;
22565 if (ac_aggr.mt_gstat)
22566 return 0;
22568 return 0;
22570 _ACEOF
22571 rm -f conftest.$ac_objext
22572 if { (ac_try="$ac_compile"
22573 case "(($ac_try" in
22574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22575 *) ac_try_echo=$ac_try;;
22576 esac
22577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22578 (eval "$ac_compile") 2>conftest.er1
22579 ac_status=$?
22580 grep -v '^ *+' conftest.er1 >conftest.err
22581 rm -f conftest.er1
22582 cat conftest.err >&5
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); } &&
22585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22586 { (case "(($ac_try" in
22587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22588 *) ac_try_echo=$ac_try;;
22589 esac
22590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22591 (eval "$ac_try") 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; } &&
22595 { ac_try='test -s conftest.$ac_objext'
22596 { (case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22599 esac
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_try") 2>&5
22602 ac_status=$?
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_member_struct_mtget_mt_gstat=yes
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22610 cat >conftest.$ac_ext <<_ACEOF
22611 /* confdefs.h. */
22612 _ACEOF
22613 cat confdefs.h >>conftest.$ac_ext
22614 cat >>conftest.$ac_ext <<_ACEOF
22615 /* end confdefs.h. */
22616 #include <sys/types.h>
22617 #ifdef HAVE_SYS_MTIO_H
22618 #include <sys/mtio.h>
22619 #endif
22622 main ()
22624 static struct mtget ac_aggr;
22625 if (sizeof ac_aggr.mt_gstat)
22626 return 0;
22628 return 0;
22630 _ACEOF
22631 rm -f conftest.$ac_objext
22632 if { (ac_try="$ac_compile"
22633 case "(($ac_try" in
22634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22635 *) ac_try_echo=$ac_try;;
22636 esac
22637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22638 (eval "$ac_compile") 2>conftest.er1
22639 ac_status=$?
22640 grep -v '^ *+' conftest.er1 >conftest.err
22641 rm -f conftest.er1
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22646 { (case "(($ac_try" in
22647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22648 *) ac_try_echo=$ac_try;;
22649 esac
22650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22651 (eval "$ac_try") 2>&5
22652 ac_status=$?
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); }; } &&
22655 { ac_try='test -s conftest.$ac_objext'
22656 { (case "(($ac_try" in
22657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22658 *) ac_try_echo=$ac_try;;
22659 esac
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_try") 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; }; then
22665 ac_cv_member_struct_mtget_mt_gstat=yes
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22670 ac_cv_member_struct_mtget_mt_gstat=no
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22679 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22680 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22682 cat >>confdefs.h <<_ACEOF
22683 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22684 _ACEOF
22688 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22689 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22690 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22691 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 else
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699 #include <sys/types.h>
22700 #ifdef HAVE_SYS_MTIO_H
22701 #include <sys/mtio.h>
22702 #endif
22705 main ()
22707 static struct mtget ac_aggr;
22708 if (ac_aggr.mt_blkno)
22709 return 0;
22711 return 0;
22713 _ACEOF
22714 rm -f conftest.$ac_objext
22715 if { (ac_try="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22719 esac
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22729 { (case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22732 esac
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_try") 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; } &&
22738 { ac_try='test -s conftest.$ac_objext'
22739 { (case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22742 esac
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_try") 2>&5
22745 ac_status=$?
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 ac_cv_member_struct_mtget_mt_blkno=yes
22749 else
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 cat >conftest.$ac_ext <<_ACEOF
22754 /* confdefs.h. */
22755 _ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 #include <sys/types.h>
22760 #ifdef HAVE_SYS_MTIO_H
22761 #include <sys/mtio.h>
22762 #endif
22765 main ()
22767 static struct mtget ac_aggr;
22768 if (sizeof ac_aggr.mt_blkno)
22769 return 0;
22771 return 0;
22773 _ACEOF
22774 rm -f conftest.$ac_objext
22775 if { (ac_try="$ac_compile"
22776 case "(($ac_try" in
22777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22778 *) ac_try_echo=$ac_try;;
22779 esac
22780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22781 (eval "$ac_compile") 2>conftest.er1
22782 ac_status=$?
22783 grep -v '^ *+' conftest.er1 >conftest.err
22784 rm -f conftest.er1
22785 cat conftest.err >&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } &&
22788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22789 { (case "(($ac_try" in
22790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22791 *) ac_try_echo=$ac_try;;
22792 esac
22793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22794 (eval "$ac_try") 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try='test -s conftest.$ac_objext'
22799 { (case "(($ac_try" in
22800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22801 *) ac_try_echo=$ac_try;;
22802 esac
22803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22804 (eval "$ac_try") 2>&5
22805 ac_status=$?
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 ac_cv_member_struct_mtget_mt_blkno=yes
22809 else
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.$ac_ext >&5
22813 ac_cv_member_struct_mtget_mt_blkno=no
22816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22821 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22822 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22823 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22827 _ACEOF
22833 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22834 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22835 if test "${ac_cv_member_struct_option_name+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 else
22838 cat >conftest.$ac_ext <<_ACEOF
22839 /* confdefs.h. */
22840 _ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844 #ifdef HAVE_GETOPT_H
22845 #include <getopt.h>
22846 #endif
22849 main ()
22851 static struct option ac_aggr;
22852 if (ac_aggr.name)
22853 return 0;
22855 return 0;
22857 _ACEOF
22858 rm -f conftest.$ac_objext
22859 if { (ac_try="$ac_compile"
22860 case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22863 esac
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_compile") 2>conftest.er1
22866 ac_status=$?
22867 grep -v '^ *+' conftest.er1 >conftest.err
22868 rm -f conftest.er1
22869 cat conftest.err >&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } &&
22872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22873 { (case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_try") 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; } &&
22882 { ac_try='test -s conftest.$ac_objext'
22883 { (case "(($ac_try" in
22884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22885 *) ac_try_echo=$ac_try;;
22886 esac
22887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22888 (eval "$ac_try") 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 ac_cv_member_struct_option_name=yes
22893 else
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22897 cat >conftest.$ac_ext <<_ACEOF
22898 /* confdefs.h. */
22899 _ACEOF
22900 cat confdefs.h >>conftest.$ac_ext
22901 cat >>conftest.$ac_ext <<_ACEOF
22902 /* end confdefs.h. */
22903 #ifdef HAVE_GETOPT_H
22904 #include <getopt.h>
22905 #endif
22908 main ()
22910 static struct option ac_aggr;
22911 if (sizeof ac_aggr.name)
22912 return 0;
22914 return 0;
22916 _ACEOF
22917 rm -f conftest.$ac_objext
22918 if { (ac_try="$ac_compile"
22919 case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22922 esac
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_compile") 2>conftest.er1
22925 ac_status=$?
22926 grep -v '^ *+' conftest.er1 >conftest.err
22927 rm -f conftest.er1
22928 cat conftest.err >&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } &&
22931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22932 { (case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_try") 2>&5
22938 ac_status=$?
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; } &&
22941 { ac_try='test -s conftest.$ac_objext'
22942 { (case "(($ac_try" in
22943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22944 *) ac_try_echo=$ac_try;;
22945 esac
22946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22947 (eval "$ac_try") 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; }; then
22951 ac_cv_member_struct_option_name=yes
22952 else
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22956 ac_cv_member_struct_option_name=no
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22964 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22965 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22966 if test $ac_cv_member_struct_option_name = yes; then
22968 cat >>confdefs.h <<_ACEOF
22969 #define HAVE_STRUCT_OPTION_NAME 1
22970 _ACEOF
22976 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22977 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22978 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22979 echo $ECHO_N "(cached) $ECHO_C" >&6
22980 else
22981 cat >conftest.$ac_ext <<_ACEOF
22982 /* confdefs.h. */
22983 _ACEOF
22984 cat confdefs.h >>conftest.$ac_ext
22985 cat >>conftest.$ac_ext <<_ACEOF
22986 /* end confdefs.h. */
22987 $ac_includes_default
22989 main ()
22991 static struct stat ac_aggr;
22992 if (ac_aggr.st_blocks)
22993 return 0;
22995 return 0;
22997 _ACEOF
22998 rm -f conftest.$ac_objext
22999 if { (ac_try="$ac_compile"
23000 case "(($ac_try" in
23001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23003 esac
23004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_compile") 2>conftest.er1
23006 ac_status=$?
23007 grep -v '^ *+' conftest.er1 >conftest.err
23008 rm -f conftest.er1
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23016 esac
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try='test -s conftest.$ac_objext'
23023 { (case "(($ac_try" in
23024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23025 *) ac_try_echo=$ac_try;;
23026 esac
23027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23028 (eval "$ac_try") 2>&5
23029 ac_status=$?
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
23032 ac_cv_member_struct_stat_st_blocks=yes
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 $ac_includes_default
23045 main ()
23047 static struct stat ac_aggr;
23048 if (sizeof ac_aggr.st_blocks)
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_stat_st_blocks=yes
23089 else
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 ac_cv_member_struct_stat_st_blocks=no
23096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23102 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23103 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23105 cat >>confdefs.h <<_ACEOF
23106 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23107 _ACEOF
23113 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23114 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23115 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 else
23118 cat >conftest.$ac_ext <<_ACEOF
23119 /* confdefs.h. */
23120 _ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23124 #ifdef HAVE_SYS_TYPES_H
23125 #include <sys/types.h>
23126 #endif
23127 #ifdef HAVE_NETINET_IN_H
23128 #include <netinet/in.h>
23129 #endif
23132 main ()
23134 static struct sockaddr_in6 ac_aggr;
23135 if (ac_aggr.sin6_scope_id)
23136 return 0;
23138 return 0;
23140 _ACEOF
23141 rm -f conftest.$ac_objext
23142 if { (ac_try="$ac_compile"
23143 case "(($ac_try" in
23144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23146 esac
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_compile") 2>conftest.er1
23149 ac_status=$?
23150 grep -v '^ *+' conftest.er1 >conftest.err
23151 rm -f conftest.er1
23152 cat conftest.err >&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } &&
23155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23156 { (case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23159 esac
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_try") 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; } &&
23165 { ac_try='test -s conftest.$ac_objext'
23166 { (case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_try") 2>&5
23172 ac_status=$?
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; }; then
23175 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23176 else
23177 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.$ac_ext >&5
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
23194 main ()
23196 static struct sockaddr_in6 ac_aggr;
23197 if (sizeof ac_aggr.sin6_scope_id)
23198 return 0;
23200 return 0;
23202 _ACEOF
23203 rm -f conftest.$ac_objext
23204 if { (ac_try="$ac_compile"
23205 case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23208 esac
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_compile") 2>conftest.er1
23211 ac_status=$?
23212 grep -v '^ *+' conftest.er1 >conftest.err
23213 rm -f conftest.er1
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23218 { (case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23220 *) ac_try_echo=$ac_try;;
23221 esac
23222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_try") 2>&5
23224 ac_status=$?
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); }; } &&
23227 { ac_try='test -s conftest.$ac_objext'
23228 { (case "(($ac_try" in
23229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23230 *) ac_try_echo=$ac_try;;
23231 esac
23232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23233 (eval "$ac_try") 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23242 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23250 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23251 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23252 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23254 cat >>confdefs.h <<_ACEOF
23255 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23256 _ACEOF
23262 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23263 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23264 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 else
23267 cat >conftest.$ac_ext <<_ACEOF
23268 /* confdefs.h. */
23269 _ACEOF
23270 cat confdefs.h >>conftest.$ac_ext
23271 cat >>conftest.$ac_ext <<_ACEOF
23272 /* end confdefs.h. */
23273 #ifdef HAVE_SYS_TYPES_H
23274 #include <sys/types.h>
23275 #endif
23276 #ifdef HAVE_NETINET_IN_H
23277 # include <netinet/in.h>
23278 #endif
23279 #ifdef HAVE_ARPA_NAMESER_H
23280 # include <arpa/nameser.h>
23281 #endif
23284 main ()
23286 static ns_msg ac_aggr;
23287 if (ac_aggr._msg_ptr)
23288 return 0;
23290 return 0;
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (ac_try="$ac_compile"
23295 case "(($ac_try" in
23296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23297 *) ac_try_echo=$ac_try;;
23298 esac
23299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23300 (eval "$ac_compile") 2>conftest.er1
23301 ac_status=$?
23302 grep -v '^ *+' conftest.er1 >conftest.err
23303 rm -f conftest.er1
23304 cat conftest.err >&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); } &&
23307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23308 { (case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23311 esac
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_try") 2>&5
23314 ac_status=$?
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; } &&
23317 { ac_try='test -s conftest.$ac_objext'
23318 { (case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23321 esac
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_try") 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_member_ns_msg__msg_ptr=yes
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23332 cat >conftest.$ac_ext <<_ACEOF
23333 /* confdefs.h. */
23334 _ACEOF
23335 cat confdefs.h >>conftest.$ac_ext
23336 cat >>conftest.$ac_ext <<_ACEOF
23337 /* end confdefs.h. */
23338 #ifdef HAVE_SYS_TYPES_H
23339 #include <sys/types.h>
23340 #endif
23341 #ifdef HAVE_NETINET_IN_H
23342 # include <netinet/in.h>
23343 #endif
23344 #ifdef HAVE_ARPA_NAMESER_H
23345 # include <arpa/nameser.h>
23346 #endif
23349 main ()
23351 static ns_msg ac_aggr;
23352 if (sizeof ac_aggr._msg_ptr)
23353 return 0;
23355 return 0;
23357 _ACEOF
23358 rm -f conftest.$ac_objext
23359 if { (ac_try="$ac_compile"
23360 case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23363 esac
23364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_compile") 2>conftest.er1
23366 ac_status=$?
23367 grep -v '^ *+' conftest.er1 >conftest.err
23368 rm -f conftest.er1
23369 cat conftest.err >&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } &&
23372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23373 { (case "(($ac_try" in
23374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23376 esac
23377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_try") 2>&5
23379 ac_status=$?
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; } &&
23382 { ac_try='test -s conftest.$ac_objext'
23383 { (case "(($ac_try" in
23384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23385 *) ac_try_echo=$ac_try;;
23386 esac
23387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23388 (eval "$ac_try") 2>&5
23389 ac_status=$?
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; }; then
23392 ac_cv_member_ns_msg__msg_ptr=yes
23393 else
23394 echo "$as_me: failed program was:" >&5
23395 sed 's/^/| /' conftest.$ac_ext >&5
23397 ac_cv_member_ns_msg__msg_ptr=no
23400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23405 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23406 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23407 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23409 cat >>confdefs.h <<_ACEOF
23410 #define HAVE_NS_MSG__MSG_PTR 1
23411 _ACEOF
23417 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23418 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23419 if test "${ac_cv_have_timezone+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 else
23422 cat >conftest.$ac_ext <<_ACEOF
23423 /* confdefs.h. */
23424 _ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 #include <time.h>
23430 main ()
23432 timezone = 1
23434 return 0;
23436 _ACEOF
23437 rm -f conftest.$ac_objext conftest$ac_exeext
23438 if { (ac_try="$ac_link"
23439 case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23442 esac
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_link") 2>conftest.er1
23445 ac_status=$?
23446 grep -v '^ *+' conftest.er1 >conftest.err
23447 rm -f conftest.er1
23448 cat conftest.err >&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23452 { (case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23455 esac
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_try") 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try='test -s conftest$ac_exeext'
23462 { (case "(($ac_try" in
23463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23464 *) ac_try_echo=$ac_try;;
23465 esac
23466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23467 (eval "$ac_try") 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 ac_cv_have_timezone="yes"
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23476 ac_cv_have_timezone="no"
23479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23480 conftest$ac_exeext conftest.$ac_ext
23482 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23483 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23484 if test "$ac_cv_have_timezone" = "yes"
23485 then
23487 cat >>confdefs.h <<\_ACEOF
23488 #define HAVE_TIMEZONE 1
23489 _ACEOF
23492 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23493 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23494 if test "${ac_cv_have_daylight+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23496 else
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 #include <time.h>
23505 main ()
23507 daylight = 1
23509 return 0;
23511 _ACEOF
23512 rm -f conftest.$ac_objext conftest$ac_exeext
23513 if { (ac_try="$ac_link"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23517 esac
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_link") 2>conftest.er1
23520 ac_status=$?
23521 grep -v '^ *+' conftest.er1 >conftest.err
23522 rm -f conftest.er1
23523 cat conftest.err >&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } &&
23526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23527 { (case "(($ac_try" in
23528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23529 *) ac_try_echo=$ac_try;;
23530 esac
23531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23532 (eval "$ac_try") 2>&5
23533 ac_status=$?
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; } &&
23536 { ac_try='test -s conftest$ac_exeext'
23537 { (case "(($ac_try" in
23538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23539 *) ac_try_echo=$ac_try;;
23540 esac
23541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23542 (eval "$ac_try") 2>&5
23543 ac_status=$?
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); }; }; then
23546 ac_cv_have_daylight="yes"
23547 else
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.$ac_ext >&5
23551 ac_cv_have_daylight="no"
23554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23555 conftest$ac_exeext conftest.$ac_ext
23557 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23558 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23559 if test "$ac_cv_have_daylight" = "yes"
23560 then
23562 cat >>confdefs.h <<\_ACEOF
23563 #define HAVE_DAYLIGHT 1
23564 _ACEOF
23569 case $host_cpu in
23570 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23571 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23572 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23573 echo $ECHO_N "(cached) $ECHO_C" >&6
23574 else
23575 cat >conftest.$ac_ext <<_ACEOF
23576 /* confdefs.h. */
23577 _ACEOF
23578 cat confdefs.h >>conftest.$ac_ext
23579 cat >>conftest.$ac_ext <<_ACEOF
23580 /* end confdefs.h. */
23581 #ifndef __i386__
23583 #endif
23584 _ACEOF
23585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23586 $EGREP "yes" >/dev/null 2>&1; then
23587 ac_cv_cpp_def___i386__=yes
23588 else
23589 ac_cv_cpp_def___i386__=no
23591 rm -f conftest*
23594 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23595 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23596 if test $ac_cv_cpp_def___i386__ = yes; then
23597 CFLAGS="$CFLAGS -D__i386__"
23598 LINTFLAGS="$LINTFLAGS -D__i386__"
23601 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23602 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23603 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 else
23606 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 #ifndef __x86_64__
23614 #endif
23615 _ACEOF
23616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23617 $EGREP "yes" >/dev/null 2>&1; then
23618 ac_cv_cpp_def___x86_64__=yes
23619 else
23620 ac_cv_cpp_def___x86_64__=no
23622 rm -f conftest*
23625 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23626 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23627 if test $ac_cv_cpp_def___x86_64__ = yes; then
23628 CFLAGS="$CFLAGS -D__x86_64__"
23629 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23632 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23633 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23634 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 else
23637 cat >conftest.$ac_ext <<_ACEOF
23638 /* confdefs.h. */
23639 _ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 #ifndef __ALPHA__
23645 #endif
23646 _ACEOF
23647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23648 $EGREP "yes" >/dev/null 2>&1; then
23649 ac_cv_cpp_def___ALPHA__=yes
23650 else
23651 ac_cv_cpp_def___ALPHA__=no
23653 rm -f conftest*
23656 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23657 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23658 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23659 CFLAGS="$CFLAGS -D__ALPHA__"
23660 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23663 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23664 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23665 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 else
23668 cat >conftest.$ac_ext <<_ACEOF
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 #ifndef __sparc__
23676 #endif
23677 _ACEOF
23678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23679 $EGREP "yes" >/dev/null 2>&1; then
23680 ac_cv_cpp_def___sparc__=yes
23681 else
23682 ac_cv_cpp_def___sparc__=no
23684 rm -f conftest*
23687 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23688 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23689 if test $ac_cv_cpp_def___sparc__ = yes; then
23690 CFLAGS="$CFLAGS -D__sparc__"
23691 LINTFLAGS="$LINTFLAGS -D__sparc__"
23694 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23695 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23696 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23698 else
23699 cat >conftest.$ac_ext <<_ACEOF
23700 /* confdefs.h. */
23701 _ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #ifndef __powerpc__
23707 #endif
23708 _ACEOF
23709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23710 $EGREP "yes" >/dev/null 2>&1; then
23711 ac_cv_cpp_def___powerpc__=yes
23712 else
23713 ac_cv_cpp_def___powerpc__=no
23715 rm -f conftest*
23718 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23719 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23720 if test $ac_cv_cpp_def___powerpc__ = yes; then
23721 CFLAGS="$CFLAGS -D__powerpc__"
23722 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23725 esac
23727 case $host_vendor in
23728 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23729 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23730 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */
23735 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 #ifndef __sun__
23741 #endif
23742 _ACEOF
23743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23744 $EGREP "yes" >/dev/null 2>&1; then
23745 ac_cv_cpp_def___sun__=yes
23746 else
23747 ac_cv_cpp_def___sun__=no
23749 rm -f conftest*
23752 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23753 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23754 if test $ac_cv_cpp_def___sun__ = yes; then
23755 CFLAGS="$CFLAGS -D__sun__"
23756 LINTFLAGS="$LINTFLAGS -D__sun__"
23759 esac
23762 DEPENDENCIES="### Dependencies:
23764 .INIT: Makefile
23765 .BEGIN: Makefile
23766 Makefile: dummy
23767 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23769 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23770 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23771 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23772 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23778 ac_config_commands="$ac_config_commands include/stamp-h"
23781 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23783 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23785 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23787 ac_config_commands="$ac_config_commands dlls/user32/resources"
23789 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23791 ac_config_commands="$ac_config_commands include/wine"
23794 MAKE_RULES=Make.rules
23797 MAKE_DLL_RULES=dlls/Makedll.rules
23800 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23803 MAKE_TEST_RULES=dlls/Maketest.rules
23806 MAKE_PROG_RULES=programs/Makeprog.rules
23809 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/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23812 cat >confcache <<\_ACEOF
23813 # This file is a shell script that caches the results of configure
23814 # tests run on this system so they can be shared between configure
23815 # scripts and configure runs, see configure's option --config-cache.
23816 # It is not useful on other systems. If it contains results you don't
23817 # want to keep, you may remove or edit it.
23819 # config.status only pays attention to the cache file if you give it
23820 # the --recheck option to rerun configure.
23822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23824 # following values.
23826 _ACEOF
23828 # The following way of writing the cache mishandles newlines in values,
23829 # but we know of no workaround that is simple, portable, and efficient.
23830 # So, we kill variables containing newlines.
23831 # Ultrix sh set writes to stderr and can't be redirected directly,
23832 # and sets the high bit in the cache file unless we assign to the vars.
23834 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23835 eval ac_val=\$$ac_var
23836 case $ac_val in #(
23837 *${as_nl}*)
23838 case $ac_var in #(
23839 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23840 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23841 esac
23842 case $ac_var in #(
23843 _ | IFS | as_nl) ;; #(
23844 *) $as_unset $ac_var ;;
23845 esac ;;
23846 esac
23847 done
23849 (set) 2>&1 |
23850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23851 *${as_nl}ac_space=\ *)
23852 # `set' does not quote correctly, so add quotes (double-quote
23853 # substitution turns \\\\ into \\, and sed turns \\ into \).
23854 sed -n \
23855 "s/'/'\\\\''/g;
23856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23857 ;; #(
23859 # `set' quotes correctly as required by POSIX, so do not add quotes.
23860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23862 esac |
23863 sort
23865 sed '
23866 /^ac_cv_env_/b end
23867 t clear
23868 :clear
23869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23870 t end
23871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23872 :end' >>confcache
23873 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23874 if test -w "$cache_file"; then
23875 test "x$cache_file" != "x/dev/null" &&
23876 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23877 echo "$as_me: updating cache $cache_file" >&6;}
23878 cat confcache >$cache_file
23879 else
23880 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23881 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23884 rm -f confcache
23886 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23887 # Let make expand exec_prefix.
23888 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23890 DEFS=-DHAVE_CONFIG_H
23892 ac_libobjs=
23893 ac_ltlibobjs=
23894 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23895 # 1. Remove the extension, and $U if already installed.
23896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23897 ac_i=`echo "$ac_i" | sed "$ac_script"`
23898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23899 # will be set to the directory where LIBOBJS objects are built.
23900 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23901 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23902 done
23903 LIBOBJS=$ac_libobjs
23905 LTLIBOBJS=$ac_ltlibobjs
23909 : ${CONFIG_STATUS=./config.status}
23910 ac_clean_files_save=$ac_clean_files
23911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23914 cat >$CONFIG_STATUS <<_ACEOF
23915 #! $SHELL
23916 # Generated by $as_me.
23917 # Run this file to recreate the current configuration.
23918 # Compiler output produced by configure, useful for debugging
23919 # configure, is in config.log if it exists.
23921 debug=false
23922 ac_cs_recheck=false
23923 ac_cs_silent=false
23924 SHELL=\${CONFIG_SHELL-$SHELL}
23925 _ACEOF
23927 cat >>$CONFIG_STATUS <<\_ACEOF
23928 ## --------------------- ##
23929 ## M4sh Initialization. ##
23930 ## --------------------- ##
23932 # Be Bourne compatible
23933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23934 emulate sh
23935 NULLCMD=:
23936 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23937 # is contrary to our usage. Disable this feature.
23938 alias -g '${1+"$@"}'='"$@"'
23939 setopt NO_GLOB_SUBST
23940 else
23941 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23943 BIN_SH=xpg4; export BIN_SH # for Tru64
23944 DUALCASE=1; export DUALCASE # for MKS sh
23947 # PATH needs CR
23948 # Avoid depending upon Character Ranges.
23949 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23950 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23951 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23952 as_cr_digits='0123456789'
23953 as_cr_alnum=$as_cr_Letters$as_cr_digits
23955 # The user is always right.
23956 if test "${PATH_SEPARATOR+set}" != set; then
23957 echo "#! /bin/sh" >conf$$.sh
23958 echo "exit 0" >>conf$$.sh
23959 chmod +x conf$$.sh
23960 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23961 PATH_SEPARATOR=';'
23962 else
23963 PATH_SEPARATOR=:
23965 rm -f conf$$.sh
23968 # Support unset when possible.
23969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23970 as_unset=unset
23971 else
23972 as_unset=false
23976 # IFS
23977 # We need space, tab and new line, in precisely that order. Quoting is
23978 # there to prevent editors from complaining about space-tab.
23979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23980 # splitting by setting IFS to empty value.)
23981 as_nl='
23983 IFS=" "" $as_nl"
23985 # Find who we are. Look in the path if we contain no directory separator.
23986 case $0 in
23987 *[\\/]* ) as_myself=$0 ;;
23988 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23989 for as_dir in $PATH
23991 IFS=$as_save_IFS
23992 test -z "$as_dir" && as_dir=.
23993 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23994 done
23995 IFS=$as_save_IFS
23998 esac
23999 # We did not find ourselves, most probably we were run as `sh COMMAND'
24000 # in which case we are not to be found in the path.
24001 if test "x$as_myself" = x; then
24002 as_myself=$0
24004 if test ! -f "$as_myself"; then
24005 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24006 { (exit 1); exit 1; }
24009 # Work around bugs in pre-3.0 UWIN ksh.
24010 for as_var in ENV MAIL MAILPATH
24011 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24012 done
24013 PS1='$ '
24014 PS2='> '
24015 PS4='+ '
24017 # NLS nuisances.
24018 for as_var in \
24019 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24020 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24021 LC_TELEPHONE LC_TIME
24023 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24024 eval $as_var=C; export $as_var
24025 else
24026 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24028 done
24030 # Required to use basename.
24031 if expr a : '\(a\)' >/dev/null 2>&1 &&
24032 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24033 as_expr=expr
24034 else
24035 as_expr=false
24038 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24039 as_basename=basename
24040 else
24041 as_basename=false
24045 # Name of the executable.
24046 as_me=`$as_basename -- "$0" ||
24047 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24048 X"$0" : 'X\(//\)$' \| \
24049 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24050 echo X/"$0" |
24051 sed '/^.*\/\([^/][^/]*\)\/*$/{
24052 s//\1/
24055 /^X\/\(\/\/\)$/{
24056 s//\1/
24059 /^X\/\(\/\).*/{
24060 s//\1/
24063 s/.*/./; q'`
24065 # CDPATH.
24066 $as_unset CDPATH
24070 as_lineno_1=$LINENO
24071 as_lineno_2=$LINENO
24072 test "x$as_lineno_1" != "x$as_lineno_2" &&
24073 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24075 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24076 # uniformly replaced by the line number. The first 'sed' inserts a
24077 # line-number line after each line using $LINENO; the second 'sed'
24078 # does the real work. The second script uses 'N' to pair each
24079 # line-number line with the line containing $LINENO, and appends
24080 # trailing '-' during substitution so that $LINENO is not a special
24081 # case at line end.
24082 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24083 # scripts with optimization help from Paolo Bonzini. Blame Lee
24084 # E. McMahon (1931-1989) for sed's syntax. :-)
24085 sed -n '
24087 /[$]LINENO/=
24088 ' <$as_myself |
24089 sed '
24090 s/[$]LINENO.*/&-/
24091 t lineno
24093 :lineno
24095 :loop
24096 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24097 t loop
24098 s/-\n.*//
24099 ' >$as_me.lineno &&
24100 chmod +x "$as_me.lineno" ||
24101 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24102 { (exit 1); exit 1; }; }
24104 # Don't try to exec as it changes $[0], causing all sort of problems
24105 # (the dirname of $[0] is not the place where we might find the
24106 # original and so on. Autoconf is especially sensitive to this).
24107 . "./$as_me.lineno"
24108 # Exit status is that of the last command.
24109 exit
24113 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24114 as_dirname=dirname
24115 else
24116 as_dirname=false
24119 ECHO_C= ECHO_N= ECHO_T=
24120 case `echo -n x` in
24121 -n*)
24122 case `echo 'x\c'` in
24123 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24124 *) ECHO_C='\c';;
24125 esac;;
24127 ECHO_N='-n';;
24128 esac
24130 if expr a : '\(a\)' >/dev/null 2>&1 &&
24131 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24132 as_expr=expr
24133 else
24134 as_expr=false
24137 rm -f conf$$ conf$$.exe conf$$.file
24138 if test -d conf$$.dir; then
24139 rm -f conf$$.dir/conf$$.file
24140 else
24141 rm -f conf$$.dir
24142 mkdir conf$$.dir
24144 echo >conf$$.file
24145 if ln -s conf$$.file conf$$ 2>/dev/null; then
24146 as_ln_s='ln -s'
24147 # ... but there are two gotchas:
24148 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24149 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24150 # In both cases, we have to default to `cp -p'.
24151 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24152 as_ln_s='cp -p'
24153 elif ln conf$$.file conf$$ 2>/dev/null; then
24154 as_ln_s=ln
24155 else
24156 as_ln_s='cp -p'
24158 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24159 rmdir conf$$.dir 2>/dev/null
24161 if mkdir -p . 2>/dev/null; then
24162 as_mkdir_p=:
24163 else
24164 test -d ./-p && rmdir ./-p
24165 as_mkdir_p=false
24168 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24169 # systems may use methods other than mode bits to determine executability.
24170 cat >conf$$.file <<_ASEOF
24171 #! /bin/sh
24172 exit 0
24173 _ASEOF
24174 chmod +x conf$$.file
24175 if test -x conf$$.file >/dev/null 2>&1; then
24176 as_executable_p="test -x"
24177 else
24178 as_executable_p=:
24180 rm -f conf$$.file
24182 # Sed expression to map a string onto a valid CPP name.
24183 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24185 # Sed expression to map a string onto a valid variable name.
24186 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24189 exec 6>&1
24191 # Save the log message, to keep $[0] and so on meaningful, and to
24192 # report actual input values of CONFIG_FILES etc. instead of their
24193 # values after options handling.
24194 ac_log="
24195 This file was extended by Wine $as_me 0.9.26, which was
24196 generated by GNU Autoconf 2.60a. Invocation command line was
24198 CONFIG_FILES = $CONFIG_FILES
24199 CONFIG_HEADERS = $CONFIG_HEADERS
24200 CONFIG_LINKS = $CONFIG_LINKS
24201 CONFIG_COMMANDS = $CONFIG_COMMANDS
24202 $ $0 $@
24204 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24207 _ACEOF
24209 cat >>$CONFIG_STATUS <<_ACEOF
24210 # Files that config.status was made for.
24211 config_files="$ac_config_files"
24212 config_headers="$ac_config_headers"
24213 config_commands="$ac_config_commands"
24215 _ACEOF
24217 cat >>$CONFIG_STATUS <<\_ACEOF
24218 ac_cs_usage="\
24219 \`$as_me' instantiates files from templates according to the
24220 current configuration.
24222 Usage: $0 [OPTIONS] [FILE]...
24224 -h, --help print this help, then exit
24225 -V, --version print version number and configuration settings, then exit
24226 -q, --quiet do not print progress messages
24227 -d, --debug don't remove temporary files
24228 --recheck update $as_me by reconfiguring in the same conditions
24229 --file=FILE[:TEMPLATE]
24230 instantiate the configuration file FILE
24231 --header=FILE[:TEMPLATE]
24232 instantiate the configuration header FILE
24234 Configuration files:
24235 $config_files
24237 Configuration headers:
24238 $config_headers
24240 Configuration commands:
24241 $config_commands
24243 Report bugs to <bug-autoconf@gnu.org>."
24245 _ACEOF
24246 cat >>$CONFIG_STATUS <<_ACEOF
24247 ac_cs_version="\\
24248 Wine config.status 0.9.26
24249 configured by $0, generated by GNU Autoconf 2.60a,
24250 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24252 Copyright (C) 2006 Free Software Foundation, Inc.
24253 This config.status script is free software; the Free Software Foundation
24254 gives unlimited permission to copy, distribute and modify it."
24256 ac_pwd='$ac_pwd'
24257 srcdir='$srcdir'
24258 INSTALL='$INSTALL'
24259 _ACEOF
24261 cat >>$CONFIG_STATUS <<\_ACEOF
24262 # If no file are specified by the user, then we need to provide default
24263 # value. By we need to know if files were specified by the user.
24264 ac_need_defaults=:
24265 while test $# != 0
24267 case $1 in
24268 --*=*)
24269 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24270 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24271 ac_shift=:
24274 ac_option=$1
24275 ac_optarg=$2
24276 ac_shift=shift
24278 esac
24280 case $ac_option in
24281 # Handling of the options.
24282 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24283 ac_cs_recheck=: ;;
24284 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24285 echo "$ac_cs_version"; exit ;;
24286 --debug | --debu | --deb | --de | --d | -d )
24287 debug=: ;;
24288 --file | --fil | --fi | --f )
24289 $ac_shift
24290 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24291 ac_need_defaults=false;;
24292 --header | --heade | --head | --hea )
24293 $ac_shift
24294 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24295 ac_need_defaults=false;;
24296 --he | --h)
24297 # Conflict between --help and --header
24298 { echo "$as_me: error: ambiguous option: $1
24299 Try \`$0 --help' for more information." >&2
24300 { (exit 1); exit 1; }; };;
24301 --help | --hel | -h )
24302 echo "$ac_cs_usage"; exit ;;
24303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24304 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24305 ac_cs_silent=: ;;
24307 # This is an error.
24308 -*) { echo "$as_me: error: unrecognized option: $1
24309 Try \`$0 --help' for more information." >&2
24310 { (exit 1); exit 1; }; } ;;
24312 *) ac_config_targets="$ac_config_targets $1"
24313 ac_need_defaults=false ;;
24315 esac
24316 shift
24317 done
24319 ac_configure_extra_args=
24321 if $ac_cs_silent; then
24322 exec 6>/dev/null
24323 ac_configure_extra_args="$ac_configure_extra_args --silent"
24326 _ACEOF
24327 cat >>$CONFIG_STATUS <<_ACEOF
24328 if \$ac_cs_recheck; then
24329 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24330 CONFIG_SHELL=$SHELL
24331 export CONFIG_SHELL
24332 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24335 _ACEOF
24336 cat >>$CONFIG_STATUS <<\_ACEOF
24337 exec 5>>config.log
24339 echo
24340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24341 ## Running $as_me. ##
24342 _ASBOX
24343 echo "$ac_log"
24344 } >&5
24346 _ACEOF
24347 cat >>$CONFIG_STATUS <<_ACEOF
24348 _ACEOF
24350 cat >>$CONFIG_STATUS <<\_ACEOF
24352 # Handling of arguments.
24353 for ac_config_target in $ac_config_targets
24355 case $ac_config_target in
24356 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24357 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24358 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24359 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24360 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24361 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
24362 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24363 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24364 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24365 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24366 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24367 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24368 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24369 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24370 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24371 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24372 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24373 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24374 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24375 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24376 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24377 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24378 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24379 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24380 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24381 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24382 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24383 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24384 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24385 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24386 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24387 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24388 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24389 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24390 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24391 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24392 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24393 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24394 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24395 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24396 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24397 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24398 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24399 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24400 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24401 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24402 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24403 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24404 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24405 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24406 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24407 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24408 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24409 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24410 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24411 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24412 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24413 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24414 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24415 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24416 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24417 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24418 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24419 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24420 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24421 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24422 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24423 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24424 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24425 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24426 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24427 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24428 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24429 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24430 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24431 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24432 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24433 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24434 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24435 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24436 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24437 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24438 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24439 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24440 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24441 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24442 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24443 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24444 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24445 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24446 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24447 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24448 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24449 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24450 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24451 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24452 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24453 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24454 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24455 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24456 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24457 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24458 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24459 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24460 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24461 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24462 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24463 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24464 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24465 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24466 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24467 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24468 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24469 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24470 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24471 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24472 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24473 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24474 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24475 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24476 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24477 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24478 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24479 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24480 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24481 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24482 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24483 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24484 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24485 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24486 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24487 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24488 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24489 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24490 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24491 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24492 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24493 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24494 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24495 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24496 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24497 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24498 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24499 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24500 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24501 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24502 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24503 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24504 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24505 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24506 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24507 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24508 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24509 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24510 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24511 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24512 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24513 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24514 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24515 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24516 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24517 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24518 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24519 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24520 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24521 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24522 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24523 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24524 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24525 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24526 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24527 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24528 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24529 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24530 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24531 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24532 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24533 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24534 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24535 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24536 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24537 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24538 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24539 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24540 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24541 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24542 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24543 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24544 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24545 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24546 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24547 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24548 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24549 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24550 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24551 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24552 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24553 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24554 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
24555 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24556 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24557 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24558 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24559 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24560 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24561 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24562 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24563 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24564 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24565 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24566 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24567 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24568 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24569 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24570 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24571 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24572 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24573 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24574 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24575 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
24576 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
24577 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24578 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24579 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24580 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24581 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24582 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24583 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24584 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24585 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24586 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24587 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24588 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24589 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24590 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24591 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24592 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24593 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24594 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24595 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24596 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24597 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24598 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24599 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24600 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24601 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24602 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24603 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24604 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24605 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24606 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24607 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24608 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24609 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24610 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24611 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24612 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24613 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24614 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24615 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24616 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24617 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24618 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24619 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24620 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24621 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24622 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24623 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24624 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24625 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24626 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24627 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24628 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24629 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24630 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24631 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24632 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24633 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24634 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24635 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24636 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24637 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24638 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24639 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24640 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24641 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24642 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24643 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24644 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24645 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24646 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24647 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24648 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24649 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24650 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24651 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24652 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24653 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24654 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24655 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24656 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24657 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24658 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24659 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24660 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24661 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24662 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24663 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24664 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24665 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24666 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24667 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24668 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24669 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24670 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24671 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24672 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24673 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24674 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24675 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24676 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24677 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24678 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24680 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24681 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24682 { (exit 1); exit 1; }; };;
24683 esac
24684 done
24687 # If the user did not use the arguments to specify the items to instantiate,
24688 # then the envvar interface is used. Set only those that are not.
24689 # We use the long form for the default assignment because of an extremely
24690 # bizarre bug on SunOS 4.1.3.
24691 if $ac_need_defaults; then
24692 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24693 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24694 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24697 # Have a temporary directory for convenience. Make it in the build tree
24698 # simply because there is no reason against having it here, and in addition,
24699 # creating and moving files from /tmp can sometimes cause problems.
24700 # Hook for its removal unless debugging.
24701 # Note that there is a small window in which the directory will not be cleaned:
24702 # after its creation but before its name has been assigned to `$tmp'.
24703 $debug ||
24705 tmp=
24706 trap 'exit_status=$?
24707 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24709 trap '{ (exit 1); exit 1; }' 1 2 13 15
24711 # Create a (secure) tmp directory for tmp files.
24714 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24715 test -n "$tmp" && test -d "$tmp"
24716 } ||
24718 tmp=./conf$$-$RANDOM
24719 (umask 077 && mkdir "$tmp")
24720 } ||
24722 echo "$me: cannot create a temporary directory in ." >&2
24723 { (exit 1); exit 1; }
24727 # Set up the sed scripts for CONFIG_FILES section.
24730 # No need to generate the scripts if there are no CONFIG_FILES.
24731 # This happens for instance when ./config.status config.h
24732 if test -n "$CONFIG_FILES"; then
24734 _ACEOF
24736 # Create sed commands to just substitute file output variables.
24738 # Remaining file output variables are in a fragment that also has non-file
24739 # output varibles.
24743 ac_delim='%!_!# '
24744 for ac_last_try in false false false false false :; do
24745 cat >conf$$subs.sed <<_ACEOF
24746 SHELL!$SHELL$ac_delim
24747 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24748 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24749 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24750 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24751 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24752 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24753 exec_prefix!$exec_prefix$ac_delim
24754 prefix!$prefix$ac_delim
24755 program_transform_name!$program_transform_name$ac_delim
24756 bindir!$bindir$ac_delim
24757 sbindir!$sbindir$ac_delim
24758 libexecdir!$libexecdir$ac_delim
24759 datarootdir!$datarootdir$ac_delim
24760 datadir!$datadir$ac_delim
24761 sysconfdir!$sysconfdir$ac_delim
24762 sharedstatedir!$sharedstatedir$ac_delim
24763 localstatedir!$localstatedir$ac_delim
24764 includedir!$includedir$ac_delim
24765 oldincludedir!$oldincludedir$ac_delim
24766 docdir!$docdir$ac_delim
24767 infodir!$infodir$ac_delim
24768 htmldir!$htmldir$ac_delim
24769 dvidir!$dvidir$ac_delim
24770 pdfdir!$pdfdir$ac_delim
24771 psdir!$psdir$ac_delim
24772 libdir!$libdir$ac_delim
24773 localedir!$localedir$ac_delim
24774 mandir!$mandir$ac_delim
24775 DEFS!$DEFS$ac_delim
24776 ECHO_C!$ECHO_C$ac_delim
24777 ECHO_N!$ECHO_N$ac_delim
24778 ECHO_T!$ECHO_T$ac_delim
24779 LIBS!$LIBS$ac_delim
24780 build_alias!$build_alias$ac_delim
24781 host_alias!$host_alias$ac_delim
24782 target_alias!$target_alias$ac_delim
24783 build!$build$ac_delim
24784 build_cpu!$build_cpu$ac_delim
24785 build_vendor!$build_vendor$ac_delim
24786 build_os!$build_os$ac_delim
24787 host!$host$ac_delim
24788 host_cpu!$host_cpu$ac_delim
24789 host_vendor!$host_vendor$ac_delim
24790 host_os!$host_os$ac_delim
24791 WIN16_FILES!$WIN16_FILES$ac_delim
24792 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24793 SET_MAKE!$SET_MAKE$ac_delim
24794 CC!$CC$ac_delim
24795 CFLAGS!$CFLAGS$ac_delim
24796 LDFLAGS!$LDFLAGS$ac_delim
24797 CPPFLAGS!$CPPFLAGS$ac_delim
24798 ac_ct_CC!$ac_ct_CC$ac_delim
24799 EXEEXT!$EXEEXT$ac_delim
24800 OBJEXT!$OBJEXT$ac_delim
24801 CXX!$CXX$ac_delim
24802 CXXFLAGS!$CXXFLAGS$ac_delim
24803 ac_ct_CXX!$ac_ct_CXX$ac_delim
24804 CPPBIN!$CPPBIN$ac_delim
24805 TOOLSDIR!$TOOLSDIR$ac_delim
24806 XMKMF!$XMKMF$ac_delim
24807 CPP!$CPP$ac_delim
24808 X_CFLAGS!$X_CFLAGS$ac_delim
24809 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24810 X_LIBS!$X_LIBS$ac_delim
24811 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24812 LEX!$LEX$ac_delim
24813 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24814 LEXLIB!$LEXLIB$ac_delim
24815 XLEX!$XLEX$ac_delim
24816 BISON!$BISON$ac_delim
24817 AS!$AS$ac_delim
24818 ac_ct_AS!$ac_ct_AS$ac_delim
24819 LD!$LD$ac_delim
24820 AR!$AR$ac_delim
24821 RANLIB!$RANLIB$ac_delim
24822 STRIP!$STRIP$ac_delim
24823 WINDRES!$WINDRES$ac_delim
24824 LN_S!$LN_S$ac_delim
24825 LN!$LN$ac_delim
24826 GREP!$GREP$ac_delim
24827 EGREP!$EGREP$ac_delim
24828 _ACEOF
24830 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24831 break
24832 elif $ac_last_try; then
24833 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24834 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24835 { (exit 1); exit 1; }; }
24836 else
24837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24839 done
24841 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24842 if test -n "$ac_eof"; then
24843 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24844 ac_eof=`expr $ac_eof + 1`
24847 cat >>$CONFIG_STATUS <<_ACEOF
24848 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24850 /^[ ]*@MAKE_RULES@[ ]*$/{
24851 r $MAKE_RULES
24854 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24855 r $MAKE_DLL_RULES
24858 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24859 r $MAKE_IMPLIB_RULES
24862 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24863 r $MAKE_TEST_RULES
24866 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24867 r $MAKE_PROG_RULES
24870 _ACEOF
24871 sed '
24872 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24873 s/^/s,@/; s/!/@,|#_!!_#|/
24876 s/'"$ac_delim"'$/,g/; t
24877 s/$/\\/; p
24878 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24879 ' >>$CONFIG_STATUS <conf$$subs.sed
24880 rm -f conf$$subs.sed
24881 cat >>$CONFIG_STATUS <<_ACEOF
24882 CEOF$ac_eof
24883 _ACEOF
24886 ac_delim='%!_!# '
24887 for ac_last_try in false false false false false :; do
24888 cat >conf$$subs.sed <<_ACEOF
24889 LDCONFIG!$LDCONFIG$ac_delim
24890 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24891 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24892 INSTALL_DATA!$INSTALL_DATA$ac_delim
24893 LINT!$LINT$ac_delim
24894 LINTFLAGS!$LINTFLAGS$ac_delim
24895 FONTFORGE!$FONTFORGE$ac_delim
24896 PKG_CONFIG!$PKG_CONFIG$ac_delim
24897 PRELINK!$PRELINK$ac_delim
24898 LIBPTHREAD!$LIBPTHREAD$ac_delim
24899 XLIB!$XLIB$ac_delim
24900 XFILES!$XFILES$ac_delim
24901 OPENGLFILES!$OPENGLFILES$ac_delim
24902 GLU32FILES!$GLU32FILES$ac_delim
24903 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24904 QUARTZFILES!$QUARTZFILES$ac_delim
24905 GLUT_LIBS!$GLUT_LIBS$ac_delim
24906 GLUT32FILES!$GLUT32FILES$ac_delim
24907 NASLIBS!$NASLIBS$ac_delim
24908 XML2LIBS!$XML2LIBS$ac_delim
24909 XML2INCL!$XML2INCL$ac_delim
24910 XSLTLIBS!$XSLTLIBS$ac_delim
24911 XSLTINCL!$XSLTINCL$ac_delim
24912 HALINCL!$HALINCL$ac_delim
24913 CURSESLIBS!$CURSESLIBS$ac_delim
24914 sane_devel!$sane_devel$ac_delim
24915 SANELIBS!$SANELIBS$ac_delim
24916 SANEINCL!$SANEINCL$ac_delim
24917 gphoto2_devel!$gphoto2_devel$ac_delim
24918 gphoto2port_devel!$gphoto2port_devel$ac_delim
24919 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24920 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24921 ICULIBS!$ICULIBS$ac_delim
24922 RESOLVLIBS!$RESOLVLIBS$ac_delim
24923 LCMSLIBS!$LCMSLIBS$ac_delim
24924 LDAPLIBS!$LDAPLIBS$ac_delim
24925 FREETYPELIBS!$FREETYPELIBS$ac_delim
24926 FREETYPEINCL!$FREETYPEINCL$ac_delim
24927 ft_devel!$ft_devel$ac_delim
24928 ft_devel2!$ft_devel2$ac_delim
24929 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24930 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24931 ARTSLIBS!$ARTSLIBS$ac_delim
24932 ARTSINCL!$ARTSINCL$ac_delim
24933 ESDCONFIG!$ESDCONFIG$ac_delim
24934 ESDLIBS!$ESDLIBS$ac_delim
24935 ESDINCL!$ESDINCL$ac_delim
24936 ALSALIBS!$ALSALIBS$ac_delim
24937 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24938 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24939 BUILTINFLAG!$BUILTINFLAG$ac_delim
24940 DLLEXT!$DLLEXT$ac_delim
24941 DLLFLAGS!$DLLFLAGS$ac_delim
24942 LDSHARED!$LDSHARED$ac_delim
24943 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24944 LIBEXT!$LIBEXT$ac_delim
24945 IMPLIBEXT!$IMPLIBEXT$ac_delim
24946 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24947 DLLTOOL!$DLLTOOL$ac_delim
24948 DLLWRAP!$DLLWRAP$ac_delim
24949 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24950 IOKITLIB!$IOKITLIB$ac_delim
24951 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24952 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24953 COREAUDIO!$COREAUDIO$ac_delim
24954 CROSSTEST!$CROSSTEST$ac_delim
24955 CROSSCC!$CROSSCC$ac_delim
24956 CROSSWINDRES!$CROSSWINDRES$ac_delim
24957 LDPATH!$LDPATH$ac_delim
24958 CRTLIBS!$CRTLIBS$ac_delim
24959 SOCKETLIBS!$SOCKETLIBS$ac_delim
24960 MAIN_BINARY!$MAIN_BINARY$ac_delim
24961 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24962 LDD!$LDD$ac_delim
24963 LIBDL!$LIBDL$ac_delim
24964 LIBPOLL!$LIBPOLL$ac_delim
24965 DEPENDENCIES!$DEPENDENCIES$ac_delim
24966 LIBOBJS!$LIBOBJS$ac_delim
24967 LTLIBOBJS!$LTLIBOBJS$ac_delim
24968 _ACEOF
24970 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
24971 break
24972 elif $ac_last_try; then
24973 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24974 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24975 { (exit 1); exit 1; }; }
24976 else
24977 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24979 done
24981 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24982 if test -n "$ac_eof"; then
24983 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24984 ac_eof=`expr $ac_eof + 1`
24987 cat >>$CONFIG_STATUS <<_ACEOF
24988 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24990 _ACEOF
24991 sed '
24992 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24993 s/^/s,@/; s/!/@,|#_!!_#|/
24996 s/'"$ac_delim"'$/,g/; t
24997 s/$/\\/; p
24998 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24999 ' >>$CONFIG_STATUS <conf$$subs.sed
25000 rm -f conf$$subs.sed
25001 cat >>$CONFIG_STATUS <<_ACEOF
25002 :end
25003 s/|#_!!_#|//g
25004 CEOF$ac_eof
25005 _ACEOF
25008 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25009 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25010 # trailing colons and then remove the whole line if VPATH becomes empty
25011 # (actually we leave an empty line to preserve line numbers).
25012 if test "x$srcdir" = x.; then
25013 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25014 s/:*\$(srcdir):*/:/
25015 s/:*\${srcdir}:*/:/
25016 s/:*@srcdir@:*/:/
25017 s/^\([^=]*=[ ]*\):*/\1/
25018 s/:*$//
25019 s/^[^=]*=[ ]*$//
25023 cat >>$CONFIG_STATUS <<\_ACEOF
25024 fi # test -n "$CONFIG_FILES"
25027 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25029 case $ac_tag in
25030 :[FHLC]) ac_mode=$ac_tag; continue;;
25031 esac
25032 case $ac_mode$ac_tag in
25033 :[FHL]*:*);;
25034 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25035 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25036 { (exit 1); exit 1; }; };;
25037 :[FH]-) ac_tag=-:-;;
25038 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25039 esac
25040 ac_save_IFS=$IFS
25041 IFS=:
25042 set x $ac_tag
25043 IFS=$ac_save_IFS
25044 shift
25045 ac_file=$1
25046 shift
25048 case $ac_mode in
25049 :L) ac_source=$1;;
25050 :[FH])
25051 ac_file_inputs=
25052 for ac_f
25054 case $ac_f in
25055 -) ac_f="$tmp/stdin";;
25056 *) # Look for the file first in the build tree, then in the source tree
25057 # (if the path is not absolute). The absolute path cannot be DOS-style,
25058 # because $ac_f cannot contain `:'.
25059 test -f "$ac_f" ||
25060 case $ac_f in
25061 [\\/$]*) false;;
25062 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25063 esac ||
25064 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25065 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25066 { (exit 1); exit 1; }; };;
25067 esac
25068 ac_file_inputs="$ac_file_inputs $ac_f"
25069 done
25071 # Let's still pretend it is `configure' which instantiates (i.e., don't
25072 # use $as_me), people would be surprised to read:
25073 # /* config.h. Generated by config.status. */
25074 configure_input="Generated from "`IFS=:
25075 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25076 if test x"$ac_file" != x-; then
25077 configure_input="$ac_file. $configure_input"
25078 { echo "$as_me:$LINENO: creating $ac_file" >&5
25079 echo "$as_me: creating $ac_file" >&6;}
25082 case $ac_tag in
25083 *:-:* | *:-) cat >"$tmp/stdin";;
25084 esac
25086 esac
25088 ac_dir=`$as_dirname -- "$ac_file" ||
25089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25090 X"$ac_file" : 'X\(//\)[^/]' \| \
25091 X"$ac_file" : 'X\(//\)$' \| \
25092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25093 echo X"$ac_file" |
25094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25095 s//\1/
25098 /^X\(\/\/\)[^/].*/{
25099 s//\1/
25102 /^X\(\/\/\)$/{
25103 s//\1/
25106 /^X\(\/\).*/{
25107 s//\1/
25110 s/.*/./; q'`
25111 { as_dir="$ac_dir"
25112 case $as_dir in #(
25113 -*) as_dir=./$as_dir;;
25114 esac
25115 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25116 as_dirs=
25117 while :; do
25118 case $as_dir in #(
25119 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25120 *) as_qdir=$as_dir;;
25121 esac
25122 as_dirs="'$as_qdir' $as_dirs"
25123 as_dir=`$as_dirname -- "$as_dir" ||
25124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25125 X"$as_dir" : 'X\(//\)[^/]' \| \
25126 X"$as_dir" : 'X\(//\)$' \| \
25127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25128 echo X"$as_dir" |
25129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25130 s//\1/
25133 /^X\(\/\/\)[^/].*/{
25134 s//\1/
25137 /^X\(\/\/\)$/{
25138 s//\1/
25141 /^X\(\/\).*/{
25142 s//\1/
25145 s/.*/./; q'`
25146 test -d "$as_dir" && break
25147 done
25148 test -z "$as_dirs" || eval "mkdir $as_dirs"
25149 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25150 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25151 { (exit 1); exit 1; }; }; }
25152 ac_builddir=.
25154 case "$ac_dir" in
25155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25157 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25158 # A ".." for each directory in $ac_dir_suffix.
25159 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25160 case $ac_top_builddir_sub in
25161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25163 esac ;;
25164 esac
25165 ac_abs_top_builddir=$ac_pwd
25166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25167 # for backward compatibility:
25168 ac_top_builddir=$ac_top_build_prefix
25170 case $srcdir in
25171 .) # We are building in place.
25172 ac_srcdir=.
25173 ac_top_srcdir=$ac_top_builddir_sub
25174 ac_abs_top_srcdir=$ac_pwd ;;
25175 [\\/]* | ?:[\\/]* ) # Absolute name.
25176 ac_srcdir=$srcdir$ac_dir_suffix;
25177 ac_top_srcdir=$srcdir
25178 ac_abs_top_srcdir=$srcdir ;;
25179 *) # Relative name.
25180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25181 ac_top_srcdir=$ac_top_build_prefix$srcdir
25182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25183 esac
25184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25187 case $ac_mode in
25190 # CONFIG_FILE
25193 case $INSTALL in
25194 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25195 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25196 esac
25197 _ACEOF
25199 cat >>$CONFIG_STATUS <<\_ACEOF
25200 # If the template does not know about datarootdir, expand it.
25201 # FIXME: This hack should be removed a few years after 2.60.
25202 ac_datarootdir_hack=; ac_datarootdir_seen=
25204 case `sed -n '/datarootdir/ {
25208 /@datadir@/p
25209 /@docdir@/p
25210 /@infodir@/p
25211 /@localedir@/p
25212 /@mandir@/p
25213 ' $ac_file_inputs` in
25214 *datarootdir*) ac_datarootdir_seen=yes;;
25215 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25216 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25217 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25218 _ACEOF
25219 cat >>$CONFIG_STATUS <<_ACEOF
25220 ac_datarootdir_hack='
25221 s&@datadir@&$datadir&g
25222 s&@docdir@&$docdir&g
25223 s&@infodir@&$infodir&g
25224 s&@localedir@&$localedir&g
25225 s&@mandir@&$mandir&g
25226 s&\\\${datarootdir}&$datarootdir&g' ;;
25227 esac
25228 _ACEOF
25230 # Neutralize VPATH when `$srcdir' = `.'.
25231 # Shell code in configure.ac might set extrasub.
25232 # FIXME: do we really want to maintain this feature?
25233 cat >>$CONFIG_STATUS <<_ACEOF
25234 sed "$ac_vpsub
25235 $extrasub
25236 _ACEOF
25237 cat >>$CONFIG_STATUS <<\_ACEOF
25239 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25240 s&@configure_input@&$configure_input&;t t
25241 s&@top_builddir@&$ac_top_builddir_sub&;t t
25242 s&@srcdir@&$ac_srcdir&;t t
25243 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25244 s&@top_srcdir@&$ac_top_srcdir&;t t
25245 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25246 s&@builddir@&$ac_builddir&;t t
25247 s&@abs_builddir@&$ac_abs_builddir&;t t
25248 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25249 s&@INSTALL@&$ac_INSTALL&;t t
25250 $ac_datarootdir_hack
25251 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25253 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25254 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25255 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25256 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25257 which seems to be undefined. Please make sure it is defined." >&5
25258 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25259 which seems to be undefined. Please make sure it is defined." >&2;}
25261 rm -f "$tmp/stdin"
25262 case $ac_file in
25263 -) cat "$tmp/out"; rm -f "$tmp/out";;
25264 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25265 esac
25269 # CONFIG_HEADER
25271 _ACEOF
25273 # Transform confdefs.h into a sed script `conftest.defines', that
25274 # substitutes the proper values into config.h.in to produce config.h.
25275 rm -f conftest.defines conftest.tail
25276 # First, append a space to every undef/define line, to ease matching.
25277 echo 's/$/ /' >conftest.defines
25278 # Then, protect against being on the right side of a sed subst, or in
25279 # an unquoted here document, in config.status. If some macros were
25280 # called several times there might be several #defines for the same
25281 # symbol, which is useless. But do not sort them, since the last
25282 # AC_DEFINE must be honored.
25283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25284 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25285 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25286 # PARAMS is the parameter list in the macro definition--in most cases, it's
25287 # just an empty string.
25288 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25289 ac_dB='\\)[ (].*,\\1define\\2'
25290 ac_dC=' '
25291 ac_dD=' ,'
25293 uniq confdefs.h |
25294 sed -n '
25295 t rset
25296 :rset
25297 s/^[ ]*#[ ]*define[ ][ ]*//
25298 t ok
25301 s/[\\&,]/\\&/g
25302 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25303 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25304 ' >>conftest.defines
25306 # Remove the space that was appended to ease matching.
25307 # Then replace #undef with comments. This is necessary, for
25308 # example, in the case of _POSIX_SOURCE, which is predefined and required
25309 # on some systems where configure will not decide to define it.
25310 # (The regexp can be short, since the line contains either #define or #undef.)
25311 echo 's/ $//
25312 s,^[ #]*u.*,/* & */,' >>conftest.defines
25314 # Break up conftest.defines:
25315 ac_max_sed_lines=50
25317 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25318 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25319 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25320 # et cetera.
25321 ac_in='$ac_file_inputs'
25322 ac_out='"$tmp/out1"'
25323 ac_nxt='"$tmp/out2"'
25325 while :
25327 # Write a here document:
25328 cat >>$CONFIG_STATUS <<_ACEOF
25329 # First, check the format of the line:
25330 cat >"\$tmp/defines.sed" <<\\CEOF
25331 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25332 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25334 :def
25335 _ACEOF
25336 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25337 echo 'CEOF
25338 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25339 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25340 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25341 grep . conftest.tail >/dev/null || break
25342 rm -f conftest.defines
25343 mv conftest.tail conftest.defines
25344 done
25345 rm -f conftest.defines conftest.tail
25347 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25348 cat >>$CONFIG_STATUS <<\_ACEOF
25349 if test x"$ac_file" != x-; then
25350 echo "/* $configure_input */" >"$tmp/config.h"
25351 cat "$ac_result" >>"$tmp/config.h"
25352 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25353 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25354 echo "$as_me: $ac_file is unchanged" >&6;}
25355 else
25356 rm -f $ac_file
25357 mv "$tmp/config.h" $ac_file
25359 else
25360 echo "/* $configure_input */"
25361 cat "$ac_result"
25363 rm -f "$tmp/out12"
25366 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25367 echo "$as_me: executing $ac_file commands" >&6;}
25369 esac
25372 case $ac_file$ac_mode in
25373 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25374 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25375 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25376 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25377 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25378 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25379 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25380 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
25381 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
25382 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25383 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25384 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25385 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25387 esac
25388 done # for ac_tag
25391 { (exit 0); exit 0; }
25392 _ACEOF
25393 chmod +x $CONFIG_STATUS
25394 ac_clean_files=$ac_clean_files_save
25397 # configure is writing to config.log, and then calls config.status.
25398 # config.status does its own redirection, appending to config.log.
25399 # Unfortunately, on DOS this fails, as config.log is still kept open
25400 # by configure, so config.status won't be able to write to it; its
25401 # output is simply discarded. So we exec the FD to /dev/null,
25402 # effectively closing config.log, so it can be properly (re)opened and
25403 # appended to by config.status. When coming back to configure, we
25404 # need to make the FD available again.
25405 if test "$no_create" != yes; then
25406 ac_cs_success=:
25407 ac_config_status_args=
25408 test "$silent" = yes &&
25409 ac_config_status_args="$ac_config_status_args --quiet"
25410 exec 5>/dev/null
25411 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25412 exec 5>>config.log
25413 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25414 # would make configure fail if this is the last instruction.
25415 $ac_cs_success || { (exit 1); exit 1; }
25420 if test "$no_create" = "yes"
25421 then
25422 exit 0
25425 if test "$verbose" = "yes"
25426 then
25427 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25428 then
25429 echo >&2
25430 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25431 echo "$as_me: libcapi20 development files not found." >&6;}
25432 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25433 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25436 if test "$ac_cv_header_cups_cups_h" != "yes"
25437 then
25438 echo >&2
25439 { echo "$as_me:$LINENO: libcups development files not found." >&5
25440 echo "$as_me: libcups development files not found." >&6;}
25441 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25442 echo "$as_me: Wine will be built without CUPS support." >&6;}
25446 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25447 then
25448 echo >&2
25449 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25450 echo "$as_me: libgphoto2 development files not found." >&6;}
25451 if test "$ac_cv_header_sane_sane_h" = "yes"
25452 then
25453 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25454 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25455 else
25456 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25457 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25461 if test "$ac_cv_header_hal_libhal_h" != "yes"
25462 then
25463 echo >&2
25464 { echo "$as_me:$LINENO: libhal development files not found." >&5
25465 echo "$as_me: libhal development files not found." >&6;}
25466 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25467 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25470 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25471 then
25472 echo >&2
25473 { echo "$as_me:$LINENO: libicu development files not found." >&5
25474 echo "$as_me: libicu development files not found." >&6;}
25475 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25476 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25479 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25480 then
25481 echo >&2
25482 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25483 echo "$as_me: liblcms development files not found." >&6;}
25484 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25485 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25488 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25489 then
25490 echo >&2
25491 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25492 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25493 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25494 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25497 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25498 then
25499 echo >&2
25500 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25501 echo "$as_me: lib(n)curses development files not found." >&6;}
25502 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25503 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25506 if test "$ac_cv_header_sane_sane_h" != "yes"
25507 then
25508 echo >&2
25509 { echo "$as_me:$LINENO: libsane development files not found." >&5
25510 echo "$as_me: libsane development files not found." >&6;}
25511 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25512 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25515 if test "$have_x" = "yes"
25516 then
25517 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25518 then
25519 echo >&2
25520 { echo "$as_me:$LINENO: libxext development files not found." >&5
25521 echo "$as_me: libxext development files not found." >&6;}
25522 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25523 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25526 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25527 then
25528 echo >&2
25529 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25530 echo "$as_me: libXrandr development files not found." >&6;}
25531 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25532 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25535 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25536 then
25537 echo >&2
25538 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25539 echo "$as_me: libXrender development files not found." >&6;}
25540 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25541 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25544 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25545 then
25546 echo >&2
25547 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25548 echo "$as_me: libXxf86vm development files not found." >&6;}
25549 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25550 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25554 if test "$ac_cv_header_libxml_parser_h" != "yes"
25555 then
25556 echo >&2
25557 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25558 echo "$as_me: libxml2 development files not found." >&6;}
25559 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25560 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25563 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25564 then
25565 echo >&2
25566 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25567 echo "$as_me: libxslt development files not found." >&6;}
25568 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25569 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25574 if test "$have_x" = "no"
25575 then
25576 echo >&2
25577 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25578 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25579 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25580 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25581 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25582 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25583 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25584 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25587 if test -z "$OPENGLFILES"
25588 then
25589 echo >&2
25590 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25591 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25592 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25593 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25594 if test "$wine_cv_opengl_headers_found" = "no"
25595 then
25596 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25597 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25599 if test "$wine_cv_opengl_header_version_OK" = "no"
25600 then
25601 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25602 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25603 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25604 then
25605 if test -f /usr/X11R6/lib/libGL.a
25606 then
25607 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25608 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25609 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25610 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25611 else
25612 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25613 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25618 if test "$wine_cv_msg_freetype" = "yes"
25619 then
25620 echo >&2
25621 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25622 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25623 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25624 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25625 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25626 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25628 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25631 if test -z "$FONTSSUBDIRS"
25632 then
25633 echo >&2
25634 if test "$FONTFORGE" = "false"
25635 then
25636 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25637 echo "$as_me: WARNING: FontForge is missing." >&2;}
25638 else
25639 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25640 echo "$as_me: WARNING: FreeType is missing." >&2;}
25642 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25643 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25646 if test -z "$ALSALIBS" -a \
25647 -z "$ARTSC_LIBS" -a \
25648 -z "$AUDIOIOLIBS" -a \
25649 -z "$NASLIBS" -a \
25650 -z "$ESD_LIBS" -a \
25651 -z "$ac_cv_lib_soname_jack" -a \
25652 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25653 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25654 "$ac_cv_header_soundcard_h" != "yes"
25655 then
25656 echo >&2
25657 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25658 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25659 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25660 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25661 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25662 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25665 echo
25666 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25667 echo