ntdll: Moved command-line help to the loader binary.
[wine/wine-kai.git] / configure
blob090aab82011c9f5bc4cdc5d0e631c1f5ac0fca2e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.24.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230 done
231 IFS=$as_save_IFS
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
273 (as_func_return () {
274 (exit $1)
276 as_func_success () {
277 as_func_return 0
279 as_func_failure () {
280 as_func_return 1
282 as_func_ret_success () {
283 return 0
285 as_func_ret_failure () {
286 return 1
289 exitcode=0
290 if as_func_success; then
292 else
293 exitcode=1
294 echo as_func_success failed.
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 else
317 exitcode=1
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329 _ASEOF
330 }; then
331 break
336 done
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
363 (exit \$1)
365 as_func_success () {
366 as_func_return 0
368 as_func_failure () {
369 as_func_return 1
371 as_func_ret_success () {
372 return 0
374 as_func_ret_failure () {
375 return 1
378 exitcode=0
379 if as_func_success; then
381 else
382 exitcode=1
383 echo as_func_success failed.
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 else
406 exitcode=1
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
476 ECHO_N='-n';;
477 esac
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
529 rm -f conf$$.file
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='Wine'
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.24'
563 PACKAGE_STRING='Wine 0.9.24'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #ifdef STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # ifdef HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #ifdef HAVE_STRING_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #ifdef HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #ifdef HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEX_OUTPUT_ROOT
671 LEXLIB
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 QUARTZFILES
701 GLUT_LIBS
702 GLUT32FILES
703 NASLIBS
704 XML2LIBS
705 XML2INCL
706 XSLTLIBS
707 XSLTINCL
708 HALINCL
709 CURSESLIBS
710 sane_devel
711 SANELIBS
712 SANEINCL
713 gphoto2_devel
714 gphoto2port_devel
715 GPHOTO2LIBS
716 GPHOTO2INCL
717 ICULIBS
718 RESOLVLIBS
719 LCMSLIBS
720 LDAPLIBS
721 FREETYPELIBS
722 FREETYPEINCL
723 ft_devel
724 ft_devel2
725 FONTSSUBDIRS
726 ARTSCCONFIG
727 ARTSLIBS
728 ARTSINCL
729 ESDCONFIG
730 ESDLIBS
731 ESDINCL
732 ALSALIBS
733 AUDIOIOLIBS
734 EXTRACFLAGS
735 BUILTINFLAG
736 DLLEXT
737 DLLFLAGS
738 LDSHARED
739 LDDLLFLAGS
740 LIBEXT
741 IMPLIBEXT
742 LIBWINE_LDFLAGS
743 DLLTOOL
744 DLLWRAP
745 COREFOUNDATIONLIB
746 IOKITLIB
747 LDEXECFLAGS
748 DISKARBITRATIONLIB
749 COREAUDIO
750 CROSSTEST
751 CROSSCC
752 CROSSWINDRES
753 LDPATH
754 CRTLIBS
755 SOCKETLIBS
756 MAIN_BINARY
757 EXTRA_BINARIES
759 LIBDL
760 LIBPOLL
761 DEPENDENCIES
762 LIBOBJS
763 LTLIBOBJS'
764 ac_subst_files='MAKE_RULES
765 MAKE_DLL_RULES
766 MAKE_IMPLIB_RULES
767 MAKE_TEST_RULES
768 MAKE_PROG_RULES'
769 ac_precious_vars='build_alias
770 host_alias
771 target_alias
773 CFLAGS
774 LDFLAGS
775 CPPFLAGS
777 CXXFLAGS
779 XMKMF
780 CPP'
783 # Initialize some variables set by options.
784 ac_init_help=
785 ac_init_version=false
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
788 cache_file=/dev/null
789 exec_prefix=NONE
790 no_create=
791 no_recursion=
792 prefix=NONE
793 program_prefix=NONE
794 program_suffix=NONE
795 program_transform_name=s,x,x,
796 silent=
797 site=
798 srcdir=
799 verbose=
800 x_includes=NONE
801 x_libraries=NONE
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
821 htmldir='${docdir}'
822 dvidir='${docdir}'
823 pdfdir='${docdir}'
824 psdir='${docdir}'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
829 ac_prev=
830 ac_dashdash=
831 for ac_option
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
836 ac_prev=
837 continue
840 case $ac_option in
841 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *) ac_optarg=yes ;;
843 esac
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
849 ac_dashdash=yes ;;
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
852 ac_prev=bindir ;;
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
854 bindir=$ac_optarg ;;
856 -build | --build | --buil | --bui | --bu)
857 ac_prev=build_alias ;;
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
859 build_alias=$ac_optarg ;;
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
863 ac_prev=cache_file ;;
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
866 cache_file=$ac_optarg ;;
868 --config-cache | -C)
869 cache_file=config.cache ;;
871 -datadir | --datadir | --datadi | --datad)
872 ac_prev=datadir ;;
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
874 datadir=$ac_optarg ;;
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
877 | --dataroo | --dataro | --datar)
878 ac_prev=datarootdir ;;
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
881 datarootdir=$ac_optarg ;;
883 -disable-* | --disable-*)
884 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
887 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
888 { (exit 1); exit 1; }; }
889 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
890 eval enable_$ac_feature=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
893 ac_prev=docdir ;;
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 docdir=$ac_optarg ;;
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898 ac_prev=dvidir ;;
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 dvidir=$ac_optarg ;;
902 -enable-* | --enable-*)
903 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
909 eval enable_$ac_feature=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
922 with_gas=yes ;;
924 -help | --help | --hel | --he | -h)
925 ac_init_help=long ;;
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 ac_prev=htmldir ;;
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 | --ht=*)
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 ac_prev=infodir ;;
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
955 ac_prev=libdir ;;
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 libdir=$ac_optarg ;;
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
967 ac_prev=localedir ;;
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 ac_prev=mandir ;;
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 mandir=$ac_optarg ;;
983 -nfp | --nfp | --nf)
984 # Obsolete; use --without-fp.
985 with_fp=no ;;
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
989 no_create=yes ;;
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 no_recursion=yes ;;
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 ac_prev=prefix ;;
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 ac_prev=pdfdir ;;
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1046 ac_prev=psdir ;;
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 psdir=$ac_optarg ;;
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1052 silent=yes ;;
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 ac_prev=sbindir ;;
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 | --sbi=* | --sb=*)
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1063 | --sha | --sh)
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 | --sha=* | --sh=*)
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1072 ac_prev=site ;;
1073 -site=* | --site=* | --sit=*)
1074 site=$ac_optarg ;;
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 ac_prev=srcdir ;;
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 verbose=yes ;;
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1099 -with-* | --with-*)
1100 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1103 { echo "$as_me: error: invalid package name: $ac_package" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_package=`echo $ac_package| sed 's/-/_/g'`
1106 eval with_$ac_package=\$ac_optarg ;;
1108 -without-* | --without-*)
1109 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/-/_/g'`
1115 eval with_$ac_package=no ;;
1117 --x)
1118 # Obsolete; use --with-x.
1119 with_x=yes ;;
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) { echo "$as_me: error: unrecognized option: $ac_option
1136 Try \`$0 --help' for more information." >&2
1137 { (exit 1); exit 1; }; }
1140 *=*)
1141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1144 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1145 { (exit 1); exit 1; }; }
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 esac
1158 done
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 { echo "$as_me: error: missing argument to $ac_option" >&2
1163 { (exit 1); exit 1; }; }
1166 # Be sure to have absolute directory names.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val=\$$ac_var
1173 case $ac_val in
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 esac
1177 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178 { (exit 1); exit 1; }; }
1179 done
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1184 build=$build_alias
1185 host=$host_alias
1186 target=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x; then
1190 if test "x$build_alias" = x; then
1191 cross_compiling=maybe
1192 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1195 cross_compiling=yes
1199 ac_tool_prefix=
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 { echo "$as_me: error: Working directory cannot be determined" >&2
1209 { (exit 1); exit 1; }; }
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 { echo "$as_me: error: pwd does not report name of working directory" >&2
1212 { (exit 1); exit 1; }; }
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$0" ||
1220 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$0" : 'X\(//\)[^/]' \| \
1222 X"$0" : 'X\(//\)$' \| \
1223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1224 echo X"$0" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 s//\1/
1229 /^X\(\/\/\)[^/].*/{
1230 s//\1/
1233 /^X\(\/\/\)$/{
1234 s//\1/
1237 /^X\(\/\).*/{
1238 s//\1/
1241 s/.*/./; q'`
1242 srcdir=$ac_confdir
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 srcdir=..
1246 else
1247 ac_srcdir_defaulted=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1252 { (exit 1); exit 1; }; }
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 ac_abs_confdir=`(
1256 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1257 { (exit 1); exit 1; }; }
1258 pwd)`
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 srcdir=.
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1266 case $srcdir in
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 esac
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1274 done
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1282 cat <<_ACEOF
1283 \`configure' configures Wine 0.9.24 to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1292 Configuration:
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 [PREFIX]
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1338 cat <<\_ACEOF
1340 X features:
1341 --x-includes=DIR X include files are in DIR
1342 --x-libraries=DIR X library files are in DIR
1344 System types:
1345 --build=BUILD configure for building on BUILD [guessed]
1346 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1347 _ACEOF
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive ) echo "Configuration of Wine 0.9.24:";;
1353 esac
1354 cat <<\_ACEOF
1356 Optional Features:
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --disable-win16 do not include Win16 support
1360 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1361 binaries)
1363 Optional Packages:
1364 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1365 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1366 --without-opengl do not use OpenGL
1367 --without-curses do not use curses
1368 --with-wine-tools=<dir> use Wine tools from directory <dir>
1369 --with-x use the X Window System
1371 Some influential environment variables:
1372 CC C compiler command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1375 nonstandard directory <lib dir>
1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1378 CXX C++ compiler command
1379 CXXFLAGS C++ compiler flags
1380 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 CPP C preprocessor
1383 Use these variables to override the choices made by `configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1386 Report bugs to <wine-devel@winehq.org>.
1387 _ACEOF
1388 ac_status=$?
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" || continue
1395 ac_builddir=.
1397 case "$ac_dir" in
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 esac ;;
1407 esac
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1413 case $srcdir in
1414 .) # We are building in place.
1415 ac_srcdir=.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1422 *) # Relative name.
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 esac
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1435 echo &&
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1437 else
1438 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 fi || ac_status=$?
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1441 done
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1446 cat <<\_ACEOF
1447 Wine configure 0.9.24
1448 generated by GNU Autoconf 2.60a
1450 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1451 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1454 _ACEOF
1455 exit
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1461 It was created by Wine $as_me 0.9.24, which was
1462 generated by GNU Autoconf 2.60a. Invocation command line was
1464 $ $0 $@
1466 _ACEOF
1467 exec 5>>config.log
1469 cat <<_ASUNAME
1470 ## --------- ##
1471 ## Platform. ##
1472 ## --------- ##
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 _ASUNAME
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 for as_dir in $PATH
1496 IFS=$as_save_IFS
1497 test -z "$as_dir" && as_dir=.
1498 echo "PATH: $as_dir"
1499 done
1500 IFS=$as_save_IFS
1502 } >&5
1504 cat >&5 <<_ACEOF
1507 ## ----------- ##
1508 ## Core tests. ##
1509 ## ----------- ##
1511 _ACEOF
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_configure_args=
1520 ac_configure_args0=
1521 ac_configure_args1=
1522 ac_must_keep_next=false
1523 for ac_pass in 1 2
1525 for ac_arg
1527 case $ac_arg in
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1531 continue ;;
1532 *\'*)
1533 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 esac
1535 case $ac_pass in
1536 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1538 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1541 else
1542 case $ac_arg in
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 esac
1551 -* ) ac_must_keep_next=true ;;
1552 esac
1554 ac_configure_args="$ac_configure_args '$ac_arg'"
1556 esac
1557 done
1558 done
1559 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1560 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1570 echo
1572 cat <<\_ASBOX
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1576 _ASBOX
1577 echo
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581 eval ac_val=\$$ac_var
1582 case $ac_val in #(
1583 *${as_nl}*)
1584 case $ac_var in #(
1585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 esac
1588 case $ac_var in #(
1589 _ | IFS | as_nl) ;; #(
1590 *) $as_unset $ac_var ;;
1591 esac ;;
1592 esac
1593 done
1594 (set) 2>&1 |
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1597 sed -n \
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 ;; #(
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1604 esac |
1605 sort
1607 echo
1609 cat <<\_ASBOX
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1613 _ASBOX
1614 echo
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1618 case $ac_val in
1619 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 esac
1621 echo "$ac_var='\''$ac_val'\''"
1622 done | sort
1623 echo
1625 if test -n "$ac_subst_files"; then
1626 cat <<\_ASBOX
1627 ## ------------------- ##
1628 ## File substitutions. ##
1629 ## ------------------- ##
1630 _ASBOX
1631 echo
1632 for ac_var in $ac_subst_files
1634 eval ac_val=\$$ac_var
1635 case $ac_val in
1636 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637 esac
1638 echo "$ac_var='\''$ac_val'\''"
1639 done | sort
1640 echo
1643 if test -s confdefs.h; then
1644 cat <<\_ASBOX
1645 ## ----------- ##
1646 ## confdefs.h. ##
1647 ## ----------- ##
1648 _ASBOX
1649 echo
1650 cat confdefs.h
1651 echo
1653 test "$ac_signal" != 0 &&
1654 echo "$as_me: caught signal $ac_signal"
1655 echo "$as_me: exit $exit_status"
1656 } >&5
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 exit $exit_status
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1663 done
1664 ac_signal=0
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 # Predefined preprocessor variables.
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_NAME "$PACKAGE_NAME"
1673 _ACEOF
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1678 _ACEOF
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1683 _ACEOF
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_STRING "$PACKAGE_STRING"
1688 _ACEOF
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693 _ACEOF
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 set x "$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1702 else
1703 set x "$ac_default_prefix/share/config.site" \
1704 "$ac_default_prefix/etc/config.site"
1706 shift
1707 for ac_site_file
1709 if test -r "$ac_site_file"; then
1710 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1711 echo "$as_me: loading site script $ac_site_file" >&6;}
1712 sed 's/^/| /' "$ac_site_file" >&5
1713 . "$ac_site_file"
1715 done
1717 if test -r "$cache_file"; then
1718 # Some versions of bash will fail to source /dev/null (special
1719 # files actually), so we avoid doing that.
1720 if test -f "$cache_file"; then
1721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1722 echo "$as_me: loading cache $cache_file" >&6;}
1723 case $cache_file in
1724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1725 *) . "./$cache_file";;
1726 esac
1728 else
1729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1730 echo "$as_me: creating cache $cache_file" >&6;}
1731 >$cache_file
1734 # Check that the precious variables saved in the cache have kept the same
1735 # value.
1736 ac_cache_corrupted=false
1737 for ac_var in $ac_precious_vars; do
1738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1739 eval ac_new_set=\$ac_env_${ac_var}_set
1740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1741 eval ac_new_val=\$ac_env_${ac_var}_value
1742 case $ac_old_set,$ac_new_set in
1743 set,)
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1745 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1746 ac_cache_corrupted=: ;;
1747 ,set)
1748 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1749 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1750 ac_cache_corrupted=: ;;
1751 ,);;
1753 if test "x$ac_old_val" != "x$ac_new_val"; then
1754 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1756 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1757 echo "$as_me: former value: $ac_old_val" >&2;}
1758 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1759 echo "$as_me: current value: $ac_new_val" >&2;}
1760 ac_cache_corrupted=:
1761 fi;;
1762 esac
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1765 case $ac_new_val in
1766 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1768 esac
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1772 esac
1774 done
1775 if $ac_cache_corrupted; then
1776 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1777 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1779 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1780 { (exit 1); exit 1; }; }
1807 ac_ext=c
1808 ac_cpp='$CPP $CPPFLAGS'
1809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 ac_config_headers="$ac_config_headers include/config.h"
1817 ac_aux_dir=
1818 for ac_dir in tools "$srcdir"/tools; do
1819 if test -f "$ac_dir/install-sh"; then
1820 ac_aux_dir=$ac_dir
1821 ac_install_sh="$ac_aux_dir/install-sh -c"
1822 break
1823 elif test -f "$ac_dir/install.sh"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1826 break
1827 elif test -f "$ac_dir/shtool"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1830 break
1832 done
1833 if test -z "$ac_aux_dir"; then
1834 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1835 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1836 { (exit 1); exit 1; }; }
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1850 # Check whether --enable-win16 was given.
1851 if test "${enable_win16+set}" = set; then
1852 enableval=$enable_win16;
1855 # Check whether --enable-win64 was given.
1856 if test "${enable_win64+set}" = set; then
1857 enableval=$enable_win64;
1862 # Check whether --with-opengl was given.
1863 if test "${with_opengl+set}" = set; then
1864 withval=$with_opengl;
1868 # Check whether --with-curses was given.
1869 if test "${with_curses+set}" = set; then
1870 withval=$with_curses;
1874 # Check whether --with-wine-tools was given.
1875 if test "${with_wine_tools+set}" = set; then
1876 withval=$with_wine_tools;
1880 # Make sure we can run config.sub.
1881 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1882 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1883 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1884 { (exit 1); exit 1; }; }
1886 { echo "$as_me:$LINENO: checking build system type" >&5
1887 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1888 if test "${ac_cv_build+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 ac_build_alias=$build_alias
1892 test "x$ac_build_alias" = x &&
1893 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1894 test "x$ac_build_alias" = x &&
1895 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1896 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1897 { (exit 1); exit 1; }; }
1898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1901 { (exit 1); exit 1; }; }
1904 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1905 echo "${ECHO_T}$ac_cv_build" >&6; }
1906 case $ac_cv_build in
1907 *-*-*) ;;
1908 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1909 echo "$as_me: error: invalid value of canonical build" >&2;}
1910 { (exit 1); exit 1; }; };;
1911 esac
1912 build=$ac_cv_build
1913 ac_save_IFS=$IFS; IFS='-'
1914 set x $ac_cv_build
1915 shift
1916 build_cpu=$1
1917 build_vendor=$2
1918 shift; shift
1919 # Remember, the first character of IFS is used to create $*,
1920 # except with old shells:
1921 build_os=$*
1922 IFS=$ac_save_IFS
1923 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1926 { echo "$as_me:$LINENO: checking host system type" >&5
1927 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1928 if test "${ac_cv_host+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else
1931 if test "x$host_alias" = x; then
1932 ac_cv_host=$ac_cv_build
1933 else
1934 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1935 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1936 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1937 { (exit 1); exit 1; }; }
1941 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1942 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 case $ac_cv_host in
1944 *-*-*) ;;
1945 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1946 echo "$as_me: error: invalid value of canonical host" >&2;}
1947 { (exit 1); exit 1; }; };;
1948 esac
1949 host=$ac_cv_host
1950 ac_save_IFS=$IFS; IFS='-'
1951 set x $ac_cv_host
1952 shift
1953 host_cpu=$1
1954 host_vendor=$2
1955 shift; shift
1956 # Remember, the first character of IFS is used to create $*,
1957 # except with old shells:
1958 host_os=$*
1959 IFS=$ac_save_IFS
1960 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 case $host in
1964 x86_64*linux*)
1965 if test "x$enable_win64" != "xyes"
1966 then
1967 test -n "$CC" || CC="gcc -m32"
1968 test -n "$LD" || LD="ld -m elf_i386"
1969 test -n "$AS" || AS="as --32"
1970 host_cpu="i386"
1973 esac
1975 case $host_cpu in
1976 *i[3456789]86*)
1977 if test "x$enable_win16" != "xno"
1978 then
1979 enable_win16="yes"
1982 esac
1984 WIN16_FILES="\$(WIN16_FILES)"
1986 WIN16_INSTALL="\$(WIN16_INSTALL)"
1988 if test "x$enable_win16" != "xyes"
1989 then
1990 WIN16_FILES=""
1991 WIN16_INSTALL=""
1995 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1996 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1997 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1998 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 else
2001 cat >conftest.make <<\_ACEOF
2002 SHELL = /bin/sh
2003 all:
2004 @echo '@@@%%%=$(MAKE)=@@@%%%'
2005 _ACEOF
2006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2008 *@@@%%%=?*=@@@%%%*)
2009 eval ac_cv_prog_make_${ac_make}_set=yes;;
2011 eval ac_cv_prog_make_${ac_make}_set=no;;
2012 esac
2013 rm -f conftest.make
2015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2016 { echo "$as_me:$LINENO: result: yes" >&5
2017 echo "${ECHO_T}yes" >&6; }
2018 SET_MAKE=
2019 else
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2022 SET_MAKE="MAKE=${MAKE-make}"
2025 ac_ext=c
2026 ac_cpp='$CPP $CPPFLAGS'
2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030 if test -n "$ac_tool_prefix"; then
2031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2032 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 else
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC="$CC" # Let the user override the test.
2040 else
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 for as_dir in $PATH
2044 IFS=$as_save_IFS
2045 test -z "$as_dir" && as_dir=.
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2048 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 break 2
2052 done
2053 done
2054 IFS=$as_save_IFS
2058 CC=$ac_cv_prog_CC
2059 if test -n "$CC"; then
2060 { echo "$as_me:$LINENO: result: $CC" >&5
2061 echo "${ECHO_T}$CC" >&6; }
2062 else
2063 { echo "$as_me:$LINENO: result: no" >&5
2064 echo "${ECHO_T}no" >&6; }
2069 if test -z "$ac_cv_prog_CC"; then
2070 ac_ct_CC=$CC
2071 # Extract the first word of "gcc", so it can be a program name with args.
2072 set dummy gcc; ac_word=$2
2073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 else
2078 if test -n "$ac_ct_CC"; then
2079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2080 else
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_ac_ct_CC="gcc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 break 2
2092 done
2093 done
2094 IFS=$as_save_IFS
2098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2099 if test -n "$ac_ct_CC"; then
2100 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101 echo "${ECHO_T}$ac_ct_CC" >&6; }
2102 else
2103 { echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6; }
2107 if test "x$ac_ct_CC" = x; then
2108 CC=""
2109 else
2110 case $cross_compiling:$ac_tool_warned in
2111 yes:)
2112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&5
2115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2116 whose name does not start with the host triplet. If you think this
2117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2118 ac_tool_warned=yes ;;
2119 esac
2120 CC=$ac_ct_CC
2122 else
2123 CC="$ac_cv_prog_CC"
2126 if test -z "$CC"; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}cc; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_CC="${ac_tool_prefix}cc"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2149 done
2150 done
2151 IFS=$as_save_IFS
2155 CC=$ac_cv_prog_CC
2156 if test -n "$CC"; then
2157 { echo "$as_me:$LINENO: result: $CC" >&5
2158 echo "${ECHO_T}$CC" >&6; }
2159 else
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 else
2178 ac_prog_rejected=no
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH
2182 IFS=$as_save_IFS
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2188 continue
2190 ac_cv_prog_CC="cc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2194 done
2195 done
2196 IFS=$as_save_IFS
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2201 shift
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2206 shift
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 CC=$ac_cv_prog_CC
2213 if test -n "$CC"; then
2214 { echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6; }
2216 else
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2225 for ac_prog in cl.exe
2227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231 if test "${ac_cv_prog_CC+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 else
2234 if test -n "$CC"; then
2235 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 else
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2240 IFS=$as_save_IFS
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2244 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 break 2
2248 done
2249 done
2250 IFS=$as_save_IFS
2254 CC=$ac_cv_prog_CC
2255 if test -n "$CC"; then
2256 { echo "$as_me:$LINENO: result: $CC" >&5
2257 echo "${ECHO_T}$CC" >&6; }
2258 else
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2264 test -n "$CC" && break
2265 done
2267 if test -z "$CC"; then
2268 ac_ct_CC=$CC
2269 for ac_prog in cl.exe
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_ac_ct_CC="$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2294 IFS=$as_save_IFS
2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2301 echo "${ECHO_T}$ac_ct_CC" >&6; }
2302 else
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2308 test -n "$ac_ct_CC" && break
2309 done
2311 if test "x$ac_ct_CC" = x; then
2312 CC=""
2313 else
2314 case $cross_compiling:$ac_tool_warned in
2315 yes:)
2316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&5
2319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2320 whose name does not start with the host triplet. If you think this
2321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2322 ac_tool_warned=yes ;;
2323 esac
2324 CC=$ac_ct_CC
2331 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&5
2333 echo "$as_me: error: no acceptable C compiler found in \$PATH
2334 See \`config.log' for more details." >&2;}
2335 { (exit 1); exit 1; }; }
2337 # Provide some information about the compiler.
2338 echo "$as_me:$LINENO: checking for C compiler version" >&5
2339 ac_compiler=`set X $ac_compile; echo $2`
2340 { (ac_try="$ac_compiler --version >&5"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2346 (eval "$ac_compiler --version >&5") 2>&5
2347 ac_status=$?
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (ac_try="$ac_compiler -v >&5"
2351 case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354 esac
2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2356 (eval "$ac_compiler -v >&5") 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2360 { (ac_try="$ac_compiler -V >&5"
2361 case "(($ac_try" in
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2364 esac
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler -V >&5") 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2379 main ()
2383 return 0;
2385 _ACEOF
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2390 # of exeext.
2391 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2392 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2395 # List of possible output files, starting from the most likely.
2396 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2397 # only as a last resort. b.out is created by i960 compilers.
2398 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2400 # The IRIX 6 linker writes into existing files which may not be
2401 # executable, retaining their permissions. Remove them first so a
2402 # subsequent execution test works.
2403 ac_rmfiles=
2404 for ac_file in $ac_files
2406 case $ac_file in
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2408 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2409 esac
2410 done
2411 rm -f $ac_rmfiles
2413 if { (ac_try="$ac_link_default"
2414 case "(($ac_try" in
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2417 esac
2418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval "$ac_link_default") 2>&5
2420 ac_status=$?
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; then
2423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2426 # so that the user can short-circuit this test for compilers unknown to
2427 # Autoconf.
2428 for ac_file in $ac_files ''
2430 test -f "$ac_file" || continue
2431 case $ac_file in
2432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2434 [ab].out )
2435 # We found the default executable, but exeext='' is most
2436 # certainly right.
2437 break;;
2438 *.* )
2439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2440 then :; else
2441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2443 # We set ac_cv_exeext here because the later test for it is not
2444 # safe: cross compilers may not add the suffix if given an `-o'
2445 # argument, so we may need to know it at that point already.
2446 # Even if this section looks crufty: it has the advantage of
2447 # actually working.
2448 break;;
2450 break;;
2451 esac
2452 done
2453 test "$ac_cv_exeext" = no && ac_cv_exeext=
2455 else
2456 ac_file=''
2459 { echo "$as_me:$LINENO: result: $ac_file" >&5
2460 echo "${ECHO_T}$ac_file" >&6; }
2461 if test -z "$ac_file"; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: C compiler cannot create executables
2468 See \`config.log' for more details." >&2;}
2469 { (exit 77); exit 77; }; }
2472 ac_exeext=$ac_cv_exeext
2474 # Check that the compiler produces executables we can run. If not, either
2475 # the compiler is broken, or we cross compile.
2476 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2477 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2478 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2479 # If not cross compiling, check that we can run a simple program.
2480 if test "$cross_compiling" != yes; then
2481 if { ac_try='./$ac_file'
2482 { (case "(($ac_try" in
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2485 esac
2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2487 (eval "$ac_try") 2>&5
2488 ac_status=$?
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; }; then
2491 cross_compiling=no
2492 else
2493 if test "$cross_compiling" = maybe; then
2494 cross_compiling=yes
2495 else
2496 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&5
2499 echo "$as_me: error: cannot run C compiled programs.
2500 If you meant to cross compile, use \`--host'.
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2506 { echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6; }
2509 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2510 ac_clean_files=$ac_clean_files_save
2511 # Check that the compiler produces executables we can run. If not, either
2512 # the compiler is broken, or we cross compile.
2513 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2514 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2515 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2516 echo "${ECHO_T}$cross_compiling" >&6; }
2518 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2519 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2520 if { (ac_try="$ac_link"
2521 case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_link") 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2531 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2532 # work properly (i.e., refer to `conftest.exe'), while it won't with
2533 # `rm'.
2534 for ac_file in conftest.exe conftest conftest.*; do
2535 test -f "$ac_file" || continue
2536 case $ac_file in
2537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2538 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2539 break;;
2540 * ) break;;
2541 esac
2542 done
2543 else
2544 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2547 See \`config.log' for more details." >&2;}
2548 { (exit 1); exit 1; }; }
2551 rm -f conftest$ac_cv_exeext
2552 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2553 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2555 rm -f conftest.$ac_ext
2556 EXEEXT=$ac_cv_exeext
2557 ac_exeext=$EXEEXT
2558 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2559 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2560 if test "${ac_cv_objext+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563 cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h. */
2565 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2571 main ()
2575 return 0;
2577 _ACEOF
2578 rm -f conftest.o conftest.obj
2579 if { (ac_try="$ac_compile"
2580 case "(($ac_try" in
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2583 esac
2584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2585 (eval "$ac_compile") 2>&5
2586 ac_status=$?
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; then
2589 for ac_file in conftest.o conftest.obj conftest.*; do
2590 test -f "$ac_file" || continue;
2591 case $ac_file in
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2594 break;;
2595 esac
2596 done
2597 else
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2601 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&5
2603 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2604 See \`config.log' for more details." >&2;}
2605 { (exit 1); exit 1; }; }
2608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2611 echo "${ECHO_T}$ac_cv_objext" >&6; }
2612 OBJEXT=$ac_cv_objext
2613 ac_objext=$OBJEXT
2614 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2615 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 else
2619 cat >conftest.$ac_ext <<_ACEOF
2620 /* confdefs.h. */
2621 _ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2627 main ()
2629 #ifndef __GNUC__
2630 choke me
2631 #endif
2634 return 0;
2636 _ACEOF
2637 rm -f conftest.$ac_objext
2638 if { (ac_try="$ac_compile"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2644 (eval "$ac_compile") 2>conftest.er1
2645 ac_status=$?
2646 grep -v '^ *+' conftest.er1 >conftest.err
2647 rm -f conftest.er1
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_try") 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_try") 2>&5
2668 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 ac_compiler_gnu=yes
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_compiler_gnu=no
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 else
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2695 ac_cv_prog_cc_g=no
2696 CFLAGS="-g"
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2720 ac_status=$?
2721 grep -v '^ *+' conftest.er1 >conftest.err
2722 rm -f conftest.er1
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2727 { (case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_try") 2>&5
2733 ac_status=$?
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; } &&
2736 { ac_try='test -s conftest.$ac_objext'
2737 { (case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2740 esac
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_try") 2>&5
2743 ac_status=$?
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 CFLAGS=""
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2775 ac_status=$?
2776 grep -v '^ *+' conftest.er1 >conftest.err
2777 rm -f conftest.er1
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2782 { (case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_try") 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try='test -s conftest.$ac_objext'
2792 { (case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_try") 2>&5
2798 ac_status=$?
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2802 else
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_c_werror_flag=$ac_save_c_werror_flag
2807 CFLAGS="-g"
2808 cat >conftest.$ac_ext <<_ACEOF
2809 /* confdefs.h. */
2810 _ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2816 main ()
2820 return 0;
2822 _ACEOF
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2825 case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2838 { (case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_try") 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try='test -s conftest.$ac_objext'
2848 { (case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851 esac
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_try") 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 ac_cv_prog_cc_g=yes
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 ac_c_werror_flag=$ac_save_c_werror_flag
2874 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2875 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2876 if test "$ac_test_CFLAGS" = set; then
2877 CFLAGS=$ac_save_CFLAGS
2878 elif test $ac_cv_prog_cc_g = yes; then
2879 if test "$GCC" = yes; then
2880 CFLAGS="-g -O2"
2881 else
2882 CFLAGS="-g"
2884 else
2885 if test "$GCC" = yes; then
2886 CFLAGS="-O2"
2887 else
2888 CFLAGS=
2891 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2892 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_cc_c89+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 else
2896 ac_cv_prog_cc_c89=no
2897 ac_save_CC=$CC
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2904 #include <stdarg.h>
2905 #include <stdio.h>
2906 #include <sys/types.h>
2907 #include <sys/stat.h>
2908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2909 struct buf { int x; };
2910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2911 static char *e (p, i)
2912 char **p;
2913 int i;
2915 return p[i];
2917 static char *f (char * (*g) (char **, int), char **p, ...)
2919 char *s;
2920 va_list v;
2921 va_start (v,p);
2922 s = g (p, va_arg (v,int));
2923 va_end (v);
2924 return s;
2927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2928 function prototypes and stuff, but not '\xHH' hex character constants.
2929 These don't provoke an error unfortunately, instead are silently treated
2930 as 'x'. The following induces an error, until -std is added to get
2931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2932 array size at least. It's necessary to write '\x00'==0 to get something
2933 that's true only with -std. */
2934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2936 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2937 inside strings and character constants. */
2938 #define FOO(x) 'x'
2939 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2941 int test (int i, double x);
2942 struct s1 {int (*f) (int a);};
2943 struct s2 {int (*f) (double a);};
2944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2945 int argc;
2946 char **argv;
2948 main ()
2950 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2952 return 0;
2954 _ACEOF
2955 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2956 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2958 CC="$ac_save_CC $ac_arg"
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2967 ac_status=$?
2968 grep -v '^ *+' conftest.er1 >conftest.err
2969 rm -f conftest.er1
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2974 { (case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2977 esac
2978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979 (eval "$ac_try") 2>&5
2980 ac_status=$?
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; } &&
2983 { ac_try='test -s conftest.$ac_objext'
2984 { (case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_try") 2>&5
2990 ac_status=$?
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2993 ac_cv_prog_cc_c89=$ac_arg
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
3001 rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3003 done
3004 rm -f conftest.$ac_ext
3005 CC=$ac_save_CC
3008 # AC_CACHE_VAL
3009 case "x$ac_cv_prog_cc_c89" in
3011 { echo "$as_me:$LINENO: result: none needed" >&5
3012 echo "${ECHO_T}none needed" >&6; } ;;
3013 xno)
3014 { echo "$as_me:$LINENO: result: unsupported" >&5
3015 echo "${ECHO_T}unsupported" >&6; } ;;
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3020 esac
3023 ac_ext=c
3024 ac_cpp='$CPP $CPPFLAGS'
3025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029 ac_ext=cpp
3030 ac_cpp='$CXXCPP $CPPFLAGS'
3031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3034 if test -z "$CXX"; then
3035 if test -n "$CCC"; then
3036 CXX=$CCC
3037 else
3038 if test -n "$ac_tool_prefix"; then
3039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3045 if test "${ac_cv_prog_CXX+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 else
3048 if test -n "$CXX"; then
3049 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3050 else
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in $PATH
3054 IFS=$as_save_IFS
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 break 2
3062 done
3063 done
3064 IFS=$as_save_IFS
3068 CXX=$ac_cv_prog_CXX
3069 if test -n "$CXX"; then
3070 { echo "$as_me:$LINENO: result: $CXX" >&5
3071 echo "${ECHO_T}$CXX" >&6; }
3072 else
3073 { echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6; }
3078 test -n "$CXX" && break
3079 done
3081 if test -z "$CXX"; then
3082 ac_ct_CXX=$CXX
3083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
3086 set dummy $ac_prog; ac_word=$2
3087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3089 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 else
3092 if test -n "$ac_ct_CXX"; then
3093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CXX="$ac_prog"
3103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 break 2
3106 done
3107 done
3108 IFS=$as_save_IFS
3112 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3113 if test -n "$ac_ct_CXX"; then
3114 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3115 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3116 else
3117 { echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6; }
3122 test -n "$ac_ct_CXX" && break
3123 done
3125 if test "x$ac_ct_CXX" = x; then
3126 CXX="g++"
3127 else
3128 case $cross_compiling:$ac_tool_warned in
3129 yes:)
3130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3131 whose name does not start with the host triplet. If you think this
3132 configuration is useful to you, please write to autoconf@gnu.org." >&5
3133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3134 whose name does not start with the host triplet. If you think this
3135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3136 ac_tool_warned=yes ;;
3137 esac
3138 CXX=$ac_ct_CXX
3144 # Provide some information about the compiler.
3145 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3146 ac_compiler=`set X $ac_compile; echo $2`
3147 { (ac_try="$ac_compiler --version >&5"
3148 case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_compiler --version >&5") 2>&5
3154 ac_status=$?
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }
3157 { (ac_try="$ac_compiler -v >&5"
3158 case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3161 esac
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compiler -v >&5") 2>&5
3164 ac_status=$?
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }
3167 { (ac_try="$ac_compiler -V >&5"
3168 case "(($ac_try" in
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3171 esac
3172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173 (eval "$ac_compiler -V >&5") 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }
3178 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3179 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3180 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3191 main ()
3193 #ifndef __GNUC__
3194 choke me
3195 #endif
3198 return 0;
3200 _ACEOF
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3203 case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206 esac
3207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208 (eval "$ac_compile") 2>conftest.er1
3209 ac_status=$?
3210 grep -v '^ *+' conftest.er1 >conftest.err
3211 rm -f conftest.er1
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3216 { (case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3219 esac
3220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3221 (eval "$ac_try") 2>&5
3222 ac_status=$?
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try='test -s conftest.$ac_objext'
3226 { (case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_try") 2>&5
3232 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_compiler_gnu=yes
3236 else
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 ac_compiler_gnu=no
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3247 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3248 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3249 GXX=`test $ac_compiler_gnu = yes && echo yes`
3250 ac_test_CXXFLAGS=${CXXFLAGS+set}
3251 ac_save_CXXFLAGS=$CXXFLAGS
3252 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3253 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3254 if test "${ac_cv_prog_cxx_g+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 else
3257 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3258 ac_cxx_werror_flag=yes
3259 ac_cv_prog_cxx_g=no
3260 CXXFLAGS="-g"
3261 cat >conftest.$ac_ext <<_ACEOF
3262 /* confdefs.h. */
3263 _ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3269 main ()
3273 return 0;
3275 _ACEOF
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3278 case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3281 esac
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3284 ac_status=$?
3285 grep -v '^ *+' conftest.er1 >conftest.err
3286 rm -f conftest.er1
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3291 { (case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3294 esac
3295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3296 (eval "$ac_try") 2>&5
3297 ac_status=$?
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_try") 2>&5
3307 ac_status=$?
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_prog_cxx_g=yes
3311 else
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3315 CXXFLAGS=""
3316 cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h. */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3324 main ()
3328 return 0;
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3333 case "(($ac_try" in
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3336 esac
3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338 (eval "$ac_compile") 2>conftest.er1
3339 ac_status=$?
3340 grep -v '^ *+' conftest.er1 >conftest.err
3341 rm -f conftest.er1
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3346 { (case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3349 esac
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_try") 2>&5
3352 ac_status=$?
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; } &&
3355 { ac_try='test -s conftest.$ac_objext'
3356 { (case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3359 esac
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_try") 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3366 else
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3371 CXXFLAGS="-g"
3372 cat >conftest.$ac_ext <<_ACEOF
3373 /* confdefs.h. */
3374 _ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3380 main ()
3384 return 0;
3386 _ACEOF
3387 rm -f conftest.$ac_objext
3388 if { (ac_try="$ac_compile"
3389 case "(($ac_try" in
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3392 esac
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3395 ac_status=$?
3396 grep -v '^ *+' conftest.er1 >conftest.err
3397 rm -f conftest.er1
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3405 esac
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3408 ac_status=$?
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (case "(($ac_try" in
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3415 esac
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_try") 2>&5
3418 ac_status=$?
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_prog_cxx_g=yes
3422 else
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3438 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3439 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3440 if test "$ac_test_CXXFLAGS" = set; then
3441 CXXFLAGS=$ac_save_CXXFLAGS
3442 elif test $ac_cv_prog_cxx_g = yes; then
3443 if test "$GXX" = yes; then
3444 CXXFLAGS="-g -O2"
3445 else
3446 CXXFLAGS="-g"
3448 else
3449 if test "$GXX" = yes; then
3450 CXXFLAGS="-O2"
3451 else
3452 CXXFLAGS=
3455 ac_ext=c
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 if test -n "$ac_tool_prefix"; then
3462 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3463 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469 if test -n "$CPPBIN"; then
3470 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3471 else
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 for as_dir in $PATH
3475 IFS=$as_save_IFS
3476 test -z "$as_dir" && as_dir=.
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3481 break 2
3483 done
3484 done
3485 IFS=$as_save_IFS
3489 CPPBIN=$ac_cv_prog_CPPBIN
3490 if test -n "$CPPBIN"; then
3491 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3492 echo "${ECHO_T}$CPPBIN" >&6; }
3493 else
3494 { echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6; }
3500 if test -z "$ac_cv_prog_CPPBIN"; then
3501 ac_ct_CPPBIN=$CPPBIN
3502 # Extract the first word of "cpp", so it can be a program name with args.
3503 set dummy cpp; ac_word=$2
3504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3506 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 else
3509 if test -n "$ac_ct_CPPBIN"; then
3510 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3515 IFS=$as_save_IFS
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3519 ac_cv_prog_ac_ct_CPPBIN="cpp"
3520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 break 2
3523 done
3524 done
3525 IFS=$as_save_IFS
3529 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3530 if test -n "$ac_ct_CPPBIN"; then
3531 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3532 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3533 else
3534 { echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6; }
3538 if test "x$ac_ct_CPPBIN" = x; then
3539 CPPBIN="cpp"
3540 else
3541 case $cross_compiling:$ac_tool_warned in
3542 yes:)
3543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&5
3546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3547 whose name does not start with the host triplet. If you think this
3548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3549 ac_tool_warned=yes ;;
3550 esac
3551 CPPBIN=$ac_ct_CPPBIN
3553 else
3554 CPPBIN="$ac_cv_prog_CPPBIN"
3558 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3559 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3560 if test "${wine_cv_toolsdir+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 if test -z "$with_wine_tools"; then
3564 if test "$cross_compiling" = "yes"; then
3565 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3566 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3567 { (exit 1); exit 1; }; }
3568 else
3569 wine_cv_toolsdir="\$(TOPOBJDIR)"
3571 elif test -d "$with_wine_tools/tools/winebuild"; then
3572 case $with_wine_tools in
3573 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3574 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3575 esac
3576 else
3577 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3578 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3579 { (exit 1); exit 1; }; }
3582 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3583 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3584 TOOLSDIR=$wine_cv_toolsdir
3588 ac_ext=c
3589 ac_cpp='$CPP $CPPFLAGS'
3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3594 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3595 # On Suns, sometimes $CPP names a directory.
3596 if test -n "$CPP" && test -d "$CPP"; then
3597 CPP=
3599 if test -z "$CPP"; then
3600 if test "${ac_cv_prog_CPP+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 # Double quotes because CPP needs to be expanded
3604 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3606 ac_preproc_ok=false
3607 for ac_c_preproc_warn_flag in '' yes
3609 # Use a header file that comes with gcc, so configuring glibc
3610 # with a fresh cross-compiler works.
3611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3612 # <limits.h> exists even on freestanding compilers.
3613 # On the NeXT, cc -E runs the code through the compiler's parser,
3614 # not just through cpp. "Syntax error" is here to catch this case.
3615 cat >conftest.$ac_ext <<_ACEOF
3616 /* confdefs.h. */
3617 _ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 #ifdef __STDC__
3622 # include <limits.h>
3623 #else
3624 # include <assert.h>
3625 #endif
3626 Syntax error
3627 _ACEOF
3628 if { (ac_try="$ac_cpp conftest.$ac_ext"
3629 case "(($ac_try" in
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3632 esac
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3635 ac_status=$?
3636 grep -v '^ *+' conftest.er1 >conftest.err
3637 rm -f conftest.er1
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } >/dev/null; then
3641 if test -s conftest.err; then
3642 ac_cpp_err=$ac_c_preproc_warn_flag
3643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3644 else
3645 ac_cpp_err=
3647 else
3648 ac_cpp_err=yes
3650 if test -z "$ac_cpp_err"; then
3652 else
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Broken: fails on valid input.
3657 continue
3660 rm -f conftest.err conftest.$ac_ext
3662 # OK, works on sane cases. Now check whether nonexistent headers
3663 # can be detected and how.
3664 cat >conftest.$ac_ext <<_ACEOF
3665 /* confdefs.h. */
3666 _ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3670 #include <ac_nonexistent.h>
3671 _ACEOF
3672 if { (ac_try="$ac_cpp conftest.$ac_ext"
3673 case "(($ac_try" in
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3676 esac
3677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3679 ac_status=$?
3680 grep -v '^ *+' conftest.er1 >conftest.err
3681 rm -f conftest.er1
3682 cat conftest.err >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } >/dev/null; then
3685 if test -s conftest.err; then
3686 ac_cpp_err=$ac_c_preproc_warn_flag
3687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3688 else
3689 ac_cpp_err=
3691 else
3692 ac_cpp_err=yes
3694 if test -z "$ac_cpp_err"; then
3695 # Broken: success on invalid input.
3696 continue
3697 else
3698 echo "$as_me: failed program was:" >&5
3699 sed 's/^/| /' conftest.$ac_ext >&5
3701 # Passes both tests.
3702 ac_preproc_ok=:
3703 break
3706 rm -f conftest.err conftest.$ac_ext
3708 done
3709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710 rm -f conftest.err conftest.$ac_ext
3711 if $ac_preproc_ok; then
3712 break
3715 done
3716 ac_cv_prog_CPP=$CPP
3719 CPP=$ac_cv_prog_CPP
3720 else
3721 ac_cv_prog_CPP=$CPP
3723 { echo "$as_me:$LINENO: result: $CPP" >&5
3724 echo "${ECHO_T}$CPP" >&6; }
3725 ac_preproc_ok=false
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat >conftest.$ac_ext <<_ACEOF
3735 /* confdefs.h. */
3736 _ACEOF
3737 cat confdefs.h >>conftest.$ac_ext
3738 cat >>conftest.$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 #ifdef __STDC__
3741 # include <limits.h>
3742 #else
3743 # include <assert.h>
3744 #endif
3745 Syntax error
3746 _ACEOF
3747 if { (ac_try="$ac_cpp conftest.$ac_ext"
3748 case "(($ac_try" in
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3751 esac
3752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3754 ac_status=$?
3755 grep -v '^ *+' conftest.er1 >conftest.err
3756 rm -f conftest.er1
3757 cat conftest.err >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } >/dev/null; then
3760 if test -s conftest.err; then
3761 ac_cpp_err=$ac_c_preproc_warn_flag
3762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 else
3764 ac_cpp_err=
3766 else
3767 ac_cpp_err=yes
3769 if test -z "$ac_cpp_err"; then
3771 else
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3775 # Broken: fails on valid input.
3776 continue
3779 rm -f conftest.err conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */
3785 _ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <ac_nonexistent.h>
3790 _ACEOF
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3795 esac
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null; then
3804 if test -s conftest.err; then
3805 ac_cpp_err=$ac_c_preproc_warn_flag
3806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3807 else
3808 ac_cpp_err=
3810 else
3811 ac_cpp_err=yes
3813 if test -z "$ac_cpp_err"; then
3814 # Broken: success on invalid input.
3815 continue
3816 else
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 # Passes both tests.
3821 ac_preproc_ok=:
3822 break
3825 rm -f conftest.err conftest.$ac_ext
3827 done
3828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3829 rm -f conftest.err conftest.$ac_ext
3830 if $ac_preproc_ok; then
3832 else
3833 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log' for more details." >&5
3835 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3836 See \`config.log' for more details." >&2;}
3837 { (exit 1); exit 1; }; }
3840 ac_ext=c
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 { echo "$as_me:$LINENO: checking for X" >&5
3848 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3851 # Check whether --with-x was given.
3852 if test "${with_x+set}" = set; then
3853 withval=$with_x;
3856 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3857 if test "x$with_x" = xno; then
3858 # The user explicitly disabled X.
3859 have_x=disabled
3860 else
3861 case $x_includes,$x_libraries in #(
3862 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3863 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3864 { (exit 1); exit 1; }; };; #(
3865 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 else
3868 # One or both of the vars are not set, and there is no cached value.
3869 ac_x_includes=no ac_x_libraries=no
3870 rm -f -r conftest.dir
3871 if mkdir conftest.dir; then
3872 cd conftest.dir
3873 cat >Imakefile <<'_ACEOF'
3874 incroot:
3875 @echo incroot='${INCROOT}'
3876 usrlibdir:
3877 @echo usrlibdir='${USRLIBDIR}'
3878 libdir:
3879 @echo libdir='${LIBDIR}'
3880 _ACEOF
3881 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3882 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3883 for ac_var in incroot usrlibdir libdir; do
3884 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3885 done
3886 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3887 for ac_extension in a so sl; do
3888 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3889 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3890 ac_im_usrlibdir=$ac_im_libdir; break
3892 done
3893 # Screen out bogus values from the imake configuration. They are
3894 # bogus both because they are the default anyway, and because
3895 # using them would break gcc on systems where it needs fixed includes.
3896 case $ac_im_incroot in
3897 /usr/include) ac_x_includes= ;;
3898 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3899 esac
3900 case $ac_im_usrlibdir in
3901 /usr/lib | /lib) ;;
3902 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3903 esac
3905 cd ..
3906 rm -f -r conftest.dir
3909 # Standard set of common directories for X headers.
3910 # Check X11 before X11Rn because it is often a symlink to the current release.
3911 ac_x_header_dirs='
3912 /usr/X11/include
3913 /usr/X11R6/include
3914 /usr/X11R5/include
3915 /usr/X11R4/include
3917 /usr/include/X11
3918 /usr/include/X11R6
3919 /usr/include/X11R5
3920 /usr/include/X11R4
3922 /usr/local/X11/include
3923 /usr/local/X11R6/include
3924 /usr/local/X11R5/include
3925 /usr/local/X11R4/include
3927 /usr/local/include/X11
3928 /usr/local/include/X11R6
3929 /usr/local/include/X11R5
3930 /usr/local/include/X11R4
3932 /usr/X386/include
3933 /usr/x386/include
3934 /usr/XFree86/include/X11
3936 /usr/include
3937 /usr/local/include
3938 /usr/unsupported/include
3939 /usr/athena/include
3940 /usr/local/x11r5/include
3941 /usr/lpp/Xamples/include
3943 /usr/openwin/include
3944 /usr/openwin/share/include'
3946 if test "$ac_x_includes" = no; then
3947 # Guess where to find include files, by looking for Xlib.h.
3948 # First, try using that file with no special directory specified.
3949 cat >conftest.$ac_ext <<_ACEOF
3950 /* confdefs.h. */
3951 _ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 #include <X11/Xlib.h>
3956 _ACEOF
3957 if { (ac_try="$ac_cpp conftest.$ac_ext"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev/null; then
3970 if test -s conftest.err; then
3971 ac_cpp_err=$ac_c_preproc_warn_flag
3972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3973 else
3974 ac_cpp_err=
3976 else
3977 ac_cpp_err=yes
3979 if test -z "$ac_cpp_err"; then
3980 # We can compile using X headers with no special include directory.
3981 ac_x_includes=
3982 else
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 for ac_dir in $ac_x_header_dirs; do
3987 if test -r "$ac_dir/X11/Xlib.h"; then
3988 ac_x_includes=$ac_dir
3989 break
3991 done
3994 rm -f conftest.err conftest.$ac_ext
3995 fi # $ac_x_includes = no
3997 if test "$ac_x_libraries" = no; then
3998 # Check for the libraries.
3999 # See if we find them without any special options.
4000 # Don't add to $LIBS permanently.
4001 ac_save_LIBS=$LIBS
4002 LIBS="-lX11 $LIBS"
4003 cat >conftest.$ac_ext <<_ACEOF
4004 /* confdefs.h. */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 #include <X11/Xlib.h>
4011 main ()
4013 XrmInitialize ()
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4026 ac_status=$?
4027 grep -v '^ *+' conftest.er1 >conftest.err
4028 rm -f conftest.er1
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4033 { (case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_try") 2>&5
4039 ac_status=$?
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try='test -s conftest$ac_exeext'
4043 { (case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_try") 2>&5
4049 ac_status=$?
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4052 LIBS=$ac_save_LIBS
4053 # We can link X programs with no special library path.
4054 ac_x_libraries=
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 LIBS=$ac_save_LIBS
4060 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4062 # Don't even attempt the hair of trying to link an X program!
4063 for ac_extension in a so sl; do
4064 if test -r "$ac_dir/libX11.$ac_extension"; then
4065 ac_x_libraries=$ac_dir
4066 break 2
4068 done
4069 done
4072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4073 conftest$ac_exeext conftest.$ac_ext
4074 fi # $ac_x_libraries = no
4076 case $ac_x_includes,$ac_x_libraries in #(
4077 no,* | *,no | *\'*)
4078 # Didn't find X, or a directory has "'" in its name.
4079 ac_cv_have_x="have_x=no";; #(
4081 # Record where we found X for the cache.
4082 ac_cv_have_x="have_x=yes\
4083 ac_x_includes='$ac_x_includes'\
4084 ac_x_libraries='$ac_x_libraries'"
4085 esac
4087 ;; #(
4088 *) have_x=yes;;
4089 esac
4090 eval "$ac_cv_have_x"
4091 fi # $with_x != no
4093 if test "$have_x" != yes; then
4094 { echo "$as_me:$LINENO: result: $have_x" >&5
4095 echo "${ECHO_T}$have_x" >&6; }
4096 no_x=yes
4097 else
4098 # If each of the values was on the command line, it overrides each guess.
4099 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4100 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4101 # Update the cache value to reflect the command line values.
4102 ac_cv_have_x="have_x=yes\
4103 ac_x_includes='$x_includes'\
4104 ac_x_libraries='$x_libraries'"
4105 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4106 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4109 if test "$no_x" = yes; then
4110 # Not all programs may use this symbol, but it does not hurt to define it.
4112 cat >>confdefs.h <<\_ACEOF
4113 #define X_DISPLAY_MISSING 1
4114 _ACEOF
4116 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4117 else
4118 if test -n "$x_includes"; then
4119 X_CFLAGS="$X_CFLAGS -I$x_includes"
4122 # It would also be nice to do this for all -L options, not just this one.
4123 if test -n "$x_libraries"; then
4124 X_LIBS="$X_LIBS -L$x_libraries"
4125 # For Solaris; some versions of Sun CC require a space after -R and
4126 # others require no space. Words are not sufficient . . . .
4127 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4128 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4129 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4130 ac_xsave_c_werror_flag=$ac_c_werror_flag
4131 ac_c_werror_flag=yes
4132 cat >conftest.$ac_ext <<_ACEOF
4133 /* confdefs.h. */
4134 _ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4140 main ()
4144 return 0;
4146 _ACEOF
4147 rm -f conftest.$ac_objext conftest$ac_exeext
4148 if { (ac_try="$ac_link"
4149 case "(($ac_try" in
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4152 esac
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154 (eval "$ac_link") 2>conftest.er1
4155 ac_status=$?
4156 grep -v '^ *+' conftest.er1 >conftest.err
4157 rm -f conftest.er1
4158 cat conftest.err >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } &&
4161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4162 { (case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4165 esac
4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167 (eval "$ac_try") 2>&5
4168 ac_status=$?
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; } &&
4171 { ac_try='test -s conftest$ac_exeext'
4172 { (case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_try") 2>&5
4178 ac_status=$?
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 X_LIBS="$X_LIBS -R$x_libraries"
4184 else
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4188 LIBS="$ac_xsave_LIBS -R $x_libraries"
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4219 { (case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4222 esac
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_try") 2>&5
4225 ac_status=$?
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try='test -s conftest$ac_exeext'
4229 { (case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4232 esac
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_try") 2>&5
4235 ac_status=$?
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4238 { echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6; }
4240 X_LIBS="$X_LIBS -R $x_libraries"
4241 else
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 { echo "$as_me:$LINENO: result: neither works" >&5
4246 echo "${ECHO_T}neither works" >&6; }
4249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4250 conftest$ac_exeext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254 conftest$ac_exeext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_xsave_c_werror_flag
4256 LIBS=$ac_xsave_LIBS
4259 # Check for system-dependent libraries X programs must link with.
4260 # Do this before checking for the system-independent R6 libraries
4261 # (-lICE), since we may need -lsocket or whatever for X linking.
4263 if test "$ISC" = yes; then
4264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 else
4266 # Martyn Johnson says this is needed for Ultrix, if the X
4267 # libraries were built with DECnet support. And Karl Berry says
4268 # the Alpha needs dnet_stub (dnet does not exist).
4269 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4270 cat >conftest.$ac_ext <<_ACEOF
4271 /* confdefs.h. */
4272 _ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4277 /* Override any GCC internal prototype to avoid an error.
4278 Use char because int might match the return type of a GCC
4279 builtin and then its argument prototype would still apply. */
4280 #ifdef __cplusplus
4281 extern "C"
4282 #endif
4283 char XOpenDisplay ();
4285 main ()
4287 return XOpenDisplay ();
4289 return 0;
4291 _ACEOF
4292 rm -f conftest.$ac_objext conftest$ac_exeext
4293 if { (ac_try="$ac_link"
4294 case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4297 esac
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4300 ac_status=$?
4301 grep -v '^ *+' conftest.er1 >conftest.err
4302 rm -f conftest.er1
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4307 { (case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4310 esac
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4313 ac_status=$?
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; } &&
4316 { ac_try='test -s conftest$ac_exeext'
4317 { (case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4323 ac_status=$?
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4327 else
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4332 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4333 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336 ac_check_lib_save_LIBS=$LIBS
4337 LIBS="-ldnet $LIBS"
4338 cat >conftest.$ac_ext <<_ACEOF
4339 /* confdefs.h. */
4340 _ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4345 /* Override any GCC internal prototype to avoid an error.
4346 Use char because int might match the return type of a GCC
4347 builtin and then its argument prototype would still apply. */
4348 #ifdef __cplusplus
4349 extern "C"
4350 #endif
4351 char dnet_ntoa ();
4353 main ()
4355 return dnet_ntoa ();
4357 return 0;
4359 _ACEOF
4360 rm -f conftest.$ac_objext conftest$ac_exeext
4361 if { (ac_try="$ac_link"
4362 case "(($ac_try" in
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4365 esac
4366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4367 (eval "$ac_link") 2>conftest.er1
4368 ac_status=$?
4369 grep -v '^ *+' conftest.er1 >conftest.err
4370 rm -f conftest.er1
4371 cat conftest.err >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4375 { (case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4378 esac
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_try") 2>&5
4381 ac_status=$?
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_try") 2>&5
4391 ac_status=$?
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4394 ac_cv_lib_dnet_dnet_ntoa=yes
4395 else
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 ac_cv_lib_dnet_dnet_ntoa=no
4402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4403 conftest$ac_exeext conftest.$ac_ext
4404 LIBS=$ac_check_lib_save_LIBS
4406 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4407 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4408 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4412 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4413 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4414 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4415 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 ac_check_lib_save_LIBS=$LIBS
4419 LIBS="-ldnet_stub $LIBS"
4420 cat >conftest.$ac_ext <<_ACEOF
4421 /* confdefs.h. */
4422 _ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4427 /* Override any GCC internal prototype to avoid an error.
4428 Use char because int might match the return type of a GCC
4429 builtin and then its argument prototype would still apply. */
4430 #ifdef __cplusplus
4431 extern "C"
4432 #endif
4433 char dnet_ntoa ();
4435 main ()
4437 return dnet_ntoa ();
4439 return 0;
4441 _ACEOF
4442 rm -f conftest.$ac_objext conftest$ac_exeext
4443 if { (ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_link") 2>conftest.er1
4450 ac_status=$?
4451 grep -v '^ *+' conftest.er1 >conftest.err
4452 rm -f conftest.er1
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } &&
4456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4457 { (case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_try") 2>&5
4463 ac_status=$?
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; } &&
4466 { ac_try='test -s conftest$ac_exeext'
4467 { (case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4470 esac
4471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4472 (eval "$ac_try") 2>&5
4473 ac_status=$?
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4476 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4477 else
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 ac_cv_lib_dnet_stub_dnet_ntoa=no
4484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4485 conftest$ac_exeext conftest.$ac_ext
4486 LIBS=$ac_check_lib_save_LIBS
4488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4489 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4490 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4491 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4498 conftest$ac_exeext conftest.$ac_ext
4499 LIBS="$ac_xsave_LIBS"
4501 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4502 # to get the SysV transport functions.
4503 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # needs -lnsl.
4505 # The nsl library prevents programs from opening the X display
4506 # on Irix 5.2, according to T.E. Dickey.
4507 # The functions gethostbyname, getservbyname, and inet_addr are
4508 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4509 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4510 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4511 if test "${ac_cv_func_gethostbyname+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 else
4514 cat >conftest.$ac_ext <<_ACEOF
4515 /* confdefs.h. */
4516 _ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4522 #define gethostbyname innocuous_gethostbyname
4524 /* System header to define __stub macros and hopefully few prototypes,
4525 which can conflict with char gethostbyname (); below.
4526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4527 <limits.h> exists even on freestanding compilers. */
4529 #ifdef __STDC__
4530 # include <limits.h>
4531 #else
4532 # include <assert.h>
4533 #endif
4535 #undef gethostbyname
4537 /* Override any GCC internal prototype to avoid an error.
4538 Use char because int might match the return type of a GCC
4539 builtin and then its argument prototype would still apply. */
4540 #ifdef __cplusplus
4541 extern "C"
4542 #endif
4543 char gethostbyname ();
4544 /* The GNU C library defines this for functions which it implements
4545 to always fail with ENOSYS. Some functions are actually named
4546 something starting with __ and the normal name is an alias. */
4547 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4548 choke me
4549 #endif
4552 main ()
4554 return gethostbyname ();
4556 return 0;
4558 _ACEOF
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (ac_try="$ac_link"
4561 case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4564 esac
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4567 ac_status=$?
4568 grep -v '^ *+' conftest.er1 >conftest.err
4569 rm -f conftest.er1
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4574 { (case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4577 esac
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_try") 2>&5
4580 ac_status=$?
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; } &&
4583 { ac_try='test -s conftest$ac_exeext'
4584 { (case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589 (eval "$ac_try") 2>&5
4590 ac_status=$?
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_cv_func_gethostbyname=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_func_gethostbyname=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4604 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4605 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4607 if test $ac_cv_func_gethostbyname = no; then
4608 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4609 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4610 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 else
4613 ac_check_lib_save_LIBS=$LIBS
4614 LIBS="-lnsl $LIBS"
4615 cat >conftest.$ac_ext <<_ACEOF
4616 /* confdefs.h. */
4617 _ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any GCC internal prototype to avoid an error.
4623 Use char because int might match the return type of a GCC
4624 builtin and then its argument prototype would still apply. */
4625 #ifdef __cplusplus
4626 extern "C"
4627 #endif
4628 char gethostbyname ();
4630 main ()
4632 return gethostbyname ();
4634 return 0;
4636 _ACEOF
4637 rm -f conftest.$ac_objext conftest$ac_exeext
4638 if { (ac_try="$ac_link"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4644 (eval "$ac_link") 2>conftest.er1
4645 ac_status=$?
4646 grep -v '^ *+' conftest.er1 >conftest.err
4647 rm -f conftest.er1
4648 cat conftest.err >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4652 { (case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_try") 2>&5
4658 ac_status=$?
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try='test -s conftest$ac_exeext'
4662 { (case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4667 (eval "$ac_try") 2>&5
4668 ac_status=$?
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_lib_nsl_gethostbyname=yes
4672 else
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4676 ac_cv_lib_nsl_gethostbyname=no
4679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4680 conftest$ac_exeext conftest.$ac_ext
4681 LIBS=$ac_check_lib_save_LIBS
4683 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4684 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4685 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4686 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4689 if test $ac_cv_lib_nsl_gethostbyname = no; then
4690 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4691 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 else
4695 ac_check_lib_save_LIBS=$LIBS
4696 LIBS="-lbsd $LIBS"
4697 cat >conftest.$ac_ext <<_ACEOF
4698 /* confdefs.h. */
4699 _ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4707 #ifdef __cplusplus
4708 extern "C"
4709 #endif
4710 char gethostbyname ();
4712 main ()
4714 return gethostbyname ();
4716 return 0;
4718 _ACEOF
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4727 ac_status=$?
4728 grep -v '^ *+' conftest.er1 >conftest.err
4729 rm -f conftest.er1
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4734 { (case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_try") 2>&5
4740 ac_status=$?
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try='test -s conftest$ac_exeext'
4744 { (case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4749 (eval "$ac_try") 2>&5
4750 ac_status=$?
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_lib_bsd_gethostbyname=yes
4754 else
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 ac_cv_lib_bsd_gethostbyname=no
4761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4762 conftest$ac_exeext conftest.$ac_ext
4763 LIBS=$ac_check_lib_save_LIBS
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4775 # socket/setsockopt and other routines are undefined under SCO ODT
4776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4777 # on later versions), says Simon Leinen: it contains gethostby*
4778 # variants that don't use the name server (or something). -lsocket
4779 # must be given before -lnsl if both are needed. We assume that
4780 # if connect needs -lnsl, so does gethostbyname.
4781 { echo "$as_me:$LINENO: checking for connect" >&5
4782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4783 if test "${ac_cv_func_connect+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 else
4786 cat >conftest.$ac_ext <<_ACEOF
4787 /* confdefs.h. */
4788 _ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4794 #define connect innocuous_connect
4796 /* System header to define __stub macros and hopefully few prototypes,
4797 which can conflict with char connect (); below.
4798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799 <limits.h> exists even on freestanding compilers. */
4801 #ifdef __STDC__
4802 # include <limits.h>
4803 #else
4804 # include <assert.h>
4805 #endif
4807 #undef connect
4809 /* Override any GCC internal prototype to avoid an error.
4810 Use char because int might match the return type of a GCC
4811 builtin and then its argument prototype would still apply. */
4812 #ifdef __cplusplus
4813 extern "C"
4814 #endif
4815 char connect ();
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined __stub_connect || defined __stub___connect
4820 choke me
4821 #endif
4824 main ()
4826 return connect ();
4828 return 0;
4830 _ACEOF
4831 rm -f conftest.$ac_objext conftest$ac_exeext
4832 if { (ac_try="$ac_link"
4833 case "(($ac_try" in
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4836 esac
4837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4838 (eval "$ac_link") 2>conftest.er1
4839 ac_status=$?
4840 grep -v '^ *+' conftest.er1 >conftest.err
4841 rm -f conftest.er1
4842 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 { (case "(($ac_try" in
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4849 esac
4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4851 (eval "$ac_try") 2>&5
4852 ac_status=$?
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; } &&
4855 { ac_try='test -s conftest$ac_exeext'
4856 { (case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4859 esac
4860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4861 (eval "$ac_try") 2>&5
4862 ac_status=$?
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4865 ac_cv_func_connect=yes
4866 else
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5
4870 ac_cv_func_connect=no
4873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4874 conftest$ac_exeext conftest.$ac_ext
4876 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4877 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4879 if test $ac_cv_func_connect = no; then
4880 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4881 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4882 if test "${ac_cv_lib_socket_connect+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 else
4885 ac_check_lib_save_LIBS=$LIBS
4886 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4887 cat >conftest.$ac_ext <<_ACEOF
4888 /* confdefs.h. */
4889 _ACEOF
4890 cat confdefs.h >>conftest.$ac_ext
4891 cat >>conftest.$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4894 /* Override any GCC internal prototype to avoid an error.
4895 Use char because int might match the return type of a GCC
4896 builtin and then its argument prototype would still apply. */
4897 #ifdef __cplusplus
4898 extern "C"
4899 #endif
4900 char connect ();
4902 main ()
4904 return connect ();
4906 return 0;
4908 _ACEOF
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4917 ac_status=$?
4918 grep -v '^ *+' conftest.er1 >conftest.err
4919 rm -f conftest.er1
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4924 { (case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929 (eval "$ac_try") 2>&5
4930 ac_status=$?
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try='test -s conftest$ac_exeext'
4934 { (case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4939 (eval "$ac_try") 2>&5
4940 ac_status=$?
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 ac_cv_lib_socket_connect=yes
4944 else
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_lib_socket_connect=no
4951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4952 conftest$ac_exeext conftest.$ac_ext
4953 LIBS=$ac_check_lib_save_LIBS
4955 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4956 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4957 if test $ac_cv_lib_socket_connect = yes; then
4958 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4963 # Guillermo Gomez says -lposix is necessary on A/UX.
4964 { echo "$as_me:$LINENO: checking for remove" >&5
4965 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4966 if test "${ac_cv_func_remove+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 else
4969 cat >conftest.$ac_ext <<_ACEOF
4970 /* confdefs.h. */
4971 _ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4975 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4977 #define remove innocuous_remove
4979 /* System header to define __stub macros and hopefully few prototypes,
4980 which can conflict with char remove (); below.
4981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4982 <limits.h> exists even on freestanding compilers. */
4984 #ifdef __STDC__
4985 # include <limits.h>
4986 #else
4987 # include <assert.h>
4988 #endif
4990 #undef remove
4992 /* Override any GCC internal prototype to avoid an error.
4993 Use char because int might match the return type of a GCC
4994 builtin and then its argument prototype would still apply. */
4995 #ifdef __cplusplus
4996 extern "C"
4997 #endif
4998 char remove ();
4999 /* The GNU C library defines this for functions which it implements
5000 to always fail with ENOSYS. Some functions are actually named
5001 something starting with __ and the normal name is an alias. */
5002 #if defined __stub_remove || defined __stub___remove
5003 choke me
5004 #endif
5007 main ()
5009 return remove ();
5011 return 0;
5013 _ACEOF
5014 rm -f conftest.$ac_objext conftest$ac_exeext
5015 if { (ac_try="$ac_link"
5016 case "(($ac_try" in
5017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5019 esac
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_link") 2>conftest.er1
5022 ac_status=$?
5023 grep -v '^ *+' conftest.er1 >conftest.err
5024 rm -f conftest.er1
5025 cat conftest.err >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5032 esac
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5035 ac_status=$?
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try='test -s conftest$ac_exeext'
5039 { (case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5042 esac
5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044 (eval "$ac_try") 2>&5
5045 ac_status=$?
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_cv_func_remove=yes
5049 else
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_cv_func_remove=no
5056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5057 conftest$ac_exeext conftest.$ac_ext
5059 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5060 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5062 if test $ac_cv_func_remove = no; then
5063 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5064 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5065 if test "${ac_cv_lib_posix_remove+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 else
5068 ac_check_lib_save_LIBS=$LIBS
5069 LIBS="-lposix $LIBS"
5070 cat >conftest.$ac_ext <<_ACEOF
5071 /* confdefs.h. */
5072 _ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any GCC internal prototype to avoid an error.
5078 Use char because int might match the return type of a GCC
5079 builtin and then its argument prototype would still apply. */
5080 #ifdef __cplusplus
5081 extern "C"
5082 #endif
5083 char remove ();
5085 main ()
5087 return remove ();
5089 return 0;
5091 _ACEOF
5092 rm -f conftest.$ac_objext conftest$ac_exeext
5093 if { (ac_try="$ac_link"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_link") 2>conftest.er1
5100 ac_status=$?
5101 grep -v '^ *+' conftest.er1 >conftest.err
5102 rm -f conftest.er1
5103 cat conftest.err >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5107 { (case "(($ac_try" in
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5110 esac
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_try") 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; } &&
5116 { ac_try='test -s conftest$ac_exeext'
5117 { (case "(($ac_try" in
5118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5120 esac
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_try") 2>&5
5123 ac_status=$?
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; }; then
5126 ac_cv_lib_posix_remove=yes
5127 else
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5131 ac_cv_lib_posix_remove=no
5134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5135 conftest$ac_exeext conftest.$ac_ext
5136 LIBS=$ac_check_lib_save_LIBS
5138 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5139 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5140 if test $ac_cv_lib_posix_remove = yes; then
5141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5146 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5147 { echo "$as_me:$LINENO: checking for shmat" >&5
5148 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5149 if test "${ac_cv_func_shmat+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 else
5152 cat >conftest.$ac_ext <<_ACEOF
5153 /* confdefs.h. */
5154 _ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5160 #define shmat innocuous_shmat
5162 /* System header to define __stub macros and hopefully few prototypes,
5163 which can conflict with char shmat (); below.
5164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5165 <limits.h> exists even on freestanding compilers. */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5173 #undef shmat
5175 /* Override any GCC internal prototype to avoid an error.
5176 Use char because int might match the return type of a GCC
5177 builtin and then its argument prototype would still apply. */
5178 #ifdef __cplusplus
5179 extern "C"
5180 #endif
5181 char shmat ();
5182 /* The GNU C library defines this for functions which it implements
5183 to always fail with ENOSYS. Some functions are actually named
5184 something starting with __ and the normal name is an alias. */
5185 #if defined __stub_shmat || defined __stub___shmat
5186 choke me
5187 #endif
5190 main ()
5192 return shmat ();
5194 return 0;
5196 _ACEOF
5197 rm -f conftest.$ac_objext conftest$ac_exeext
5198 if { (ac_try="$ac_link"
5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_link") 2>conftest.er1
5205 ac_status=$?
5206 grep -v '^ *+' conftest.er1 >conftest.err
5207 rm -f conftest.er1
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5212 { (case "(($ac_try" in
5213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5214 *) ac_try_echo=$ac_try;;
5215 esac
5216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5217 (eval "$ac_try") 2>&5
5218 ac_status=$?
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try='test -s conftest$ac_exeext'
5222 { (case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_try") 2>&5
5228 ac_status=$?
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; }; then
5231 ac_cv_func_shmat=yes
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 ac_cv_func_shmat=no
5239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5240 conftest$ac_exeext conftest.$ac_ext
5242 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5243 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5245 if test $ac_cv_func_shmat = no; then
5246 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 ac_check_lib_save_LIBS=$LIBS
5252 LIBS="-lipc $LIBS"
5253 cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h. */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5260 /* Override any GCC internal prototype to avoid an error.
5261 Use char because int might match the return type of a GCC
5262 builtin and then its argument prototype would still apply. */
5263 #ifdef __cplusplus
5264 extern "C"
5265 #endif
5266 char shmat ();
5268 main ()
5270 return shmat ();
5272 return 0;
5274 _ACEOF
5275 rm -f conftest.$ac_objext conftest$ac_exeext
5276 if { (ac_try="$ac_link"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282 (eval "$ac_link") 2>conftest.er1
5283 ac_status=$?
5284 grep -v '^ *+' conftest.er1 >conftest.err
5285 rm -f conftest.er1
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5290 { (case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_try") 2>&5
5296 ac_status=$?
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; } &&
5299 { ac_try='test -s conftest$ac_exeext'
5300 { (case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5303 esac
5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305 (eval "$ac_try") 2>&5
5306 ac_status=$?
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; }; then
5309 ac_cv_lib_ipc_shmat=yes
5310 else
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5314 ac_cv_lib_ipc_shmat=no
5317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5318 conftest$ac_exeext conftest.$ac_ext
5319 LIBS=$ac_check_lib_save_LIBS
5321 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5322 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5323 if test $ac_cv_lib_ipc_shmat = yes; then
5324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5330 # Check for libraries that X11R6 Xt/Xaw programs need.
5331 ac_save_LDFLAGS=$LDFLAGS
5332 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5333 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5334 # check for ICE first), but we must link in the order -lSM -lICE or
5335 # we get undefined symbols. So assume we have SM if we have ICE.
5336 # These have to be linked with before -lX11, unlike the other
5337 # libraries we check for below, so use a different variable.
5338 # John Interrante, Karl Berry
5339 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5340 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5341 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 else
5344 ac_check_lib_save_LIBS=$LIBS
5345 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5346 cat >conftest.$ac_ext <<_ACEOF
5347 /* confdefs.h. */
5348 _ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5353 /* Override any GCC internal prototype to avoid an error.
5354 Use char because int might match the return type of a GCC
5355 builtin and then its argument prototype would still apply. */
5356 #ifdef __cplusplus
5357 extern "C"
5358 #endif
5359 char IceConnectionNumber ();
5361 main ()
5363 return IceConnectionNumber ();
5365 return 0;
5367 _ACEOF
5368 rm -f conftest.$ac_objext conftest$ac_exeext
5369 if { (ac_try="$ac_link"
5370 case "(($ac_try" in
5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5373 esac
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_link") 2>conftest.er1
5376 ac_status=$?
5377 grep -v '^ *+' conftest.er1 >conftest.err
5378 rm -f conftest.er1
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5383 { (case "(($ac_try" in
5384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5386 esac
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_try") 2>&5
5389 ac_status=$?
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }; } &&
5392 { ac_try='test -s conftest$ac_exeext'
5393 { (case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_try") 2>&5
5399 ac_status=$?
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; }; then
5402 ac_cv_lib_ICE_IceConnectionNumber=yes
5403 else
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 ac_cv_lib_ICE_IceConnectionNumber=no
5410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5411 conftest$ac_exeext conftest.$ac_ext
5412 LIBS=$ac_check_lib_save_LIBS
5414 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5415 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5416 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5417 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5420 LDFLAGS=$ac_save_LDFLAGS
5424 for ac_prog in flex lex
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy $ac_prog; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LEX+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433 if test -n "$LEX"; then
5434 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LEX="$ac_prog"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 LEX=$ac_cv_prog_LEX
5454 if test -n "$LEX"; then
5455 { echo "$as_me:$LINENO: result: $LEX" >&5
5456 echo "${ECHO_T}$LEX" >&6; }
5457 else
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5463 test -n "$LEX" && break
5464 done
5465 test -n "$LEX" || LEX=":"
5467 if test "x$LEX" != "x:"; then
5468 cat >conftest.l <<_ACEOF
5470 a { ECHO; }
5471 b { REJECT; }
5472 c { yymore (); }
5473 d { yyless (1); }
5474 e { yyless (input () != 0); }
5475 f { unput (yytext[0]); }
5476 . { BEGIN INITIAL; }
5478 #ifdef YYTEXT_POINTER
5479 extern char *yytext;
5480 #endif
5482 main (void)
5484 return ! yylex () + ! yywrap ();
5486 _ACEOF
5487 { (ac_try="$LEX conftest.l"
5488 case "(($ac_try" in
5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490 *) ac_try_echo=$ac_try;;
5491 esac
5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5493 (eval "$LEX conftest.l") 2>&5
5494 ac_status=$?
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }
5497 { echo "$as_me:$LINENO: checking lex output file root" >&5
5498 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5499 if test "${ac_cv_prog_lex_root+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5503 if test -f lex.yy.c; then
5504 ac_cv_prog_lex_root=lex.yy
5505 elif test -f lexyy.c; then
5506 ac_cv_prog_lex_root=lexyy
5507 else
5508 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5509 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5510 { (exit 1); exit 1; }; }
5513 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5514 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5515 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5517 if test -z "${LEXLIB+set}"; then
5518 { echo "$as_me:$LINENO: checking lex library" >&5
5519 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5520 if test "${ac_cv_lib_lex+set}" = set; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 else
5524 ac_save_LIBS=$LIBS
5525 ac_cv_lib_lex='none needed'
5526 for ac_lib in '' -lfl -ll; do
5527 LIBS="$ac_lib $ac_save_LIBS"
5528 cat >conftest.$ac_ext <<_ACEOF
5529 `cat $LEX_OUTPUT_ROOT.c`
5530 _ACEOF
5531 rm -f conftest.$ac_objext conftest$ac_exeext
5532 if { (ac_try="$ac_link"
5533 case "(($ac_try" in
5534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5536 esac
5537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538 (eval "$ac_link") 2>conftest.er1
5539 ac_status=$?
5540 grep -v '^ *+' conftest.er1 >conftest.err
5541 rm -f conftest.er1
5542 cat conftest.err >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5546 { (case "(($ac_try" in
5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548 *) ac_try_echo=$ac_try;;
5549 esac
5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_try") 2>&5
5552 ac_status=$?
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; } &&
5555 { ac_try='test -s conftest$ac_exeext'
5556 { (case "(($ac_try" in
5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5558 *) ac_try_echo=$ac_try;;
5559 esac
5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_try") 2>&5
5562 ac_status=$?
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5565 ac_cv_lib_lex=$ac_lib
5566 else
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5574 conftest$ac_exeext conftest.$ac_ext
5575 test "$ac_cv_lib_lex" != 'none needed' && break
5576 done
5577 LIBS=$ac_save_LIBS
5580 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5581 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5582 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5586 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5587 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 # POSIX says lex can declare yytext either as a pointer or an array; the
5592 # default is implementation-dependent. Figure out which it is, since
5593 # not all implementations provide the %pointer and %array declarations.
5594 ac_cv_prog_lex_yytext_pointer=no
5595 ac_save_LIBS=$LIBS
5596 LIBS="$LEXLIB $ac_save_LIBS"
5597 cat >conftest.$ac_ext <<_ACEOF
5598 #define YYTEXT_POINTER 1
5599 `cat $LEX_OUTPUT_ROOT.c`
5600 _ACEOF
5601 rm -f conftest.$ac_objext conftest$ac_exeext
5602 if { (ac_try="$ac_link"
5603 case "(($ac_try" in
5604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5605 *) ac_try_echo=$ac_try;;
5606 esac
5607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5608 (eval "$ac_link") 2>conftest.er1
5609 ac_status=$?
5610 grep -v '^ *+' conftest.er1 >conftest.err
5611 rm -f conftest.er1
5612 cat conftest.err >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5616 { (case "(($ac_try" in
5617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5618 *) ac_try_echo=$ac_try;;
5619 esac
5620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5621 (eval "$ac_try") 2>&5
5622 ac_status=$?
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; } &&
5625 { ac_try='test -s conftest$ac_exeext'
5626 { (case "(($ac_try" in
5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5628 *) ac_try_echo=$ac_try;;
5629 esac
5630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5631 (eval "$ac_try") 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; }; then
5635 ac_cv_prog_lex_yytext_pointer=yes
5636 else
5637 echo "$as_me: failed program was:" >&5
5638 sed 's/^/| /' conftest.$ac_ext >&5
5643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5644 conftest$ac_exeext conftest.$ac_ext
5645 LIBS=$ac_save_LIBS
5648 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5649 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5650 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5652 cat >>confdefs.h <<\_ACEOF
5653 #define YYTEXT_POINTER 1
5654 _ACEOF
5657 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5661 for ac_prog in $LEX flex lex
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy $ac_prog; ac_word=$2
5665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5667 if test "${ac_cv_prog_XLEX+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 else
5670 if test -n "$XLEX"; then
5671 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5680 ac_cv_prog_XLEX="$ac_prog"
5681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5690 XLEX=$ac_cv_prog_XLEX
5691 if test -n "$XLEX"; then
5692 { echo "$as_me:$LINENO: result: $XLEX" >&5
5693 echo "${ECHO_T}$XLEX" >&6; }
5694 else
5695 { echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6; }
5700 test -n "$XLEX" && break
5701 done
5702 test -n "$XLEX" || XLEX="none"
5704 if test "$XLEX" = "none"
5705 then
5706 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5707 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5708 { (exit 1); exit 1; }; }
5711 for ac_prog in bison
5713 # Extract the first word of "$ac_prog", so it can be a program name with args.
5714 set dummy $ac_prog; ac_word=$2
5715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5717 if test "${ac_cv_prog_BISON+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 else
5720 if test -n "$BISON"; then
5721 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5726 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_prog_BISON="$ac_prog"
5731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 BISON=$ac_cv_prog_BISON
5741 if test -n "$BISON"; then
5742 { echo "$as_me:$LINENO: result: $BISON" >&5
5743 echo "${ECHO_T}$BISON" >&6; }
5744 else
5745 { echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6; }
5750 test -n "$BISON" && break
5751 done
5752 test -n "$BISON" || BISON="none"
5754 if test "$BISON" = "none"
5755 then
5756 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5757 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5758 { (exit 1); exit 1; }; }
5761 if test -n "$ac_tool_prefix"; then
5762 for ac_prog in gas as
5764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5765 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5768 if test "${ac_cv_prog_AS+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 else
5771 if test -n "$AS"; then
5772 ac_cv_prog_AS="$AS" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5785 done
5786 done
5787 IFS=$as_save_IFS
5791 AS=$ac_cv_prog_AS
5792 if test -n "$AS"; then
5793 { echo "$as_me:$LINENO: result: $AS" >&5
5794 echo "${ECHO_T}$AS" >&6; }
5795 else
5796 { echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6; }
5801 test -n "$AS" && break
5802 done
5804 if test -z "$AS"; then
5805 ac_ct_AS=$AS
5806 for ac_prog in gas as
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy $ac_prog; ac_word=$2
5810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5812 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 else
5815 if test -n "$ac_ct_AS"; then
5816 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5817 else
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5825 ac_cv_prog_ac_ct_AS="$ac_prog"
5826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5835 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5836 if test -n "$ac_ct_AS"; then
5837 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5838 echo "${ECHO_T}$ac_ct_AS" >&6; }
5839 else
5840 { echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6; }
5845 test -n "$ac_ct_AS" && break
5846 done
5848 if test "x$ac_ct_AS" = x; then
5849 AS="as"
5850 else
5851 case $cross_compiling:$ac_tool_warned in
5852 yes:)
5853 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5854 whose name does not start with the host triplet. If you think this
5855 configuration is useful to you, please write to autoconf@gnu.org." >&5
5856 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5857 whose name does not start with the host triplet. If you think this
5858 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5859 ac_tool_warned=yes ;;
5860 esac
5861 AS=$ac_ct_AS
5865 if test -n "$ac_tool_prefix"; then
5866 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5867 set dummy ${ac_tool_prefix}ld; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_LD+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 else
5873 if test -n "$LD"; then
5874 ac_cv_prog_LD="$LD" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_LD="${ac_tool_prefix}ld"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 LD=$ac_cv_prog_LD
5894 if test -n "$LD"; then
5895 { echo "$as_me:$LINENO: result: $LD" >&5
5896 echo "${ECHO_T}$LD" >&6; }
5897 else
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5904 if test -z "$ac_cv_prog_LD"; then
5905 ac_ct_LD=$LD
5906 # Extract the first word of "ld", so it can be a program name with args.
5907 set dummy ld; ac_word=$2
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5910 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 else
5913 if test -n "$ac_ct_LD"; then
5914 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5919 IFS=$as_save_IFS
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_ac_ct_LD="ld"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 break 2
5927 done
5928 done
5929 IFS=$as_save_IFS
5933 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5934 if test -n "$ac_ct_LD"; then
5935 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5936 echo "${ECHO_T}$ac_ct_LD" >&6; }
5937 else
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5942 if test "x$ac_ct_LD" = x; then
5943 LD="ld"
5944 else
5945 case $cross_compiling:$ac_tool_warned in
5946 yes:)
5947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5948 whose name does not start with the host triplet. If you think this
5949 configuration is useful to you, please write to autoconf@gnu.org." >&5
5950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5951 whose name does not start with the host triplet. If you think this
5952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5953 ac_tool_warned=yes ;;
5954 esac
5955 LD=$ac_ct_LD
5957 else
5958 LD="$ac_cv_prog_LD"
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}ar; ac_word=$2
5964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5966 if test "${ac_cv_prog_AR+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 else
5969 if test -n "$AR"; then
5970 ac_cv_prog_AR="$AR" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5979 ac_cv_prog_AR="${ac_tool_prefix}ar"
5980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5989 AR=$ac_cv_prog_AR
5990 if test -n "$AR"; then
5991 { echo "$as_me:$LINENO: result: $AR" >&5
5992 echo "${ECHO_T}$AR" >&6; }
5993 else
5994 { echo "$as_me:$LINENO: result: no" >&5
5995 echo "${ECHO_T}no" >&6; }
6000 if test -z "$ac_cv_prog_AR"; then
6001 ac_ct_AR=$AR
6002 # Extract the first word of "ar", so it can be a program name with args.
6003 set dummy ar; ac_word=$2
6004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6006 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 else
6009 if test -n "$ac_ct_AR"; then
6010 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6019 ac_cv_prog_ac_ct_AR="ar"
6020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6030 if test -n "$ac_ct_AR"; then
6031 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6032 echo "${ECHO_T}$ac_ct_AR" >&6; }
6033 else
6034 { echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6; }
6038 if test "x$ac_ct_AR" = x; then
6039 AR="ar"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6044 whose name does not start with the host triplet. If you think this
6045 configuration is useful to you, please write to autoconf@gnu.org." >&5
6046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6047 whose name does not start with the host triplet. If you think this
6048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6049 ac_tool_warned=yes ;;
6050 esac
6051 AR=$ac_ct_AR
6053 else
6054 AR="$ac_cv_prog_AR"
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6062 if test "${ac_cv_prog_RANLIB+set}" = set; then
6063 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 else
6065 if test -n "$RANLIB"; then
6066 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 RANLIB=$ac_cv_prog_RANLIB
6086 if test -n "$RANLIB"; then
6087 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6088 echo "${ECHO_T}$RANLIB" >&6; }
6089 else
6090 { echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6; }
6096 if test -z "$ac_cv_prog_RANLIB"; then
6097 ac_ct_RANLIB=$RANLIB
6098 # Extract the first word of "ranlib", so it can be a program name with args.
6099 set dummy ranlib; ac_word=$2
6100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6102 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 else
6105 if test -n "$ac_ct_RANLIB"; then
6106 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_prog_ac_ct_RANLIB="ranlib"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6126 if test -n "$ac_ct_RANLIB"; then
6127 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6128 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6129 else
6130 { echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6; }
6134 if test "x$ac_ct_RANLIB" = x; then
6135 RANLIB=":"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6140 whose name does not start with the host triplet. If you think this
6141 configuration is useful to you, please write to autoconf@gnu.org." >&5
6142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6143 whose name does not start with the host triplet. If you think this
6144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6145 ac_tool_warned=yes ;;
6146 esac
6147 RANLIB=$ac_ct_RANLIB
6149 else
6150 RANLIB="$ac_cv_prog_RANLIB"
6153 if test -n "$ac_tool_prefix"; then
6154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6155 set dummy ${ac_tool_prefix}strip; ac_word=$2
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6158 if test "${ac_cv_prog_STRIP+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 else
6161 if test -n "$STRIP"; then
6162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6181 STRIP=$ac_cv_prog_STRIP
6182 if test -n "$STRIP"; then
6183 { echo "$as_me:$LINENO: result: $STRIP" >&5
6184 echo "${ECHO_T}$STRIP" >&6; }
6185 else
6186 { echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6; }
6192 if test -z "$ac_cv_prog_STRIP"; then
6193 ac_ct_STRIP=$STRIP
6194 # Extract the first word of "strip", so it can be a program name with args.
6195 set dummy strip; ac_word=$2
6196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6198 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 else
6201 if test -n "$ac_ct_STRIP"; then
6202 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_ac_ct_STRIP="strip"
6212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6222 if test -n "$ac_ct_STRIP"; then
6223 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6224 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6225 else
6226 { echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6; }
6230 if test "x$ac_ct_STRIP" = x; then
6231 STRIP="strip"
6232 else
6233 case $cross_compiling:$ac_tool_warned in
6234 yes:)
6235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6236 whose name does not start with the host triplet. If you think this
6237 configuration is useful to you, please write to autoconf@gnu.org." >&5
6238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6239 whose name does not start with the host triplet. If you think this
6240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6241 ac_tool_warned=yes ;;
6242 esac
6243 STRIP=$ac_ct_STRIP
6245 else
6246 STRIP="$ac_cv_prog_STRIP"
6249 if test -n "$ac_tool_prefix"; then
6250 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6251 set dummy ${ac_tool_prefix}windres; ac_word=$2
6252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6254 if test "${ac_cv_prog_WINDRES+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 else
6257 if test -n "$WINDRES"; then
6258 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6259 else
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6267 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 break 2
6271 done
6272 done
6273 IFS=$as_save_IFS
6277 WINDRES=$ac_cv_prog_WINDRES
6278 if test -n "$WINDRES"; then
6279 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6280 echo "${ECHO_T}$WINDRES" >&6; }
6281 else
6282 { echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6; }
6288 if test -z "$ac_cv_prog_WINDRES"; then
6289 ac_ct_WINDRES=$WINDRES
6290 # Extract the first word of "windres", so it can be a program name with args.
6291 set dummy windres; ac_word=$2
6292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6294 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 else
6297 if test -n "$ac_ct_WINDRES"; then
6298 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6307 ac_cv_prog_ac_ct_WINDRES="windres"
6308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6311 done
6312 done
6313 IFS=$as_save_IFS
6317 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6318 if test -n "$ac_ct_WINDRES"; then
6319 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6320 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6321 else
6322 { echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6; }
6326 if test "x$ac_ct_WINDRES" = x; then
6327 WINDRES="false"
6328 else
6329 case $cross_compiling:$ac_tool_warned in
6330 yes:)
6331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6332 whose name does not start with the host triplet. If you think this
6333 configuration is useful to you, please write to autoconf@gnu.org." >&5
6334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6335 whose name does not start with the host triplet. If you think this
6336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6337 ac_tool_warned=yes ;;
6338 esac
6339 WINDRES=$ac_ct_WINDRES
6341 else
6342 WINDRES="$ac_cv_prog_WINDRES"
6345 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6346 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6347 LN_S=$as_ln_s
6348 if test "$LN_S" = "ln -s"; then
6349 { echo "$as_me:$LINENO: result: yes" >&5
6350 echo "${ECHO_T}yes" >&6; }
6351 else
6352 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6353 echo "${ECHO_T}no, using $LN_S" >&6; }
6356 { echo "$as_me:$LINENO: checking whether ln works" >&5
6357 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6358 rm -f conf$$ conf$$.file
6359 echo >conf$$.file
6360 if ln conf$$.file conf$$ 2>/dev/null; then
6361 LN=ln
6363 { echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6; }
6365 else
6366 LN="cp -p"
6368 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6369 echo "${ECHO_T}no, using $LN" >&6; }
6371 rm -f conf$$ conf$$.file
6372 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6373 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6374 if test "${ac_cv_path_GREP+set}" = set; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 else
6377 # Extract the first word of "grep ggrep" to use in msg output
6378 if test -z "$GREP"; then
6379 set dummy grep ggrep; ac_prog_name=$2
6380 if test "${ac_cv_path_GREP+set}" = set; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 else
6383 ac_path_GREP_found=false
6384 # Loop through the user's path and test for each of PROGNAME-LIST
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6388 IFS=$as_save_IFS
6389 test -z "$as_dir" && as_dir=.
6390 for ac_prog in grep ggrep; do
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6393 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6394 # Check for GNU ac_path_GREP and select it if it is found.
6395 # Check for GNU $ac_path_GREP
6396 case `"$ac_path_GREP" --version 2>&1` in
6397 *GNU*)
6398 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6400 ac_count=0
6401 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6402 while :
6404 cat "conftest.in" "conftest.in" >"conftest.tmp"
6405 mv "conftest.tmp" "conftest.in"
6406 cp "conftest.in" "conftest.nl"
6407 echo 'GREP' >> "conftest.nl"
6408 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6410 ac_count=`expr $ac_count + 1`
6411 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6412 # Best one so far, save it but keep looking for a better one
6413 ac_cv_path_GREP="$ac_path_GREP"
6414 ac_path_GREP_max=$ac_count
6416 # 10*(2^10) chars as input seems more than enough
6417 test $ac_count -gt 10 && break
6418 done
6419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6420 esac
6423 $ac_path_GREP_found && break 3
6424 done
6425 done
6427 done
6428 IFS=$as_save_IFS
6433 GREP="$ac_cv_path_GREP"
6434 if test -z "$GREP"; then
6435 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6436 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6437 { (exit 1); exit 1; }; }
6440 else
6441 ac_cv_path_GREP=$GREP
6446 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6447 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6448 GREP="$ac_cv_path_GREP"
6451 { echo "$as_me:$LINENO: checking for egrep" >&5
6452 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6453 if test "${ac_cv_path_EGREP+set}" = set; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 else
6456 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6457 then ac_cv_path_EGREP="$GREP -E"
6458 else
6459 # Extract the first word of "egrep" to use in msg output
6460 if test -z "$EGREP"; then
6461 set dummy egrep; ac_prog_name=$2
6462 if test "${ac_cv_path_EGREP+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 else
6465 ac_path_EGREP_found=false
6466 # Loop through the user's path and test for each of PROGNAME-LIST
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_prog in egrep; do
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6475 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6476 # Check for GNU ac_path_EGREP and select it if it is found.
6477 # Check for GNU $ac_path_EGREP
6478 case `"$ac_path_EGREP" --version 2>&1` in
6479 *GNU*)
6480 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6482 ac_count=0
6483 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6484 while :
6486 cat "conftest.in" "conftest.in" >"conftest.tmp"
6487 mv "conftest.tmp" "conftest.in"
6488 cp "conftest.in" "conftest.nl"
6489 echo 'EGREP' >> "conftest.nl"
6490 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6492 ac_count=`expr $ac_count + 1`
6493 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6494 # Best one so far, save it but keep looking for a better one
6495 ac_cv_path_EGREP="$ac_path_EGREP"
6496 ac_path_EGREP_max=$ac_count
6498 # 10*(2^10) chars as input seems more than enough
6499 test $ac_count -gt 10 && break
6500 done
6501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6502 esac
6505 $ac_path_EGREP_found && break 3
6506 done
6507 done
6509 done
6510 IFS=$as_save_IFS
6515 EGREP="$ac_cv_path_EGREP"
6516 if test -z "$EGREP"; then
6517 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6518 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6519 { (exit 1); exit 1; }; }
6522 else
6523 ac_cv_path_EGREP=$EGREP
6529 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6530 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6531 EGREP="$ac_cv_path_EGREP"
6534 # Extract the first word of "ldconfig", so it can be a program name with args.
6535 set dummy ldconfig; ac_word=$2
6536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6538 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 else
6541 case $LDCONFIG in
6542 [\\/]* | ?:[\\/]*)
6543 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in /sbin /usr/sbin $PATH
6549 IFS=$as_save_IFS
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6553 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6555 break 2
6557 done
6558 done
6559 IFS=$as_save_IFS
6561 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6563 esac
6565 LDCONFIG=$ac_cv_path_LDCONFIG
6566 if test -n "$LDCONFIG"; then
6567 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6568 echo "${ECHO_T}$LDCONFIG" >&6; }
6569 else
6570 { echo "$as_me:$LINENO: result: no" >&5
6571 echo "${ECHO_T}no" >&6; }
6575 # Find a good install program. We prefer a C program (faster),
6576 # so one script is as good as another. But avoid the broken or
6577 # incompatible versions:
6578 # SysV /etc/install, /usr/sbin/install
6579 # SunOS /usr/etc/install
6580 # IRIX /sbin/install
6581 # AIX /bin/install
6582 # AmigaOS /C/install, which installs bootblocks on floppy discs
6583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6586 # OS/2's system install, which has a completely different semantic
6587 # ./install, which can be erroneously created by make from ./install.sh.
6588 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6589 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6590 if test -z "$INSTALL"; then
6591 if test "${ac_cv_path_install+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6597 IFS=$as_save_IFS
6598 test -z "$as_dir" && as_dir=.
6599 # Account for people who put trailing slashes in PATH elements.
6600 case $as_dir/ in
6601 ./ | .// | /cC/* | \
6602 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6603 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6604 /usr/ucb/* ) ;;
6606 # OSF1 and SCO ODT 3.0 have their own names for install.
6607 # Don't use installbsd from OSF since it installs stuff as root
6608 # by default.
6609 for ac_prog in ginstall scoinst install; do
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6612 if test $ac_prog = install &&
6613 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6614 # AIX install. It has an incompatible calling convention.
6616 elif test $ac_prog = install &&
6617 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6618 # program-specific install script used by HP pwplus--don't use.
6620 else
6621 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6622 break 3
6625 done
6626 done
6628 esac
6629 done
6630 IFS=$as_save_IFS
6634 if test "${ac_cv_path_install+set}" = set; then
6635 INSTALL=$ac_cv_path_install
6636 else
6637 # As a last resort, use the slow shell script. Don't cache a
6638 # value for INSTALL within a source directory, because that will
6639 # break other packages using the cache if that directory is
6640 # removed, or if the value is a relative name.
6641 INSTALL=$ac_install_sh
6644 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6645 echo "${ECHO_T}$INSTALL" >&6; }
6647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6648 # It thinks the first close brace ends the variable substitution.
6649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6653 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6655 case "$INSTALL" in
6656 [\\/$]* | ?:[\\/]* ) ;;
6657 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6658 esac
6660 for ac_prog in lclint lint
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6666 if test "${ac_cv_prog_LINT+set}" = set; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 else
6669 if test -n "$LINT"; then
6670 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_prog_LINT="$ac_prog"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 LINT=$ac_cv_prog_LINT
6690 if test -n "$LINT"; then
6691 { echo "$as_me:$LINENO: result: $LINT" >&5
6692 echo "${ECHO_T}$LINT" >&6; }
6693 else
6694 { echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6; }
6699 test -n "$LINT" && break
6700 done
6702 if test "$LINT" = "lint"
6703 then
6704 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6709 for ac_prog in fontforge
6711 # Extract the first word of "$ac_prog", so it can be a program name with args.
6712 set dummy $ac_prog; ac_word=$2
6713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6715 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 else
6718 if test -n "$FONTFORGE"; then
6719 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6724 IFS=$as_save_IFS
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_FONTFORGE="$ac_prog"
6729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 break 2
6732 done
6733 done
6734 IFS=$as_save_IFS
6738 FONTFORGE=$ac_cv_prog_FONTFORGE
6739 if test -n "$FONTFORGE"; then
6740 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6741 echo "${ECHO_T}$FONTFORGE" >&6; }
6742 else
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6748 test -n "$FONTFORGE" && break
6749 done
6750 test -n "$FONTFORGE" || FONTFORGE="false"
6752 for ac_prog in pkg-config
6754 # Extract the first word of "$ac_prog", so it can be a program name with args.
6755 set dummy $ac_prog; ac_word=$2
6756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6758 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 else
6761 if test -n "$PKG_CONFIG"; then
6762 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6763 else
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 for as_dir in $PATH
6767 IFS=$as_save_IFS
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_PKG_CONFIG="$ac_prog"
6772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6782 if test -n "$PKG_CONFIG"; then
6783 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6784 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6785 else
6786 { echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6; }
6791 test -n "$PKG_CONFIG" && break
6792 done
6793 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6796 case $host_cpu in
6797 *i[3456789]86*)
6798 # Extract the first word of "prelink", so it can be a program name with args.
6799 set dummy prelink; ac_word=$2
6800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6802 if test "${ac_cv_path_PRELINK+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 else
6805 case $PRELINK in
6806 [\\/]* | ?:[\\/]*)
6807 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 for as_dir in /sbin /usr/sbin $PATH
6813 IFS=$as_save_IFS
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 break 2
6821 done
6822 done
6823 IFS=$as_save_IFS
6825 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6827 esac
6829 PRELINK=$ac_cv_path_PRELINK
6830 if test -n "$PRELINK"; then
6831 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6832 echo "${ECHO_T}$PRELINK" >&6; }
6833 else
6834 { echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6; }
6840 esac
6844 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6845 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6846 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6848 else
6849 ac_check_lib_save_LIBS=$LIBS
6850 LIBS="-li386 $LIBS"
6851 cat >conftest.$ac_ext <<_ACEOF
6852 /* confdefs.h. */
6853 _ACEOF
6854 cat confdefs.h >>conftest.$ac_ext
6855 cat >>conftest.$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6858 /* Override any GCC internal prototype to avoid an error.
6859 Use char because int might match the return type of a GCC
6860 builtin and then its argument prototype would still apply. */
6861 #ifdef __cplusplus
6862 extern "C"
6863 #endif
6864 char i386_set_ldt ();
6866 main ()
6868 return i386_set_ldt ();
6870 return 0;
6872 _ACEOF
6873 rm -f conftest.$ac_objext conftest$ac_exeext
6874 if { (ac_try="$ac_link"
6875 case "(($ac_try" in
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6878 esac
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_link") 2>conftest.er1
6881 ac_status=$?
6882 grep -v '^ *+' conftest.er1 >conftest.err
6883 rm -f conftest.er1
6884 cat conftest.err >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6888 { (case "(($ac_try" in
6889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6891 esac
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_try") 2>&5
6894 ac_status=$?
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; } &&
6897 { ac_try='test -s conftest$ac_exeext'
6898 { (case "(($ac_try" in
6899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6900 *) ac_try_echo=$ac_try;;
6901 esac
6902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6903 (eval "$ac_try") 2>&5
6904 ac_status=$?
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 ac_cv_lib_i386_i386_set_ldt=yes
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 ac_cv_lib_i386_i386_set_ldt=no
6915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6916 conftest$ac_exeext conftest.$ac_ext
6917 LIBS=$ac_check_lib_save_LIBS
6919 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6920 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6921 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6922 cat >>confdefs.h <<_ACEOF
6923 #define HAVE_LIBI386 1
6924 _ACEOF
6926 LIBS="-li386 $LIBS"
6931 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6932 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6933 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 else
6936 ac_check_lib_save_LIBS=$LIBS
6937 LIBS="-lossaudio $LIBS"
6938 cat >conftest.$ac_ext <<_ACEOF
6939 /* confdefs.h. */
6940 _ACEOF
6941 cat confdefs.h >>conftest.$ac_ext
6942 cat >>conftest.$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6945 /* Override any GCC internal prototype to avoid an error.
6946 Use char because int might match the return type of a GCC
6947 builtin and then its argument prototype would still apply. */
6948 #ifdef __cplusplus
6949 extern "C"
6950 #endif
6951 char _oss_ioctl ();
6953 main ()
6955 return _oss_ioctl ();
6957 return 0;
6959 _ACEOF
6960 rm -f conftest.$ac_objext conftest$ac_exeext
6961 if { (ac_try="$ac_link"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_link") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6975 { (case "(($ac_try" in
6976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6977 *) ac_try_echo=$ac_try;;
6978 esac
6979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6980 (eval "$ac_try") 2>&5
6981 ac_status=$?
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; } &&
6984 { ac_try='test -s conftest$ac_exeext'
6985 { (case "(($ac_try" in
6986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6988 esac
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_try") 2>&5
6991 ac_status=$?
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; }; then
6994 ac_cv_lib_ossaudio__oss_ioctl=yes
6995 else
6996 echo "$as_me: failed program was:" >&5
6997 sed 's/^/| /' conftest.$ac_ext >&5
6999 ac_cv_lib_ossaudio__oss_ioctl=no
7002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7003 conftest$ac_exeext conftest.$ac_ext
7004 LIBS=$ac_check_lib_save_LIBS
7006 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7007 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7008 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7009 cat >>confdefs.h <<_ACEOF
7010 #define HAVE_LIBOSSAUDIO 1
7011 _ACEOF
7013 LIBS="-lossaudio $LIBS"
7018 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7019 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7020 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 else
7023 ac_check_lib_save_LIBS=$LIBS
7024 LIBS="-lxpg4 $LIBS"
7025 cat >conftest.$ac_ext <<_ACEOF
7026 /* confdefs.h. */
7027 _ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7032 /* Override any GCC internal prototype to avoid an error.
7033 Use char because int might match the return type of a GCC
7034 builtin and then its argument prototype would still apply. */
7035 #ifdef __cplusplus
7036 extern "C"
7037 #endif
7038 char _xpg4_setrunelocale ();
7040 main ()
7042 return _xpg4_setrunelocale ();
7044 return 0;
7046 _ACEOF
7047 rm -f conftest.$ac_objext conftest$ac_exeext
7048 if { (ac_try="$ac_link"
7049 case "(($ac_try" in
7050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7051 *) ac_try_echo=$ac_try;;
7052 esac
7053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7054 (eval "$ac_link") 2>conftest.er1
7055 ac_status=$?
7056 grep -v '^ *+' conftest.er1 >conftest.err
7057 rm -f conftest.er1
7058 cat conftest.err >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } &&
7061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7062 { (case "(($ac_try" in
7063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7064 *) ac_try_echo=$ac_try;;
7065 esac
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_try") 2>&5
7068 ac_status=$?
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; } &&
7071 { ac_try='test -s conftest$ac_exeext'
7072 { (case "(($ac_try" in
7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074 *) ac_try_echo=$ac_try;;
7075 esac
7076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7077 (eval "$ac_try") 2>&5
7078 ac_status=$?
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; }; then
7081 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7082 else
7083 echo "$as_me: failed program was:" >&5
7084 sed 's/^/| /' conftest.$ac_ext >&5
7086 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7090 conftest$ac_exeext conftest.$ac_ext
7091 LIBS=$ac_check_lib_save_LIBS
7093 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7094 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7095 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7096 cat >>confdefs.h <<_ACEOF
7097 #define HAVE_LIBXPG4 1
7098 _ACEOF
7100 LIBS="-lxpg4 $LIBS"
7104 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7105 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7106 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 else
7109 ac_check_lib_save_LIBS=$LIBS
7110 LIBS="-lpthread $LIBS"
7111 cat >conftest.$ac_ext <<_ACEOF
7112 /* confdefs.h. */
7113 _ACEOF
7114 cat confdefs.h >>conftest.$ac_ext
7115 cat >>conftest.$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7118 /* Override any GCC internal prototype to avoid an error.
7119 Use char because int might match the return type of a GCC
7120 builtin and then its argument prototype would still apply. */
7121 #ifdef __cplusplus
7122 extern "C"
7123 #endif
7124 char pthread_create ();
7126 main ()
7128 return pthread_create ();
7130 return 0;
7132 _ACEOF
7133 rm -f conftest.$ac_objext conftest$ac_exeext
7134 if { (ac_try="$ac_link"
7135 case "(($ac_try" in
7136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7138 esac
7139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7140 (eval "$ac_link") 2>conftest.er1
7141 ac_status=$?
7142 grep -v '^ *+' conftest.er1 >conftest.err
7143 rm -f conftest.er1
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7148 { (case "(($ac_try" in
7149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7150 *) ac_try_echo=$ac_try;;
7151 esac
7152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7153 (eval "$ac_try") 2>&5
7154 ac_status=$?
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try='test -s conftest$ac_exeext'
7158 { (case "(($ac_try" in
7159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7160 *) ac_try_echo=$ac_try;;
7161 esac
7162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7163 (eval "$ac_try") 2>&5
7164 ac_status=$?
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; }; then
7167 ac_cv_lib_pthread_pthread_create=yes
7168 else
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.$ac_ext >&5
7172 ac_cv_lib_pthread_pthread_create=no
7175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7176 conftest$ac_exeext conftest.$ac_ext
7177 LIBS=$ac_check_lib_save_LIBS
7179 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7180 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7181 if test $ac_cv_lib_pthread_pthread_create = yes; then
7182 LIBPTHREAD="-lpthread"
7187 XLIB=""
7189 XFILES=""
7191 OPENGLFILES=""
7193 GLU32FILES=""
7195 OPENGL_LIBS=""
7197 QUARTZFILES=""
7201 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7202 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7203 if test "${ac_cv_header_stdc+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6
7205 else
7206 cat >conftest.$ac_ext <<_ACEOF
7207 /* confdefs.h. */
7208 _ACEOF
7209 cat confdefs.h >>conftest.$ac_ext
7210 cat >>conftest.$ac_ext <<_ACEOF
7211 /* end confdefs.h. */
7212 #include <stdlib.h>
7213 #include <stdarg.h>
7214 #include <string.h>
7215 #include <float.h>
7218 main ()
7222 return 0;
7224 _ACEOF
7225 rm -f conftest.$ac_objext
7226 if { (ac_try="$ac_compile"
7227 case "(($ac_try" in
7228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7229 *) ac_try_echo=$ac_try;;
7230 esac
7231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7232 (eval "$ac_compile") 2>conftest.er1
7233 ac_status=$?
7234 grep -v '^ *+' conftest.er1 >conftest.err
7235 rm -f conftest.er1
7236 cat conftest.err >&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } &&
7239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7240 { (case "(($ac_try" in
7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7243 esac
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_try") 2>&5
7246 ac_status=$?
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; } &&
7249 { ac_try='test -s conftest.$ac_objext'
7250 { (case "(($ac_try" in
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7253 esac
7254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_try") 2>&5
7256 ac_status=$?
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7259 ac_cv_header_stdc=yes
7260 else
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 ac_cv_header_stdc=no
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 if test $ac_cv_header_stdc = yes; then
7270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7271 cat >conftest.$ac_ext <<_ACEOF
7272 /* confdefs.h. */
7273 _ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7277 #include <string.h>
7279 _ACEOF
7280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7281 $EGREP "memchr" >/dev/null 2>&1; then
7283 else
7284 ac_cv_header_stdc=no
7286 rm -f conftest*
7290 if test $ac_cv_header_stdc = yes; then
7291 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7292 cat >conftest.$ac_ext <<_ACEOF
7293 /* confdefs.h. */
7294 _ACEOF
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 #include <stdlib.h>
7300 _ACEOF
7301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7302 $EGREP "free" >/dev/null 2>&1; then
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f conftest*
7311 if test $ac_cv_header_stdc = yes; then
7312 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7313 if test "$cross_compiling" = yes; then
7315 else
7316 cat >conftest.$ac_ext <<_ACEOF
7317 /* confdefs.h. */
7318 _ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 #include <ctype.h>
7323 #include <stdlib.h>
7324 #if ((' ' & 0x0FF) == 0x020)
7325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7327 #else
7328 # define ISLOWER(c) \
7329 (('a' <= (c) && (c) <= 'i') \
7330 || ('j' <= (c) && (c) <= 'r') \
7331 || ('s' <= (c) && (c) <= 'z'))
7332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7333 #endif
7335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7337 main ()
7339 int i;
7340 for (i = 0; i < 256; i++)
7341 if (XOR (islower (i), ISLOWER (i))
7342 || toupper (i) != TOUPPER (i))
7343 return 2;
7344 return 0;
7346 _ACEOF
7347 rm -f conftest$ac_exeext
7348 if { (ac_try="$ac_link"
7349 case "(($ac_try" in
7350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351 *) ac_try_echo=$ac_try;;
7352 esac
7353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354 (eval "$ac_link") 2>&5
7355 ac_status=$?
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7358 { (case "(($ac_try" in
7359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7360 *) ac_try_echo=$ac_try;;
7361 esac
7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7363 (eval "$ac_try") 2>&5
7364 ac_status=$?
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; }; then
7368 else
7369 echo "$as_me: program exited with status $ac_status" >&5
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ( exit $ac_status )
7374 ac_cv_header_stdc=no
7376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7382 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7383 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7384 if test $ac_cv_header_stdc = yes; then
7386 cat >>confdefs.h <<\_ACEOF
7387 #define STDC_HEADERS 1
7388 _ACEOF
7392 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7402 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7403 inttypes.h stdint.h unistd.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 else
7411 cat >conftest.$ac_ext <<_ACEOF
7412 /* confdefs.h. */
7413 _ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 $ac_includes_default
7419 #include <$ac_header>
7420 _ACEOF
7421 rm -f conftest.$ac_objext
7422 if { (ac_try="$ac_compile"
7423 case "(($ac_try" in
7424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7426 esac
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_compile") 2>conftest.er1
7429 ac_status=$?
7430 grep -v '^ *+' conftest.er1 >conftest.err
7431 rm -f conftest.er1
7432 cat conftest.err >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } &&
7435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7436 { (case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7439 esac
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_try") 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try='test -s conftest.$ac_objext'
7446 { (case "(($ac_try" in
7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7449 esac
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_try") 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 eval "$as_ac_Header=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_Header=no"
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 ac_res=`eval echo '${'$as_ac_Header'}'`
7466 { echo "$as_me:$LINENO: result: $ac_res" >&5
7467 echo "${ECHO_T}$ac_res" >&6; }
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 _ACEOF
7475 done
7585 for ac_header in \
7586 AudioUnit/AudioUnit.h \
7587 Carbon/Carbon.h \
7588 CoreAudio/CoreAudio.h \
7589 IOKit/IOKitLib.h \
7590 alsa/asoundlib.h \
7591 arpa/inet.h \
7592 arpa/nameser.h \
7593 asm/types.h \
7594 capi20.h \
7595 cups/cups.h \
7596 curses.h \
7597 direct.h \
7598 dlfcn.h \
7599 elf.h \
7600 float.h \
7601 fontconfig/fontconfig.h \
7602 getopt.h \
7603 ieeefp.h \
7604 io.h \
7605 jack/jack.h \
7606 jpeglib.h \
7607 lber.h \
7608 lcms.h \
7609 lcms/lcms.h \
7610 ldap.h \
7611 libaudioio.h \
7612 link.h \
7613 linux/cdrom.h \
7614 linux/compiler.h \
7615 linux/hdreg.h \
7616 linux/input.h \
7617 linux/ioctl.h \
7618 linux/joystick.h \
7619 linux/major.h \
7620 linux/param.h \
7621 linux/serial.h \
7622 linux/ucdrom.h \
7623 mach/machine.h \
7624 machine/cpu.h \
7625 machine/limits.h \
7626 machine/soundcard.h \
7627 mntent.h \
7628 ncurses.h \
7629 netdb.h \
7630 netinet/in.h \
7631 netinet/in_systm.h \
7632 netinet/tcp.h \
7633 netinet/tcp_fsm.h \
7634 openssl/err.h \
7635 openssl/ssl.h \
7636 poll.h \
7637 process.h \
7638 pthread.h \
7639 pwd.h \
7640 regex.h \
7641 sched.h \
7642 scsi/scsi.h \
7643 scsi/scsi_ioctl.h \
7644 scsi/sg.h \
7645 soundcard.h \
7646 stdint.h \
7647 strings.h \
7648 sys/asoundlib.h \
7649 sys/cdio.h \
7650 sys/elf32.h \
7651 sys/epoll.h \
7652 sys/errno.h \
7653 sys/event.h \
7654 sys/exec_elf.h \
7655 sys/filio.h \
7656 sys/ioctl.h \
7657 sys/ipc.h \
7658 sys/limits.h \
7659 sys/link.h \
7660 sys/lwp.h \
7661 sys/mman.h \
7662 sys/modem.h \
7663 sys/msg.h \
7664 sys/mtio.h \
7665 sys/param.h \
7666 sys/poll.h \
7667 sys/prctl.h \
7668 sys/ptrace.h \
7669 sys/reg.h \
7670 sys/resource.h \
7671 sys/scsiio.h \
7672 sys/shm.h \
7673 sys/signal.h \
7674 sys/socket.h \
7675 sys/sockio.h \
7676 sys/soundcard.h \
7677 sys/statvfs.h \
7678 sys/strtio.h \
7679 sys/syscall.h \
7680 sys/sysctl.h \
7681 sys/time.h \
7682 sys/times.h \
7683 sys/uio.h \
7684 sys/un.h \
7685 sys/vm86.h \
7686 sys/wait.h \
7687 syscall.h \
7688 termios.h \
7689 unicode/ubidi.h \
7690 unistd.h \
7691 utime.h \
7692 valgrind/memcheck.h
7695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 ac_res=`eval echo '${'$as_ac_Header'}'`
7703 { echo "$as_me:$LINENO: result: $ac_res" >&5
7704 echo "${ECHO_T}$ac_res" >&6; }
7705 else
7706 # Is the header compilable?
7707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7709 cat >conftest.$ac_ext <<_ACEOF
7710 /* confdefs.h. */
7711 _ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715 $ac_includes_default
7716 #include <$ac_header>
7717 _ACEOF
7718 rm -f conftest.$ac_objext
7719 if { (ac_try="$ac_compile"
7720 case "(($ac_try" in
7721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7722 *) ac_try_echo=$ac_try;;
7723 esac
7724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7725 (eval "$ac_compile") 2>conftest.er1
7726 ac_status=$?
7727 grep -v '^ *+' conftest.er1 >conftest.err
7728 rm -f conftest.er1
7729 cat conftest.err >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } &&
7732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7733 { (case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7736 esac
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_try") 2>&5
7739 ac_status=$?
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; } &&
7742 { ac_try='test -s conftest.$ac_objext'
7743 { (case "(($ac_try" in
7744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7745 *) ac_try_echo=$ac_try;;
7746 esac
7747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7748 (eval "$ac_try") 2>&5
7749 ac_status=$?
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 ac_header_compiler=yes
7753 else
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7757 ac_header_compiler=no
7760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7761 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7762 echo "${ECHO_T}$ac_header_compiler" >&6; }
7764 # Is the header present?
7765 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7767 cat >conftest.$ac_ext <<_ACEOF
7768 /* confdefs.h. */
7769 _ACEOF
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 #include <$ac_header>
7774 _ACEOF
7775 if { (ac_try="$ac_cpp conftest.$ac_ext"
7776 case "(($ac_try" in
7777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7778 *) ac_try_echo=$ac_try;;
7779 esac
7780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7782 ac_status=$?
7783 grep -v '^ *+' conftest.er1 >conftest.err
7784 rm -f conftest.er1
7785 cat conftest.err >&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); } >/dev/null; then
7788 if test -s conftest.err; then
7789 ac_cpp_err=$ac_c_preproc_warn_flag
7790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7791 else
7792 ac_cpp_err=
7794 else
7795 ac_cpp_err=yes
7797 if test -z "$ac_cpp_err"; then
7798 ac_header_preproc=yes
7799 else
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.$ac_ext >&5
7803 ac_header_preproc=no
7806 rm -f conftest.err conftest.$ac_ext
7807 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7808 echo "${ECHO_T}$ac_header_preproc" >&6; }
7810 # So? What about this header?
7811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7812 yes:no: )
7813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7817 ac_header_preproc=yes
7819 no:yes:* )
7820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7832 ( cat <<\_ASBOX
7833 ## ------------------------------------ ##
7834 ## Report this to wine-devel@winehq.org ##
7835 ## ------------------------------------ ##
7836 _ASBOX
7837 ) | sed "s/^/$as_me: WARNING: /" >&2
7839 esac
7840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845 eval "$as_ac_Header=\$ac_header_preproc"
7847 ac_res=`eval echo '${'$as_ac_Header'}'`
7848 { echo "$as_me:$LINENO: result: $ac_res" >&5
7849 echo "${ECHO_T}$ac_res" >&6; }
7852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7853 cat >>confdefs.h <<_ACEOF
7854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7855 _ACEOF
7859 done
7861 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7862 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7863 if test "${ac_cv_header_stat_broken+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 cat >conftest.$ac_ext <<_ACEOF
7867 /* confdefs.h. */
7868 _ACEOF
7869 cat confdefs.h >>conftest.$ac_ext
7870 cat >>conftest.$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7872 #include <sys/types.h>
7873 #include <sys/stat.h>
7875 #if defined S_ISBLK && defined S_IFDIR
7876 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7877 #endif
7879 #if defined S_ISBLK && defined S_IFCHR
7880 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7881 #endif
7883 #if defined S_ISLNK && defined S_IFREG
7884 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7885 #endif
7887 #if defined S_ISSOCK && defined S_IFREG
7888 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7889 #endif
7891 _ACEOF
7892 rm -f conftest.$ac_objext
7893 if { (ac_try="$ac_compile"
7894 case "(($ac_try" in
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7897 esac
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_compile") 2>conftest.er1
7900 ac_status=$?
7901 grep -v '^ *+' conftest.er1 >conftest.err
7902 rm -f conftest.er1
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7907 { (case "(($ac_try" in
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7910 esac
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_try") 2>&5
7913 ac_status=$?
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest.$ac_objext'
7917 { (case "(($ac_try" in
7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7920 esac
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_try") 2>&5
7923 ac_status=$?
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_cv_header_stat_broken=no
7927 else
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 ac_cv_header_stat_broken=yes
7934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7936 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7937 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7938 if test $ac_cv_header_stat_broken = yes; then
7940 cat >>confdefs.h <<\_ACEOF
7941 #define STAT_MACROS_BROKEN 1
7942 _ACEOF
7952 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 else
7960 cat >conftest.$ac_ext <<_ACEOF
7961 /* confdefs.h. */
7962 _ACEOF
7963 cat confdefs.h >>conftest.$ac_ext
7964 cat >>conftest.$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7966 #include <sys/types.h>
7967 #if HAVE_SYS_PARAM_H
7968 # include <sys/param.h>
7969 #endif
7971 #include <$ac_header>
7972 _ACEOF
7973 rm -f conftest.$ac_objext
7974 if { (ac_try="$ac_compile"
7975 case "(($ac_try" in
7976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7977 *) ac_try_echo=$ac_try;;
7978 esac
7979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7980 (eval "$ac_compile") 2>conftest.er1
7981 ac_status=$?
7982 grep -v '^ *+' conftest.er1 >conftest.err
7983 rm -f conftest.er1
7984 cat conftest.err >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } &&
7987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7988 { (case "(($ac_try" in
7989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7990 *) ac_try_echo=$ac_try;;
7991 esac
7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7993 (eval "$ac_try") 2>&5
7994 ac_status=$?
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; } &&
7997 { ac_try='test -s conftest.$ac_objext'
7998 { (case "(($ac_try" in
7999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8000 *) ac_try_echo=$ac_try;;
8001 esac
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_try") 2>&5
8004 ac_status=$?
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); }; }; then
8007 eval "$as_ac_Header=yes"
8008 else
8009 echo "$as_me: failed program was:" >&5
8010 sed 's/^/| /' conftest.$ac_ext >&5
8012 eval "$as_ac_Header=no"
8015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8017 ac_res=`eval echo '${'$as_ac_Header'}'`
8018 { echo "$as_me:$LINENO: result: $ac_res" >&5
8019 echo "${ECHO_T}$ac_res" >&6; }
8020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8021 cat >>confdefs.h <<_ACEOF
8022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8023 _ACEOF
8027 done
8036 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
8038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8039 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 else
8044 cat >conftest.$ac_ext <<_ACEOF
8045 /* confdefs.h. */
8046 _ACEOF
8047 cat confdefs.h >>conftest.$ac_ext
8048 cat >>conftest.$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <sys/types.h>
8051 #if HAVE_SYS_SOCKET_H
8052 # include <sys/socket.h>
8053 #endif
8055 #include <$ac_header>
8056 _ACEOF
8057 rm -f conftest.$ac_objext
8058 if { (ac_try="$ac_compile"
8059 case "(($ac_try" in
8060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8061 *) ac_try_echo=$ac_try;;
8062 esac
8063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8064 (eval "$ac_compile") 2>conftest.er1
8065 ac_status=$?
8066 grep -v '^ *+' conftest.er1 >conftest.err
8067 rm -f conftest.er1
8068 cat conftest.err >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } &&
8071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8072 { (case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8075 esac
8076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8077 (eval "$ac_try") 2>&5
8078 ac_status=$?
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); }; } &&
8081 { ac_try='test -s conftest.$ac_objext'
8082 { (case "(($ac_try" in
8083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8084 *) ac_try_echo=$ac_try;;
8085 esac
8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8087 (eval "$ac_try") 2>&5
8088 ac_status=$?
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; }; then
8091 eval "$as_ac_Header=yes"
8092 else
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.$ac_ext >&5
8096 eval "$as_ac_Header=no"
8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8101 ac_res=`eval echo '${'$as_ac_Header'}'`
8102 { echo "$as_me:$LINENO: result: $ac_res" >&5
8103 echo "${ECHO_T}$ac_res" >&6; }
8104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8105 cat >>confdefs.h <<_ACEOF
8106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8107 _ACEOF
8111 done
8115 for ac_header in linux/ipx.h
8117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8122 else
8123 cat >conftest.$ac_ext <<_ACEOF
8124 /* confdefs.h. */
8125 _ACEOF
8126 cat confdefs.h >>conftest.$ac_ext
8127 cat >>conftest.$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8129 #include <sys/types.h>
8130 #ifdef HAVE_ASM_TYPES_H
8131 # include <asm/types.h>
8132 #endif
8133 #if HAVE_SYS_SOCKET_H
8134 # include <sys/socket.h>
8135 #endif
8137 #include <$ac_header>
8138 _ACEOF
8139 rm -f conftest.$ac_objext
8140 if { (ac_try="$ac_compile"
8141 case "(($ac_try" in
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8144 esac
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_compile") 2>conftest.er1
8147 ac_status=$?
8148 grep -v '^ *+' conftest.er1 >conftest.err
8149 rm -f conftest.er1
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8154 { (case "(($ac_try" in
8155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8156 *) ac_try_echo=$ac_try;;
8157 esac
8158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8159 (eval "$ac_try") 2>&5
8160 ac_status=$?
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; } &&
8163 { ac_try='test -s conftest.$ac_objext'
8164 { (case "(($ac_try" in
8165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166 *) ac_try_echo=$ac_try;;
8167 esac
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_try") 2>&5
8170 ac_status=$?
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; }; then
8173 eval "$as_ac_Header=yes"
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8178 eval "$as_ac_Header=no"
8181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8183 ac_res=`eval echo '${'$as_ac_Header'}'`
8184 { echo "$as_me:$LINENO: result: $ac_res" >&5
8185 echo "${ECHO_T}$ac_res" >&6; }
8186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8187 cat >>confdefs.h <<_ACEOF
8188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8189 _ACEOF
8193 done
8197 for ac_header in resolv.h
8199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 cat >conftest.$ac_ext <<_ACEOF
8206 /* confdefs.h. */
8207 _ACEOF
8208 cat confdefs.h >>conftest.$ac_ext
8209 cat >>conftest.$ac_ext <<_ACEOF
8210 /* end confdefs.h. */
8211 #include <sys/types.h>
8212 #if HAVE_SYS_SOCKET_H
8213 # include <sys/socket.h>
8214 #endif
8215 #if HAVE_NETINET_IN_H
8216 # include <netinet/in.h>
8217 #endif
8218 #if HAVE_ARPA_NAMESER_H
8219 # include <arpa/nameser.h>
8220 #endif
8222 #include <$ac_header>
8223 _ACEOF
8224 rm -f conftest.$ac_objext
8225 if { (ac_try="$ac_compile"
8226 case "(($ac_try" in
8227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8228 *) ac_try_echo=$ac_try;;
8229 esac
8230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8231 (eval "$ac_compile") 2>conftest.er1
8232 ac_status=$?
8233 grep -v '^ *+' conftest.er1 >conftest.err
8234 rm -f conftest.er1
8235 cat conftest.err >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } &&
8238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8239 { (case "(($ac_try" in
8240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8241 *) ac_try_echo=$ac_try;;
8242 esac
8243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8244 (eval "$ac_try") 2>&5
8245 ac_status=$?
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; } &&
8248 { ac_try='test -s conftest.$ac_objext'
8249 { (case "(($ac_try" in
8250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8251 *) ac_try_echo=$ac_try;;
8252 esac
8253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8254 (eval "$ac_try") 2>&5
8255 ac_status=$?
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 eval "$as_ac_Header=yes"
8259 else
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8274 _ACEOF
8278 done
8282 for ac_header in ucontext.h
8284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 else
8290 cat >conftest.$ac_ext <<_ACEOF
8291 /* confdefs.h. */
8292 _ACEOF
8293 cat confdefs.h >>conftest.$ac_ext
8294 cat >>conftest.$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8296 #include <signal.h>
8298 #include <$ac_header>
8299 _ACEOF
8300 rm -f conftest.$ac_objext
8301 if { (ac_try="$ac_compile"
8302 case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8305 esac
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_compile") 2>conftest.er1
8308 ac_status=$?
8309 grep -v '^ *+' conftest.er1 >conftest.err
8310 rm -f conftest.er1
8311 cat conftest.err >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); } &&
8314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8315 { (case "(($ac_try" in
8316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8317 *) ac_try_echo=$ac_try;;
8318 esac
8319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8320 (eval "$ac_try") 2>&5
8321 ac_status=$?
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try='test -s conftest.$ac_objext'
8325 { (case "(($ac_try" in
8326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8327 *) ac_try_echo=$ac_try;;
8328 esac
8329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8330 (eval "$ac_try") 2>&5
8331 ac_status=$?
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; }; then
8334 eval "$as_ac_Header=yes"
8335 else
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8339 eval "$as_ac_Header=no"
8342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8344 ac_res=`eval echo '${'$as_ac_Header'}'`
8345 { echo "$as_me:$LINENO: result: $ac_res" >&5
8346 echo "${ECHO_T}$ac_res" >&6; }
8347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8348 cat >>confdefs.h <<_ACEOF
8349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8350 _ACEOF
8354 done
8358 for ac_header in pthread_np.h
8360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 else
8366 cat >conftest.$ac_ext <<_ACEOF
8367 /* confdefs.h. */
8368 _ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8372 #ifdef HAVE_PTHREAD_H
8373 #include <pthread.h>
8374 #endif
8376 #include <$ac_header>
8377 _ACEOF
8378 rm -f conftest.$ac_objext
8379 if { (ac_try="$ac_compile"
8380 case "(($ac_try" in
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8383 esac
8384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385 (eval "$ac_compile") 2>conftest.er1
8386 ac_status=$?
8387 grep -v '^ *+' conftest.er1 >conftest.err
8388 rm -f conftest.er1
8389 cat conftest.err >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } &&
8392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8393 { (case "(($ac_try" in
8394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8395 *) ac_try_echo=$ac_try;;
8396 esac
8397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8398 (eval "$ac_try") 2>&5
8399 ac_status=$?
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; } &&
8402 { ac_try='test -s conftest.$ac_objext'
8403 { (case "(($ac_try" in
8404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8405 *) ac_try_echo=$ac_try;;
8406 esac
8407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8408 (eval "$ac_try") 2>&5
8409 ac_status=$?
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); }; }; then
8412 eval "$as_ac_Header=yes"
8413 else
8414 echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5
8417 eval "$as_ac_Header=no"
8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8422 ac_res=`eval echo '${'$as_ac_Header'}'`
8423 { echo "$as_me:$LINENO: result: $ac_res" >&5
8424 echo "${ECHO_T}$ac_res" >&6; }
8425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8426 cat >>confdefs.h <<_ACEOF
8427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8428 _ACEOF
8432 done
8436 for ac_header in linux/videodev.h
8438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8439 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8443 else
8444 cat >conftest.$ac_ext <<_ACEOF
8445 /* confdefs.h. */
8446 _ACEOF
8447 cat confdefs.h >>conftest.$ac_ext
8448 cat >>conftest.$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8450 #ifdef HAVE_SYS_TIME_H
8451 #include <sys/time.h>
8452 #endif
8453 #include <sys/types.h>
8454 #ifdef HAVE_ASM_TYPES_H
8455 #include <asm/types.h>
8456 #endif
8458 #include <$ac_header>
8459 _ACEOF
8460 rm -f conftest.$ac_objext
8461 if { (ac_try="$ac_compile"
8462 case "(($ac_try" in
8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8464 *) ac_try_echo=$ac_try;;
8465 esac
8466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 (eval "$ac_compile") 2>conftest.er1
8468 ac_status=$?
8469 grep -v '^ *+' conftest.er1 >conftest.err
8470 rm -f conftest.er1
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
8474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8475 { (case "(($ac_try" in
8476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477 *) ac_try_echo=$ac_try;;
8478 esac
8479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8480 (eval "$ac_try") 2>&5
8481 ac_status=$?
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; } &&
8484 { ac_try='test -s conftest.$ac_objext'
8485 { (case "(($ac_try" in
8486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8487 *) ac_try_echo=$ac_try;;
8488 esac
8489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8490 (eval "$ac_try") 2>&5
8491 ac_status=$?
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); }; }; then
8494 eval "$as_ac_Header=yes"
8495 else
8496 echo "$as_me: failed program was:" >&5
8497 sed 's/^/| /' conftest.$ac_ext >&5
8499 eval "$as_ac_Header=no"
8502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8504 ac_res=`eval echo '${'$as_ac_Header'}'`
8505 { echo "$as_me:$LINENO: result: $ac_res" >&5
8506 echo "${ECHO_T}$ac_res" >&6; }
8507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8508 cat >>confdefs.h <<_ACEOF
8509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8510 _ACEOF
8514 done
8518 for ac_header in linux/capi.h
8520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 else
8526 cat >conftest.$ac_ext <<_ACEOF
8527 /* confdefs.h. */
8528 _ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8532 #define __user
8534 #include <$ac_header>
8535 _ACEOF
8536 rm -f conftest.$ac_objext
8537 if { (ac_try="$ac_compile"
8538 case "(($ac_try" in
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8541 esac
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_compile") 2>conftest.er1
8544 ac_status=$?
8545 grep -v '^ *+' conftest.er1 >conftest.err
8546 rm -f conftest.er1
8547 cat conftest.err >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8551 { (case "(($ac_try" in
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8554 esac
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_try") 2>&5
8557 ac_status=$?
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try='test -s conftest.$ac_objext'
8561 { (case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564 esac
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_try") 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
8570 eval "$as_ac_Header=yes"
8571 else
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8575 eval "$as_ac_Header=no"
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 ac_res=`eval echo '${'$as_ac_Header'}'`
8581 { echo "$as_me:$LINENO: result: $ac_res" >&5
8582 echo "${ECHO_T}$ac_res" >&6; }
8583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8584 cat >>confdefs.h <<_ACEOF
8585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8586 _ACEOF
8590 done
8594 if test "$have_x" = "yes"
8595 then
8596 XLIB="-lXext -lX11"
8597 ac_save_CPPFLAGS="$CPPFLAGS"
8598 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8610 for ac_header in X11/Xlib.h \
8611 X11/XKBlib.h \
8612 X11/Xutil.h \
8613 X11/extensions/shape.h \
8614 X11/extensions/XInput.h \
8615 X11/extensions/XShm.h \
8616 X11/extensions/Xinerama.h \
8617 X11/extensions/Xrandr.h \
8618 X11/extensions/Xrender.h \
8619 X11/extensions/xf86vmode.h
8621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8625 echo $ECHO_N "(cached) $ECHO_C" >&6
8626 else
8627 cat >conftest.$ac_ext <<_ACEOF
8628 /* confdefs.h. */
8629 _ACEOF
8630 cat confdefs.h >>conftest.$ac_ext
8631 cat >>conftest.$ac_ext <<_ACEOF
8632 /* end confdefs.h. */
8633 #ifdef HAVE_X11_XLIB_H
8634 # include <X11/Xlib.h>
8635 #endif
8636 #ifdef HAVE_X11_XUTIL_H
8637 # include <X11/Xutil.h>
8638 #endif
8640 #include <$ac_header>
8641 _ACEOF
8642 rm -f conftest.$ac_objext
8643 if { (ac_try="$ac_compile"
8644 case "(($ac_try" in
8645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646 *) ac_try_echo=$ac_try;;
8647 esac
8648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_compile") 2>conftest.er1
8650 ac_status=$?
8651 grep -v '^ *+' conftest.er1 >conftest.err
8652 rm -f conftest.er1
8653 cat conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } &&
8656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8657 { (case "(($ac_try" in
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8659 *) ac_try_echo=$ac_try;;
8660 esac
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_try") 2>&5
8663 ac_status=$?
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; } &&
8666 { ac_try='test -s conftest.$ac_objext'
8667 { (case "(($ac_try" in
8668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669 *) ac_try_echo=$ac_try;;
8670 esac
8671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8672 (eval "$ac_try") 2>&5
8673 ac_status=$?
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; }; then
8676 eval "$as_ac_Header=yes"
8677 else
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8681 eval "$as_ac_Header=no"
8684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8686 ac_res=`eval echo '${'$as_ac_Header'}'`
8687 { echo "$as_me:$LINENO: result: $ac_res" >&5
8688 echo "${ECHO_T}$ac_res" >&6; }
8689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8690 cat >>confdefs.h <<_ACEOF
8691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8692 _ACEOF
8696 done
8699 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8700 then
8701 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8702 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8703 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8705 else
8706 ac_check_lib_save_LIBS=$LIBS
8707 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8708 cat >conftest.$ac_ext <<_ACEOF
8709 /* confdefs.h. */
8710 _ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8718 #ifdef __cplusplus
8719 extern "C"
8720 #endif
8721 char XkbQueryExtension ();
8723 main ()
8725 return XkbQueryExtension ();
8727 return 0;
8729 _ACEOF
8730 rm -f conftest.$ac_objext conftest$ac_exeext
8731 if { (ac_try="$ac_link"
8732 case "(($ac_try" in
8733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8735 esac
8736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_link") 2>conftest.er1
8738 ac_status=$?
8739 grep -v '^ *+' conftest.er1 >conftest.err
8740 rm -f conftest.er1
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } &&
8744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8745 { (case "(($ac_try" in
8746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8747 *) ac_try_echo=$ac_try;;
8748 esac
8749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8750 (eval "$ac_try") 2>&5
8751 ac_status=$?
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; } &&
8754 { ac_try='test -s conftest$ac_exeext'
8755 { (case "(($ac_try" in
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8758 esac
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_try") 2>&5
8761 ac_status=$?
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; }; then
8764 ac_cv_lib_X11_XkbQueryExtension=yes
8765 else
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.$ac_ext >&5
8769 ac_cv_lib_X11_XkbQueryExtension=no
8772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8773 conftest$ac_exeext conftest.$ac_ext
8774 LIBS=$ac_check_lib_save_LIBS
8776 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8777 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8778 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8780 cat >>confdefs.h <<\_ACEOF
8781 #define HAVE_XKB 1
8782 _ACEOF
8788 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8789 then
8790 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8791 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8792 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8794 else
8795 ac_check_lib_save_LIBS=$LIBS
8796 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8797 cat >conftest.$ac_ext <<_ACEOF
8798 /* confdefs.h. */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8804 /* Override any GCC internal prototype to avoid an error.
8805 Use char because int might match the return type of a GCC
8806 builtin and then its argument prototype would still apply. */
8807 #ifdef __cplusplus
8808 extern "C"
8809 #endif
8810 char XShmQueryExtension ();
8812 main ()
8814 return XShmQueryExtension ();
8816 return 0;
8818 _ACEOF
8819 rm -f conftest.$ac_objext conftest$ac_exeext
8820 if { (ac_try="$ac_link"
8821 case "(($ac_try" in
8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823 *) ac_try_echo=$ac_try;;
8824 esac
8825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8826 (eval "$ac_link") 2>conftest.er1
8827 ac_status=$?
8828 grep -v '^ *+' conftest.er1 >conftest.err
8829 rm -f conftest.er1
8830 cat conftest.err >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); } &&
8833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8834 { (case "(($ac_try" in
8835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8836 *) ac_try_echo=$ac_try;;
8837 esac
8838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8839 (eval "$ac_try") 2>&5
8840 ac_status=$?
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; } &&
8843 { ac_try='test -s conftest$ac_exeext'
8844 { (case "(($ac_try" in
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8847 esac
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_try") 2>&5
8850 ac_status=$?
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 ac_cv_lib_Xext_XShmQueryExtension=yes
8854 else
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_lib_Xext_XShmQueryExtension=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 LIBS=$ac_check_lib_save_LIBS
8865 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8866 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8867 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8869 cat >>confdefs.h <<\_ACEOF
8870 #define HAVE_LIBXXSHM 1
8871 _ACEOF
8877 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8878 then
8879 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8880 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8881 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8883 else
8884 ac_check_lib_save_LIBS=$LIBS
8885 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8886 cat >conftest.$ac_ext <<_ACEOF
8887 /* confdefs.h. */
8888 _ACEOF
8889 cat confdefs.h >>conftest.$ac_ext
8890 cat >>conftest.$ac_ext <<_ACEOF
8891 /* end confdefs.h. */
8893 /* Override any GCC internal prototype to avoid an error.
8894 Use char because int might match the return type of a GCC
8895 builtin and then its argument prototype would still apply. */
8896 #ifdef __cplusplus
8897 extern "C"
8898 #endif
8899 char XShapeQueryExtension ();
8901 main ()
8903 return XShapeQueryExtension ();
8905 return 0;
8907 _ACEOF
8908 rm -f conftest.$ac_objext conftest$ac_exeext
8909 if { (ac_try="$ac_link"
8910 case "(($ac_try" in
8911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8912 *) ac_try_echo=$ac_try;;
8913 esac
8914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8915 (eval "$ac_link") 2>conftest.er1
8916 ac_status=$?
8917 grep -v '^ *+' conftest.er1 >conftest.err
8918 rm -f conftest.er1
8919 cat conftest.err >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8923 { (case "(($ac_try" in
8924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925 *) ac_try_echo=$ac_try;;
8926 esac
8927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8928 (eval "$ac_try") 2>&5
8929 ac_status=$?
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; } &&
8932 { ac_try='test -s conftest$ac_exeext'
8933 { (case "(($ac_try" in
8934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8935 *) ac_try_echo=$ac_try;;
8936 esac
8937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8938 (eval "$ac_try") 2>&5
8939 ac_status=$?
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; }; then
8942 ac_cv_lib_Xext_XShapeQueryExtension=yes
8943 else
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.$ac_ext >&5
8947 ac_cv_lib_Xext_XShapeQueryExtension=no
8950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS=$ac_check_lib_save_LIBS
8954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8958 cat >>confdefs.h <<\_ACEOF
8959 #define HAVE_LIBXSHAPE 1
8960 _ACEOF
8966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8967 then
8968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8971 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 else
8973 ac_check_lib_save_LIBS=$LIBS
8974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8975 cat >conftest.$ac_ext <<_ACEOF
8976 /* confdefs.h. */
8977 _ACEOF
8978 cat confdefs.h >>conftest.$ac_ext
8979 cat >>conftest.$ac_ext <<_ACEOF
8980 /* end confdefs.h. */
8982 /* Override any GCC internal prototype to avoid an error.
8983 Use char because int might match the return type of a GCC
8984 builtin and then its argument prototype would still apply. */
8985 #ifdef __cplusplus
8986 extern "C"
8987 #endif
8988 char XF86VidModeQueryExtension ();
8990 main ()
8992 return XF86VidModeQueryExtension ();
8994 return 0;
8996 _ACEOF
8997 rm -f conftest.$ac_objext conftest$ac_exeext
8998 if { (ac_try="$ac_link"
8999 case "(($ac_try" in
9000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9001 *) ac_try_echo=$ac_try;;
9002 esac
9003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9004 (eval "$ac_link") 2>conftest.er1
9005 ac_status=$?
9006 grep -v '^ *+' conftest.er1 >conftest.err
9007 rm -f conftest.er1
9008 cat conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } &&
9011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9012 { (case "(($ac_try" in
9013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9014 *) ac_try_echo=$ac_try;;
9015 esac
9016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9017 (eval "$ac_try") 2>&5
9018 ac_status=$?
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; } &&
9021 { ac_try='test -s conftest$ac_exeext'
9022 { (case "(($ac_try" in
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9025 esac
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_try") 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS=$ac_check_lib_save_LIBS
9043 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9044 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9045 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9047 cat >>confdefs.h <<\_ACEOF
9048 #define HAVE_LIBXXF86VM 1
9049 _ACEOF
9051 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9057 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9058 then
9059 cat >conftest.$ac_ext <<_ACEOF
9060 /* confdefs.h. */
9061 _ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9065 #include <X11/Xlib.h>
9066 #include <X11/extensions/Xrandr.h>
9068 main ()
9070 static typeof(XRRSetScreenConfigAndRate) * func;
9072 return 0;
9074 _ACEOF
9075 rm -f conftest.$ac_objext
9076 if { (ac_try="$ac_compile"
9077 case "(($ac_try" in
9078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9079 *) ac_try_echo=$ac_try;;
9080 esac
9081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082 (eval "$ac_compile") 2>conftest.er1
9083 ac_status=$?
9084 grep -v '^ *+' conftest.er1 >conftest.err
9085 rm -f conftest.er1
9086 cat conftest.err >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } &&
9089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9090 { (case "(($ac_try" in
9091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9092 *) ac_try_echo=$ac_try;;
9093 esac
9094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9095 (eval "$ac_try") 2>&5
9096 ac_status=$?
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest.$ac_objext'
9100 { (case "(($ac_try" in
9101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9102 *) ac_try_echo=$ac_try;;
9103 esac
9104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9105 (eval "$ac_try") 2>&5
9106 ac_status=$?
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; }; then
9110 cat >>confdefs.h <<\_ACEOF
9111 #define HAVE_LIBXRANDR 1
9112 _ACEOF
9114 else
9115 echo "$as_me: failed program was:" >&5
9116 sed 's/^/| /' conftest.$ac_ext >&5
9121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9124 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9125 then
9126 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9127 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9128 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 else
9131 ac_check_lib_save_LIBS=$LIBS
9132 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9133 cat >conftest.$ac_ext <<_ACEOF
9134 /* confdefs.h. */
9135 _ACEOF
9136 cat confdefs.h >>conftest.$ac_ext
9137 cat >>conftest.$ac_ext <<_ACEOF
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9143 #ifdef __cplusplus
9144 extern "C"
9145 #endif
9146 char XRenderSetPictureTransform ();
9148 main ()
9150 return XRenderSetPictureTransform ();
9152 return 0;
9154 _ACEOF
9155 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (ac_try="$ac_link"
9157 case "(($ac_try" in
9158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9160 esac
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_link") 2>conftest.er1
9163 ac_status=$?
9164 grep -v '^ *+' conftest.er1 >conftest.err
9165 rm -f conftest.er1
9166 cat conftest.err >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } &&
9169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9170 { (case "(($ac_try" in
9171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9172 *) ac_try_echo=$ac_try;;
9173 esac
9174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9175 (eval "$ac_try") 2>&5
9176 ac_status=$?
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try='test -s conftest$ac_exeext'
9180 { (case "(($ac_try" in
9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9183 esac
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_try") 2>&5
9186 ac_status=$?
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9190 else
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9198 conftest$ac_exeext conftest.$ac_ext
9199 LIBS=$ac_check_lib_save_LIBS
9201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9202 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9203 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9205 cat >>confdefs.h <<\_ACEOF
9206 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9207 _ACEOF
9213 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9214 then
9215 cat >conftest.$ac_ext <<_ACEOF
9216 /* confdefs.h. */
9217 _ACEOF
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #include <X11/Xlib.h>
9222 #include <X11/extensions/Xinerama.h>
9224 main ()
9226 static typeof(XineramaQueryScreens) * func;
9228 return 0;
9230 _ACEOF
9231 rm -f conftest.$ac_objext
9232 if { (ac_try="$ac_compile"
9233 case "(($ac_try" in
9234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9235 *) ac_try_echo=$ac_try;;
9236 esac
9237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9238 (eval "$ac_compile") 2>conftest.er1
9239 ac_status=$?
9240 grep -v '^ *+' conftest.er1 >conftest.err
9241 rm -f conftest.er1
9242 cat conftest.err >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); } &&
9245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9246 { (case "(($ac_try" in
9247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9248 *) ac_try_echo=$ac_try;;
9249 esac
9250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9251 (eval "$ac_try") 2>&5
9252 ac_status=$?
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; } &&
9255 { ac_try='test -s conftest.$ac_objext'
9256 { (case "(($ac_try" in
9257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9258 *) ac_try_echo=$ac_try;;
9259 esac
9260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9261 (eval "$ac_try") 2>&5
9262 ac_status=$?
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; }; then
9266 cat >>confdefs.h <<\_ACEOF
9267 #define HAVE_LIBXINERAMA 1
9268 _ACEOF
9270 else
9271 echo "$as_me: failed program was:" >&5
9272 sed 's/^/| /' conftest.$ac_ext >&5
9277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9281 if test "x$with_opengl" != "xno"
9282 then
9287 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 else
9295 cat >conftest.$ac_ext <<_ACEOF
9296 /* confdefs.h. */
9297 _ACEOF
9298 cat confdefs.h >>conftest.$ac_ext
9299 cat >>conftest.$ac_ext <<_ACEOF
9300 /* end confdefs.h. */
9301 #ifdef HAVE_GL_GLX_H
9302 # include <GL/glx.h>
9303 #endif
9305 #include <$ac_header>
9306 _ACEOF
9307 rm -f conftest.$ac_objext
9308 if { (ac_try="$ac_compile"
9309 case "(($ac_try" in
9310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9311 *) ac_try_echo=$ac_try;;
9312 esac
9313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9314 (eval "$ac_compile") 2>conftest.er1
9315 ac_status=$?
9316 grep -v '^ *+' conftest.er1 >conftest.err
9317 rm -f conftest.er1
9318 cat conftest.err >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9322 { (case "(($ac_try" in
9323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9324 *) ac_try_echo=$ac_try;;
9325 esac
9326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9327 (eval "$ac_try") 2>&5
9328 ac_status=$?
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest.$ac_objext'
9332 { (case "(($ac_try" in
9333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9334 *) ac_try_echo=$ac_try;;
9335 esac
9336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9337 (eval "$ac_try") 2>&5
9338 ac_status=$?
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; }; then
9341 eval "$as_ac_Header=yes"
9342 else
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9346 eval "$as_ac_Header=no"
9349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9351 ac_res=`eval echo '${'$as_ac_Header'}'`
9352 { echo "$as_me:$LINENO: result: $ac_res" >&5
9353 echo "${ECHO_T}$ac_res" >&6; }
9354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9355 cat >>confdefs.h <<_ACEOF
9356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9357 _ACEOF
9361 done
9363 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9364 then
9365 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9366 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9367 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9369 else
9370 cat >conftest.$ac_ext <<_ACEOF
9371 /* confdefs.h. */
9372 _ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9376 #include <GL/gl.h>
9378 main ()
9380 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9382 return 0;
9384 _ACEOF
9385 rm -f conftest.$ac_objext
9386 if { (ac_try="$ac_compile"
9387 case "(($ac_try" in
9388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 *) ac_try_echo=$ac_try;;
9390 esac
9391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 (eval "$ac_compile") 2>conftest.er1
9393 ac_status=$?
9394 grep -v '^ *+' conftest.er1 >conftest.err
9395 rm -f conftest.er1
9396 cat conftest.err >&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); } &&
9399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9400 { (case "(($ac_try" in
9401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9402 *) ac_try_echo=$ac_try;;
9403 esac
9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9405 (eval "$ac_try") 2>&5
9406 ac_status=$?
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; } &&
9409 { ac_try='test -s conftest.$ac_objext'
9410 { (case "(($ac_try" in
9411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9412 *) ac_try_echo=$ac_try;;
9413 esac
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_try") 2>&5
9416 ac_status=$?
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; }; then
9419 wine_cv_opengl_header_version_OK="yes"
9420 else
9421 echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.$ac_ext >&5
9424 wine_cv_opengl_header_version_OK="no"
9428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9431 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9432 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9434 if test "$wine_cv_opengl_header_version_OK" = "yes"
9435 then
9436 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9437 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9438 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 else
9441 ac_check_lib_save_LIBS=$LIBS
9442 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9443 cat >conftest.$ac_ext <<_ACEOF
9444 /* confdefs.h. */
9445 _ACEOF
9446 cat confdefs.h >>conftest.$ac_ext
9447 cat >>conftest.$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9453 #ifdef __cplusplus
9454 extern "C"
9455 #endif
9456 char glXCreateContext ();
9458 main ()
9460 return glXCreateContext ();
9462 return 0;
9464 _ACEOF
9465 rm -f conftest.$ac_objext conftest$ac_exeext
9466 if { (ac_try="$ac_link"
9467 case "(($ac_try" in
9468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9469 *) ac_try_echo=$ac_try;;
9470 esac
9471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9472 (eval "$ac_link") 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9480 { (case "(($ac_try" in
9481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9482 *) ac_try_echo=$ac_try;;
9483 esac
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9485 (eval "$ac_try") 2>&5
9486 ac_status=$?
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); }; } &&
9489 { ac_try='test -s conftest$ac_exeext'
9490 { (case "(($ac_try" in
9491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9492 *) ac_try_echo=$ac_try;;
9493 esac
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
9496 ac_status=$?
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; }; then
9499 ac_cv_lib_GL_glXCreateContext=yes
9500 else
9501 echo "$as_me: failed program was:" >&5
9502 sed 's/^/| /' conftest.$ac_ext >&5
9504 ac_cv_lib_GL_glXCreateContext=no
9507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9508 conftest$ac_exeext conftest.$ac_ext
9509 LIBS=$ac_check_lib_save_LIBS
9511 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9512 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9513 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9514 OPENGL_LIBS="-lGL"
9515 OPENGLFILES='$(OPENGLFILES)'
9517 cat >>confdefs.h <<\_ACEOF
9518 #define HAVE_OPENGL 1
9519 _ACEOF
9525 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9526 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9527 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9529 else
9530 ac_check_lib_save_LIBS=$LIBS
9531 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9532 $LIBS"
9533 cat >conftest.$ac_ext <<_ACEOF
9534 /* confdefs.h. */
9535 _ACEOF
9536 cat confdefs.h >>conftest.$ac_ext
9537 cat >>conftest.$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char gluLookAt ();
9548 main ()
9550 return gluLookAt ();
9552 return 0;
9554 _ACEOF
9555 rm -f conftest.$ac_objext conftest$ac_exeext
9556 if { (ac_try="$ac_link"
9557 case "(($ac_try" in
9558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9559 *) ac_try_echo=$ac_try;;
9560 esac
9561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9562 (eval "$ac_link") 2>conftest.er1
9563 ac_status=$?
9564 grep -v '^ *+' conftest.er1 >conftest.err
9565 rm -f conftest.er1
9566 cat conftest.err >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } &&
9569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9570 { (case "(($ac_try" in
9571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9572 *) ac_try_echo=$ac_try;;
9573 esac
9574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9575 (eval "$ac_try") 2>&5
9576 ac_status=$?
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; } &&
9579 { ac_try='test -s conftest$ac_exeext'
9580 { (case "(($ac_try" in
9581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9583 esac
9584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9585 (eval "$ac_try") 2>&5
9586 ac_status=$?
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); }; }; then
9589 ac_cv_lib_GLU_gluLookAt=yes
9590 else
9591 echo "$as_me: failed program was:" >&5
9592 sed 's/^/| /' conftest.$ac_ext >&5
9594 ac_cv_lib_GLU_gluLookAt=no
9597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9598 conftest$ac_exeext conftest.$ac_ext
9599 LIBS=$ac_check_lib_save_LIBS
9601 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9602 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9603 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9604 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9605 GLU32FILES='$(GLU32FILES)'
9611 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9612 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9613 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 else
9616 ac_check_lib_save_LIBS=$LIBS
9617 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9618 cat >conftest.$ac_ext <<_ACEOF
9619 /* confdefs.h. */
9620 _ACEOF
9621 cat confdefs.h >>conftest.$ac_ext
9622 cat >>conftest.$ac_ext <<_ACEOF
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9628 #ifdef __cplusplus
9629 extern "C"
9630 #endif
9631 char glutMainLoop ();
9633 main ()
9635 return glutMainLoop ();
9637 return 0;
9639 _ACEOF
9640 rm -f conftest.$ac_objext conftest$ac_exeext
9641 if { (ac_try="$ac_link"
9642 case "(($ac_try" in
9643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9644 *) ac_try_echo=$ac_try;;
9645 esac
9646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9647 (eval "$ac_link") 2>conftest.er1
9648 ac_status=$?
9649 grep -v '^ *+' conftest.er1 >conftest.err
9650 rm -f conftest.er1
9651 cat conftest.err >&5
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 (exit $ac_status); } &&
9654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9655 { (case "(($ac_try" in
9656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9657 *) ac_try_echo=$ac_try;;
9658 esac
9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9660 (eval "$ac_try") 2>&5
9661 ac_status=$?
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; } &&
9664 { ac_try='test -s conftest$ac_exeext'
9665 { (case "(($ac_try" in
9666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9667 *) ac_try_echo=$ac_try;;
9668 esac
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670 (eval "$ac_try") 2>&5
9671 ac_status=$?
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; }; then
9674 ac_cv_lib_glut_glutMainLoop=yes
9675 else
9676 echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.$ac_ext >&5
9679 ac_cv_lib_glut_glutMainLoop=no
9682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9683 conftest$ac_exeext conftest.$ac_ext
9684 LIBS=$ac_check_lib_save_LIBS
9686 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9687 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9688 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9689 GLUT_LIBS="-lglut -lXmu -lXi"
9691 GLUT32FILES='$(GLUT32FILES)'
9695 else
9696 wine_cv_opengl_headers_found="no"
9699 NASLIBS=""
9702 for ac_header in audio/audiolib.h
9704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9705 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9709 echo $ECHO_N "(cached) $ECHO_C" >&6
9711 ac_res=`eval echo '${'$as_ac_Header'}'`
9712 { echo "$as_me:$LINENO: result: $ac_res" >&5
9713 echo "${ECHO_T}$ac_res" >&6; }
9714 else
9715 # Is the header compilable?
9716 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9718 cat >conftest.$ac_ext <<_ACEOF
9719 /* confdefs.h. */
9720 _ACEOF
9721 cat confdefs.h >>conftest.$ac_ext
9722 cat >>conftest.$ac_ext <<_ACEOF
9723 /* end confdefs.h. */
9724 $ac_includes_default
9725 #include <$ac_header>
9726 _ACEOF
9727 rm -f conftest.$ac_objext
9728 if { (ac_try="$ac_compile"
9729 case "(($ac_try" in
9730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9731 *) ac_try_echo=$ac_try;;
9732 esac
9733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9734 (eval "$ac_compile") 2>conftest.er1
9735 ac_status=$?
9736 grep -v '^ *+' conftest.er1 >conftest.err
9737 rm -f conftest.er1
9738 cat conftest.err >&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); } &&
9741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9742 { (case "(($ac_try" in
9743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9744 *) ac_try_echo=$ac_try;;
9745 esac
9746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9747 (eval "$ac_try") 2>&5
9748 ac_status=$?
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; } &&
9751 { ac_try='test -s conftest.$ac_objext'
9752 { (case "(($ac_try" in
9753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9754 *) ac_try_echo=$ac_try;;
9755 esac
9756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9757 (eval "$ac_try") 2>&5
9758 ac_status=$?
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; }; then
9761 ac_header_compiler=yes
9762 else
9763 echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.$ac_ext >&5
9766 ac_header_compiler=no
9769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9770 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9771 echo "${ECHO_T}$ac_header_compiler" >&6; }
9773 # Is the header present?
9774 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9776 cat >conftest.$ac_ext <<_ACEOF
9777 /* confdefs.h. */
9778 _ACEOF
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9782 #include <$ac_header>
9783 _ACEOF
9784 if { (ac_try="$ac_cpp conftest.$ac_ext"
9785 case "(($ac_try" in
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9788 esac
9789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } >/dev/null; then
9797 if test -s conftest.err; then
9798 ac_cpp_err=$ac_c_preproc_warn_flag
9799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9800 else
9801 ac_cpp_err=
9803 else
9804 ac_cpp_err=yes
9806 if test -z "$ac_cpp_err"; then
9807 ac_header_preproc=yes
9808 else
9809 echo "$as_me: failed program was:" >&5
9810 sed 's/^/| /' conftest.$ac_ext >&5
9812 ac_header_preproc=no
9815 rm -f conftest.err conftest.$ac_ext
9816 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9817 echo "${ECHO_T}$ac_header_preproc" >&6; }
9819 # So? What about this header?
9820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9821 yes:no: )
9822 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9823 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9825 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9826 ac_header_preproc=yes
9828 no:yes:* )
9829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9833 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9834 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9835 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9836 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9839 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9840 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9841 ( cat <<\_ASBOX
9842 ## ------------------------------------ ##
9843 ## Report this to wine-devel@winehq.org ##
9844 ## ------------------------------------ ##
9845 _ASBOX
9846 ) | sed "s/^/$as_me: WARNING: /" >&2
9848 esac
9849 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9852 echo $ECHO_N "(cached) $ECHO_C" >&6
9853 else
9854 eval "$as_ac_Header=\$ac_header_preproc"
9856 ac_res=`eval echo '${'$as_ac_Header'}'`
9857 { echo "$as_me:$LINENO: result: $ac_res" >&5
9858 echo "${ECHO_T}$ac_res" >&6; }
9861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9862 cat >>confdefs.h <<_ACEOF
9863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9864 _ACEOF
9866 for ac_header in audio/soundlib.h
9868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 else
9874 cat >conftest.$ac_ext <<_ACEOF
9875 /* confdefs.h. */
9876 _ACEOF
9877 cat confdefs.h >>conftest.$ac_ext
9878 cat >>conftest.$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
9880 #include <audio/audiolib.h>
9882 #include <$ac_header>
9883 _ACEOF
9884 rm -f conftest.$ac_objext
9885 if { (ac_try="$ac_compile"
9886 case "(($ac_try" in
9887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9888 *) ac_try_echo=$ac_try;;
9889 esac
9890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9891 (eval "$ac_compile") 2>conftest.er1
9892 ac_status=$?
9893 grep -v '^ *+' conftest.er1 >conftest.err
9894 rm -f conftest.er1
9895 cat conftest.err >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } &&
9898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9899 { (case "(($ac_try" in
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9902 esac
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_try") 2>&5
9905 ac_status=$?
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); }; } &&
9908 { ac_try='test -s conftest.$ac_objext'
9909 { (case "(($ac_try" in
9910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9911 *) ac_try_echo=$ac_try;;
9912 esac
9913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9914 (eval "$ac_try") 2>&5
9915 ac_status=$?
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9918 eval "$as_ac_Header=yes"
9919 else
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 eval "$as_ac_Header=no"
9926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9928 ac_res=`eval echo '${'$as_ac_Header'}'`
9929 { echo "$as_me:$LINENO: result: $ac_res" >&5
9930 echo "${ECHO_T}$ac_res" >&6; }
9931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9932 cat >>confdefs.h <<_ACEOF
9933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9934 _ACEOF
9938 done
9940 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9941 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9942 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 else
9945 ac_check_lib_save_LIBS=$LIBS
9946 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9947 cat >conftest.$ac_ext <<_ACEOF
9948 /* confdefs.h. */
9949 _ACEOF
9950 cat confdefs.h >>conftest.$ac_ext
9951 cat >>conftest.$ac_ext <<_ACEOF
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9957 #ifdef __cplusplus
9958 extern "C"
9959 #endif
9960 char AuCreateFlow ();
9962 main ()
9964 return AuCreateFlow ();
9966 return 0;
9968 _ACEOF
9969 rm -f conftest.$ac_objext conftest$ac_exeext
9970 if { (ac_try="$ac_link"
9971 case "(($ac_try" in
9972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9973 *) ac_try_echo=$ac_try;;
9974 esac
9975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9976 (eval "$ac_link") 2>conftest.er1
9977 ac_status=$?
9978 grep -v '^ *+' conftest.er1 >conftest.err
9979 rm -f conftest.er1
9980 cat conftest.err >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9984 { (case "(($ac_try" in
9985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9986 *) ac_try_echo=$ac_try;;
9987 esac
9988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9989 (eval "$ac_try") 2>&5
9990 ac_status=$?
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; } &&
9993 { ac_try='test -s conftest$ac_exeext'
9994 { (case "(($ac_try" in
9995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9996 *) ac_try_echo=$ac_try;;
9997 esac
9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9999 (eval "$ac_try") 2>&5
10000 ac_status=$?
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; }; then
10003 ac_cv_lib_audio_AuCreateFlow=yes
10004 else
10005 echo "$as_me: failed program was:" >&5
10006 sed 's/^/| /' conftest.$ac_ext >&5
10008 ac_cv_lib_audio_AuCreateFlow=no
10011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_lib_save_LIBS
10015 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10016 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10017 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10019 cat >>confdefs.h <<\_ACEOF
10020 #define HAVE_NAS 1
10021 _ACEOF
10023 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10028 done
10031 CPPFLAGS="$ac_save_CPPFLAGS"
10032 XFILES='$(XFILES)'
10033 else
10034 XLIB=""
10035 X_CFLAGS=""
10036 X_LIBS=""
10040 XML2LIBS=""
10042 XML2INCL=""
10044 XSLTLIBS=""
10046 XSLTINCL=""
10048 if test "$PKG_CONFIG" != "false"
10049 then
10050 ac_save_CPPFLAGS="$CPPFLAGS"
10051 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10052 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10053 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10055 for ac_header in libxml/parser.h
10057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 ac_res=`eval echo '${'$as_ac_Header'}'`
10065 { echo "$as_me:$LINENO: result: $ac_res" >&5
10066 echo "${ECHO_T}$ac_res" >&6; }
10067 else
10068 # Is the header compilable?
10069 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10077 $ac_includes_default
10078 #include <$ac_header>
10079 _ACEOF
10080 rm -f conftest.$ac_objext
10081 if { (ac_try="$ac_compile"
10082 case "(($ac_try" in
10083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10084 *) ac_try_echo=$ac_try;;
10085 esac
10086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10087 (eval "$ac_compile") 2>conftest.er1
10088 ac_status=$?
10089 grep -v '^ *+' conftest.er1 >conftest.err
10090 rm -f conftest.er1
10091 cat conftest.err >&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } &&
10094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10095 { (case "(($ac_try" in
10096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10097 *) ac_try_echo=$ac_try;;
10098 esac
10099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10100 (eval "$ac_try") 2>&5
10101 ac_status=$?
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; } &&
10104 { ac_try='test -s conftest.$ac_objext'
10105 { (case "(($ac_try" in
10106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10107 *) ac_try_echo=$ac_try;;
10108 esac
10109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10110 (eval "$ac_try") 2>&5
10111 ac_status=$?
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; }; then
10114 ac_header_compiler=yes
10115 else
10116 echo "$as_me: failed program was:" >&5
10117 sed 's/^/| /' conftest.$ac_ext >&5
10119 ac_header_compiler=no
10122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10123 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10124 echo "${ECHO_T}$ac_header_compiler" >&6; }
10126 # Is the header present?
10127 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10129 cat >conftest.$ac_ext <<_ACEOF
10130 /* confdefs.h. */
10131 _ACEOF
10132 cat confdefs.h >>conftest.$ac_ext
10133 cat >>conftest.$ac_ext <<_ACEOF
10134 /* end confdefs.h. */
10135 #include <$ac_header>
10136 _ACEOF
10137 if { (ac_try="$ac_cpp conftest.$ac_ext"
10138 case "(($ac_try" in
10139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10140 *) ac_try_echo=$ac_try;;
10141 esac
10142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10144 ac_status=$?
10145 grep -v '^ *+' conftest.er1 >conftest.err
10146 rm -f conftest.er1
10147 cat conftest.err >&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } >/dev/null; then
10150 if test -s conftest.err; then
10151 ac_cpp_err=$ac_c_preproc_warn_flag
10152 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10153 else
10154 ac_cpp_err=
10156 else
10157 ac_cpp_err=yes
10159 if test -z "$ac_cpp_err"; then
10160 ac_header_preproc=yes
10161 else
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10165 ac_header_preproc=no
10168 rm -f conftest.err conftest.$ac_ext
10169 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10170 echo "${ECHO_T}$ac_header_preproc" >&6; }
10172 # So? What about this header?
10173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10174 yes:no: )
10175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10179 ac_header_preproc=yes
10181 no:yes:* )
10182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10194 ( cat <<\_ASBOX
10195 ## ------------------------------------ ##
10196 ## Report this to wine-devel@winehq.org ##
10197 ## ------------------------------------ ##
10198 _ASBOX
10199 ) | sed "s/^/$as_me: WARNING: /" >&2
10201 esac
10202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 else
10207 eval "$as_ac_Header=\$ac_header_preproc"
10209 ac_res=`eval echo '${'$as_ac_Header'}'`
10210 { echo "$as_me:$LINENO: result: $ac_res" >&5
10211 echo "${ECHO_T}$ac_res" >&6; }
10214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10215 cat >>confdefs.h <<_ACEOF
10216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10217 _ACEOF
10218 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10219 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10220 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 else
10223 ac_check_lib_save_LIBS=$LIBS
10224 LIBS="-lxml2 $ac_xml_libs $LIBS"
10225 cat >conftest.$ac_ext <<_ACEOF
10226 /* confdefs.h. */
10227 _ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10232 /* Override any GCC internal prototype to avoid an error.
10233 Use char because int might match the return type of a GCC
10234 builtin and then its argument prototype would still apply. */
10235 #ifdef __cplusplus
10236 extern "C"
10237 #endif
10238 char xmlParseMemory ();
10240 main ()
10242 return xmlParseMemory ();
10244 return 0;
10246 _ACEOF
10247 rm -f conftest.$ac_objext conftest$ac_exeext
10248 if { (ac_try="$ac_link"
10249 case "(($ac_try" in
10250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10251 *) ac_try_echo=$ac_try;;
10252 esac
10253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10254 (eval "$ac_link") 2>conftest.er1
10255 ac_status=$?
10256 grep -v '^ *+' conftest.er1 >conftest.err
10257 rm -f conftest.er1
10258 cat conftest.err >&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10262 { (case "(($ac_try" in
10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10265 esac
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_try") 2>&5
10268 ac_status=$?
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 (exit $ac_status); }; } &&
10271 { ac_try='test -s conftest$ac_exeext'
10272 { (case "(($ac_try" in
10273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10274 *) ac_try_echo=$ac_try;;
10275 esac
10276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10277 (eval "$ac_try") 2>&5
10278 ac_status=$?
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 ac_cv_lib_xml2_xmlParseMemory=yes
10282 else
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.$ac_ext >&5
10286 ac_cv_lib_xml2_xmlParseMemory=no
10289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_lib_save_LIBS
10293 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10294 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10295 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10297 cat >>confdefs.h <<\_ACEOF
10298 #define HAVE_LIBXML2 1
10299 _ACEOF
10301 XML2LIBS="$ac_xml_libs"
10302 XML2INCL="$ac_xml_cflags"
10305 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10306 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10307 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else
10310 ac_check_lib_save_LIBS=$LIBS
10311 LIBS="-lxml2 $ac_xml_libs $LIBS"
10312 cat >conftest.$ac_ext <<_ACEOF
10313 /* confdefs.h. */
10314 _ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 char xmlReadMemory ();
10327 main ()
10329 return xmlReadMemory ();
10331 return 0;
10333 _ACEOF
10334 rm -f conftest.$ac_objext conftest$ac_exeext
10335 if { (ac_try="$ac_link"
10336 case "(($ac_try" in
10337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10338 *) ac_try_echo=$ac_try;;
10339 esac
10340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10341 (eval "$ac_link") 2>conftest.er1
10342 ac_status=$?
10343 grep -v '^ *+' conftest.er1 >conftest.err
10344 rm -f conftest.er1
10345 cat conftest.err >&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); } &&
10348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10349 { (case "(($ac_try" in
10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10351 *) ac_try_echo=$ac_try;;
10352 esac
10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354 (eval "$ac_try") 2>&5
10355 ac_status=$?
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; } &&
10358 { ac_try='test -s conftest$ac_exeext'
10359 { (case "(($ac_try" in
10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10361 *) ac_try_echo=$ac_try;;
10362 esac
10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10364 (eval "$ac_try") 2>&5
10365 ac_status=$?
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then
10368 ac_cv_lib_xml2_xmlReadMemory=yes
10369 else
10370 echo "$as_me: failed program was:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10373 ac_cv_lib_xml2_xmlReadMemory=no
10376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10377 conftest$ac_exeext conftest.$ac_ext
10378 LIBS=$ac_check_lib_save_LIBS
10380 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10381 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10382 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10384 cat >>confdefs.h <<\_ACEOF
10385 #define HAVE_XMLREADMEMORY 1
10386 _ACEOF
10393 done
10395 CPPFLAGS="$ac_save_CPPFLAGS"
10396 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10397 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10398 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10401 for ac_header in libxslt/pattern.h libxslt/transform.h
10403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10408 else
10409 cat >conftest.$ac_ext <<_ACEOF
10410 /* confdefs.h. */
10411 _ACEOF
10412 cat confdefs.h >>conftest.$ac_ext
10413 cat >>conftest.$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10415 #ifdef HAVE_LIBXSLT_PATTERN_H
10416 # include <libxslt/pattern.h>
10417 #endif
10419 #include <$ac_header>
10420 _ACEOF
10421 rm -f conftest.$ac_objext
10422 if { (ac_try="$ac_compile"
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_compile") 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_objext'
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 eval "$as_ac_Header=yes"
10456 else
10457 echo "$as_me: failed program was:" >&5
10458 sed 's/^/| /' conftest.$ac_ext >&5
10460 eval "$as_ac_Header=no"
10463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10465 ac_res=`eval echo '${'$as_ac_Header'}'`
10466 { echo "$as_me:$LINENO: result: $ac_res" >&5
10467 echo "${ECHO_T}$ac_res" >&6; }
10468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10469 cat >>confdefs.h <<_ACEOF
10470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10471 _ACEOF
10472 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10473 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10474 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 else
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lxslt $ac_xslt_libs $LIBS"
10479 cat >conftest.$ac_ext <<_ACEOF
10480 /* confdefs.h. */
10481 _ACEOF
10482 cat confdefs.h >>conftest.$ac_ext
10483 cat >>conftest.$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10489 #ifdef __cplusplus
10490 extern "C"
10491 #endif
10492 char xsltCompilePattern ();
10494 main ()
10496 return xsltCompilePattern ();
10498 return 0;
10500 _ACEOF
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (ac_try="$ac_link"
10503 case "(($ac_try" in
10504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10505 *) ac_try_echo=$ac_try;;
10506 esac
10507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10508 (eval "$ac_link") 2>conftest.er1
10509 ac_status=$?
10510 grep -v '^ *+' conftest.er1 >conftest.err
10511 rm -f conftest.er1
10512 cat conftest.err >&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } &&
10515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10516 { (case "(($ac_try" in
10517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10518 *) ac_try_echo=$ac_try;;
10519 esac
10520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10521 (eval "$ac_try") 2>&5
10522 ac_status=$?
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; } &&
10525 { ac_try='test -s conftest$ac_exeext'
10526 { (case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;;
10529 esac
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_try") 2>&5
10532 ac_status=$?
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_cv_lib_xslt_xsltCompilePattern=yes
10536 else
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.$ac_ext >&5
10540 ac_cv_lib_xslt_xsltCompilePattern=no
10543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_lib_save_LIBS
10547 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10548 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10549 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10551 cat >>confdefs.h <<\_ACEOF
10552 #define HAVE_LIBXSLT 1
10553 _ACEOF
10555 XSLTLIBS="$ac_xslt_libs"
10556 XSLTINCL="$ac_xslt_cflags"
10562 done
10564 CPPFLAGS="$ac_save_CPPFLAGS"
10567 HALINCL=""
10569 if test "$PKG_CONFIG" != "false"
10570 then
10571 ac_save_CPPFLAGS="$CPPFLAGS"
10572 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10573 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10574 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10577 for ac_header in dbus/dbus.h hal/libhal.h
10579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10581 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 ac_res=`eval echo '${'$as_ac_Header'}'`
10587 { echo "$as_me:$LINENO: result: $ac_res" >&5
10588 echo "${ECHO_T}$ac_res" >&6; }
10589 else
10590 # Is the header compilable?
10591 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10593 cat >conftest.$ac_ext <<_ACEOF
10594 /* confdefs.h. */
10595 _ACEOF
10596 cat confdefs.h >>conftest.$ac_ext
10597 cat >>conftest.$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10599 $ac_includes_default
10600 #include <$ac_header>
10601 _ACEOF
10602 rm -f conftest.$ac_objext
10603 if { (ac_try="$ac_compile"
10604 case "(($ac_try" in
10605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606 *) ac_try_echo=$ac_try;;
10607 esac
10608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10609 (eval "$ac_compile") 2>conftest.er1
10610 ac_status=$?
10611 grep -v '^ *+' conftest.er1 >conftest.err
10612 rm -f conftest.er1
10613 cat conftest.err >&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10617 { (case "(($ac_try" in
10618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10619 *) ac_try_echo=$ac_try;;
10620 esac
10621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10622 (eval "$ac_try") 2>&5
10623 ac_status=$?
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; } &&
10626 { ac_try='test -s conftest.$ac_objext'
10627 { (case "(($ac_try" in
10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10629 *) ac_try_echo=$ac_try;;
10630 esac
10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10632 (eval "$ac_try") 2>&5
10633 ac_status=$?
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; }; then
10636 ac_header_compiler=yes
10637 else
10638 echo "$as_me: failed program was:" >&5
10639 sed 's/^/| /' conftest.$ac_ext >&5
10641 ac_header_compiler=no
10644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10645 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10646 echo "${ECHO_T}$ac_header_compiler" >&6; }
10648 # Is the header present?
10649 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10651 cat >conftest.$ac_ext <<_ACEOF
10652 /* confdefs.h. */
10653 _ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 #include <$ac_header>
10658 _ACEOF
10659 if { (ac_try="$ac_cpp conftest.$ac_ext"
10660 case "(($ac_try" in
10661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662 *) ac_try_echo=$ac_try;;
10663 esac
10664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10666 ac_status=$?
10667 grep -v '^ *+' conftest.er1 >conftest.err
10668 rm -f conftest.er1
10669 cat conftest.err >&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } >/dev/null; then
10672 if test -s conftest.err; then
10673 ac_cpp_err=$ac_c_preproc_warn_flag
10674 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10675 else
10676 ac_cpp_err=
10678 else
10679 ac_cpp_err=yes
10681 if test -z "$ac_cpp_err"; then
10682 ac_header_preproc=yes
10683 else
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10687 ac_header_preproc=no
10690 rm -f conftest.err conftest.$ac_ext
10691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10692 echo "${ECHO_T}$ac_header_preproc" >&6; }
10694 # So? What about this header?
10695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10696 yes:no: )
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10701 ac_header_preproc=yes
10703 no:yes:* )
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10716 ( cat <<\_ASBOX
10717 ## ------------------------------------ ##
10718 ## Report this to wine-devel@winehq.org ##
10719 ## ------------------------------------ ##
10720 _ASBOX
10721 ) | sed "s/^/$as_me: WARNING: /" >&2
10723 esac
10724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 else
10729 eval "$as_ac_Header=\$ac_header_preproc"
10731 ac_res=`eval echo '${'$as_ac_Header'}'`
10732 { echo "$as_me:$LINENO: result: $ac_res" >&5
10733 echo "${ECHO_T}$ac_res" >&6; }
10736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10737 cat >>confdefs.h <<_ACEOF
10738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10739 _ACEOF
10743 done
10745 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10746 then
10747 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10748 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10749 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752 ac_check_lib_save_LIBS=$LIBS
10753 LIBS="-lhal $LIBS"
10754 cat >conftest.$ac_ext <<_ACEOF
10755 /* confdefs.h. */
10756 _ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10764 #ifdef __cplusplus
10765 extern "C"
10766 #endif
10767 char libhal_ctx_new ();
10769 main ()
10771 return libhal_ctx_new ();
10773 return 0;
10775 _ACEOF
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (ac_try="$ac_link"
10778 case "(($ac_try" in
10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780 *) ac_try_echo=$ac_try;;
10781 esac
10782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10783 (eval "$ac_link") 2>conftest.er1
10784 ac_status=$?
10785 grep -v '^ *+' conftest.er1 >conftest.err
10786 rm -f conftest.er1
10787 cat conftest.err >&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } &&
10790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10791 { (case "(($ac_try" in
10792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10793 *) ac_try_echo=$ac_try;;
10794 esac
10795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10796 (eval "$ac_try") 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try='test -s conftest$ac_exeext'
10801 { (case "(($ac_try" in
10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10803 *) ac_try_echo=$ac_try;;
10804 esac
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_try") 2>&5
10807 ac_status=$?
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 ac_cv_lib_hal_libhal_ctx_new=yes
10811 else
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 ac_cv_lib_hal_libhal_ctx_new=no
10818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_lib_save_LIBS
10822 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10823 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10824 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10825 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10826 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10827 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10832 cat >conftest.$ac_ext <<_ACEOF
10833 /* confdefs.h. */
10834 _ACEOF
10835 cat confdefs.h >>conftest.$ac_ext
10836 cat >>conftest.$ac_ext <<_ACEOF
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char dbus_connection_close ();
10847 main ()
10849 return dbus_connection_close ();
10851 return 0;
10853 _ACEOF
10854 rm -f conftest.$ac_objext conftest$ac_exeext
10855 if { (ac_try="$ac_link"
10856 case "(($ac_try" in
10857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10858 *) ac_try_echo=$ac_try;;
10859 esac
10860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10861 (eval "$ac_link") 2>conftest.er1
10862 ac_status=$?
10863 grep -v '^ *+' conftest.er1 >conftest.err
10864 rm -f conftest.er1
10865 cat conftest.err >&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); } &&
10868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10869 { (case "(($ac_try" in
10870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10871 *) ac_try_echo=$ac_try;;
10872 esac
10873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10874 (eval "$ac_try") 2>&5
10875 ac_status=$?
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; } &&
10878 { ac_try='test -s conftest$ac_exeext'
10879 { (case "(($ac_try" in
10880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10881 *) ac_try_echo=$ac_try;;
10882 esac
10883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10884 (eval "$ac_try") 2>&5
10885 ac_status=$?
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 ac_cv_lib_dbus_1_dbus_connection_close=yes
10889 else
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.$ac_ext >&5
10893 ac_cv_lib_dbus_1_dbus_connection_close=no
10896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10897 conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_lib_save_LIBS
10900 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10901 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10902 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10904 cat >>confdefs.h <<\_ACEOF
10905 #define HAVE_LIBHAL 1
10906 _ACEOF
10908 HALINCL="$ac_hal_cflags"
10914 CPPFLAGS="$ac_save_CPPFLAGS"
10917 CURSESLIBS=""
10918 if test "x$with_curses" != "xno"
10919 then
10920 if test "$ac_cv_header_ncurses_h" = "yes"
10921 then
10922 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10923 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10924 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 else
10927 ac_check_lib_save_LIBS=$LIBS
10928 LIBS="-lncurses $LIBS"
10929 cat >conftest.$ac_ext <<_ACEOF
10930 /* confdefs.h. */
10931 _ACEOF
10932 cat confdefs.h >>conftest.$ac_ext
10933 cat >>conftest.$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char waddch ();
10944 main ()
10946 return waddch ();
10948 return 0;
10950 _ACEOF
10951 rm -f conftest.$ac_objext conftest$ac_exeext
10952 if { (ac_try="$ac_link"
10953 case "(($ac_try" in
10954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10955 *) ac_try_echo=$ac_try;;
10956 esac
10957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10958 (eval "$ac_link") 2>conftest.er1
10959 ac_status=$?
10960 grep -v '^ *+' conftest.er1 >conftest.err
10961 rm -f conftest.er1
10962 cat conftest.err >&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } &&
10965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10975 { ac_try='test -s conftest$ac_exeext'
10976 { (case "(($ac_try" in
10977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10978 *) ac_try_echo=$ac_try;;
10979 esac
10980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10981 (eval "$ac_try") 2>&5
10982 ac_status=$?
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; }; then
10985 ac_cv_lib_ncurses_waddch=yes
10986 else
10987 echo "$as_me: failed program was:" >&5
10988 sed 's/^/| /' conftest.$ac_ext >&5
10990 ac_cv_lib_ncurses_waddch=no
10993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10997 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10998 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10999 if test $ac_cv_lib_ncurses_waddch = yes; then
11001 cat >>confdefs.h <<\_ACEOF
11002 #define HAVE_LIBNCURSES 1
11003 _ACEOF
11005 CURSESLIBS="-lncurses"
11008 elif test "$ac_cv_header_curses_h" = "yes"
11009 then
11010 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11011 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11012 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lcurses $LIBS"
11017 cat >conftest.$ac_ext <<_ACEOF
11018 /* confdefs.h. */
11019 _ACEOF
11020 cat confdefs.h >>conftest.$ac_ext
11021 cat >>conftest.$ac_ext <<_ACEOF
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char waddch ();
11032 main ()
11034 return waddch ();
11036 return 0;
11038 _ACEOF
11039 rm -f conftest.$ac_objext conftest$ac_exeext
11040 if { (ac_try="$ac_link"
11041 case "(($ac_try" in
11042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043 *) ac_try_echo=$ac_try;;
11044 esac
11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 (eval "$ac_link") 2>conftest.er1
11047 ac_status=$?
11048 grep -v '^ *+' conftest.er1 >conftest.err
11049 rm -f conftest.er1
11050 cat conftest.err >&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } &&
11053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11054 { (case "(($ac_try" in
11055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11056 *) ac_try_echo=$ac_try;;
11057 esac
11058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11059 (eval "$ac_try") 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; } &&
11063 { ac_try='test -s conftest$ac_exeext'
11064 { (case "(($ac_try" in
11065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11066 *) ac_try_echo=$ac_try;;
11067 esac
11068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11069 (eval "$ac_try") 2>&5
11070 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11073 ac_cv_lib_curses_waddch=yes
11074 else
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11078 ac_cv_lib_curses_waddch=no
11081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11086 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11087 if test $ac_cv_lib_curses_waddch = yes; then
11089 cat >>confdefs.h <<\_ACEOF
11090 #define HAVE_LIBCURSES 1
11091 _ACEOF
11093 CURSESLIBS="-lcurses"
11097 ac_save_LIBS="$LIBS"
11098 LIBS="$LIBS $CURSESLIBS"
11100 for ac_func in mousemask
11102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 else
11108 cat >conftest.$ac_ext <<_ACEOF
11109 /* confdefs.h. */
11110 _ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11116 #define $ac_func innocuous_$ac_func
11118 /* System header to define __stub macros and hopefully few prototypes,
11119 which can conflict with char $ac_func (); below.
11120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11121 <limits.h> exists even on freestanding compilers. */
11123 #ifdef __STDC__
11124 # include <limits.h>
11125 #else
11126 # include <assert.h>
11127 #endif
11129 #undef $ac_func
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char $ac_func ();
11138 /* The GNU C library defines this for functions which it implements
11139 to always fail with ENOSYS. Some functions are actually named
11140 something starting with __ and the normal name is an alias. */
11141 #if defined __stub_$ac_func || defined __stub___$ac_func
11142 choke me
11143 #endif
11146 main ()
11148 return $ac_func ();
11150 return 0;
11152 _ACEOF
11153 rm -f conftest.$ac_objext conftest$ac_exeext
11154 if { (ac_try="$ac_link"
11155 case "(($ac_try" in
11156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 *) ac_try_echo=$ac_try;;
11158 esac
11159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11160 (eval "$ac_link") 2>conftest.er1
11161 ac_status=$?
11162 grep -v '^ *+' conftest.er1 >conftest.err
11163 rm -f conftest.er1
11164 cat conftest.err >&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); } &&
11167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11168 { (case "(($ac_try" in
11169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11170 *) ac_try_echo=$ac_try;;
11171 esac
11172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11173 (eval "$ac_try") 2>&5
11174 ac_status=$?
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; } &&
11177 { ac_try='test -s conftest$ac_exeext'
11178 { (case "(($ac_try" in
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11181 esac
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_try") 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; }; then
11187 eval "$as_ac_var=yes"
11188 else
11189 echo "$as_me: failed program was:" >&5
11190 sed 's/^/| /' conftest.$ac_ext >&5
11192 eval "$as_ac_var=no"
11195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11196 conftest$ac_exeext conftest.$ac_ext
11198 ac_res=`eval echo '${'$as_ac_var'}'`
11199 { echo "$as_me:$LINENO: result: $ac_res" >&5
11200 echo "${ECHO_T}$ac_res" >&6; }
11201 if test `eval echo '${'$as_ac_var'}'` = yes; then
11202 cat >>confdefs.h <<_ACEOF
11203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11204 _ACEOF
11207 done
11209 LIBS="$ac_save_LIBS"
11213 # Extract the first word of "sane-config", so it can be a program name with args.
11214 set dummy sane-config; ac_word=$2
11215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11217 if test "${ac_cv_prog_sane_devel+set}" = set; then
11218 echo $ECHO_N "(cached) $ECHO_C" >&6
11219 else
11220 if test -n "$sane_devel"; then
11221 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11222 else
11223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11224 for as_dir in $PATH
11226 IFS=$as_save_IFS
11227 test -z "$as_dir" && as_dir=.
11228 for ac_exec_ext in '' $ac_executable_extensions; do
11229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11230 ac_cv_prog_sane_devel="sane-config"
11231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11232 break 2
11234 done
11235 done
11236 IFS=$as_save_IFS
11238 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11241 sane_devel=$ac_cv_prog_sane_devel
11242 if test -n "$sane_devel"; then
11243 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11244 echo "${ECHO_T}$sane_devel" >&6; }
11245 else
11246 { echo "$as_me:$LINENO: result: no" >&5
11247 echo "${ECHO_T}no" >&6; }
11251 SANELIBS=""
11253 SANEINCL=""
11255 if test "$sane_devel" != "no"
11256 then
11257 SANELIBS="`$sane_devel --libs`"
11258 SANEINCL="`$sane_devel --cflags`"
11259 ac_save_CPPFLAGS="$CPPFLAGS"
11260 ac_save_LIBS="$LIBS"
11261 CPPFLAGS="$CPPFLAGS $SANEINCL"
11262 LIBS="$LIBS $SANELIBS"
11263 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11264 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11265 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11266 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11270 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11271 else
11272 # Is the header compilable?
11273 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11274 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11275 cat >conftest.$ac_ext <<_ACEOF
11276 /* confdefs.h. */
11277 _ACEOF
11278 cat confdefs.h >>conftest.$ac_ext
11279 cat >>conftest.$ac_ext <<_ACEOF
11280 /* end confdefs.h. */
11281 $ac_includes_default
11282 #include <sane/sane.h>
11283 _ACEOF
11284 rm -f conftest.$ac_objext
11285 if { (ac_try="$ac_compile"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11289 esac
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_compile") 2>conftest.er1
11292 ac_status=$?
11293 grep -v '^ *+' conftest.er1 >conftest.err
11294 rm -f conftest.er1
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11299 { (case "(($ac_try" in
11300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11301 *) ac_try_echo=$ac_try;;
11302 esac
11303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11304 (eval "$ac_try") 2>&5
11305 ac_status=$?
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); }; } &&
11308 { ac_try='test -s conftest.$ac_objext'
11309 { (case "(($ac_try" in
11310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11311 *) ac_try_echo=$ac_try;;
11312 esac
11313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11314 (eval "$ac_try") 2>&5
11315 ac_status=$?
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 ac_header_compiler=yes
11319 else
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 ac_header_compiler=no
11326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11327 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11328 echo "${ECHO_T}$ac_header_compiler" >&6; }
11330 # Is the header present?
11331 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11332 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11333 cat >conftest.$ac_ext <<_ACEOF
11334 /* confdefs.h. */
11335 _ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339 #include <sane/sane.h>
11340 _ACEOF
11341 if { (ac_try="$ac_cpp conftest.$ac_ext"
11342 case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11345 esac
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11348 ac_status=$?
11349 grep -v '^ *+' conftest.er1 >conftest.err
11350 rm -f conftest.er1
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } >/dev/null; then
11354 if test -s conftest.err; then
11355 ac_cpp_err=$ac_c_preproc_warn_flag
11356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11357 else
11358 ac_cpp_err=
11360 else
11361 ac_cpp_err=yes
11363 if test -z "$ac_cpp_err"; then
11364 ac_header_preproc=yes
11365 else
11366 echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5
11369 ac_header_preproc=no
11372 rm -f conftest.err conftest.$ac_ext
11373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11374 echo "${ECHO_T}$ac_header_preproc" >&6; }
11376 # So? What about this header?
11377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11378 yes:no: )
11379 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11380 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11381 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11382 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11383 ac_header_preproc=yes
11385 no:yes:* )
11386 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11387 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11388 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11389 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11390 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11391 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11392 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11393 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11394 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11395 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11397 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11398 ( cat <<\_ASBOX
11399 ## ------------------------------------ ##
11400 ## Report this to wine-devel@winehq.org ##
11401 ## ------------------------------------ ##
11402 _ASBOX
11403 ) | sed "s/^/$as_me: WARNING: /" >&2
11405 esac
11406 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11407 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11408 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 else
11411 ac_cv_header_sane_sane_h=$ac_header_preproc
11413 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11414 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11417 if test $ac_cv_header_sane_sane_h = yes; then
11418 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11419 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11420 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 else
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-lsane $LIBS"
11425 cat >conftest.$ac_ext <<_ACEOF
11426 /* confdefs.h. */
11427 _ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char sane_open ();
11440 main ()
11442 return sane_open ();
11444 return 0;
11446 _ACEOF
11447 rm -f conftest.$ac_objext conftest$ac_exeext
11448 if { (ac_try="$ac_link"
11449 case "(($ac_try" in
11450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11451 *) ac_try_echo=$ac_try;;
11452 esac
11453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11454 (eval "$ac_link") 2>conftest.er1
11455 ac_status=$?
11456 grep -v '^ *+' conftest.er1 >conftest.err
11457 rm -f conftest.er1
11458 cat conftest.err >&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11462 { (case "(($ac_try" in
11463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11464 *) ac_try_echo=$ac_try;;
11465 esac
11466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11467 (eval "$ac_try") 2>&5
11468 ac_status=$?
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try='test -s conftest$ac_exeext'
11472 { (case "(($ac_try" in
11473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11474 *) ac_try_echo=$ac_try;;
11475 esac
11476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11477 (eval "$ac_try") 2>&5
11478 ac_status=$?
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 ac_cv_lib_sane_sane_open=yes
11482 else
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.$ac_ext >&5
11486 ac_cv_lib_sane_sane_open=no
11489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_lib_save_LIBS
11493 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11494 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11495 if test $ac_cv_lib_sane_sane_open = yes; then
11497 cat >>confdefs.h <<\_ACEOF
11498 #define HAVE_SANE 1
11499 _ACEOF
11501 else
11502 SANELIBS=""
11503 SANEINCL=""
11506 else
11507 SANELIBS=""
11508 SANEINCL=""
11512 LIBS="$ac_save_LIBS"
11513 CPPFLAGS="$ac_save_CPPFLAGS"
11516 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11517 set dummy gphoto2-config; ac_word=$2
11518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11520 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 else
11523 if test -n "$gphoto2_devel"; then
11524 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11525 else
11526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11527 for as_dir in $PATH
11529 IFS=$as_save_IFS
11530 test -z "$as_dir" && as_dir=.
11531 for ac_exec_ext in '' $ac_executable_extensions; do
11532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11533 ac_cv_prog_gphoto2_devel="gphoto2-config"
11534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11535 break 2
11537 done
11538 done
11539 IFS=$as_save_IFS
11541 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11544 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11545 if test -n "$gphoto2_devel"; then
11546 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11547 echo "${ECHO_T}$gphoto2_devel" >&6; }
11548 else
11549 { echo "$as_me:$LINENO: result: no" >&5
11550 echo "${ECHO_T}no" >&6; }
11554 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11555 set dummy gphoto2-port-config; ac_word=$2
11556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11558 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 else
11561 if test -n "$gphoto2port_devel"; then
11562 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11563 else
11564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11565 for as_dir in $PATH
11567 IFS=$as_save_IFS
11568 test -z "$as_dir" && as_dir=.
11569 for ac_exec_ext in '' $ac_executable_extensions; do
11570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11571 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11573 break 2
11575 done
11576 done
11577 IFS=$as_save_IFS
11579 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11582 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11583 if test -n "$gphoto2port_devel"; then
11584 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11585 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11586 else
11587 { echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6; }
11592 GPHOTO2LIBS=""
11594 GPHOTO2INCL=""
11596 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11597 then
11598 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11599 GPHOTO2LIBS=""
11600 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11602 case "$i" in
11603 -L/usr/lib|-L/usr/lib64) ;;
11604 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11605 esac
11606 done
11607 ac_save_CPPFLAGS="$CPPFLAGS"
11608 ac_save_LIBS="$LIBS"
11609 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11610 LIBS="$LIBS $GPHOTO2LIBS"
11611 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11612 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11613 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11614 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11618 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11619 else
11620 # Is the header compilable?
11621 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11622 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11623 cat >conftest.$ac_ext <<_ACEOF
11624 /* confdefs.h. */
11625 _ACEOF
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11629 $ac_includes_default
11630 #include <gphoto2-camera.h>
11631 _ACEOF
11632 rm -f conftest.$ac_objext
11633 if { (ac_try="$ac_compile"
11634 case "(($ac_try" in
11635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11636 *) ac_try_echo=$ac_try;;
11637 esac
11638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11639 (eval "$ac_compile") 2>conftest.er1
11640 ac_status=$?
11641 grep -v '^ *+' conftest.er1 >conftest.err
11642 rm -f conftest.er1
11643 cat conftest.err >&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } &&
11646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11647 { (case "(($ac_try" in
11648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11649 *) ac_try_echo=$ac_try;;
11650 esac
11651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11652 (eval "$ac_try") 2>&5
11653 ac_status=$?
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try='test -s conftest.$ac_objext'
11657 { (case "(($ac_try" in
11658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11659 *) ac_try_echo=$ac_try;;
11660 esac
11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11662 (eval "$ac_try") 2>&5
11663 ac_status=$?
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 ac_header_compiler=yes
11667 else
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.$ac_ext >&5
11671 ac_header_compiler=no
11674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11675 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11676 echo "${ECHO_T}$ac_header_compiler" >&6; }
11678 # Is the header present?
11679 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11680 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11681 cat >conftest.$ac_ext <<_ACEOF
11682 /* confdefs.h. */
11683 _ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 #include <gphoto2-camera.h>
11688 _ACEOF
11689 if { (ac_try="$ac_cpp conftest.$ac_ext"
11690 case "(($ac_try" in
11691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11692 *) ac_try_echo=$ac_try;;
11693 esac
11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11696 ac_status=$?
11697 grep -v '^ *+' conftest.er1 >conftest.err
11698 rm -f conftest.er1
11699 cat conftest.err >&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); } >/dev/null; then
11702 if test -s conftest.err; then
11703 ac_cpp_err=$ac_c_preproc_warn_flag
11704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11705 else
11706 ac_cpp_err=
11708 else
11709 ac_cpp_err=yes
11711 if test -z "$ac_cpp_err"; then
11712 ac_header_preproc=yes
11713 else
11714 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.$ac_ext >&5
11717 ac_header_preproc=no
11720 rm -f conftest.err conftest.$ac_ext
11721 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11722 echo "${ECHO_T}$ac_header_preproc" >&6; }
11724 # So? What about this header?
11725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11726 yes:no: )
11727 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11728 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11729 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11730 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11731 ac_header_preproc=yes
11733 no:yes:* )
11734 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11735 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11737 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11739 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11741 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11743 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11745 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11746 ( cat <<\_ASBOX
11747 ## ------------------------------------ ##
11748 ## Report this to wine-devel@winehq.org ##
11749 ## ------------------------------------ ##
11750 _ASBOX
11751 ) | sed "s/^/$as_me: WARNING: /" >&2
11753 esac
11754 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11755 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11756 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 else
11759 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11761 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11762 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11765 if test $ac_cv_header_gphoto2_camera_h = yes; then
11766 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11767 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11768 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11770 else
11771 ac_check_lib_save_LIBS=$LIBS
11772 LIBS="-lgphoto2 $LIBS"
11773 cat >conftest.$ac_ext <<_ACEOF
11774 /* confdefs.h. */
11775 _ACEOF
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11783 #ifdef __cplusplus
11784 extern "C"
11785 #endif
11786 char gp_camera_new ();
11788 main ()
11790 return gp_camera_new ();
11792 return 0;
11794 _ACEOF
11795 rm -f conftest.$ac_objext conftest$ac_exeext
11796 if { (ac_try="$ac_link"
11797 case "(($ac_try" in
11798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799 *) ac_try_echo=$ac_try;;
11800 esac
11801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11802 (eval "$ac_link") 2>conftest.er1
11803 ac_status=$?
11804 grep -v '^ *+' conftest.er1 >conftest.err
11805 rm -f conftest.er1
11806 cat conftest.err >&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); } &&
11809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11810 { (case "(($ac_try" in
11811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11812 *) ac_try_echo=$ac_try;;
11813 esac
11814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11815 (eval "$ac_try") 2>&5
11816 ac_status=$?
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; } &&
11819 { ac_try='test -s conftest$ac_exeext'
11820 { (case "(($ac_try" in
11821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11822 *) ac_try_echo=$ac_try;;
11823 esac
11824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11825 (eval "$ac_try") 2>&5
11826 ac_status=$?
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; }; then
11829 ac_cv_lib_gphoto2_gp_camera_new=yes
11830 else
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 ac_cv_lib_gphoto2_gp_camera_new=no
11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11841 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11842 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11843 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11845 cat >>confdefs.h <<\_ACEOF
11846 #define HAVE_GPHOTO2 1
11847 _ACEOF
11849 else
11850 GPHOTO2LIBS=""
11851 GPHOTO2INCL=""
11854 else
11855 GPHOTO2LIBS=""
11856 GPHOTO2INCL=""
11860 LIBS="$ac_save_LIBS"
11861 CPPFLAGS="$ac_save_CPPFLAGS"
11864 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11865 then
11866 saved_libs="$LIBS"
11867 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11869 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11870 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11871 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11872 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11873 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11874 cat >conftest.$ac_ext <<_ACEOF
11875 /* confdefs.h. */
11876 _ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #include <unicode/ubidi.h>
11882 main ()
11884 ubidi_open()
11886 return 0;
11888 _ACEOF
11889 rm -f conftest.$ac_objext conftest$ac_exeext
11890 if { (ac_try="$ac_link"
11891 case "(($ac_try" in
11892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11893 *) ac_try_echo=$ac_try;;
11894 esac
11895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11896 (eval "$ac_link") 2>conftest.er1
11897 ac_status=$?
11898 grep -v '^ *+' conftest.er1 >conftest.err
11899 rm -f conftest.er1
11900 cat conftest.err >&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } &&
11903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11904 { (case "(($ac_try" in
11905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11906 *) ac_try_echo=$ac_try;;
11907 esac
11908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11909 (eval "$ac_try") 2>&5
11910 ac_status=$?
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; } &&
11913 { ac_try='test -s conftest$ac_exeext'
11914 { (case "(($ac_try" in
11915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11916 *) ac_try_echo=$ac_try;;
11917 esac
11918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11919 (eval "$ac_try") 2>&5
11920 ac_status=$?
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11924 cat >>confdefs.h <<\_ACEOF
11925 #define HAVE_ICU 1
11926 _ACEOF
11928 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11930 { echo "$as_me:$LINENO: result: yes" >&5
11931 echo "${ECHO_T}yes" >&6; }
11932 else
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 { echo "$as_me:$LINENO: result: no" >&5
11937 echo "${ECHO_T}no" >&6; }
11940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11941 conftest$ac_exeext conftest.$ac_ext
11942 done
11943 LIBS="$saved_libs"
11946 RESOLVLIBS=""
11948 if test "$ac_cv_header_resolv_h" = "yes"
11949 then
11950 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11951 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11952 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 else
11955 ac_check_lib_save_LIBS=$LIBS
11956 LIBS="-lresolv $LIBS"
11957 cat >conftest.$ac_ext <<_ACEOF
11958 /* confdefs.h. */
11959 _ACEOF
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11964 /* Override any GCC internal prototype to avoid an error.
11965 Use char because int might match the return type of a GCC
11966 builtin and then its argument prototype would still apply. */
11967 #ifdef __cplusplus
11968 extern "C"
11969 #endif
11970 char res_query ();
11972 main ()
11974 return res_query ();
11976 return 0;
11978 _ACEOF
11979 rm -f conftest.$ac_objext conftest$ac_exeext
11980 if { (ac_try="$ac_link"
11981 case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11984 esac
11985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_link") 2>conftest.er1
11987 ac_status=$?
11988 grep -v '^ *+' conftest.er1 >conftest.err
11989 rm -f conftest.er1
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } &&
11993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11994 { (case "(($ac_try" in
11995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11996 *) ac_try_echo=$ac_try;;
11997 esac
11998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11999 (eval "$ac_try") 2>&5
12000 ac_status=$?
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; } &&
12003 { ac_try='test -s conftest$ac_exeext'
12004 { (case "(($ac_try" in
12005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12006 *) ac_try_echo=$ac_try;;
12007 esac
12008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12009 (eval "$ac_try") 2>&5
12010 ac_status=$?
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12013 ac_cv_lib_resolv_res_query=yes
12014 else
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_lib_resolv_res_query=no
12021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12026 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12027 if test $ac_cv_lib_resolv_res_query = yes; then
12029 cat >>confdefs.h <<\_ACEOF
12030 #define HAVE_RESOLV 1
12031 _ACEOF
12033 RESOLVLIBS="-lresolv"
12038 LCMSLIBS=""
12040 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12041 then
12042 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12043 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12044 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 else
12047 ac_check_lib_save_LIBS=$LIBS
12048 LIBS="-llcms $LIBS"
12049 cat >conftest.$ac_ext <<_ACEOF
12050 /* confdefs.h. */
12051 _ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char cmsOpenProfileFromFile ();
12064 main ()
12066 return cmsOpenProfileFromFile ();
12068 return 0;
12070 _ACEOF
12071 rm -f conftest.$ac_objext conftest$ac_exeext
12072 if { (ac_try="$ac_link"
12073 case "(($ac_try" in
12074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12075 *) ac_try_echo=$ac_try;;
12076 esac
12077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12078 (eval "$ac_link") 2>conftest.er1
12079 ac_status=$?
12080 grep -v '^ *+' conftest.er1 >conftest.err
12081 rm -f conftest.er1
12082 cat conftest.err >&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } &&
12085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12086 { (case "(($ac_try" in
12087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12088 *) ac_try_echo=$ac_try;;
12089 esac
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_try") 2>&5
12092 ac_status=$?
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; } &&
12095 { ac_try='test -s conftest$ac_exeext'
12096 { (case "(($ac_try" in
12097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12098 *) ac_try_echo=$ac_try;;
12099 esac
12100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101 (eval "$ac_try") 2>&5
12102 ac_status=$?
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; }; then
12105 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12106 else
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.$ac_ext >&5
12110 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12118 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12119 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12121 cat >>confdefs.h <<\_ACEOF
12122 #define HAVE_LCMS 1
12123 _ACEOF
12125 LCMSLIBS="-llcms"
12130 LDAPLIBS=""
12132 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12133 then
12134 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12135 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12136 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12137 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 else
12139 ac_check_lib_save_LIBS=$LIBS
12140 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12141 cat >conftest.$ac_ext <<_ACEOF
12142 /* confdefs.h. */
12143 _ACEOF
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char ldap_initialize ();
12156 main ()
12158 return ldap_initialize ();
12160 return 0;
12162 _ACEOF
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (ac_try="$ac_link"
12165 case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12168 esac
12169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_link") 2>conftest.er1
12171 ac_status=$?
12172 grep -v '^ *+' conftest.er1 >conftest.err
12173 rm -f conftest.er1
12174 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12178 { (case "(($ac_try" in
12179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12180 *) ac_try_echo=$ac_try;;
12181 esac
12182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12183 (eval "$ac_try") 2>&5
12184 ac_status=$?
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); }; } &&
12187 { ac_try='test -s conftest$ac_exeext'
12188 { (case "(($ac_try" in
12189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12190 *) ac_try_echo=$ac_try;;
12191 esac
12192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12193 (eval "$ac_try") 2>&5
12194 ac_status=$?
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; }; then
12197 ac_cv_lib_ldap_r_ldap_initialize=yes
12198 else
12199 echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.$ac_ext >&5
12202 ac_cv_lib_ldap_r_ldap_initialize=no
12205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12206 conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_lib_save_LIBS
12209 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12210 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12211 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12212 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12213 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12214 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 else
12217 ac_check_lib_save_LIBS=$LIBS
12218 LIBS="-llber $LIBPTHREAD $LIBS"
12219 cat >conftest.$ac_ext <<_ACEOF
12220 /* confdefs.h. */
12221 _ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char ber_init ();
12234 main ()
12236 return ber_init ();
12238 return 0;
12240 _ACEOF
12241 rm -f conftest.$ac_objext conftest$ac_exeext
12242 if { (ac_try="$ac_link"
12243 case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12246 esac
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>conftest.er1
12249 ac_status=$?
12250 grep -v '^ *+' conftest.er1 >conftest.err
12251 rm -f conftest.er1
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } &&
12255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12256 { (case "(($ac_try" in
12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12259 esac
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_try") 2>&5
12262 ac_status=$?
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest$ac_exeext'
12266 { (case "(($ac_try" in
12267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12268 *) ac_try_echo=$ac_try;;
12269 esac
12270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12271 (eval "$ac_try") 2>&5
12272 ac_status=$?
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12275 ac_cv_lib_lber_ber_init=yes
12276 else
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.$ac_ext >&5
12280 ac_cv_lib_lber_ber_init=no
12283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_lib_save_LIBS
12287 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12288 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12289 if test $ac_cv_lib_lber_ber_init = yes; then
12291 cat >>confdefs.h <<\_ACEOF
12292 #define HAVE_LDAP 1
12293 _ACEOF
12295 LDAPLIBS="-lldap_r -llber"
12300 ac_wine_check_funcs_save_LIBS="$LIBS"
12301 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12306 for ac_func in \
12307 ldap_count_references \
12308 ldap_first_reference \
12309 ldap_next_reference \
12310 ldap_parse_reference
12312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12313 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12315 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 else
12318 cat >conftest.$ac_ext <<_ACEOF
12319 /* confdefs.h. */
12320 _ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12326 #define $ac_func innocuous_$ac_func
12328 /* System header to define __stub macros and hopefully few prototypes,
12329 which can conflict with char $ac_func (); below.
12330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12331 <limits.h> exists even on freestanding compilers. */
12333 #ifdef __STDC__
12334 # include <limits.h>
12335 #else
12336 # include <assert.h>
12337 #endif
12339 #undef $ac_func
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char $ac_func ();
12348 /* The GNU C library defines this for functions which it implements
12349 to always fail with ENOSYS. Some functions are actually named
12350 something starting with __ and the normal name is an alias. */
12351 #if defined __stub_$ac_func || defined __stub___$ac_func
12352 choke me
12353 #endif
12356 main ()
12358 return $ac_func ();
12360 return 0;
12362 _ACEOF
12363 rm -f conftest.$ac_objext conftest$ac_exeext
12364 if { (ac_try="$ac_link"
12365 case "(($ac_try" in
12366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12367 *) ac_try_echo=$ac_try;;
12368 esac
12369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12370 (eval "$ac_link") 2>conftest.er1
12371 ac_status=$?
12372 grep -v '^ *+' conftest.er1 >conftest.err
12373 rm -f conftest.er1
12374 cat conftest.err >&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); } &&
12377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12378 { (case "(($ac_try" in
12379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12380 *) ac_try_echo=$ac_try;;
12381 esac
12382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12383 (eval "$ac_try") 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try='test -s conftest$ac_exeext'
12388 { (case "(($ac_try" in
12389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12390 *) ac_try_echo=$ac_try;;
12391 esac
12392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12393 (eval "$ac_try") 2>&5
12394 ac_status=$?
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 eval "$as_ac_var=yes"
12398 else
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.$ac_ext >&5
12402 eval "$as_ac_var=no"
12405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 conftest$ac_exeext conftest.$ac_ext
12408 ac_res=`eval echo '${'$as_ac_var'}'`
12409 { echo "$as_me:$LINENO: result: $ac_res" >&5
12410 echo "${ECHO_T}$ac_res" >&6; }
12411 if test `eval echo '${'$as_ac_var'}'` = yes; then
12412 cat >>confdefs.h <<_ACEOF
12413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12414 _ACEOF
12417 done
12419 LIBS="$ac_wine_check_funcs_save_LIBS"
12422 FREETYPELIBS=""
12424 FREETYPEINCL=""
12426 # Extract the first word of "freetype-config", so it can be a program name with args.
12427 set dummy freetype-config; ac_word=$2
12428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12430 if test "${ac_cv_prog_ft_devel+set}" = set; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 else
12433 if test -n "$ft_devel"; then
12434 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12435 else
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12439 IFS=$as_save_IFS
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12443 ac_cv_prog_ft_devel="freetype-config"
12444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12445 break 2
12447 done
12448 done
12449 IFS=$as_save_IFS
12451 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12454 ft_devel=$ac_cv_prog_ft_devel
12455 if test -n "$ft_devel"; then
12456 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12457 echo "${ECHO_T}$ft_devel" >&6; }
12458 else
12459 { echo "$as_me:$LINENO: result: no" >&5
12460 echo "${ECHO_T}no" >&6; }
12464 if test "$ft_devel" = "no"
12465 then
12466 # Extract the first word of "freetype2-config", so it can be a program name with args.
12467 set dummy freetype2-config; ac_word=$2
12468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12470 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 else
12473 if test -n "$ft_devel2"; then
12474 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12475 else
12476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12477 for as_dir in $PATH
12479 IFS=$as_save_IFS
12480 test -z "$as_dir" && as_dir=.
12481 for ac_exec_ext in '' $ac_executable_extensions; do
12482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12483 ac_cv_prog_ft_devel2="freetype2-config"
12484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12485 break 2
12487 done
12488 done
12489 IFS=$as_save_IFS
12491 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12494 ft_devel2=$ac_cv_prog_ft_devel2
12495 if test -n "$ft_devel2"; then
12496 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12497 echo "${ECHO_T}$ft_devel2" >&6; }
12498 else
12499 { echo "$as_me:$LINENO: result: no" >&5
12500 echo "${ECHO_T}no" >&6; }
12504 if test "$ft_devel2" = "freetype2-config"
12505 then
12506 ft_devel=$ft_devel2
12510 if test "$ft_devel" = "no"
12511 then
12512 wine_cv_msg_freetype=yes
12513 else
12514 FREETYPELIBS=`$ft_devel --libs`
12515 FREETYPEINCL=`$ft_devel --cflags`
12516 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12517 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12518 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 else
12521 ac_check_lib_save_LIBS=$LIBS
12522 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12523 cat >conftest.$ac_ext <<_ACEOF
12524 /* confdefs.h. */
12525 _ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12533 #ifdef __cplusplus
12534 extern "C"
12535 #endif
12536 char FT_Init_FreeType ();
12538 main ()
12540 return FT_Init_FreeType ();
12542 return 0;
12544 _ACEOF
12545 rm -f conftest.$ac_objext conftest$ac_exeext
12546 if { (ac_try="$ac_link"
12547 case "(($ac_try" in
12548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12549 *) ac_try_echo=$ac_try;;
12550 esac
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_link") 2>conftest.er1
12553 ac_status=$?
12554 grep -v '^ *+' conftest.er1 >conftest.err
12555 rm -f conftest.er1
12556 cat conftest.err >&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12560 { (case "(($ac_try" in
12561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12562 *) ac_try_echo=$ac_try;;
12563 esac
12564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12565 (eval "$ac_try") 2>&5
12566 ac_status=$?
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); }; } &&
12569 { ac_try='test -s conftest$ac_exeext'
12570 { (case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12573 esac
12574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_try") 2>&5
12576 ac_status=$?
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 ac_cv_lib_freetype_FT_Init_FreeType=yes
12580 else
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 ac_cv_lib_freetype_FT_Init_FreeType=no
12587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12588 conftest$ac_exeext conftest.$ac_ext
12589 LIBS=$ac_check_lib_save_LIBS
12591 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12592 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12593 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12594 ft_lib=yes
12595 else
12596 ft_lib=no
12599 if test "$ft_lib" = "no"
12600 then
12601 wine_cv_msg_freetype=yes
12602 FREETYPELIBS=""
12603 FREETYPEINCL=""
12604 else
12605 ac_save_CPPFLAGS="$CPPFLAGS"
12606 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12618 for ac_header in ft2build.h \
12619 freetype/freetype.h \
12620 freetype/ftglyph.h \
12621 freetype/tttables.h \
12622 freetype/ftnames.h \
12623 freetype/ftsnames.h \
12624 freetype/ttnameid.h \
12625 freetype/ftoutln.h \
12626 freetype/ftwinfnt.h \
12627 freetype/ftmodapi.h \
12628 freetype/internal/sfnt.h
12630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636 cat >conftest.$ac_ext <<_ACEOF
12637 /* confdefs.h. */
12638 _ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642 #if HAVE_FT2BUILD_H
12643 #include <ft2build.h>
12644 #endif
12646 #include <$ac_header>
12647 _ACEOF
12648 rm -f conftest.$ac_objext
12649 if { (ac_try="$ac_compile"
12650 case "(($ac_try" in
12651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652 *) ac_try_echo=$ac_try;;
12653 esac
12654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12655 (eval "$ac_compile") 2>conftest.er1
12656 ac_status=$?
12657 grep -v '^ *+' conftest.er1 >conftest.err
12658 rm -f conftest.er1
12659 cat conftest.err >&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } &&
12662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12663 { (case "(($ac_try" in
12664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 *) ac_try_echo=$ac_try;;
12666 esac
12667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 (eval "$ac_try") 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try='test -s conftest.$ac_objext'
12673 { (case "(($ac_try" in
12674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12675 *) ac_try_echo=$ac_try;;
12676 esac
12677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12678 (eval "$ac_try") 2>&5
12679 ac_status=$?
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 eval "$as_ac_Header=yes"
12683 else
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.$ac_ext >&5
12687 eval "$as_ac_Header=no"
12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12692 ac_res=`eval echo '${'$as_ac_Header'}'`
12693 { echo "$as_me:$LINENO: result: $ac_res" >&5
12694 echo "${ECHO_T}$ac_res" >&6; }
12695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12696 cat >>confdefs.h <<_ACEOF
12697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12698 _ACEOF
12702 done
12704 cat >conftest.$ac_ext <<_ACEOF
12705 /* confdefs.h. */
12706 _ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 #include <ft2build.h>
12711 #include <freetype/fttrigon.h>
12712 _ACEOF
12713 if { (ac_try="$ac_cpp conftest.$ac_ext"
12714 case "(($ac_try" in
12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12717 esac
12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12720 ac_status=$?
12721 grep -v '^ *+' conftest.er1 >conftest.err
12722 rm -f conftest.er1
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } >/dev/null; then
12726 if test -s conftest.err; then
12727 ac_cpp_err=$ac_c_preproc_warn_flag
12728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12729 else
12730 ac_cpp_err=
12732 else
12733 ac_cpp_err=yes
12735 if test -z "$ac_cpp_err"; then
12737 cat >>confdefs.h <<\_ACEOF
12738 #define HAVE_FREETYPE_FTTRIGON_H 1
12739 _ACEOF
12741 wine_cv_fttrigon=yes
12742 else
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.$ac_ext >&5
12746 wine_cv_fttrigon=no
12749 rm -f conftest.err conftest.$ac_ext
12750 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12751 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12752 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755 cat >conftest.$ac_ext <<_ACEOF
12756 /* confdefs.h. */
12757 _ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 #include <freetype/ftmodapi.h>
12763 typedef FT_TrueTypeEngineType ac__type_new_;
12765 main ()
12767 if ((ac__type_new_ *) 0)
12768 return 0;
12769 if (sizeof (ac__type_new_))
12770 return 0;
12772 return 0;
12774 _ACEOF
12775 rm -f conftest.$ac_objext
12776 if { (ac_try="$ac_compile"
12777 case "(($ac_try" in
12778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12779 *) ac_try_echo=$ac_try;;
12780 esac
12781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12782 (eval "$ac_compile") 2>conftest.er1
12783 ac_status=$?
12784 grep -v '^ *+' conftest.er1 >conftest.err
12785 rm -f conftest.er1
12786 cat conftest.err >&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12790 { (case "(($ac_try" in
12791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12792 *) ac_try_echo=$ac_try;;
12793 esac
12794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12795 (eval "$ac_try") 2>&5
12796 ac_status=$?
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; } &&
12799 { ac_try='test -s conftest.$ac_objext'
12800 { (case "(($ac_try" in
12801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12802 *) ac_try_echo=$ac_try;;
12803 esac
12804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12805 (eval "$ac_try") 2>&5
12806 ac_status=$?
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 ac_cv_type_FT_TrueTypeEngineType=yes
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12814 ac_cv_type_FT_TrueTypeEngineType=no
12817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12819 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12820 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12821 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12823 cat >>confdefs.h <<_ACEOF
12824 #define HAVE_FT_TRUETYPEENGINETYPE 1
12825 _ACEOF
12830 ac_save_CFLAGS="$CFLAGS"
12831 CFLAGS="$CFLAGS $FREETYPELIBS"
12833 for ac_func in FT_Load_Sfnt_Table
12835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 else
12841 cat >conftest.$ac_ext <<_ACEOF
12842 /* confdefs.h. */
12843 _ACEOF
12844 cat confdefs.h >>conftest.$ac_ext
12845 cat >>conftest.$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12849 #define $ac_func innocuous_$ac_func
12851 /* System header to define __stub macros and hopefully few prototypes,
12852 which can conflict with char $ac_func (); below.
12853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12854 <limits.h> exists even on freestanding compilers. */
12856 #ifdef __STDC__
12857 # include <limits.h>
12858 #else
12859 # include <assert.h>
12860 #endif
12862 #undef $ac_func
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char $ac_func ();
12871 /* The GNU C library defines this for functions which it implements
12872 to always fail with ENOSYS. Some functions are actually named
12873 something starting with __ and the normal name is an alias. */
12874 #if defined __stub_$ac_func || defined __stub___$ac_func
12875 choke me
12876 #endif
12879 main ()
12881 return $ac_func ();
12883 return 0;
12885 _ACEOF
12886 rm -f conftest.$ac_objext conftest$ac_exeext
12887 if { (ac_try="$ac_link"
12888 case "(($ac_try" in
12889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12890 *) ac_try_echo=$ac_try;;
12891 esac
12892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12893 (eval "$ac_link") 2>conftest.er1
12894 ac_status=$?
12895 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12901 { (case "(($ac_try" in
12902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12903 *) ac_try_echo=$ac_try;;
12904 esac
12905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12906 (eval "$ac_try") 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest$ac_exeext'
12911 { (case "(($ac_try" in
12912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12913 *) ac_try_echo=$ac_try;;
12914 esac
12915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12916 (eval "$ac_try") 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; }; then
12920 eval "$as_ac_var=yes"
12921 else
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 eval "$as_ac_var=no"
12928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12929 conftest$ac_exeext conftest.$ac_ext
12931 ac_res=`eval echo '${'$as_ac_var'}'`
12932 { echo "$as_me:$LINENO: result: $ac_res" >&5
12933 echo "${ECHO_T}$ac_res" >&6; }
12934 if test `eval echo '${'$as_ac_var'}'` = yes; then
12935 cat >>confdefs.h <<_ACEOF
12936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12937 _ACEOF
12940 done
12942 CFLAGS="$ac_save_CFLAGS"
12943 CPPFLAGS="$ac_save_CPPFLAGS"
12944 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12945 then
12947 cat >>confdefs.h <<\_ACEOF
12948 #define HAVE_FREETYPE 1
12949 _ACEOF
12951 wine_cv_msg_freetype=no
12952 else
12953 FREETYPELIBS=""
12954 FREETYPEINCL=""
12955 wine_cv_msg_freetype=yes
12960 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12961 then
12962 FONTSSUBDIRS="fonts"
12966 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12967 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12968 if test "${ac_cv_c_ppdev+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 else
12971 cat >conftest.$ac_ext <<_ACEOF
12972 /* confdefs.h. */
12973 _ACEOF
12974 cat confdefs.h >>conftest.$ac_ext
12975 cat >>conftest.$ac_ext <<_ACEOF
12976 /* end confdefs.h. */
12977 #include <linux/ppdev.h>
12979 main ()
12981 ioctl (1,PPCLAIM,0)
12983 return 0;
12985 _ACEOF
12986 rm -f conftest.$ac_objext
12987 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
12994 ac_status=$?
12995 grep -v '^ *+' conftest.er1 >conftest.err
12996 rm -f conftest.er1
12997 cat conftest.err >&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } &&
13000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13001 { (case "(($ac_try" in
13002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13003 *) ac_try_echo=$ac_try;;
13004 esac
13005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13006 (eval "$ac_try") 2>&5
13007 ac_status=$?
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try='test -s conftest.$ac_objext'
13011 { (case "(($ac_try" in
13012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13013 *) ac_try_echo=$ac_try;;
13014 esac
13015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13016 (eval "$ac_try") 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 ac_cv_c_ppdev="yes"
13021 else
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13025 ac_cv_c_ppdev="no"
13028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13031 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13032 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13033 if test "$ac_cv_c_ppdev" = "yes"
13034 then
13036 cat >>confdefs.h <<\_ACEOF
13037 #define HAVE_PPDEV 1
13038 _ACEOF
13042 { echo "$as_me:$LINENO: checking for va_copy" >&5
13043 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13044 if test "${ac_cv_c_va_copy+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 else
13047 cat >conftest.$ac_ext <<_ACEOF
13048 /* confdefs.h. */
13049 _ACEOF
13050 cat confdefs.h >>conftest.$ac_ext
13051 cat >>conftest.$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13053 #include <stdarg.h>
13055 main ()
13057 va_list ap1, ap2;
13058 va_copy(ap1,ap2);
13061 return 0;
13063 _ACEOF
13064 rm -f conftest.$ac_objext conftest$ac_exeext
13065 if { (ac_try="$ac_link"
13066 case "(($ac_try" in
13067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13068 *) ac_try_echo=$ac_try;;
13069 esac
13070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_link") 2>conftest.er1
13072 ac_status=$?
13073 grep -v '^ *+' conftest.er1 >conftest.err
13074 rm -f conftest.er1
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13079 { (case "(($ac_try" in
13080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13081 *) ac_try_echo=$ac_try;;
13082 esac
13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 (eval "$ac_try") 2>&5
13085 ac_status=$?
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; } &&
13088 { ac_try='test -s conftest$ac_exeext'
13089 { (case "(($ac_try" in
13090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13091 *) ac_try_echo=$ac_try;;
13092 esac
13093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13094 (eval "$ac_try") 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 ac_cv_c_va_copy="yes"
13099 else
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.$ac_ext >&5
13103 ac_cv_c_va_copy="no"
13106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13107 conftest$ac_exeext conftest.$ac_ext
13110 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13111 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13112 if test "$ac_cv_c_va_copy" = "yes"
13113 then
13115 cat >>confdefs.h <<\_ACEOF
13116 #define HAVE_VA_COPY 1
13117 _ACEOF
13120 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13121 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13122 if test "${ac_cv_c___va_copy+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13125 cat >conftest.$ac_ext <<_ACEOF
13126 /* confdefs.h. */
13127 _ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <stdarg.h>
13133 main ()
13135 va_list ap1, ap2;
13136 __va_copy(ap1,ap2);
13139 return 0;
13141 _ACEOF
13142 rm -f conftest.$ac_objext conftest$ac_exeext
13143 if { (ac_try="$ac_link"
13144 case "(($ac_try" in
13145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13146 *) ac_try_echo=$ac_try;;
13147 esac
13148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13149 (eval "$ac_link") 2>conftest.er1
13150 ac_status=$?
13151 grep -v '^ *+' conftest.er1 >conftest.err
13152 rm -f conftest.er1
13153 cat conftest.err >&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13157 { (case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13160 esac
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_try") 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; } &&
13166 { ac_try='test -s conftest$ac_exeext'
13167 { (case "(($ac_try" in
13168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13169 *) ac_try_echo=$ac_try;;
13170 esac
13171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13172 (eval "$ac_try") 2>&5
13173 ac_status=$?
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; }; then
13176 ac_cv_c___va_copy="yes"
13177 else
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.$ac_ext >&5
13181 ac_cv_c___va_copy="no"
13184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13185 conftest$ac_exeext conftest.$ac_ext
13188 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13189 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13190 if test "$ac_cv_c___va_copy" = "yes"
13191 then
13193 cat >>confdefs.h <<\_ACEOF
13194 #define HAVE___VA_COPY 1
13195 _ACEOF
13199 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13200 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13201 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13203 else
13204 cat >conftest.$ac_ext <<_ACEOF
13205 /* confdefs.h. */
13206 _ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 #include <setjmp.h>
13212 main ()
13214 sigjmp_buf buf;
13215 sigsetjmp( buf, 1 );
13216 siglongjmp( buf, 1 );
13218 return 0;
13220 _ACEOF
13221 rm -f conftest.$ac_objext conftest$ac_exeext
13222 if { (ac_try="$ac_link"
13223 case "(($ac_try" in
13224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13225 *) ac_try_echo=$ac_try;;
13226 esac
13227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13228 (eval "$ac_link") 2>conftest.er1
13229 ac_status=$?
13230 grep -v '^ *+' conftest.er1 >conftest.err
13231 rm -f conftest.er1
13232 cat conftest.err >&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } &&
13235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13236 { (case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13239 esac
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_try") 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }; } &&
13245 { ac_try='test -s conftest$ac_exeext'
13246 { (case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13249 esac
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_try") 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; }; then
13255 ac_cv_c_sigsetjmp="yes"
13256 else
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 ac_cv_c_sigsetjmp="no"
13263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13264 conftest$ac_exeext conftest.$ac_ext
13267 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13268 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13269 if test "$ac_cv_c_sigsetjmp" = "yes"
13270 then
13272 cat >>confdefs.h <<\_ACEOF
13273 #define HAVE_SIGSETJMP 1
13274 _ACEOF
13278 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13279 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13280 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 else
13283 cat >conftest.$ac_ext <<_ACEOF
13284 /* confdefs.h. */
13285 _ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 #define _GNU_SOURCE
13290 #include <pthread.h>
13292 typedef pthread_rwlock_t ac__type_new_;
13294 main ()
13296 if ((ac__type_new_ *) 0)
13297 return 0;
13298 if (sizeof (ac__type_new_))
13299 return 0;
13301 return 0;
13303 _ACEOF
13304 rm -f conftest.$ac_objext
13305 if { (ac_try="$ac_compile"
13306 case "(($ac_try" in
13307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13309 esac
13310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13311 (eval "$ac_compile") 2>conftest.er1
13312 ac_status=$?
13313 grep -v '^ *+' conftest.er1 >conftest.err
13314 rm -f conftest.er1
13315 cat conftest.err >&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } &&
13318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13319 { (case "(($ac_try" in
13320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13321 *) ac_try_echo=$ac_try;;
13322 esac
13323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13324 (eval "$ac_try") 2>&5
13325 ac_status=$?
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; } &&
13328 { ac_try='test -s conftest.$ac_objext'
13329 { (case "(($ac_try" in
13330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13331 *) ac_try_echo=$ac_try;;
13332 esac
13333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13334 (eval "$ac_try") 2>&5
13335 ac_status=$?
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 ac_cv_type_pthread_rwlock_t=yes
13339 else
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13343 ac_cv_type_pthread_rwlock_t=no
13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13348 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13349 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13350 if test $ac_cv_type_pthread_rwlock_t = yes; then
13352 cat >>confdefs.h <<_ACEOF
13353 #define HAVE_PTHREAD_RWLOCK_T 1
13354 _ACEOF
13358 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13359 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13360 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 else
13363 cat >conftest.$ac_ext <<_ACEOF
13364 /* confdefs.h. */
13365 _ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 #define _GNU_SOURCE
13370 #include <pthread.h>
13372 typedef pthread_rwlockattr_t ac__type_new_;
13374 main ()
13376 if ((ac__type_new_ *) 0)
13377 return 0;
13378 if (sizeof (ac__type_new_))
13379 return 0;
13381 return 0;
13383 _ACEOF
13384 rm -f conftest.$ac_objext
13385 if { (ac_try="$ac_compile"
13386 case "(($ac_try" in
13387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13388 *) ac_try_echo=$ac_try;;
13389 esac
13390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13391 (eval "$ac_compile") 2>conftest.er1
13392 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (case "(($ac_try" in
13400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13402 esac
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_try") 2>&5
13405 ac_status=$?
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try='test -s conftest.$ac_objext'
13409 { (case "(($ac_try" in
13410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13411 *) ac_try_echo=$ac_try;;
13412 esac
13413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13414 (eval "$ac_try") 2>&5
13415 ac_status=$?
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 ac_cv_type_pthread_rwlockattr_t=yes
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13423 ac_cv_type_pthread_rwlockattr_t=no
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13428 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13429 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13430 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13432 cat >>confdefs.h <<_ACEOF
13433 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13434 _ACEOF
13440 ac_wine_check_funcs_save_LIBS="$LIBS"
13441 LIBS="$LIBS $LIBPTHREAD"
13446 for ac_func in \
13447 pthread_attr_get_np \
13448 pthread_getattr_np \
13449 pthread_get_stackaddr_np \
13450 pthread_get_stacksize_np
13452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13466 #define $ac_func innocuous_$ac_func
13468 /* System header to define __stub macros and hopefully few prototypes,
13469 which can conflict with char $ac_func (); below.
13470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13471 <limits.h> exists even on freestanding compilers. */
13473 #ifdef __STDC__
13474 # include <limits.h>
13475 #else
13476 # include <assert.h>
13477 #endif
13479 #undef $ac_func
13481 /* Override any GCC internal prototype to avoid an error.
13482 Use char because int might match the return type of a GCC
13483 builtin and then its argument prototype would still apply. */
13484 #ifdef __cplusplus
13485 extern "C"
13486 #endif
13487 char $ac_func ();
13488 /* The GNU C library defines this for functions which it implements
13489 to always fail with ENOSYS. Some functions are actually named
13490 something starting with __ and the normal name is an alias. */
13491 #if defined __stub_$ac_func || defined __stub___$ac_func
13492 choke me
13493 #endif
13496 main ()
13498 return $ac_func ();
13500 return 0;
13502 _ACEOF
13503 rm -f conftest.$ac_objext conftest$ac_exeext
13504 if { (ac_try="$ac_link"
13505 case "(($ac_try" in
13506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13507 *) ac_try_echo=$ac_try;;
13508 esac
13509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13510 (eval "$ac_link") 2>conftest.er1
13511 ac_status=$?
13512 grep -v '^ *+' conftest.er1 >conftest.err
13513 rm -f conftest.er1
13514 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13518 { (case "(($ac_try" in
13519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13520 *) ac_try_echo=$ac_try;;
13521 esac
13522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13523 (eval "$ac_try") 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest$ac_exeext'
13528 { (case "(($ac_try" in
13529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13530 *) ac_try_echo=$ac_try;;
13531 esac
13532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13533 (eval "$ac_try") 2>&5
13534 ac_status=$?
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; }; then
13537 eval "$as_ac_var=yes"
13538 else
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13542 eval "$as_ac_var=no"
13545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13546 conftest$ac_exeext conftest.$ac_ext
13548 ac_res=`eval echo '${'$as_ac_var'}'`
13549 { echo "$as_me:$LINENO: result: $ac_res" >&5
13550 echo "${ECHO_T}$ac_res" >&6; }
13551 if test `eval echo '${'$as_ac_var'}'` = yes; then
13552 cat >>confdefs.h <<_ACEOF
13553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13554 _ACEOF
13557 done
13559 LIBS="$ac_wine_check_funcs_save_LIBS"
13561 # Extract the first word of "artsc-config", so it can be a program name with args.
13562 set dummy artsc-config; ac_word=$2
13563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13565 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 else
13568 case $ARTSCCONFIG in
13569 [\\/]* | ?:[\\/]*)
13570 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13574 for as_dir in $PATH
13576 IFS=$as_save_IFS
13577 test -z "$as_dir" && as_dir=.
13578 for ac_exec_ext in '' $ac_executable_extensions; do
13579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13580 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13582 break 2
13584 done
13585 done
13586 IFS=$as_save_IFS
13589 esac
13591 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13592 if test -n "$ARTSCCONFIG"; then
13593 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13594 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13595 else
13596 { echo "$as_me:$LINENO: result: no" >&5
13597 echo "${ECHO_T}no" >&6; }
13601 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13602 then
13603 ARTSC_CFLAGS=""
13604 for i in `$ARTSCCONFIG --cflags`
13606 case "$i" in
13607 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13608 esac
13609 done
13610 ARTSC_LIBS=""
13611 for i in `$ARTSCCONFIG --libs`
13613 case "$i" in
13614 -L/usr/lib|-L/usr/lib64) ;;
13615 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13616 esac
13617 done
13618 save_CFLAGS="$CFLAGS"
13619 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13620 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13621 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13622 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13624 else
13625 ac_check_lib_save_LIBS=$LIBS
13626 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13627 cat >conftest.$ac_ext <<_ACEOF
13628 /* confdefs.h. */
13629 _ACEOF
13630 cat confdefs.h >>conftest.$ac_ext
13631 cat >>conftest.$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13637 #ifdef __cplusplus
13638 extern "C"
13639 #endif
13640 char arts_init ();
13642 main ()
13644 return arts_init ();
13646 return 0;
13648 _ACEOF
13649 rm -f conftest.$ac_objext conftest$ac_exeext
13650 if { (ac_try="$ac_link"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13654 esac
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_link") 2>conftest.er1
13657 ac_status=$?
13658 grep -v '^ *+' conftest.er1 >conftest.err
13659 rm -f conftest.er1
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13664 { (case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;;
13667 esac
13668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13669 (eval "$ac_try") 2>&5
13670 ac_status=$?
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; } &&
13673 { ac_try='test -s conftest$ac_exeext'
13674 { (case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13677 esac
13678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13679 (eval "$ac_try") 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 ac_cv_lib_artsc_arts_init=yes
13684 else
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.$ac_ext >&5
13688 ac_cv_lib_artsc_arts_init=no
13691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13692 conftest$ac_exeext conftest.$ac_ext
13693 LIBS=$ac_check_lib_save_LIBS
13695 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13696 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13697 if test $ac_cv_lib_artsc_arts_init = yes; then
13698 cat >conftest.$ac_ext <<_ACEOF
13699 /* confdefs.h. */
13700 _ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 #include <artsc.h>
13706 main ()
13708 arts_stream_t stream;
13710 return 0;
13712 _ACEOF
13713 rm -f conftest.$ac_objext
13714 if { (ac_try="$ac_compile"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13718 esac
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_compile") 2>conftest.er1
13721 ac_status=$?
13722 grep -v '^ *+' conftest.er1 >conftest.err
13723 rm -f conftest.er1
13724 cat conftest.err >&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13728 { (case "(($ac_try" in
13729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13730 *) ac_try_echo=$ac_try;;
13731 esac
13732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13733 (eval "$ac_try") 2>&5
13734 ac_status=$?
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; } &&
13737 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
13744 ac_status=$?
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; }; then
13747 ARTSLIBS=$ARTSC_LIBS
13749 ARTSINCL=$ARTSC_CFLAGS
13752 cat >>confdefs.h <<\_ACEOF
13753 #define HAVE_ARTS 1
13754 _ACEOF
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13766 CFLAGS="$save_CFLAGS"
13769 # Extract the first word of "esd-config", so it can be a program name with args.
13770 set dummy esd-config; ac_word=$2
13771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13773 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 else
13776 case $ESDCONFIG in
13777 [\\/]* | ?:[\\/]*)
13778 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13782 for as_dir in $PATH
13784 IFS=$as_save_IFS
13785 test -z "$as_dir" && as_dir=.
13786 for ac_exec_ext in '' $ac_executable_extensions; do
13787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13788 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13790 break 2
13792 done
13793 done
13794 IFS=$as_save_IFS
13797 esac
13799 ESDCONFIG=$ac_cv_path_ESDCONFIG
13800 if test -n "$ESDCONFIG"; then
13801 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13802 echo "${ECHO_T}$ESDCONFIG" >&6; }
13803 else
13804 { echo "$as_me:$LINENO: result: no" >&5
13805 echo "${ECHO_T}no" >&6; }
13809 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13810 then
13811 ESD_CFLAGS=""
13812 for i in `$ESDCONFIG --cflags`
13814 case "$i" in
13815 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13816 esac
13817 done
13818 ESD_LIBS=`$ESDCONFIG --libs`
13819 save_CFLAGS="$CFLAGS"
13820 CFLAGS="$CFLAGS $ESD_CFLAGS"
13821 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13822 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13823 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 else
13826 ac_check_lib_save_LIBS=$LIBS
13827 LIBS="-lesd $LIBS"
13828 cat >conftest.$ac_ext <<_ACEOF
13829 /* confdefs.h. */
13830 _ACEOF
13831 cat confdefs.h >>conftest.$ac_ext
13832 cat >>conftest.$ac_ext <<_ACEOF
13833 /* end confdefs.h. */
13835 /* Override any GCC internal prototype to avoid an error.
13836 Use char because int might match the return type of a GCC
13837 builtin and then its argument prototype would still apply. */
13838 #ifdef __cplusplus
13839 extern "C"
13840 #endif
13841 char esd_open_sound ();
13843 main ()
13845 return esd_open_sound ();
13847 return 0;
13849 _ACEOF
13850 rm -f conftest.$ac_objext conftest$ac_exeext
13851 if { (ac_try="$ac_link"
13852 case "(($ac_try" in
13853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854 *) ac_try_echo=$ac_try;;
13855 esac
13856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13857 (eval "$ac_link") 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13865 { (case "(($ac_try" in
13866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13867 *) ac_try_echo=$ac_try;;
13868 esac
13869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13870 (eval "$ac_try") 2>&5
13871 ac_status=$?
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; } &&
13874 { ac_try='test -s conftest$ac_exeext'
13875 { (case "(($ac_try" in
13876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13877 *) ac_try_echo=$ac_try;;
13878 esac
13879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13880 (eval "$ac_try") 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_cv_lib_esd_esd_open_sound=yes
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13889 ac_cv_lib_esd_esd_open_sound=no
13892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13893 conftest$ac_exeext conftest.$ac_ext
13894 LIBS=$ac_check_lib_save_LIBS
13896 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13897 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13898 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13899 ESDLIBS=$ESD_LIBS
13901 ESDINCL=$ESD_CFLAGS
13904 cat >>confdefs.h <<\_ACEOF
13905 #define HAVE_ESD 1
13906 _ACEOF
13910 CFLAGS="$save_CFLAGS"
13913 ALSALIBS=""
13915 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13916 then
13917 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13918 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13919 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 else
13922 ac_check_lib_save_LIBS=$LIBS
13923 LIBS="-lasound $LIBS"
13924 cat >conftest.$ac_ext <<_ACEOF
13925 /* confdefs.h. */
13926 _ACEOF
13927 cat confdefs.h >>conftest.$ac_ext
13928 cat >>conftest.$ac_ext <<_ACEOF
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 #ifdef __cplusplus
13935 extern "C"
13936 #endif
13937 char snd_pcm_hw_params_get_access ();
13939 main ()
13941 return snd_pcm_hw_params_get_access ();
13943 return 0;
13945 _ACEOF
13946 rm -f conftest.$ac_objext conftest$ac_exeext
13947 if { (ac_try="$ac_link"
13948 case "(($ac_try" in
13949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13951 esac
13952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_link") 2>conftest.er1
13954 ac_status=$?
13955 grep -v '^ *+' conftest.er1 >conftest.err
13956 rm -f conftest.er1
13957 cat conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13961 { (case "(($ac_try" in
13962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13964 esac
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_try") 2>&5
13967 ac_status=$?
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); }; } &&
13970 { ac_try='test -s conftest$ac_exeext'
13971 { (case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13974 esac
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_try") 2>&5
13977 ac_status=$?
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13980 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13981 else
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13985 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13989 conftest$ac_exeext conftest.$ac_ext
13990 LIBS=$ac_check_lib_save_LIBS
13992 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13993 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13994 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13995 cat >conftest.$ac_ext <<_ACEOF
13996 /* confdefs.h. */
13997 _ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 #ifdef HAVE_ALSA_ASOUNDLIB_H
14002 #include <alsa/asoundlib.h>
14003 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14004 #include <sys/asoundlib.h>
14005 #endif
14007 main ()
14009 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14011 return 0;
14013 _ACEOF
14014 rm -f conftest.$ac_objext
14015 if { (ac_try="$ac_compile"
14016 case "(($ac_try" in
14017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14019 esac
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_compile") 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14029 { (case "(($ac_try" in
14030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14031 *) ac_try_echo=$ac_try;;
14032 esac
14033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14034 (eval "$ac_try") 2>&5
14035 ac_status=$?
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } &&
14038 { ac_try='test -s conftest.$ac_objext'
14039 { (case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14042 esac
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_try") 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14049 cat >>confdefs.h <<\_ACEOF
14050 #define HAVE_ALSA 1
14051 _ACEOF
14053 ALSALIBS="-lasound"
14054 else
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.$ac_ext >&5
14061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14067 AUDIOIOLIBS=""
14069 if test "$ac_cv_header_libaudioio_h" = "yes"
14070 then
14071 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14072 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14073 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14075 else
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-laudioio $LIBS"
14078 cat >conftest.$ac_ext <<_ACEOF
14079 /* confdefs.h. */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 #ifdef __cplusplus
14089 extern "C"
14090 #endif
14091 char AudioIOGetVersion ();
14093 main ()
14095 return AudioIOGetVersion ();
14097 return 0;
14099 _ACEOF
14100 rm -f conftest.$ac_objext conftest$ac_exeext
14101 if { (ac_try="$ac_link"
14102 case "(($ac_try" in
14103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14104 *) ac_try_echo=$ac_try;;
14105 esac
14106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14107 (eval "$ac_link") 2>conftest.er1
14108 ac_status=$?
14109 grep -v '^ *+' conftest.er1 >conftest.err
14110 rm -f conftest.er1
14111 cat conftest.err >&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); } &&
14114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14115 { (case "(($ac_try" in
14116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14117 *) ac_try_echo=$ac_try;;
14118 esac
14119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14120 (eval "$ac_try") 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try='test -s conftest$ac_exeext'
14125 { (case "(($ac_try" in
14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14127 *) ac_try_echo=$ac_try;;
14128 esac
14129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14130 (eval "$ac_try") 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 ac_cv_lib_audioio_AudioIOGetVersion=yes
14135 else
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14139 ac_cv_lib_audioio_AudioIOGetVersion=no
14142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14143 conftest$ac_exeext conftest.$ac_ext
14144 LIBS=$ac_check_lib_save_LIBS
14146 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14147 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14148 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14149 AUDIOIOLIBS="-laudioio"
14151 cat >>confdefs.h <<\_ACEOF
14152 #define HAVE_LIBAUDIOIO 1
14153 _ACEOF
14160 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14161 then
14162 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14163 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14164 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14166 else
14167 ac_check_lib_save_LIBS=$LIBS
14168 LIBS="-lcapi20 $LIBS"
14169 cat >conftest.$ac_ext <<_ACEOF
14170 /* confdefs.h. */
14171 _ACEOF
14172 cat confdefs.h >>conftest.$ac_ext
14173 cat >>conftest.$ac_ext <<_ACEOF
14174 /* end confdefs.h. */
14176 /* Override any GCC internal prototype to avoid an error.
14177 Use char because int might match the return type of a GCC
14178 builtin and then its argument prototype would still apply. */
14179 #ifdef __cplusplus
14180 extern "C"
14181 #endif
14182 char capi20_register ();
14184 main ()
14186 return capi20_register ();
14188 return 0;
14190 _ACEOF
14191 rm -f conftest.$ac_objext conftest$ac_exeext
14192 if { (ac_try="$ac_link"
14193 case "(($ac_try" in
14194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14195 *) ac_try_echo=$ac_try;;
14196 esac
14197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14198 (eval "$ac_link") 2>conftest.er1
14199 ac_status=$?
14200 grep -v '^ *+' conftest.er1 >conftest.err
14201 rm -f conftest.er1
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14206 { (case "(($ac_try" in
14207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14208 *) ac_try_echo=$ac_try;;
14209 esac
14210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14211 (eval "$ac_try") 2>&5
14212 ac_status=$?
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); }; } &&
14215 { ac_try='test -s conftest$ac_exeext'
14216 { (case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14219 esac
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_try") 2>&5
14222 ac_status=$?
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; }; then
14225 ac_cv_lib_capi20_capi20_register=yes
14226 else
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ac_cv_lib_capi20_capi20_register=no
14233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14237 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14238 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14239 if test $ac_cv_lib_capi20_capi20_register = yes; then
14241 cat >>confdefs.h <<\_ACEOF
14242 #define HAVE_CAPI4LINUX 1
14243 _ACEOF
14250 EXTRACFLAGS=""
14252 if test "x${GCC}" = "xyes"
14253 then
14254 EXTRACFLAGS="-Wall -pipe"
14256 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14257 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14258 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 else
14261 if test "$cross_compiling" = yes; then
14262 ac_cv_c_gcc_strength_bug="yes"
14263 else
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14271 int L[4] = {0,1,2,3};
14272 int main(void) {
14273 static int Array[3];
14274 unsigned int B = 3;
14275 int i;
14276 for(i=0; i<B; i++) Array[i] = i - 3;
14277 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14278 L[i] = 4;
14280 exit( Array[1] != -2 || L[2] != 3);
14282 _ACEOF
14283 rm -f conftest$ac_exeext
14284 if { (ac_try="$ac_link"
14285 case "(($ac_try" in
14286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14287 *) ac_try_echo=$ac_try;;
14288 esac
14289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14290 (eval "$ac_link") 2>&5
14291 ac_status=$?
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14294 { (case "(($ac_try" in
14295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14296 *) ac_try_echo=$ac_try;;
14297 esac
14298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14299 (eval "$ac_try") 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 ac_cv_c_gcc_strength_bug="no"
14304 else
14305 echo "$as_me: program exited with status $ac_status" >&5
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.$ac_ext >&5
14309 ( exit $ac_status )
14310 ac_cv_c_gcc_strength_bug="yes"
14312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14317 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14318 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14319 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14320 then
14321 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14325 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14326 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14327 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 else
14330 ac_wine_try_cflags_saved=$CFLAGS
14331 CFLAGS="$CFLAGS -fshort-wchar"
14332 cat >conftest.$ac_ext <<_ACEOF
14333 /* confdefs.h. */
14334 _ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14340 main ()
14344 return 0;
14346 _ACEOF
14347 rm -f conftest.$ac_objext conftest$ac_exeext
14348 if { (ac_try="$ac_link"
14349 case "(($ac_try" in
14350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14351 *) ac_try_echo=$ac_try;;
14352 esac
14353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14354 (eval "$ac_link") 2>conftest.er1
14355 ac_status=$?
14356 grep -v '^ *+' conftest.er1 >conftest.err
14357 rm -f conftest.er1
14358 cat conftest.err >&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } &&
14361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14362 { (case "(($ac_try" in
14363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14364 *) ac_try_echo=$ac_try;;
14365 esac
14366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14367 (eval "$ac_try") 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 ac_cv_cflags__fshort_wchar=yes
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14386 ac_cv_cflags__fshort_wchar=no
14389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14390 conftest$ac_exeext conftest.$ac_ext
14391 CFLAGS=$ac_wine_try_cflags_saved
14393 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14394 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14395 if test $ac_cv_cflags__fshort_wchar = yes; then
14397 cat >>confdefs.h <<\_ACEOF
14398 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14399 _ACEOF
14403 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14404 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14405 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 else
14408 ac_wine_try_cflags_saved=$CFLAGS
14409 CFLAGS="$CFLAGS -fno-strict-aliasing"
14410 cat >conftest.$ac_ext <<_ACEOF
14411 /* confdefs.h. */
14412 _ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14418 main ()
14422 return 0;
14424 _ACEOF
14425 rm -f conftest.$ac_objext conftest$ac_exeext
14426 if { (ac_try="$ac_link"
14427 case "(($ac_try" in
14428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14429 *) ac_try_echo=$ac_try;;
14430 esac
14431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14432 (eval "$ac_link") 2>conftest.er1
14433 ac_status=$?
14434 grep -v '^ *+' conftest.er1 >conftest.err
14435 rm -f conftest.er1
14436 cat conftest.err >&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); } &&
14439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14440 { (case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14443 esac
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_try") 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; } &&
14449 { ac_try='test -s conftest$ac_exeext'
14450 { (case "(($ac_try" in
14451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14452 *) ac_try_echo=$ac_try;;
14453 esac
14454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14455 (eval "$ac_try") 2>&5
14456 ac_status=$?
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; }; then
14459 ac_cv_cflags__fno_strict_aliasing=yes
14460 else
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14464 ac_cv_cflags__fno_strict_aliasing=no
14467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14468 conftest$ac_exeext conftest.$ac_ext
14469 CFLAGS=$ac_wine_try_cflags_saved
14471 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14472 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14473 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14474 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14477 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14478 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14479 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 else
14482 ac_wine_try_cflags_saved=$CFLAGS
14483 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14484 cat >conftest.$ac_ext <<_ACEOF
14485 /* confdefs.h. */
14486 _ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14492 main ()
14496 return 0;
14498 _ACEOF
14499 rm -f conftest.$ac_objext conftest$ac_exeext
14500 if { (ac_try="$ac_link"
14501 case "(($ac_try" in
14502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503 *) ac_try_echo=$ac_try;;
14504 esac
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 (eval "$ac_link") 2>conftest.er1
14507 ac_status=$?
14508 grep -v '^ *+' conftest.er1 >conftest.err
14509 rm -f conftest.er1
14510 cat conftest.err >&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } &&
14513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
14520 ac_status=$?
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try='test -s conftest$ac_exeext'
14524 { (case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14527 esac
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14533 ac_cv_cflags__Wdeclaration_after_statement=yes
14534 else
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.$ac_ext >&5
14538 ac_cv_cflags__Wdeclaration_after_statement=no
14541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14542 conftest$ac_exeext conftest.$ac_ext
14543 CFLAGS=$ac_wine_try_cflags_saved
14545 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14546 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14547 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14548 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14551 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14552 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14553 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Wwrite-strings"
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14566 main ()
14570 return 0;
14572 _ACEOF
14573 rm -f conftest.$ac_objext conftest$ac_exeext
14574 if { (ac_try="$ac_link"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14578 esac
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_link") 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; } &&
14597 { ac_try='test -s conftest$ac_exeext'
14598 { (case "(($ac_try" in
14599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14600 *) ac_try_echo=$ac_try;;
14601 esac
14602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14603 (eval "$ac_try") 2>&5
14604 ac_status=$?
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14607 ac_cv_cflags__Wwrite_strings=yes
14608 else
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.$ac_ext >&5
14612 ac_cv_cflags__Wwrite_strings=no
14615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14616 conftest$ac_exeext conftest.$ac_ext
14617 CFLAGS=$ac_wine_try_cflags_saved
14619 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14620 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14621 if test $ac_cv_cflags__Wwrite_strings = yes; then
14622 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14626 saved_CFLAGS="$CFLAGS"
14627 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14628 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14629 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14630 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 else
14633 cat >conftest.$ac_ext <<_ACEOF
14634 /* confdefs.h. */
14635 _ACEOF
14636 cat confdefs.h >>conftest.$ac_ext
14637 cat >>conftest.$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14639 #include <string.h>
14641 main ()
14645 return 0;
14647 _ACEOF
14648 rm -f conftest.$ac_objext
14649 if { (ac_try="$ac_compile"
14650 case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14653 esac
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_compile") 2>conftest.er1
14656 ac_status=$?
14657 grep -v '^ *+' conftest.er1 >conftest.err
14658 rm -f conftest.er1
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } &&
14662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14663 { (case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;;
14666 esac
14667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14668 (eval "$ac_try") 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try='test -s conftest.$ac_objext'
14673 { (case "(($ac_try" in
14674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14675 *) ac_try_echo=$ac_try;;
14676 esac
14677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14678 (eval "$ac_try") 2>&5
14679 ac_status=$?
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14682 ac_cv_c_string_h_warnings=no
14683 else
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.$ac_ext >&5
14687 ac_cv_c_string_h_warnings=yes
14690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14692 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14693 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14694 CFLAGS="$saved_CFLAGS"
14695 if test "$ac_cv_c_string_h_warnings" = "no"
14696 then
14697 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14700 BUILTINFLAG=""
14702 saved_CFLAGS="$CFLAGS"
14703 CFLAGS="$CFLAGS -Werror"
14704 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14705 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14706 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 else
14709 cat >conftest.$ac_ext <<_ACEOF
14710 /* confdefs.h. */
14711 _ACEOF
14712 cat confdefs.h >>conftest.$ac_ext
14713 cat >>conftest.$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14717 main ()
14719 int iswlower(unsigned short);
14721 return 0;
14723 _ACEOF
14724 rm -f conftest.$ac_objext
14725 if { (ac_try="$ac_compile"
14726 case "(($ac_try" in
14727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14728 *) ac_try_echo=$ac_try;;
14729 esac
14730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14731 (eval "$ac_compile") 2>conftest.er1
14732 ac_status=$?
14733 grep -v '^ *+' conftest.er1 >conftest.err
14734 rm -f conftest.er1
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14739 { (case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_try") 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; } &&
14748 { ac_try='test -s conftest.$ac_objext'
14749 { (case "(($ac_try" in
14750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14751 *) ac_try_echo=$ac_try;;
14752 esac
14753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14754 (eval "$ac_try") 2>&5
14755 ac_status=$?
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 ac_cv_c_builtin_wchar_ctype=no
14759 else
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14763 ac_cv_c_builtin_wchar_ctype=yes
14766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14769 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14770 CFLAGS="$saved_CFLAGS"
14771 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14772 then
14773 BUILTINFLAG="-fno-builtin"
14778 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14779 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14780 if test "${ac_cv_asm_func_def+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 else
14783 cat >conftest.$ac_ext <<_ACEOF
14784 /* confdefs.h. */
14785 _ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 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"); }
14792 main ()
14796 return 0;
14798 _ACEOF
14799 rm -f conftest.$ac_objext conftest$ac_exeext
14800 if { (ac_try="$ac_link"
14801 case "(($ac_try" in
14802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14803 *) ac_try_echo=$ac_try;;
14804 esac
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_link") 2>conftest.er1
14807 ac_status=$?
14808 grep -v '^ *+' conftest.er1 >conftest.err
14809 rm -f conftest.er1
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14814 { (case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14817 esac
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_try") 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try='test -s conftest$ac_exeext'
14824 { (case "(($ac_try" in
14825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826 *) ac_try_echo=$ac_try;;
14827 esac
14828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14829 (eval "$ac_try") 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14833 ac_cv_asm_func_def=".def"
14834 else
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14838 cat >conftest.$ac_ext <<_ACEOF
14839 /* confdefs.h. */
14840 _ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14847 main ()
14851 return 0;
14853 _ACEOF
14854 rm -f conftest.$ac_objext conftest$ac_exeext
14855 if { (ac_try="$ac_link"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14859 esac
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_link") 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14869 { (case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14872 esac
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_try") 2>&5
14875 ac_status=$?
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; } &&
14878 { ac_try='test -s conftest$ac_exeext'
14879 { (case "(($ac_try" in
14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14881 *) ac_try_echo=$ac_try;;
14882 esac
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14884 (eval "$ac_try") 2>&5
14885 ac_status=$?
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; }; then
14888 ac_cv_asm_func_def=".type @function"
14889 else
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14893 cat >conftest.$ac_ext <<_ACEOF
14894 /* confdefs.h. */
14895 _ACEOF
14896 cat confdefs.h >>conftest.$ac_ext
14897 cat >>conftest.$ac_ext <<_ACEOF
14898 /* end confdefs.h. */
14899 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14902 main ()
14906 return 0;
14908 _ACEOF
14909 rm -f conftest.$ac_objext conftest$ac_exeext
14910 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
14917 ac_status=$?
14918 grep -v '^ *+' conftest.er1 >conftest.err
14919 rm -f conftest.er1
14920 cat conftest.err >&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } &&
14923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14924 { (case "(($ac_try" in
14925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14926 *) ac_try_echo=$ac_try;;
14927 esac
14928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14929 (eval "$ac_try") 2>&5
14930 ac_status=$?
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; } &&
14933 { ac_try='test -s conftest$ac_exeext'
14934 { (case "(($ac_try" in
14935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14936 *) ac_try_echo=$ac_try;;
14937 esac
14938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14939 (eval "$ac_try") 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; }; then
14943 ac_cv_asm_func_def=".type 2"
14944 else
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.$ac_ext >&5
14948 ac_cv_asm_func_def="unknown"
14951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14952 conftest$ac_exeext conftest.$ac_ext
14955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14956 conftest$ac_exeext conftest.$ac_ext
14959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14960 conftest$ac_exeext conftest.$ac_ext
14962 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14963 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14967 case "$ac_cv_asm_func_def" in
14968 ".def")
14969 cat >>confdefs.h <<\_ACEOF
14970 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14971 _ACEOF
14973 ".type @function")
14974 cat >>confdefs.h <<\_ACEOF
14975 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14976 _ACEOF
14978 ".type 2")
14979 cat >>confdefs.h <<\_ACEOF
14980 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14981 _ACEOF
14984 cat >>confdefs.h <<\_ACEOF
14985 #define __ASM_FUNC(name) ""
14986 _ACEOF
14988 esac
14991 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14992 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14993 if test "${ac_cv_c_extern_prefix+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 cat >conftest.$ac_ext <<_ACEOF
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15003 extern int ac_test;
15005 main ()
15007 if (ac_test) return 1
15009 return 0;
15011 _ACEOF
15012 rm -f conftest.$ac_objext conftest$ac_exeext
15013 if { (ac_try="$ac_link"
15014 case "(($ac_try" in
15015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15016 *) ac_try_echo=$ac_try;;
15017 esac
15018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15019 (eval "$ac_link") 2>conftest.er1
15020 ac_status=$?
15021 grep -v '^ *+' conftest.er1 >conftest.err
15022 rm -f conftest.er1
15023 cat conftest.err >&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); } &&
15026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15027 { (case "(($ac_try" in
15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 *) ac_try_echo=$ac_try;;
15030 esac
15031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15032 (eval "$ac_try") 2>&5
15033 ac_status=$?
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); }; } &&
15036 { ac_try='test -s conftest$ac_exeext'
15037 { (case "(($ac_try" in
15038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15039 *) ac_try_echo=$ac_try;;
15040 esac
15041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15042 (eval "$ac_try") 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_cv_c_extern_prefix="yes"
15047 else
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.$ac_ext >&5
15051 ac_cv_c_extern_prefix="no"
15054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15055 conftest$ac_exeext conftest.$ac_ext
15057 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15058 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15062 if test "$ac_cv_c_extern_prefix" = "yes"
15063 then
15064 cat >>confdefs.h <<\_ACEOF
15065 #define __ASM_NAME(name) "_" name
15066 _ACEOF
15068 else
15069 cat >>confdefs.h <<\_ACEOF
15070 #define __ASM_NAME(name) name
15071 _ACEOF
15076 DLLEXT=""
15078 DLLFLAGS="-D_REENTRANT"
15080 LDSHARED=""
15082 LDDLLFLAGS=""
15084 LIBEXT="so"
15086 IMPLIBEXT="def"
15088 LIBWINE_LDFLAGS=""
15091 case $host_os in
15092 cygwin*|mingw32*)
15093 if test -n "$ac_tool_prefix"; then
15094 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15095 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15098 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 else
15101 if test -n "$DLLTOOL"; then
15102 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15103 else
15104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15105 for as_dir in $PATH
15107 IFS=$as_save_IFS
15108 test -z "$as_dir" && as_dir=.
15109 for ac_exec_ext in '' $ac_executable_extensions; do
15110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15111 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15113 break 2
15115 done
15116 done
15117 IFS=$as_save_IFS
15121 DLLTOOL=$ac_cv_prog_DLLTOOL
15122 if test -n "$DLLTOOL"; then
15123 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15124 echo "${ECHO_T}$DLLTOOL" >&6; }
15125 else
15126 { echo "$as_me:$LINENO: result: no" >&5
15127 echo "${ECHO_T}no" >&6; }
15132 if test -z "$ac_cv_prog_DLLTOOL"; then
15133 ac_ct_DLLTOOL=$DLLTOOL
15134 # Extract the first word of "dlltool", so it can be a program name with args.
15135 set dummy dlltool; ac_word=$2
15136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15138 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 if test -n "$ac_ct_DLLTOOL"; then
15142 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15143 else
15144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15145 for as_dir in $PATH
15147 IFS=$as_save_IFS
15148 test -z "$as_dir" && as_dir=.
15149 for ac_exec_ext in '' $ac_executable_extensions; do
15150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15151 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15153 break 2
15155 done
15156 done
15157 IFS=$as_save_IFS
15161 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15162 if test -n "$ac_ct_DLLTOOL"; then
15163 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15164 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15165 else
15166 { echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6; }
15170 if test "x$ac_ct_DLLTOOL" = x; then
15171 DLLTOOL="false"
15172 else
15173 case $cross_compiling:$ac_tool_warned in
15174 yes:)
15175 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15176 whose name does not start with the host triplet. If you think this
15177 configuration is useful to you, please write to autoconf@gnu.org." >&5
15178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15179 whose name does not start with the host triplet. If you think this
15180 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15181 ac_tool_warned=yes ;;
15182 esac
15183 DLLTOOL=$ac_ct_DLLTOOL
15185 else
15186 DLLTOOL="$ac_cv_prog_DLLTOOL"
15189 if test -n "$ac_tool_prefix"; then
15190 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15191 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15194 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 else
15197 if test -n "$DLLWRAP"; then
15198 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15199 else
15200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15201 for as_dir in $PATH
15203 IFS=$as_save_IFS
15204 test -z "$as_dir" && as_dir=.
15205 for ac_exec_ext in '' $ac_executable_extensions; do
15206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15207 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15209 break 2
15211 done
15212 done
15213 IFS=$as_save_IFS
15217 DLLWRAP=$ac_cv_prog_DLLWRAP
15218 if test -n "$DLLWRAP"; then
15219 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15220 echo "${ECHO_T}$DLLWRAP" >&6; }
15221 else
15222 { echo "$as_me:$LINENO: result: no" >&5
15223 echo "${ECHO_T}no" >&6; }
15228 if test -z "$ac_cv_prog_DLLWRAP"; then
15229 ac_ct_DLLWRAP=$DLLWRAP
15230 # Extract the first word of "dllwrap", so it can be a program name with args.
15231 set dummy dllwrap; ac_word=$2
15232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15234 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 else
15237 if test -n "$ac_ct_DLLWRAP"; then
15238 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15239 else
15240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15241 for as_dir in $PATH
15243 IFS=$as_save_IFS
15244 test -z "$as_dir" && as_dir=.
15245 for ac_exec_ext in '' $ac_executable_extensions; do
15246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15247 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15249 break 2
15251 done
15252 done
15253 IFS=$as_save_IFS
15257 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15258 if test -n "$ac_ct_DLLWRAP"; then
15259 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15260 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15261 else
15262 { echo "$as_me:$LINENO: result: no" >&5
15263 echo "${ECHO_T}no" >&6; }
15266 if test "x$ac_ct_DLLWRAP" = x; then
15267 DLLWRAP="false"
15268 else
15269 case $cross_compiling:$ac_tool_warned in
15270 yes:)
15271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15272 whose name does not start with the host triplet. If you think this
15273 configuration is useful to you, please write to autoconf@gnu.org." >&5
15274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15275 whose name does not start with the host triplet. If you think this
15276 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15277 ac_tool_warned=yes ;;
15278 esac
15279 DLLWRAP=$ac_ct_DLLWRAP
15281 else
15282 DLLWRAP="$ac_cv_prog_DLLWRAP"
15285 if test "$DLLWRAP" = "false"; then
15286 LIBEXT="a"
15287 else
15288 LIBEXT="dll"
15290 IMPLIBEXT="a"
15291 WIN16_FILES=""
15292 WIN16_INSTALL=""
15294 darwin*|macosx*)
15295 DLLEXT=".so"
15296 LIBEXT="dylib"
15297 DLLFLAGS="$DLLFLAGS -fPIC"
15298 LDDLLFLAGS="-bundle -multiply_defined suppress"
15299 LIBWINE_LDFLAGS="-multiply_defined suppress"
15300 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15301 STRIP="$STRIP -u -r"
15302 COREFOUNDATIONLIB="-framework CoreFoundation"
15304 IOKITLIB="-framework IOKit -framework CoreFoundation"
15306 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15308 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
15309 then
15310 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15313 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15314 then
15315 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15318 case $host_cpu in
15319 *powerpc*)
15320 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15321 esac
15322 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15323 then
15324 QUARTZFILES='$(QUARTZFILES)'
15328 DLLFLAGS="$DLLFLAGS -fPIC"
15329 DLLEXT=".so"
15330 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15331 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15332 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 ac_wine_try_cflags_saved=$CFLAGS
15336 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15337 cat >conftest.$ac_ext <<_ACEOF
15338 void myfunc() {}
15339 _ACEOF
15340 rm -f conftest.$ac_objext conftest$ac_exeext
15341 if { (ac_try="$ac_link"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15345 esac
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_link") 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15355 { (case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15358 esac
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_try") 2>&5
15361 ac_status=$?
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; } &&
15364 { ac_try='test -s conftest$ac_exeext'
15365 { (case "(($ac_try" in
15366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367 *) ac_try_echo=$ac_try;;
15368 esac
15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_try") 2>&5
15371 ac_status=$?
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; }; then
15374 ac_cv_c_dll_gnuelf="yes"
15375 else
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 ac_cv_c_dll_gnuelf="no"
15382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15383 conftest$ac_exeext conftest.$ac_ext
15384 CFLAGS=$ac_wine_try_cflags_saved
15386 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15387 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15388 if test "$ac_cv_c_dll_gnuelf" = "yes"
15389 then
15390 LDSHARED="\$(CC) -shared"
15391 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15392 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15393 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15394 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 else
15397 ac_wine_try_cflags_saved=$CFLAGS
15398 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15399 cat >conftest.$ac_ext <<_ACEOF
15400 /* confdefs.h. */
15401 _ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15407 main ()
15411 return 0;
15413 _ACEOF
15414 rm -f conftest.$ac_objext conftest$ac_exeext
15415 if { (ac_try="$ac_link"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15419 esac
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_link") 2>conftest.er1
15422 ac_status=$?
15423 grep -v '^ *+' conftest.er1 >conftest.err
15424 rm -f conftest.er1
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; } &&
15438 { ac_try='test -s conftest$ac_exeext'
15439 { (case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15442 esac
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_try") 2>&5
15445 ac_status=$?
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; }; then
15448 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15457 conftest$ac_exeext conftest.$ac_ext
15458 CFLAGS=$ac_wine_try_cflags_saved
15460 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15461 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15462 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15463 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15464 else
15465 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15466 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15467 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 else
15470 ac_wine_try_cflags_saved=$CFLAGS
15471 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15472 cat >conftest.$ac_ext <<_ACEOF
15473 /* confdefs.h. */
15474 _ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15480 main ()
15484 return 0;
15486 _ACEOF
15487 rm -f conftest.$ac_objext conftest$ac_exeext
15488 if { (ac_try="$ac_link"
15489 case "(($ac_try" in
15490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15491 *) ac_try_echo=$ac_try;;
15492 esac
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_link") 2>conftest.er1
15495 ac_status=$?
15496 grep -v '^ *+' conftest.er1 >conftest.err
15497 rm -f conftest.er1
15498 cat conftest.err >&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); } &&
15501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15502 { (case "(($ac_try" in
15503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15504 *) ac_try_echo=$ac_try;;
15505 esac
15506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15507 (eval "$ac_try") 2>&5
15508 ac_status=$?
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try='test -s conftest$ac_exeext'
15512 { (case "(($ac_try" in
15513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15514 *) ac_try_echo=$ac_try;;
15515 esac
15516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15517 (eval "$ac_try") 2>&5
15518 ac_status=$?
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; }; then
15521 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15522 else
15523 echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.$ac_ext >&5
15526 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15530 conftest$ac_exeext conftest.$ac_ext
15531 CFLAGS=$ac_wine_try_cflags_saved
15533 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15534 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15535 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15536 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15542 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15543 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15544 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 else
15547 ac_wine_try_cflags_saved=$CFLAGS
15548 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15549 cat >conftest.$ac_ext <<_ACEOF
15550 /* confdefs.h. */
15551 _ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15557 main ()
15561 return 0;
15563 _ACEOF
15564 rm -f conftest.$ac_objext conftest$ac_exeext
15565 if { (ac_try="$ac_link"
15566 case "(($ac_try" in
15567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15568 *) ac_try_echo=$ac_try;;
15569 esac
15570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15571 (eval "$ac_link") 2>conftest.er1
15572 ac_status=$?
15573 grep -v '^ *+' conftest.er1 >conftest.err
15574 rm -f conftest.er1
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15579 { (case "(($ac_try" in
15580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15581 *) ac_try_echo=$ac_try;;
15582 esac
15583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_try") 2>&5
15585 ac_status=$?
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15598 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15603 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15607 conftest$ac_exeext conftest.$ac_ext
15608 CFLAGS=$ac_wine_try_cflags_saved
15610 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15611 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15612 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15613 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15617 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15618 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15619 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622 ac_wine_try_cflags_saved=$CFLAGS
15623 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15624 cat >conftest.$ac_ext <<_ACEOF
15625 /* confdefs.h. */
15626 _ACEOF
15627 cat confdefs.h >>conftest.$ac_ext
15628 cat >>conftest.$ac_ext <<_ACEOF
15629 /* end confdefs.h. */
15632 main ()
15636 return 0;
15638 _ACEOF
15639 rm -f conftest.$ac_objext conftest$ac_exeext
15640 if { (ac_try="$ac_link"
15641 case "(($ac_try" in
15642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15643 *) ac_try_echo=$ac_try;;
15644 esac
15645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15646 (eval "$ac_link") 2>conftest.er1
15647 ac_status=$?
15648 grep -v '^ *+' conftest.er1 >conftest.err
15649 rm -f conftest.er1
15650 cat conftest.err >&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15654 { (case "(($ac_try" in
15655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15656 *) ac_try_echo=$ac_try;;
15657 esac
15658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15659 (eval "$ac_try") 2>&5
15660 ac_status=$?
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try='test -s conftest$ac_exeext'
15664 { (case "(($ac_try" in
15665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15666 *) ac_try_echo=$ac_try;;
15667 esac
15668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15669 (eval "$ac_try") 2>&5
15670 ac_status=$?
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15674 else
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15678 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15682 conftest$ac_exeext conftest.$ac_ext
15683 CFLAGS=$ac_wine_try_cflags_saved
15685 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15686 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15687 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15688 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15692 echo '{ global: *; };' >conftest.map
15693 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15694 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15695 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 else
15698 ac_wine_try_cflags_saved=$CFLAGS
15699 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15708 main ()
15712 return 0;
15714 _ACEOF
15715 rm -f conftest.$ac_objext conftest$ac_exeext
15716 if { (ac_try="$ac_link"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_link") 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15730 { (case "(($ac_try" in
15731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15732 *) ac_try_echo=$ac_try;;
15733 esac
15734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735 (eval "$ac_try") 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try='test -s conftest$ac_exeext'
15740 { (case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15743 esac
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_try") 2>&5
15746 ac_status=$?
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15749 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15759 CFLAGS=$ac_wine_try_cflags_saved
15761 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15762 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15763 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15764 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15767 rm -f conftest.map
15769 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15770 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15771 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 else
15774 ac_wine_try_cflags_saved=$CFLAGS
15775 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15776 cat >conftest.$ac_ext <<_ACEOF
15777 /* confdefs.h. */
15778 _ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15784 main ()
15788 return 0;
15790 _ACEOF
15791 rm -f conftest.$ac_objext conftest$ac_exeext
15792 if { (ac_try="$ac_link"
15793 case "(($ac_try" in
15794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795 *) ac_try_echo=$ac_try;;
15796 esac
15797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15798 (eval "$ac_link") 2>conftest.er1
15799 ac_status=$?
15800 grep -v '^ *+' conftest.er1 >conftest.err
15801 rm -f conftest.er1
15802 cat conftest.err >&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } &&
15805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15806 { (case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15809 esac
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_try") 2>&5
15812 ac_status=$?
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; } &&
15815 { ac_try='test -s conftest$ac_exeext'
15816 { (case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15819 esac
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_try") 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15826 else
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15830 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15834 conftest$ac_exeext conftest.$ac_ext
15835 CFLAGS=$ac_wine_try_cflags_saved
15837 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15838 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15839 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15840 LDEXECFLAGS="-Wl,--export-dynamic"
15845 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15846 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15847 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851 ac_wine_try_cflags_saved=$CFLAGS
15852 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15853 cat >conftest.$ac_ext <<_ACEOF
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15861 main ()
15865 return 0;
15867 _ACEOF
15868 rm -f conftest.$ac_objext conftest$ac_exeext
15869 if { (ac_try="$ac_link"
15870 case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15873 esac
15874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15875 (eval "$ac_link") 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15883 { (case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15886 esac
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_try") 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; } &&
15892 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15902 eval "$as_ac_var=yes"
15903 else
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 eval "$as_ac_var=no"
15910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15911 conftest$ac_exeext conftest.$ac_ext
15912 CFLAGS=$ac_wine_try_cflags_saved
15914 ac_res=`eval echo '${'$as_ac_var'}'`
15915 { echo "$as_me:$LINENO: result: $ac_res" >&5
15916 echo "${ECHO_T}$ac_res" >&6; }
15917 if test `eval echo '${'$as_ac_var'}'` = yes; then
15918 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15922 case $host_cpu in
15923 *i[3456789]86* | x86_64)
15924 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15925 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15926 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929 ac_wine_try_cflags_saved=$CFLAGS
15930 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15931 cat >conftest.$ac_ext <<_ACEOF
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15939 main ()
15943 return 0;
15945 _ACEOF
15946 rm -f conftest.$ac_objext conftest$ac_exeext
15947 if { (ac_try="$ac_link"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15951 esac
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_link") 2>conftest.er1
15954 ac_status=$?
15955 grep -v '^ *+' conftest.er1 >conftest.err
15956 rm -f conftest.er1
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } &&
15960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15961 { (case "(($ac_try" in
15962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15963 *) ac_try_echo=$ac_try;;
15964 esac
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_try") 2>&5
15967 ac_status=$?
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; } &&
15970 { ac_try='test -s conftest$ac_exeext'
15971 { (case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15974 esac
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_try") 2>&5
15977 ac_status=$?
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
15981 else
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15985 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
15988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15989 conftest$ac_exeext conftest.$ac_ext
15990 CFLAGS=$ac_wine_try_cflags_saved
15992 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
15993 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
15994 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
15995 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
15999 esac
16001 else
16002 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16003 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16004 if test "${ac_cv_c_dll_unixware+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 else
16007 ac_wine_try_cflags_saved=$CFLAGS
16008 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16009 cat >conftest.$ac_ext <<_ACEOF
16010 void myfunc() {}
16011 _ACEOF
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (ac_try="$ac_link"
16014 case "(($ac_try" in
16015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16016 *) ac_try_echo=$ac_try;;
16017 esac
16018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16019 (eval "$ac_link") 2>conftest.er1
16020 ac_status=$?
16021 grep -v '^ *+' conftest.er1 >conftest.err
16022 rm -f conftest.er1
16023 cat conftest.err >&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } &&
16026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16027 { (case "(($ac_try" in
16028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16029 *) ac_try_echo=$ac_try;;
16030 esac
16031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16032 (eval "$ac_try") 2>&5
16033 ac_status=$?
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try='test -s conftest$ac_exeext'
16037 { (case "(($ac_try" in
16038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16039 *) ac_try_echo=$ac_try;;
16040 esac
16041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16042 (eval "$ac_try") 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_cv_c_dll_unixware="yes"
16047 else
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16051 ac_cv_c_dll_unixware="no"
16054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16055 conftest$ac_exeext conftest.$ac_ext
16056 CFLAGS=$ac_wine_try_cflags_saved
16058 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16059 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16060 if test "$ac_cv_c_dll_unixware" = "yes"
16061 then
16062 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16063 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16065 else
16066 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16067 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16068 if test "${ac_cv_c_dll_hpux+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16070 else
16071 ac_wine_try_cflags_saved=$CFLAGS
16072 CFLAGS="$CFLAGS -shared"
16073 cat >conftest.$ac_ext <<_ACEOF
16074 void myfunc() {}
16075 _ACEOF
16076 rm -f conftest.$ac_objext conftest$ac_exeext
16077 if { (ac_try="$ac_link"
16078 case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16081 esac
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_link") 2>conftest.er1
16084 ac_status=$?
16085 grep -v '^ *+' conftest.er1 >conftest.err
16086 rm -f conftest.er1
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16091 { (case "(($ac_try" in
16092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16093 *) ac_try_echo=$ac_try;;
16094 esac
16095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16096 (eval "$ac_try") 2>&5
16097 ac_status=$?
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; } &&
16100 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
16107 ac_status=$?
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_cv_c_dll_hpux="yes"
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16115 ac_cv_c_dll_hpux="no"
16118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16119 conftest$ac_exeext conftest.$ac_ext
16120 CFLAGS=$ac_wine_try_cflags_saved
16122 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16123 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16124 if test "$ac_cv_c_dll_hpux" = "yes"
16125 then
16126 LIBEXT="sl"
16127 DLLEXT=".sl"
16128 LDDLLFLAGS="-shared -fPIC"
16129 LDSHARED="\$(CC) -shared"
16134 CROSSTEST=""
16136 if test "$cross_compiling" = "no"
16137 then
16138 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16140 # Extract the first word of "$ac_prog", so it can be a program name with args.
16141 set dummy $ac_prog; ac_word=$2
16142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16144 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16145 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 else
16147 if test -n "$CROSSCC"; then
16148 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16149 else
16150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16151 for as_dir in $PATH
16153 IFS=$as_save_IFS
16154 test -z "$as_dir" && as_dir=.
16155 for ac_exec_ext in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 ac_cv_prog_CROSSCC="$ac_prog"
16158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16159 break 2
16161 done
16162 done
16163 IFS=$as_save_IFS
16167 CROSSCC=$ac_cv_prog_CROSSCC
16168 if test -n "$CROSSCC"; then
16169 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16170 echo "${ECHO_T}$CROSSCC" >&6; }
16171 else
16172 { echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6; }
16177 test -n "$CROSSCC" && break
16178 done
16179 test -n "$CROSSCC" || CROSSCC="false"
16181 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16183 # Extract the first word of "$ac_prog", so it can be a program name with args.
16184 set dummy $ac_prog; ac_word=$2
16185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16187 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 if test -n "$DLLTOOL"; then
16191 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16192 else
16193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16194 for as_dir in $PATH
16196 IFS=$as_save_IFS
16197 test -z "$as_dir" && as_dir=.
16198 for ac_exec_ext in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_DLLTOOL="$ac_prog"
16201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16202 break 2
16204 done
16205 done
16206 IFS=$as_save_IFS
16210 DLLTOOL=$ac_cv_prog_DLLTOOL
16211 if test -n "$DLLTOOL"; then
16212 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16213 echo "${ECHO_T}$DLLTOOL" >&6; }
16214 else
16215 { echo "$as_me:$LINENO: result: no" >&5
16216 echo "${ECHO_T}no" >&6; }
16220 test -n "$DLLTOOL" && break
16221 done
16222 test -n "$DLLTOOL" || DLLTOOL="false"
16224 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16226 # Extract the first word of "$ac_prog", so it can be a program name with args.
16227 set dummy $ac_prog; ac_word=$2
16228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16230 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 else
16233 if test -n "$CROSSWINDRES"; then
16234 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16235 else
16236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16237 for as_dir in $PATH
16239 IFS=$as_save_IFS
16240 test -z "$as_dir" && as_dir=.
16241 for ac_exec_ext in '' $ac_executable_extensions; do
16242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16243 ac_cv_prog_CROSSWINDRES="$ac_prog"
16244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16245 break 2
16247 done
16248 done
16249 IFS=$as_save_IFS
16253 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16254 if test -n "$CROSSWINDRES"; then
16255 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16256 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16257 else
16258 { echo "$as_me:$LINENO: result: no" >&5
16259 echo "${ECHO_T}no" >&6; }
16263 test -n "$CROSSWINDRES" && break
16264 done
16265 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16267 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16270 esac
16272 if test "$LIBEXT" = "a"; then
16273 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16274 It is currently not possible to build Wine without shared library
16275 (.so) support to allow transparent switch between .so and .dll files.
16276 If you are using Linux, you will need a newer binutils.
16277 " >&5
16278 echo "$as_me: error: could not find a way to build shared libraries.
16279 It is currently not possible to build Wine without shared library
16280 (.so) support to allow transparent switch between .so and .dll files.
16281 If you are using Linux, you will need a newer binutils.
16282 " >&2;}
16283 { (exit 1); exit 1; }; }
16286 case $build_os in
16287 cygwin*|mingw32*)
16288 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16290 darwin*|macosx*)
16291 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16294 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16296 esac
16298 case $host_os in
16299 mingw32*)
16300 CRTLIBS="-lmsvcrt"
16302 SOCKETLIBS="-lws2_32"
16305 esac
16307 MAIN_BINARY="wine-pthread"
16308 case $host_cpu in
16309 *i[3456789]86*)
16310 case $host_os in
16311 linux* | k*bsd*-gnu)
16312 MAIN_BINARY="wine-glibc"
16314 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16316 esac
16318 esac
16321 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16322 then
16323 # Extract the first word of "ldd", so it can be a program name with args.
16324 set dummy ldd; ac_word=$2
16325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16327 if test "${ac_cv_path_LDD+set}" = set; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 else
16330 case $LDD in
16331 [\\/]* | ?:[\\/]*)
16332 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16336 as_dummy="/sbin:/usr/sbin:$PATH"
16337 for as_dir in $as_dummy
16339 IFS=$as_save_IFS
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16345 break 2
16347 done
16348 done
16349 IFS=$as_save_IFS
16351 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16353 esac
16355 LDD=$ac_cv_path_LDD
16356 if test -n "$LDD"; then
16357 { echo "$as_me:$LINENO: result: $LDD" >&5
16358 echo "${ECHO_T}$LDD" >&6; }
16359 else
16360 { echo "$as_me:$LINENO: result: no" >&5
16361 echo "${ECHO_T}no" >&6; }
16365 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16366 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16367 if test "${ac_cv_lib_soname_X11+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 else
16370 ac_get_soname_save_LIBS=$LIBS
16371 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16372 cat >conftest.$ac_ext <<_ACEOF
16373 /* confdefs.h. */
16374 _ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 char XCreateWindow ();
16387 main ()
16389 return XCreateWindow ();
16391 return 0;
16393 _ACEOF
16394 rm -f conftest.$ac_objext conftest$ac_exeext
16395 if { (ac_try="$ac_link"
16396 case "(($ac_try" in
16397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16399 esac
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_link") 2>conftest.er1
16402 ac_status=$?
16403 grep -v '^ *+' conftest.er1 >conftest.err
16404 rm -f conftest.er1
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16409 { (case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16412 esac
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_try") 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try='test -s conftest$ac_exeext'
16419 { (case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16422 esac
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_try") 2>&5
16425 ac_status=$?
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; }; then
16428 case "$LIBEXT" in
16429 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'` ;;
16430 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16431 esac
16432 if test "x$ac_cv_lib_soname_X11" = "x"
16433 then
16434 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16436 else
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16444 conftest$ac_exeext conftest.$ac_ext
16445 LIBS=$ac_get_soname_save_LIBS
16447 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16448 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16449 if test "${ac_cv_lib_soname_X11+set}" = set; then
16451 cat >>confdefs.h <<_ACEOF
16452 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16453 _ACEOF
16457 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16458 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16459 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16460 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 else
16462 ac_get_soname_save_LIBS=$LIBS
16463 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16464 cat >conftest.$ac_ext <<_ACEOF
16465 /* confdefs.h. */
16466 _ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16474 #ifdef __cplusplus
16475 extern "C"
16476 #endif
16477 char XextCreateExtension ();
16479 main ()
16481 return XextCreateExtension ();
16483 return 0;
16485 _ACEOF
16486 rm -f conftest.$ac_objext conftest$ac_exeext
16487 if { (ac_try="$ac_link"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16491 esac
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_link") 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16501 { (case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_try") 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try='test -s conftest$ac_exeext'
16511 { (case "(($ac_try" in
16512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16513 *) ac_try_echo=$ac_try;;
16514 esac
16515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16516 (eval "$ac_try") 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 case "$LIBEXT" in
16521 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'` ;;
16522 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16523 esac
16524 if test "x$ac_cv_lib_soname_Xext" = "x"
16525 then
16526 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16528 else
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16532 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16536 conftest$ac_exeext conftest.$ac_ext
16537 LIBS=$ac_get_soname_save_LIBS
16539 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16540 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16541 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16543 cat >>confdefs.h <<_ACEOF
16544 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16545 _ACEOF
16549 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16550 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16551 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 else
16554 ac_get_soname_save_LIBS=$LIBS
16555 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16556 cat >conftest.$ac_ext <<_ACEOF
16557 /* confdefs.h. */
16558 _ACEOF
16559 cat confdefs.h >>conftest.$ac_ext
16560 cat >>conftest.$ac_ext <<_ACEOF
16561 /* end confdefs.h. */
16563 /* Override any GCC internal prototype to avoid an error.
16564 Use char because int might match the return type of a GCC
16565 builtin and then its argument prototype would still apply. */
16566 #ifdef __cplusplus
16567 extern "C"
16568 #endif
16569 char XOpenDevice ();
16571 main ()
16573 return XOpenDevice ();
16575 return 0;
16577 _ACEOF
16578 rm -f conftest.$ac_objext conftest$ac_exeext
16579 if { (ac_try="$ac_link"
16580 case "(($ac_try" in
16581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16582 *) ac_try_echo=$ac_try;;
16583 esac
16584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16585 (eval "$ac_link") 2>conftest.er1
16586 ac_status=$?
16587 grep -v '^ *+' conftest.er1 >conftest.err
16588 rm -f conftest.er1
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16596 esac
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_try") 2>&5
16599 ac_status=$?
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try='test -s conftest$ac_exeext'
16603 { (case "(($ac_try" in
16604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16605 *) ac_try_echo=$ac_try;;
16606 esac
16607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16608 (eval "$ac_try") 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16612 case "$LIBEXT" in
16613 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'` ;;
16614 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16615 esac
16616 if test "x$ac_cv_lib_soname_Xi" = "x"
16617 then
16618 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16620 else
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16624 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16628 conftest$ac_exeext conftest.$ac_ext
16629 LIBS=$ac_get_soname_save_LIBS
16631 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16632 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16633 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16635 cat >>confdefs.h <<_ACEOF
16636 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16637 _ACEOF
16641 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16642 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16643 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 ac_get_soname_save_LIBS=$LIBS
16647 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16648 cat >conftest.$ac_ext <<_ACEOF
16649 /* confdefs.h. */
16650 _ACEOF
16651 cat confdefs.h >>conftest.$ac_ext
16652 cat >>conftest.$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16658 #ifdef __cplusplus
16659 extern "C"
16660 #endif
16661 char XineramaQueryScreens ();
16663 main ()
16665 return XineramaQueryScreens ();
16667 return 0;
16669 _ACEOF
16670 rm -f conftest.$ac_objext conftest$ac_exeext
16671 if { (ac_try="$ac_link"
16672 case "(($ac_try" in
16673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16674 *) ac_try_echo=$ac_try;;
16675 esac
16676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16677 (eval "$ac_link") 2>conftest.er1
16678 ac_status=$?
16679 grep -v '^ *+' conftest.er1 >conftest.err
16680 rm -f conftest.er1
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16685 { (case "(($ac_try" in
16686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16688 esac
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_try") 2>&5
16691 ac_status=$?
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try='test -s conftest$ac_exeext'
16695 { (case "(($ac_try" in
16696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16697 *) ac_try_echo=$ac_try;;
16698 esac
16699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_try") 2>&5
16701 ac_status=$?
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; }; then
16704 case "$LIBEXT" in
16705 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'` ;;
16706 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16707 esac
16708 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16709 then
16710 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16712 else
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16716 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16720 conftest$ac_exeext conftest.$ac_ext
16721 LIBS=$ac_get_soname_save_LIBS
16723 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16724 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16725 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16727 cat >>confdefs.h <<_ACEOF
16728 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16729 _ACEOF
16733 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16734 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16735 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 ac_get_soname_save_LIBS=$LIBS
16739 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16740 cat >conftest.$ac_ext <<_ACEOF
16741 /* confdefs.h. */
16742 _ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16747 /* Override any GCC internal prototype to avoid an error.
16748 Use char because int might match the return type of a GCC
16749 builtin and then its argument prototype would still apply. */
16750 #ifdef __cplusplus
16751 extern "C"
16752 #endif
16753 char XRenderQueryExtension ();
16755 main ()
16757 return XRenderQueryExtension ();
16759 return 0;
16761 _ACEOF
16762 rm -f conftest.$ac_objext conftest$ac_exeext
16763 if { (ac_try="$ac_link"
16764 case "(($ac_try" in
16765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16766 *) ac_try_echo=$ac_try;;
16767 esac
16768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16769 (eval "$ac_link") 2>conftest.er1
16770 ac_status=$?
16771 grep -v '^ *+' conftest.er1 >conftest.err
16772 rm -f conftest.er1
16773 cat conftest.err >&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } &&
16776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16777 { (case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779 *) ac_try_echo=$ac_try;;
16780 esac
16781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16782 (eval "$ac_try") 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest$ac_exeext'
16787 { (case "(($ac_try" in
16788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16789 *) ac_try_echo=$ac_try;;
16790 esac
16791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 (eval "$ac_try") 2>&5
16793 ac_status=$?
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; }; then
16796 case "$LIBEXT" in
16797 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'` ;;
16798 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16799 esac
16800 if test "x$ac_cv_lib_soname_Xrender" = "x"
16801 then
16802 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16804 else
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16812 conftest$ac_exeext conftest.$ac_ext
16813 LIBS=$ac_get_soname_save_LIBS
16815 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16816 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16817 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16819 cat >>confdefs.h <<_ACEOF
16820 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16821 _ACEOF
16825 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16826 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16827 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 ac_get_soname_save_LIBS=$LIBS
16831 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16832 cat >conftest.$ac_ext <<_ACEOF
16833 /* confdefs.h. */
16834 _ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16842 #ifdef __cplusplus
16843 extern "C"
16844 #endif
16845 char XRRQueryExtension ();
16847 main ()
16849 return XRRQueryExtension ();
16851 return 0;
16853 _ACEOF
16854 rm -f conftest.$ac_objext conftest$ac_exeext
16855 if { (ac_try="$ac_link"
16856 case "(($ac_try" in
16857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16858 *) ac_try_echo=$ac_try;;
16859 esac
16860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861 (eval "$ac_link") 2>conftest.er1
16862 ac_status=$?
16863 grep -v '^ *+' conftest.er1 >conftest.err
16864 rm -f conftest.er1
16865 cat conftest.err >&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16869 { (case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16872 esac
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_try") 2>&5
16875 ac_status=$?
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest$ac_exeext'
16879 { (case "(($ac_try" in
16880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16881 *) ac_try_echo=$ac_try;;
16882 esac
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_try") 2>&5
16885 ac_status=$?
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 case "$LIBEXT" in
16889 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'` ;;
16890 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16891 esac
16892 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16893 then
16894 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16896 else
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16900 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16904 conftest$ac_exeext conftest.$ac_ext
16905 LIBS=$ac_get_soname_save_LIBS
16907 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16908 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16909 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16911 cat >>confdefs.h <<_ACEOF
16912 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16913 _ACEOF
16917 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16918 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16919 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 else
16922 ac_get_soname_save_LIBS=$LIBS
16923 LIBS="-lfreetype $X_LIBS $LIBS"
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16931 /* Override any GCC internal prototype to avoid an error.
16932 Use char because int might match the return type of a GCC
16933 builtin and then its argument prototype would still apply. */
16934 #ifdef __cplusplus
16935 extern "C"
16936 #endif
16937 char FT_Init_FreeType ();
16939 main ()
16941 return FT_Init_FreeType ();
16943 return 0;
16945 _ACEOF
16946 rm -f conftest.$ac_objext conftest$ac_exeext
16947 if { (ac_try="$ac_link"
16948 case "(($ac_try" in
16949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16950 *) ac_try_echo=$ac_try;;
16951 esac
16952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16953 (eval "$ac_link") 2>conftest.er1
16954 ac_status=$?
16955 grep -v '^ *+' conftest.er1 >conftest.err
16956 rm -f conftest.er1
16957 cat conftest.err >&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } &&
16960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16961 { (case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16964 esac
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_try") 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try='test -s conftest$ac_exeext'
16971 { (case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_try") 2>&5
16977 ac_status=$?
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); }; }; then
16980 case "$LIBEXT" in
16981 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'` ;;
16982 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16983 esac
16984 if test "x$ac_cv_lib_soname_freetype" = "x"
16985 then
16986 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16996 conftest$ac_exeext conftest.$ac_ext
16997 LIBS=$ac_get_soname_save_LIBS
16999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17000 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17001 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17003 cat >>confdefs.h <<_ACEOF
17004 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17005 _ACEOF
17009 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17010 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17011 if test "${ac_cv_lib_soname_GL+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 else
17014 ac_get_soname_save_LIBS=$LIBS
17015 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h. */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17023 /* Override any GCC internal prototype to avoid an error.
17024 Use char because int might match the return type of a GCC
17025 builtin and then its argument prototype would still apply. */
17026 #ifdef __cplusplus
17027 extern "C"
17028 #endif
17029 char glXQueryExtension ();
17031 main ()
17033 return glXQueryExtension ();
17035 return 0;
17037 _ACEOF
17038 rm -f conftest.$ac_objext conftest$ac_exeext
17039 if { (ac_try="$ac_link"
17040 case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17042 *) ac_try_echo=$ac_try;;
17043 esac
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_link") 2>conftest.er1
17046 ac_status=$?
17047 grep -v '^ *+' conftest.er1 >conftest.err
17048 rm -f conftest.er1
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } &&
17052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17053 { (case "(($ac_try" in
17054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17055 *) ac_try_echo=$ac_try;;
17056 esac
17057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17058 (eval "$ac_try") 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try='test -s conftest$ac_exeext'
17063 { (case "(($ac_try" in
17064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17066 esac
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_try") 2>&5
17069 ac_status=$?
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; }; then
17072 case "$LIBEXT" in
17073 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'` ;;
17074 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17075 esac
17076 if test "x$ac_cv_lib_soname_GL" = "x"
17077 then
17078 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17080 else
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17088 conftest$ac_exeext conftest.$ac_ext
17089 LIBS=$ac_get_soname_save_LIBS
17091 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17092 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17093 if test "${ac_cv_lib_soname_GL+set}" = set; then
17095 cat >>confdefs.h <<_ACEOF
17096 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17097 _ACEOF
17101 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17102 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17103 if test "${ac_cv_lib_soname_hal+set}" = set; then
17104 echo $ECHO_N "(cached) $ECHO_C" >&6
17105 else
17106 ac_get_soname_save_LIBS=$LIBS
17107 LIBS="-lhal $LIBS"
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h. */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17115 /* Override any GCC internal prototype to avoid an error.
17116 Use char because int might match the return type of a GCC
17117 builtin and then its argument prototype would still apply. */
17118 #ifdef __cplusplus
17119 extern "C"
17120 #endif
17121 char libhal_ctx_new ();
17123 main ()
17125 return libhal_ctx_new ();
17127 return 0;
17129 _ACEOF
17130 rm -f conftest.$ac_objext conftest$ac_exeext
17131 if { (ac_try="$ac_link"
17132 case "(($ac_try" in
17133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17135 esac
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_link") 2>conftest.er1
17138 ac_status=$?
17139 grep -v '^ *+' conftest.er1 >conftest.err
17140 rm -f conftest.er1
17141 cat conftest.err >&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
17144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17145 { (case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_try") 2>&5
17151 ac_status=$?
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest$ac_exeext'
17155 { (case "(($ac_try" in
17156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17157 *) ac_try_echo=$ac_try;;
17158 esac
17159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160 (eval "$ac_try") 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17164 case "$LIBEXT" in
17165 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'` ;;
17166 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17167 esac
17168 if test "x$ac_cv_lib_soname_hal" = "x"
17169 then
17170 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17172 else
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17176 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180 conftest$ac_exeext conftest.$ac_ext
17181 LIBS=$ac_get_soname_save_LIBS
17183 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17184 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17185 if test "${ac_cv_lib_soname_hal+set}" = set; then
17187 cat >>confdefs.h <<_ACEOF
17188 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17189 _ACEOF
17193 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17194 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17195 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17197 else
17198 ac_get_soname_save_LIBS=$LIBS
17199 LIBS="-ltxc_dxtn $LIBS"
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17207 /* Override any GCC internal prototype to avoid an error.
17208 Use char because int might match the return type of a GCC
17209 builtin and then its argument prototype would still apply. */
17210 #ifdef __cplusplus
17211 extern "C"
17212 #endif
17213 char fetch_2d_texel_rgba_dxt1 ();
17215 main ()
17217 return fetch_2d_texel_rgba_dxt1 ();
17219 return 0;
17221 _ACEOF
17222 rm -f conftest.$ac_objext conftest$ac_exeext
17223 if { (ac_try="$ac_link"
17224 case "(($ac_try" in
17225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17226 *) ac_try_echo=$ac_try;;
17227 esac
17228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17229 (eval "$ac_link") 2>conftest.er1
17230 ac_status=$?
17231 grep -v '^ *+' conftest.er1 >conftest.err
17232 rm -f conftest.er1
17233 cat conftest.err >&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17237 { (case "(($ac_try" in
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239 *) ac_try_echo=$ac_try;;
17240 esac
17241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17242 (eval "$ac_try") 2>&5
17243 ac_status=$?
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try='test -s conftest$ac_exeext'
17247 { (case "(($ac_try" in
17248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17249 *) ac_try_echo=$ac_try;;
17250 esac
17251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17252 (eval "$ac_try") 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 case "$LIBEXT" in
17257 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'` ;;
17258 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'` ;;
17259 esac
17260 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17261 then
17262 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17272 conftest$ac_exeext conftest.$ac_ext
17273 LIBS=$ac_get_soname_save_LIBS
17275 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17276 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17277 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17279 cat >>confdefs.h <<_ACEOF
17280 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17281 _ACEOF
17285 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17286 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17287 if test "${ac_cv_lib_soname_cups+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 ac_get_soname_save_LIBS=$LIBS
17291 LIBS="-lcups $LIBS"
17292 cat >conftest.$ac_ext <<_ACEOF
17293 /* confdefs.h. */
17294 _ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17299 /* Override any GCC internal prototype to avoid an error.
17300 Use char because int might match the return type of a GCC
17301 builtin and then its argument prototype would still apply. */
17302 #ifdef __cplusplus
17303 extern "C"
17304 #endif
17305 char cupsGetDefault ();
17307 main ()
17309 return cupsGetDefault ();
17311 return 0;
17313 _ACEOF
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (ac_try="$ac_link"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17319 esac
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_link") 2>conftest.er1
17322 ac_status=$?
17323 grep -v '^ *+' conftest.er1 >conftest.err
17324 rm -f conftest.er1
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17329 { (case "(($ac_try" in
17330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17332 esac
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_try") 2>&5
17335 ac_status=$?
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try='test -s conftest$ac_exeext'
17339 { (case "(($ac_try" in
17340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17341 *) ac_try_echo=$ac_try;;
17342 esac
17343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17344 (eval "$ac_try") 2>&5
17345 ac_status=$?
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 case "$LIBEXT" in
17349 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'` ;;
17350 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17351 esac
17352 if test "x$ac_cv_lib_soname_cups" = "x"
17353 then
17354 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17356 else
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.$ac_ext >&5
17360 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17364 conftest$ac_exeext conftest.$ac_ext
17365 LIBS=$ac_get_soname_save_LIBS
17367 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17368 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17369 if test "${ac_cv_lib_soname_cups+set}" = set; then
17371 cat >>confdefs.h <<_ACEOF
17372 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17373 _ACEOF
17377 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17378 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17379 if test "${ac_cv_lib_soname_jack+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17381 else
17382 ac_get_soname_save_LIBS=$LIBS
17383 LIBS="-ljack $LIBS"
17384 cat >conftest.$ac_ext <<_ACEOF
17385 /* confdefs.h. */
17386 _ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17391 /* Override any GCC internal prototype to avoid an error.
17392 Use char because int might match the return type of a GCC
17393 builtin and then its argument prototype would still apply. */
17394 #ifdef __cplusplus
17395 extern "C"
17396 #endif
17397 char jack_client_new ();
17399 main ()
17401 return jack_client_new ();
17403 return 0;
17405 _ACEOF
17406 rm -f conftest.$ac_objext conftest$ac_exeext
17407 if { (ac_try="$ac_link"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17411 esac
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_link") 2>conftest.er1
17414 ac_status=$?
17415 grep -v '^ *+' conftest.er1 >conftest.err
17416 rm -f conftest.er1
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } &&
17420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17421 { (case "(($ac_try" in
17422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17423 *) ac_try_echo=$ac_try;;
17424 esac
17425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17426 (eval "$ac_try") 2>&5
17427 ac_status=$?
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); }; } &&
17430 { ac_try='test -s conftest$ac_exeext'
17431 { (case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17434 esac
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_try") 2>&5
17437 ac_status=$?
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; }; then
17440 case "$LIBEXT" in
17441 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'` ;;
17442 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17443 esac
17444 if test "x$ac_cv_lib_soname_jack" = "x"
17445 then
17446 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17456 conftest$ac_exeext conftest.$ac_ext
17457 LIBS=$ac_get_soname_save_LIBS
17459 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17460 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17461 if test "${ac_cv_lib_soname_jack+set}" = set; then
17463 cat >>confdefs.h <<_ACEOF
17464 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17465 _ACEOF
17469 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17470 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17471 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17473 else
17474 ac_get_soname_save_LIBS=$LIBS
17475 LIBS="-lfontconfig $LIBS"
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17483 /* Override any GCC internal prototype to avoid an error.
17484 Use char because int might match the return type of a GCC
17485 builtin and then its argument prototype would still apply. */
17486 #ifdef __cplusplus
17487 extern "C"
17488 #endif
17489 char FcInit ();
17491 main ()
17493 return FcInit ();
17495 return 0;
17497 _ACEOF
17498 rm -f conftest.$ac_objext conftest$ac_exeext
17499 if { (ac_try="$ac_link"
17500 case "(($ac_try" in
17501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17503 esac
17504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17505 (eval "$ac_link") 2>conftest.er1
17506 ac_status=$?
17507 grep -v '^ *+' conftest.er1 >conftest.err
17508 rm -f conftest.er1
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17513 { (case "(($ac_try" in
17514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515 *) ac_try_echo=$ac_try;;
17516 esac
17517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17518 (eval "$ac_try") 2>&5
17519 ac_status=$?
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; } &&
17522 { ac_try='test -s conftest$ac_exeext'
17523 { (case "(($ac_try" in
17524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17525 *) ac_try_echo=$ac_try;;
17526 esac
17527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17528 (eval "$ac_try") 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 case "$LIBEXT" in
17533 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'` ;;
17534 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17535 esac
17536 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17537 then
17538 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17540 else
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.$ac_ext >&5
17544 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17548 conftest$ac_exeext conftest.$ac_ext
17549 LIBS=$ac_get_soname_save_LIBS
17551 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17552 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17553 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17555 cat >>confdefs.h <<_ACEOF
17556 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17557 _ACEOF
17561 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17562 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17563 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17565 else
17566 ac_get_soname_save_LIBS=$LIBS
17567 LIBS="-lssl $LIBS"
17568 cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h. */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17578 #ifdef __cplusplus
17579 extern "C"
17580 #endif
17581 char SSL_library_init ();
17583 main ()
17585 return SSL_library_init ();
17587 return 0;
17589 _ACEOF
17590 rm -f conftest.$ac_objext conftest$ac_exeext
17591 if { (ac_try="$ac_link"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 *) ac_try_echo=$ac_try;;
17595 esac
17596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_link") 2>conftest.er1
17598 ac_status=$?
17599 grep -v '^ *+' conftest.er1 >conftest.err
17600 rm -f conftest.er1
17601 cat conftest.err >&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17605 { (case "(($ac_try" in
17606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17607 *) ac_try_echo=$ac_try;;
17608 esac
17609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17610 (eval "$ac_try") 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try='test -s conftest$ac_exeext'
17615 { (case "(($ac_try" in
17616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17617 *) ac_try_echo=$ac_try;;
17618 esac
17619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17620 (eval "$ac_try") 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 case "$LIBEXT" in
17625 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'` ;;
17626 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17627 esac
17628 if test "x$ac_cv_lib_soname_ssl" = "x"
17629 then
17630 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17632 else
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17636 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17640 conftest$ac_exeext conftest.$ac_ext
17641 LIBS=$ac_get_soname_save_LIBS
17643 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17644 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17645 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17647 cat >>confdefs.h <<_ACEOF
17648 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17649 _ACEOF
17653 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17654 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17655 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 else
17658 ac_get_soname_save_LIBS=$LIBS
17659 LIBS="-lcrypto $LIBS"
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17667 /* Override any GCC internal prototype to avoid an error.
17668 Use char because int might match the return type of a GCC
17669 builtin and then its argument prototype would still apply. */
17670 #ifdef __cplusplus
17671 extern "C"
17672 #endif
17673 char BIO_new_socket ();
17675 main ()
17677 return BIO_new_socket ();
17679 return 0;
17681 _ACEOF
17682 rm -f conftest.$ac_objext conftest$ac_exeext
17683 if { (ac_try="$ac_link"
17684 case "(($ac_try" in
17685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17686 *) ac_try_echo=$ac_try;;
17687 esac
17688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17689 (eval "$ac_link") 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17697 { (case "(($ac_try" in
17698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17699 *) ac_try_echo=$ac_try;;
17700 esac
17701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17702 (eval "$ac_try") 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest$ac_exeext'
17707 { (case "(($ac_try" in
17708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17709 *) ac_try_echo=$ac_try;;
17710 esac
17711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17712 (eval "$ac_try") 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 case "$LIBEXT" in
17717 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'` ;;
17718 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17719 esac
17720 if test "x$ac_cv_lib_soname_crypto" = "x"
17721 then
17722 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17724 else
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.$ac_ext >&5
17728 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17732 conftest$ac_exeext conftest.$ac_ext
17733 LIBS=$ac_get_soname_save_LIBS
17735 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17736 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17737 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17739 cat >>confdefs.h <<_ACEOF
17740 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17741 _ACEOF
17745 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17746 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17747 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750 ac_get_soname_save_LIBS=$LIBS
17751 LIBS="-lncurses $LIBS"
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17759 /* Override any GCC internal prototype to avoid an error.
17760 Use char because int might match the return type of a GCC
17761 builtin and then its argument prototype would still apply. */
17762 #ifdef __cplusplus
17763 extern "C"
17764 #endif
17765 char waddch ();
17767 main ()
17769 return waddch ();
17771 return 0;
17773 _ACEOF
17774 rm -f conftest.$ac_objext conftest$ac_exeext
17775 if { (ac_try="$ac_link"
17776 case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17779 esac
17780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_link") 2>conftest.er1
17782 ac_status=$?
17783 grep -v '^ *+' conftest.er1 >conftest.err
17784 rm -f conftest.er1
17785 cat conftest.err >&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); } &&
17788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17789 { (case "(($ac_try" in
17790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17791 *) ac_try_echo=$ac_try;;
17792 esac
17793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17794 (eval "$ac_try") 2>&5
17795 ac_status=$?
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try='test -s conftest$ac_exeext'
17799 { (case "(($ac_try" in
17800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17801 *) ac_try_echo=$ac_try;;
17802 esac
17803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17804 (eval "$ac_try") 2>&5
17805 ac_status=$?
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; }; then
17808 case "$LIBEXT" in
17809 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'` ;;
17810 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17811 esac
17812 if test "x$ac_cv_lib_soname_ncurses" = "x"
17813 then
17814 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17816 else
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17820 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17824 conftest$ac_exeext conftest.$ac_ext
17825 LIBS=$ac_get_soname_save_LIBS
17827 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17828 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17829 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17831 cat >>confdefs.h <<_ACEOF
17832 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17833 _ACEOF
17837 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17838 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17839 if test "${ac_cv_lib_soname_curses+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 ac_get_soname_save_LIBS=$LIBS
17843 LIBS="-lcurses $LIBS"
17844 cat >conftest.$ac_ext <<_ACEOF
17845 /* confdefs.h. */
17846 _ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17851 /* Override any GCC internal prototype to avoid an error.
17852 Use char because int might match the return type of a GCC
17853 builtin and then its argument prototype would still apply. */
17854 #ifdef __cplusplus
17855 extern "C"
17856 #endif
17857 char waddch ();
17859 main ()
17861 return waddch ();
17863 return 0;
17865 _ACEOF
17866 rm -f conftest.$ac_objext conftest$ac_exeext
17867 if { (ac_try="$ac_link"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17871 esac
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_link") 2>conftest.er1
17874 ac_status=$?
17875 grep -v '^ *+' conftest.er1 >conftest.err
17876 rm -f conftest.er1
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } &&
17880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17881 { (case "(($ac_try" in
17882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17883 *) ac_try_echo=$ac_try;;
17884 esac
17885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17886 (eval "$ac_try") 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try='test -s conftest$ac_exeext'
17891 { (case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17894 esac
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_try") 2>&5
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; }; then
17900 case "$LIBEXT" in
17901 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'` ;;
17902 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17903 esac
17904 if test "x$ac_cv_lib_soname_curses" = "x"
17905 then
17906 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17908 else
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17912 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17916 conftest$ac_exeext conftest.$ac_ext
17917 LIBS=$ac_get_soname_save_LIBS
17919 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17920 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17921 if test "${ac_cv_lib_soname_curses+set}" = set; then
17923 cat >>confdefs.h <<_ACEOF
17924 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17925 _ACEOF
17929 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17930 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17931 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 ac_get_soname_save_LIBS=$LIBS
17935 LIBS="-ljpeg $LIBS"
17936 cat >conftest.$ac_ext <<_ACEOF
17937 /* confdefs.h. */
17938 _ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17943 /* Override any GCC internal prototype to avoid an error.
17944 Use char because int might match the return type of a GCC
17945 builtin and then its argument prototype would still apply. */
17946 #ifdef __cplusplus
17947 extern "C"
17948 #endif
17949 char jpeg_start_decompress ();
17951 main ()
17953 return jpeg_start_decompress ();
17955 return 0;
17957 _ACEOF
17958 rm -f conftest.$ac_objext conftest$ac_exeext
17959 if { (ac_try="$ac_link"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17963 esac
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_link") 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (case "(($ac_try" in
17974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17975 *) ac_try_echo=$ac_try;;
17976 esac
17977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17978 (eval "$ac_try") 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; } &&
17982 { ac_try='test -s conftest$ac_exeext'
17983 { (case "(($ac_try" in
17984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17985 *) ac_try_echo=$ac_try;;
17986 esac
17987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17988 (eval "$ac_try") 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 case "$LIBEXT" in
17993 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'` ;;
17994 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17995 esac
17996 if test "x$ac_cv_lib_soname_jpeg" = "x"
17997 then
17998 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18000 else
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18004 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_get_soname_save_LIBS
18011 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18012 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18013 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18015 cat >>confdefs.h <<_ACEOF
18016 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18017 _ACEOF
18021 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18022 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18023 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026 ac_get_soname_save_LIBS=$LIBS
18027 LIBS="-lcapi20 $LIBS"
18028 cat >conftest.$ac_ext <<_ACEOF
18029 /* confdefs.h. */
18030 _ACEOF
18031 cat confdefs.h >>conftest.$ac_ext
18032 cat >>conftest.$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18035 /* Override any GCC internal prototype to avoid an error.
18036 Use char because int might match the return type of a GCC
18037 builtin and then its argument prototype would still apply. */
18038 #ifdef __cplusplus
18039 extern "C"
18040 #endif
18041 char capi20_isinstalled ();
18043 main ()
18045 return capi20_isinstalled ();
18047 return 0;
18049 _ACEOF
18050 rm -f conftest.$ac_objext conftest$ac_exeext
18051 if { (ac_try="$ac_link"
18052 case "(($ac_try" in
18053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18054 *) ac_try_echo=$ac_try;;
18055 esac
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_link") 2>conftest.er1
18058 ac_status=$?
18059 grep -v '^ *+' conftest.er1 >conftest.err
18060 rm -f conftest.er1
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18065 { (case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18068 esac
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_try") 2>&5
18071 ac_status=$?
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try='test -s conftest$ac_exeext'
18075 { (case "(($ac_try" in
18076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18077 *) ac_try_echo=$ac_try;;
18078 esac
18079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18080 (eval "$ac_try") 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18084 case "$LIBEXT" in
18085 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'` ;;
18086 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18087 esac
18088 if test "x$ac_cv_lib_soname_capi20" = "x"
18089 then
18090 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18092 else
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18100 conftest$ac_exeext conftest.$ac_ext
18101 LIBS=$ac_get_soname_save_LIBS
18103 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18104 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18105 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18107 cat >>confdefs.h <<_ACEOF
18108 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18109 _ACEOF
18186 for ac_func in \
18187 _pclose \
18188 _popen \
18189 _snprintf \
18190 _spawnvp \
18191 _stricmp \
18192 _strnicmp \
18193 _vsnprintf \
18194 asctime_r \
18195 chsize \
18196 clone \
18197 connect \
18198 dlopen \
18199 epoll_create \
18200 ffs \
18201 finite \
18202 fork \
18203 fpclass \
18204 fstatfs \
18205 fstatvfs \
18206 ftruncate \
18207 futimes \
18208 futimesat \
18209 getaddrinfo \
18210 gethostbyname \
18211 getnameinfo \
18212 getnetbyname \
18213 getopt_long \
18214 getpagesize \
18215 getprotobyname \
18216 getprotobynumber \
18217 getpwuid \
18218 getservbyport \
18219 gettid \
18220 gettimeofday \
18221 getuid \
18222 inet_aton \
18223 inet_network \
18224 kqueue \
18225 lstat \
18226 memmove \
18227 mmap \
18228 pclose \
18229 poll \
18230 popen \
18231 prctl \
18232 pread \
18233 pwrite \
18234 readlink \
18235 rfork \
18236 sched_yield \
18237 select \
18238 sendmsg \
18239 setrlimit \
18240 settimeofday \
18241 sigaltstack \
18242 sigprocmask \
18243 snprintf \
18244 spawnvp \
18245 statfs \
18246 statvfs \
18247 strcasecmp \
18248 strerror \
18249 strncasecmp \
18250 tcgetattr \
18251 timegm \
18252 usleep \
18253 vsnprintf \
18254 wait4 \
18255 waitpid \
18258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18261 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18263 else
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18272 #define $ac_func innocuous_$ac_func
18274 /* System header to define __stub macros and hopefully few prototypes,
18275 which can conflict with char $ac_func (); below.
18276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18277 <limits.h> exists even on freestanding compilers. */
18279 #ifdef __STDC__
18280 # include <limits.h>
18281 #else
18282 # include <assert.h>
18283 #endif
18285 #undef $ac_func
18287 /* Override any GCC internal prototype to avoid an error.
18288 Use char because int might match the return type of a GCC
18289 builtin and then its argument prototype would still apply. */
18290 #ifdef __cplusplus
18291 extern "C"
18292 #endif
18293 char $ac_func ();
18294 /* The GNU C library defines this for functions which it implements
18295 to always fail with ENOSYS. Some functions are actually named
18296 something starting with __ and the normal name is an alias. */
18297 #if defined __stub_$ac_func || defined __stub___$ac_func
18298 choke me
18299 #endif
18302 main ()
18304 return $ac_func ();
18306 return 0;
18308 _ACEOF
18309 rm -f conftest.$ac_objext conftest$ac_exeext
18310 if { (ac_try="$ac_link"
18311 case "(($ac_try" in
18312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18313 *) ac_try_echo=$ac_try;;
18314 esac
18315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18316 (eval "$ac_link") 2>conftest.er1
18317 ac_status=$?
18318 grep -v '^ *+' conftest.er1 >conftest.err
18319 rm -f conftest.er1
18320 cat conftest.err >&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18324 { (case "(($ac_try" in
18325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18326 *) ac_try_echo=$ac_try;;
18327 esac
18328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18329 (eval "$ac_try") 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try='test -s conftest$ac_exeext'
18334 { (case "(($ac_try" in
18335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18336 *) ac_try_echo=$ac_try;;
18337 esac
18338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18339 (eval "$ac_try") 2>&5
18340 ac_status=$?
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 eval "$as_ac_var=yes"
18344 else
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18348 eval "$as_ac_var=no"
18351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18352 conftest$ac_exeext conftest.$ac_ext
18354 ac_res=`eval echo '${'$as_ac_var'}'`
18355 { echo "$as_me:$LINENO: result: $ac_res" >&5
18356 echo "${ECHO_T}$ac_res" >&6; }
18357 if test `eval echo '${'$as_ac_var'}'` = yes; then
18358 cat >>confdefs.h <<_ACEOF
18359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18360 _ACEOF
18363 done
18366 if test "$ac_cv_func_dlopen" = no
18367 then
18368 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18369 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18370 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18371 echo $ECHO_N "(cached) $ECHO_C" >&6
18372 else
18373 ac_check_lib_save_LIBS=$LIBS
18374 LIBS="-ldl $LIBS"
18375 cat >conftest.$ac_ext <<_ACEOF
18376 /* confdefs.h. */
18377 _ACEOF
18378 cat confdefs.h >>conftest.$ac_ext
18379 cat >>conftest.$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18382 /* Override any GCC internal prototype to avoid an error.
18383 Use char because int might match the return type of a GCC
18384 builtin and then its argument prototype would still apply. */
18385 #ifdef __cplusplus
18386 extern "C"
18387 #endif
18388 char dlopen ();
18390 main ()
18392 return dlopen ();
18394 return 0;
18396 _ACEOF
18397 rm -f conftest.$ac_objext conftest$ac_exeext
18398 if { (ac_try="$ac_link"
18399 case "(($ac_try" in
18400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18401 *) ac_try_echo=$ac_try;;
18402 esac
18403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18404 (eval "$ac_link") 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18412 { (case "(($ac_try" in
18413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18414 *) ac_try_echo=$ac_try;;
18415 esac
18416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18417 (eval "$ac_try") 2>&5
18418 ac_status=$?
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; } &&
18421 { ac_try='test -s conftest$ac_exeext'
18422 { (case "(($ac_try" in
18423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18425 esac
18426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18427 (eval "$ac_try") 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_cv_lib_dl_dlopen=yes
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18436 ac_cv_lib_dl_dlopen=no
18439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18440 conftest$ac_exeext conftest.$ac_ext
18441 LIBS=$ac_check_lib_save_LIBS
18443 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18444 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18445 if test $ac_cv_lib_dl_dlopen = yes; then
18446 cat >>confdefs.h <<\_ACEOF
18447 #define HAVE_DLOPEN 1
18448 _ACEOF
18449 LIBDL="-ldl"
18454 ac_wine_check_funcs_save_LIBS="$LIBS"
18455 LIBS="$LIBS $LIBDL"
18457 for ac_func in dladdr
18459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 else
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18473 #define $ac_func innocuous_$ac_func
18475 /* System header to define __stub macros and hopefully few prototypes,
18476 which can conflict with char $ac_func (); below.
18477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18478 <limits.h> exists even on freestanding compilers. */
18480 #ifdef __STDC__
18481 # include <limits.h>
18482 #else
18483 # include <assert.h>
18484 #endif
18486 #undef $ac_func
18488 /* Override any GCC internal prototype to avoid an error.
18489 Use char because int might match the return type of a GCC
18490 builtin and then its argument prototype would still apply. */
18491 #ifdef __cplusplus
18492 extern "C"
18493 #endif
18494 char $ac_func ();
18495 /* The GNU C library defines this for functions which it implements
18496 to always fail with ENOSYS. Some functions are actually named
18497 something starting with __ and the normal name is an alias. */
18498 #if defined __stub_$ac_func || defined __stub___$ac_func
18499 choke me
18500 #endif
18503 main ()
18505 return $ac_func ();
18507 return 0;
18509 _ACEOF
18510 rm -f conftest.$ac_objext conftest$ac_exeext
18511 if { (ac_try="$ac_link"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_link") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } &&
18524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18525 { (case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18528 esac
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_try") 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; } &&
18534 { ac_try='test -s conftest$ac_exeext'
18535 { (case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18538 esac
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_try") 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; }; then
18544 eval "$as_ac_var=yes"
18545 else
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18549 eval "$as_ac_var=no"
18552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18553 conftest$ac_exeext conftest.$ac_ext
18555 ac_res=`eval echo '${'$as_ac_var'}'`
18556 { echo "$as_me:$LINENO: result: $ac_res" >&5
18557 echo "${ECHO_T}$ac_res" >&6; }
18558 if test `eval echo '${'$as_ac_var'}'` = yes; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18561 _ACEOF
18564 done
18566 LIBS="$ac_wine_check_funcs_save_LIBS"
18568 if test "$ac_cv_func_poll" = no
18569 then
18570 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18571 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18572 if test "${ac_cv_lib_poll_poll+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18574 else
18575 ac_check_lib_save_LIBS=$LIBS
18576 LIBS="-lpoll $LIBS"
18577 cat >conftest.$ac_ext <<_ACEOF
18578 /* confdefs.h. */
18579 _ACEOF
18580 cat confdefs.h >>conftest.$ac_ext
18581 cat >>conftest.$ac_ext <<_ACEOF
18582 /* end confdefs.h. */
18584 /* Override any GCC internal prototype to avoid an error.
18585 Use char because int might match the return type of a GCC
18586 builtin and then its argument prototype would still apply. */
18587 #ifdef __cplusplus
18588 extern "C"
18589 #endif
18590 char poll ();
18592 main ()
18594 return poll ();
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 ac_cv_lib_poll_poll=yes
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18638 ac_cv_lib_poll_poll=no
18641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18642 conftest$ac_exeext conftest.$ac_ext
18643 LIBS=$ac_check_lib_save_LIBS
18645 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18646 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18647 if test $ac_cv_lib_poll_poll = yes; then
18648 cat >>confdefs.h <<\_ACEOF
18649 #define HAVE_POLL 1
18650 _ACEOF
18651 LIBPOLL="-lpoll"
18657 if test "$ac_cv_func_gethostbyname" = no
18658 then
18660 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18661 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18662 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 else
18665 ac_check_lib_save_LIBS=$LIBS
18666 LIBS="-lnsl $LIBS"
18667 cat >conftest.$ac_ext <<_ACEOF
18668 /* confdefs.h. */
18669 _ACEOF
18670 cat confdefs.h >>conftest.$ac_ext
18671 cat >>conftest.$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18674 /* Override any GCC internal prototype to avoid an error.
18675 Use char because int might match the return type of a GCC
18676 builtin and then its argument prototype would still apply. */
18677 #ifdef __cplusplus
18678 extern "C"
18679 #endif
18680 char gethostbyname ();
18682 main ()
18684 return gethostbyname ();
18686 return 0;
18688 _ACEOF
18689 rm -f conftest.$ac_objext conftest$ac_exeext
18690 if { (ac_try="$ac_link"
18691 case "(($ac_try" in
18692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18694 esac
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_link") 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18704 { (case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18707 esac
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_try") 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; } &&
18713 { ac_try='test -s conftest$ac_exeext'
18714 { (case "(($ac_try" in
18715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18716 *) ac_try_echo=$ac_try;;
18717 esac
18718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18719 (eval "$ac_try") 2>&5
18720 ac_status=$?
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; }; then
18723 ac_cv_lib_nsl_gethostbyname=yes
18724 else
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18728 ac_cv_lib_nsl_gethostbyname=no
18731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18732 conftest$ac_exeext conftest.$ac_ext
18733 LIBS=$ac_check_lib_save_LIBS
18735 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18736 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18737 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18738 cat >>confdefs.h <<_ACEOF
18739 #define HAVE_LIBNSL 1
18740 _ACEOF
18742 LIBS="-lnsl $LIBS"
18748 if test "$ac_cv_func_connect" = no
18749 then
18751 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18752 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18753 if test "${ac_cv_lib_socket_connect+set}" = set; then
18754 echo $ECHO_N "(cached) $ECHO_C" >&6
18755 else
18756 ac_check_lib_save_LIBS=$LIBS
18757 LIBS="-lsocket $LIBS"
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18765 /* Override any GCC internal prototype to avoid an error.
18766 Use char because int might match the return type of a GCC
18767 builtin and then its argument prototype would still apply. */
18768 #ifdef __cplusplus
18769 extern "C"
18770 #endif
18771 char connect ();
18773 main ()
18775 return connect ();
18777 return 0;
18779 _ACEOF
18780 rm -f conftest.$ac_objext conftest$ac_exeext
18781 if { (ac_try="$ac_link"
18782 case "(($ac_try" in
18783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18784 *) ac_try_echo=$ac_try;;
18785 esac
18786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_link") 2>conftest.er1
18788 ac_status=$?
18789 grep -v '^ *+' conftest.er1 >conftest.err
18790 rm -f conftest.er1
18791 cat conftest.err >&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18795 { (case "(($ac_try" in
18796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18798 esac
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_try") 2>&5
18801 ac_status=$?
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try='test -s conftest$ac_exeext'
18805 { (case "(($ac_try" in
18806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18807 *) ac_try_echo=$ac_try;;
18808 esac
18809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18810 (eval "$ac_try") 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_cv_lib_socket_connect=yes
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18819 ac_cv_lib_socket_connect=no
18822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18823 conftest$ac_exeext conftest.$ac_ext
18824 LIBS=$ac_check_lib_save_LIBS
18826 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18827 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18828 if test $ac_cv_lib_socket_connect = yes; then
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_LIBSOCKET 1
18831 _ACEOF
18833 LIBS="-lsocket $LIBS"
18839 if test "$ac_cv_func_inet_aton" = no
18840 then
18842 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18843 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18844 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847 ac_check_lib_save_LIBS=$LIBS
18848 LIBS="-lresolv $LIBS"
18849 cat >conftest.$ac_ext <<_ACEOF
18850 /* confdefs.h. */
18851 _ACEOF
18852 cat confdefs.h >>conftest.$ac_ext
18853 cat >>conftest.$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18856 /* Override any GCC internal prototype to avoid an error.
18857 Use char because int might match the return type of a GCC
18858 builtin and then its argument prototype would still apply. */
18859 #ifdef __cplusplus
18860 extern "C"
18861 #endif
18862 char inet_aton ();
18864 main ()
18866 return inet_aton ();
18868 return 0;
18870 _ACEOF
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (ac_try="$ac_link"
18873 case "(($ac_try" in
18874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18876 esac
18877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_link") 2>conftest.er1
18879 ac_status=$?
18880 grep -v '^ *+' conftest.er1 >conftest.err
18881 rm -f conftest.er1
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18886 { (case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18889 esac
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_try") 2>&5
18892 ac_status=$?
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try='test -s conftest$ac_exeext'
18896 { (case "(($ac_try" in
18897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18898 *) ac_try_echo=$ac_try;;
18899 esac
18900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18901 (eval "$ac_try") 2>&5
18902 ac_status=$?
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 ac_cv_lib_resolv_inet_aton=yes
18906 else
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 ac_cv_lib_resolv_inet_aton=no
18913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18914 conftest$ac_exeext conftest.$ac_ext
18915 LIBS=$ac_check_lib_save_LIBS
18917 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18918 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18919 if test $ac_cv_lib_resolv_inet_aton = yes; then
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_LIBRESOLV 1
18922 _ACEOF
18924 LIBS="-lresolv $LIBS"
18931 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18932 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18933 if test "${ac_cv_c_const+set}" = set; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 else
18936 cat >conftest.$ac_ext <<_ACEOF
18937 /* confdefs.h. */
18938 _ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18944 main ()
18946 /* FIXME: Include the comments suggested by Paul. */
18947 #ifndef __cplusplus
18948 /* Ultrix mips cc rejects this. */
18949 typedef int charset[2];
18950 const charset cs;
18951 /* SunOS 4.1.1 cc rejects this. */
18952 char const *const *pcpcc;
18953 char **ppc;
18954 /* NEC SVR4.0.2 mips cc rejects this. */
18955 struct point {int x, y;};
18956 static struct point const zero = {0,0};
18957 /* AIX XL C 1.02.0.0 rejects this.
18958 It does not let you subtract one const X* pointer from another in
18959 an arm of an if-expression whose if-part is not a constant
18960 expression */
18961 const char *g = "string";
18962 pcpcc = &g + (g ? g-g : 0);
18963 /* HPUX 7.0 cc rejects these. */
18964 ++pcpcc;
18965 ppc = (char**) pcpcc;
18966 pcpcc = (char const *const *) ppc;
18967 { /* SCO 3.2v4 cc rejects this. */
18968 char *t;
18969 char const *s = 0 ? (char *) 0 : (char const *) 0;
18971 *t++ = 0;
18972 if (s) return 0;
18974 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18975 int x[] = {25, 17};
18976 const int *foo = &x[0];
18977 ++foo;
18979 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18980 typedef const int *iptr;
18981 iptr p = 0;
18982 ++p;
18984 { /* AIX XL C 1.02.0.0 rejects this saying
18985 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18986 struct s { int j; const int *ap[3]; };
18987 struct s *b; b->j = 5;
18989 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18990 const int foo = 10;
18991 if (!foo) return 0;
18993 return !cs[0] && !zero.x;
18994 #endif
18997 return 0;
18999 _ACEOF
19000 rm -f conftest.$ac_objext
19001 if { (ac_try="$ac_compile"
19002 case "(($ac_try" in
19003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19005 esac
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_compile") 2>conftest.er1
19008 ac_status=$?
19009 grep -v '^ *+' conftest.er1 >conftest.err
19010 rm -f conftest.er1
19011 cat conftest.err >&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19015 { (case "(($ac_try" in
19016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19018 esac
19019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19020 (eval "$ac_try") 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest.$ac_objext'
19025 { (case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19028 esac
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_try") 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_cv_c_const=yes
19035 else
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.$ac_ext >&5
19039 ac_cv_c_const=no
19042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19044 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19045 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19046 if test $ac_cv_c_const = no; then
19048 cat >>confdefs.h <<\_ACEOF
19049 #define const
19050 _ACEOF
19054 { echo "$as_me:$LINENO: checking for inline" >&5
19055 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19056 if test "${ac_cv_c_inline+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 else
19059 ac_cv_c_inline=no
19060 for ac_kw in inline __inline__ __inline; do
19061 cat >conftest.$ac_ext <<_ACEOF
19062 /* confdefs.h. */
19063 _ACEOF
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19067 #ifndef __cplusplus
19068 typedef int foo_t;
19069 static $ac_kw foo_t static_foo () {return 0; }
19070 $ac_kw foo_t foo () {return 0; }
19071 #endif
19073 _ACEOF
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19079 esac
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } &&
19088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19089 { (case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19092 esac
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_try") 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; } &&
19098 { ac_try='test -s conftest.$ac_objext'
19099 { (case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19102 esac
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_try") 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19108 ac_cv_c_inline=$ac_kw
19109 else
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.$ac_ext >&5
19116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19117 test "$ac_cv_c_inline" != no && break
19118 done
19121 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19122 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19125 case $ac_cv_c_inline in
19126 inline | yes) ;;
19128 case $ac_cv_c_inline in
19129 no) ac_val=;;
19130 *) ac_val=$ac_cv_c_inline;;
19131 esac
19132 cat >>confdefs.h <<_ACEOF
19133 #ifndef __cplusplus
19134 #define inline $ac_val
19135 #endif
19136 _ACEOF
19138 esac
19140 { echo "$as_me:$LINENO: checking for mode_t" >&5
19141 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19142 if test "${ac_cv_type_mode_t+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145 cat >conftest.$ac_ext <<_ACEOF
19146 /* confdefs.h. */
19147 _ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 $ac_includes_default
19152 typedef mode_t ac__type_new_;
19154 main ()
19156 if ((ac__type_new_ *) 0)
19157 return 0;
19158 if (sizeof (ac__type_new_))
19159 return 0;
19161 return 0;
19163 _ACEOF
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19169 esac
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } &&
19178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19179 { (case "(($ac_try" in
19180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19181 *) ac_try_echo=$ac_try;;
19182 esac
19183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19184 (eval "$ac_try") 2>&5
19185 ac_status=$?
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; } &&
19188 { ac_try='test -s conftest.$ac_objext'
19189 { (case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19192 esac
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_try") 2>&5
19195 ac_status=$?
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; }; then
19198 ac_cv_type_mode_t=yes
19199 else
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19203 ac_cv_type_mode_t=no
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19209 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19210 if test $ac_cv_type_mode_t = yes; then
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_MODE_T 1
19214 _ACEOF
19218 { echo "$as_me:$LINENO: checking for off_t" >&5
19219 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19220 if test "${ac_cv_type_off_t+set}" = set; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19222 else
19223 cat >conftest.$ac_ext <<_ACEOF
19224 /* confdefs.h. */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 $ac_includes_default
19230 typedef off_t ac__type_new_;
19232 main ()
19234 if ((ac__type_new_ *) 0)
19235 return 0;
19236 if (sizeof (ac__type_new_))
19237 return 0;
19239 return 0;
19241 _ACEOF
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19247 esac
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19257 { (case "(($ac_try" in
19258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19259 *) ac_try_echo=$ac_try;;
19260 esac
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_try") 2>&5
19263 ac_status=$?
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; } &&
19266 { ac_try='test -s conftest.$ac_objext'
19267 { (case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19270 esac
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_try") 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 ac_cv_type_off_t=yes
19277 else
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19281 ac_cv_type_off_t=no
19284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19286 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19287 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19288 if test $ac_cv_type_off_t = yes; then
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_OFF_T 1
19292 _ACEOF
19296 { echo "$as_me:$LINENO: checking for pid_t" >&5
19297 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19298 if test "${ac_cv_type_pid_t+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 else
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 $ac_includes_default
19308 typedef pid_t ac__type_new_;
19310 main ()
19312 if ((ac__type_new_ *) 0)
19313 return 0;
19314 if (sizeof (ac__type_new_))
19315 return 0;
19317 return 0;
19319 _ACEOF
19320 rm -f conftest.$ac_objext
19321 if { (ac_try="$ac_compile"
19322 case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 *) ac_try_echo=$ac_try;;
19325 esac
19326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_compile") 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (case "(($ac_try" in
19336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19337 *) ac_try_echo=$ac_try;;
19338 esac
19339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19340 (eval "$ac_try") 2>&5
19341 ac_status=$?
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; } &&
19344 { ac_try='test -s conftest.$ac_objext'
19345 { (case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_try") 2>&5
19351 ac_status=$?
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; }; then
19354 ac_cv_type_pid_t=yes
19355 else
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19359 ac_cv_type_pid_t=no
19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19364 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19365 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19366 if test $ac_cv_type_pid_t = yes; then
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_PID_T 1
19370 _ACEOF
19374 { echo "$as_me:$LINENO: checking for size_t" >&5
19375 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19376 if test "${ac_cv_type_size_t+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 else
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 $ac_includes_default
19386 typedef size_t ac__type_new_;
19388 main ()
19390 if ((ac__type_new_ *) 0)
19391 return 0;
19392 if (sizeof (ac__type_new_))
19393 return 0;
19395 return 0;
19397 _ACEOF
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19413 { (case "(($ac_try" in
19414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19415 *) ac_try_echo=$ac_try;;
19416 esac
19417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19418 (eval "$ac_try") 2>&5
19419 ac_status=$?
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; } &&
19422 { ac_try='test -s conftest.$ac_objext'
19423 { (case "(($ac_try" in
19424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19425 *) ac_try_echo=$ac_try;;
19426 esac
19427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19428 (eval "$ac_try") 2>&5
19429 ac_status=$?
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; }; then
19432 ac_cv_type_size_t=yes
19433 else
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19437 ac_cv_type_size_t=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19443 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19444 if test $ac_cv_type_size_t = yes; then
19446 cat >>confdefs.h <<_ACEOF
19447 #define HAVE_SIZE_T 1
19448 _ACEOF
19452 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19453 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19454 if test "${ac_cv_type_ssize_t+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 else
19457 cat >conftest.$ac_ext <<_ACEOF
19458 /* confdefs.h. */
19459 _ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 $ac_includes_default
19464 typedef ssize_t ac__type_new_;
19466 main ()
19468 if ((ac__type_new_ *) 0)
19469 return 0;
19470 if (sizeof (ac__type_new_))
19471 return 0;
19473 return 0;
19475 _ACEOF
19476 rm -f conftest.$ac_objext
19477 if { (ac_try="$ac_compile"
19478 case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19481 esac
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19491 { (case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_try") 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; } &&
19500 { ac_try='test -s conftest.$ac_objext'
19501 { (case "(($ac_try" in
19502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19503 *) ac_try_echo=$ac_try;;
19504 esac
19505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19506 (eval "$ac_try") 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; }; then
19510 ac_cv_type_ssize_t=yes
19511 else
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19515 ac_cv_type_ssize_t=no
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19521 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19522 if test $ac_cv_type_ssize_t = yes; then
19524 cat >>confdefs.h <<_ACEOF
19525 #define HAVE_SSIZE_T 1
19526 _ACEOF
19530 { echo "$as_me:$LINENO: checking for long long" >&5
19531 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19532 if test "${ac_cv_type_long_long+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19534 else
19535 cat >conftest.$ac_ext <<_ACEOF
19536 /* confdefs.h. */
19537 _ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19542 typedef long long ac__type_new_;
19544 main ()
19546 if ((ac__type_new_ *) 0)
19547 return 0;
19548 if (sizeof (ac__type_new_))
19549 return 0;
19551 return 0;
19553 _ACEOF
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19559 esac
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19569 { (case "(($ac_try" in
19570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19571 *) ac_try_echo=$ac_try;;
19572 esac
19573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19574 (eval "$ac_try") 2>&5
19575 ac_status=$?
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try='test -s conftest.$ac_objext'
19579 { (case "(($ac_try" in
19580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19581 *) ac_try_echo=$ac_try;;
19582 esac
19583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19584 (eval "$ac_try") 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19588 ac_cv_type_long_long=yes
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 ac_cv_type_long_long=no
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19598 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19599 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19600 if test $ac_cv_type_long_long = yes; then
19602 cat >>confdefs.h <<_ACEOF
19603 #define HAVE_LONG_LONG 1
19604 _ACEOF
19608 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19609 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19610 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19611 echo $ECHO_N "(cached) $ECHO_C" >&6
19612 else
19613 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */
19615 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 $ac_includes_default
19620 typedef fsblkcnt_t ac__type_new_;
19622 main ()
19624 if ((ac__type_new_ *) 0)
19625 return 0;
19626 if (sizeof (ac__type_new_))
19627 return 0;
19629 return 0;
19631 _ACEOF
19632 rm -f conftest.$ac_objext
19633 if { (ac_try="$ac_compile"
19634 case "(($ac_try" in
19635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19636 *) ac_try_echo=$ac_try;;
19637 esac
19638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19639 (eval "$ac_compile") 2>conftest.er1
19640 ac_status=$?
19641 grep -v '^ *+' conftest.er1 >conftest.err
19642 rm -f conftest.er1
19643 cat conftest.err >&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); } &&
19646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19647 { (case "(($ac_try" in
19648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19649 *) ac_try_echo=$ac_try;;
19650 esac
19651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19652 (eval "$ac_try") 2>&5
19653 ac_status=$?
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try='test -s conftest.$ac_objext'
19657 { (case "(($ac_try" in
19658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19659 *) ac_try_echo=$ac_try;;
19660 esac
19661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19662 (eval "$ac_try") 2>&5
19663 ac_status=$?
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; }; then
19666 ac_cv_type_fsblkcnt_t=yes
19667 else
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19671 ac_cv_type_fsblkcnt_t=no
19674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19677 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19678 if test $ac_cv_type_fsblkcnt_t = yes; then
19680 cat >>confdefs.h <<_ACEOF
19681 #define HAVE_FSBLKCNT_T 1
19682 _ACEOF
19686 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19687 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19688 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 else
19691 cat >conftest.$ac_ext <<_ACEOF
19692 /* confdefs.h. */
19693 _ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 $ac_includes_default
19698 typedef fsfilcnt_t ac__type_new_;
19700 main ()
19702 if ((ac__type_new_ *) 0)
19703 return 0;
19704 if (sizeof (ac__type_new_))
19705 return 0;
19707 return 0;
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19715 esac
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19718 ac_status=$?
19719 grep -v '^ *+' conftest.er1 >conftest.err
19720 rm -f conftest.er1
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } &&
19724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19725 { (case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19728 esac
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_try") 2>&5
19731 ac_status=$?
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; } &&
19734 { ac_try='test -s conftest.$ac_objext'
19735 { (case "(($ac_try" in
19736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19737 *) ac_try_echo=$ac_try;;
19738 esac
19739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19740 (eval "$ac_try") 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; }; then
19744 ac_cv_type_fsfilcnt_t=yes
19745 else
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 ac_cv_type_fsfilcnt_t=no
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19754 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19755 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19756 if test $ac_cv_type_fsfilcnt_t = yes; then
19758 cat >>confdefs.h <<_ACEOF
19759 #define HAVE_FSFILCNT_T 1
19760 _ACEOF
19765 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19766 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19767 if test "${ac_cv_type_sigset_t+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 #include <signal.h>
19778 typedef sigset_t ac__type_new_;
19780 main ()
19782 if ((ac__type_new_ *) 0)
19783 return 0;
19784 if (sizeof (ac__type_new_))
19785 return 0;
19787 return 0;
19789 _ACEOF
19790 rm -f conftest.$ac_objext
19791 if { (ac_try="$ac_compile"
19792 case "(($ac_try" in
19793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19794 *) ac_try_echo=$ac_try;;
19795 esac
19796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19797 (eval "$ac_compile") 2>conftest.er1
19798 ac_status=$?
19799 grep -v '^ *+' conftest.er1 >conftest.err
19800 rm -f conftest.er1
19801 cat conftest.err >&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } &&
19804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19805 { (case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807 *) ac_try_echo=$ac_try;;
19808 esac
19809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810 (eval "$ac_try") 2>&5
19811 ac_status=$?
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; } &&
19814 { ac_try='test -s conftest.$ac_objext'
19815 { (case "(($ac_try" in
19816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19817 *) ac_try_echo=$ac_try;;
19818 esac
19819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19820 (eval "$ac_try") 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_type_sigset_t=yes
19825 else
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19829 ac_cv_type_sigset_t=no
19832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19835 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19836 if test $ac_cv_type_sigset_t = yes; then
19838 cat >>confdefs.h <<_ACEOF
19839 #define HAVE_SIGSET_T 1
19840 _ACEOF
19845 { echo "$as_me:$LINENO: checking for request_sense" >&5
19846 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19847 if test "${ac_cv_type_request_sense+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 cat >conftest.$ac_ext <<_ACEOF
19851 /* confdefs.h. */
19852 _ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 #include <linux/cdrom.h>
19858 typedef request_sense ac__type_new_;
19860 main ()
19862 if ((ac__type_new_ *) 0)
19863 return 0;
19864 if (sizeof (ac__type_new_))
19865 return 0;
19867 return 0;
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } &&
19884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19885 { (case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_try") 2>&5
19891 ac_status=$?
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; } &&
19894 { ac_try='test -s conftest.$ac_objext'
19895 { (case "(($ac_try" in
19896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19897 *) ac_try_echo=$ac_try;;
19898 esac
19899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19900 (eval "$ac_try") 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 ac_cv_type_request_sense=yes
19905 else
19906 echo "$as_me: failed program was:" >&5
19907 sed 's/^/| /' conftest.$ac_ext >&5
19909 ac_cv_type_request_sense=no
19912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19915 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19916 if test $ac_cv_type_request_sense = yes; then
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_REQUEST_SENSE 1
19920 _ACEOF
19926 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19927 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19928 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 else
19931 cat >conftest.$ac_ext <<_ACEOF
19932 /* confdefs.h. */
19933 _ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 #ifdef HAVE_LINUX_INPUT_H
19938 #include <linux/input.h>
19939 #endif
19942 main ()
19944 static struct ff_effect ac_aggr;
19945 if (ac_aggr.direction)
19946 return 0;
19948 return 0;
19950 _ACEOF
19951 rm -f conftest.$ac_objext
19952 if { (ac_try="$ac_compile"
19953 case "(($ac_try" in
19954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19955 *) ac_try_echo=$ac_try;;
19956 esac
19957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19958 (eval "$ac_compile") 2>conftest.er1
19959 ac_status=$?
19960 grep -v '^ *+' conftest.er1 >conftest.err
19961 rm -f conftest.er1
19962 cat conftest.err >&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19966 { (case "(($ac_try" in
19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19969 esac
19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_try") 2>&5
19972 ac_status=$?
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; } &&
19975 { ac_try='test -s conftest.$ac_objext'
19976 { (case "(($ac_try" in
19977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19978 *) ac_try_echo=$ac_try;;
19979 esac
19980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19981 (eval "$ac_try") 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_member_struct_ff_effect_direction=yes
19986 else
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 #ifdef HAVE_LINUX_INPUT_H
19997 #include <linux/input.h>
19998 #endif
20001 main ()
20003 static struct ff_effect ac_aggr;
20004 if (sizeof ac_aggr.direction)
20005 return 0;
20007 return 0;
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20025 { (case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20028 esac
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_try") 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest.$ac_objext'
20035 { (case "(($ac_try" in
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20038 esac
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_try") 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 ac_cv_member_struct_ff_effect_direction=yes
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20049 ac_cv_member_struct_ff_effect_direction=no
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20058 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20059 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20061 cat >>confdefs.h <<_ACEOF
20062 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20063 _ACEOF
20069 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20070 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20071 if test "${wine_cv_have_sigaddset+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 #include <signal.h>
20082 main ()
20084 sigset_t set; sigaddset(&set,SIGTERM);
20086 return 0;
20088 _ACEOF
20089 rm -f conftest.$ac_objext conftest$ac_exeext
20090 if { (ac_try="$ac_link"
20091 case "(($ac_try" in
20092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20093 *) ac_try_echo=$ac_try;;
20094 esac
20095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20096 (eval "$ac_link") 2>conftest.er1
20097 ac_status=$?
20098 grep -v '^ *+' conftest.er1 >conftest.err
20099 rm -f conftest.er1
20100 cat conftest.err >&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); } &&
20103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20104 { (case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_try") 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; } &&
20113 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20123 wine_cv_have_sigaddset=yes
20124 else
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20128 wine_cv_have_sigaddset=no
20131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20132 conftest$ac_exeext conftest.$ac_ext
20134 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20135 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20136 if test "$wine_cv_have_sigaddset" = "yes"
20137 then
20139 cat >>confdefs.h <<\_ACEOF
20140 #define HAVE_SIGADDSET 1
20141 _ACEOF
20146 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20147 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20148 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151 cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h. */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20158 #include <netdb.h>
20161 main ()
20164 char *name=NULL;
20165 struct hostent he;
20166 struct hostent *result;
20167 char *buf=NULL;
20168 int bufsize=0;
20169 int res,errnr;
20170 char *addr=NULL;
20171 int addrlen=0;
20172 int addrtype=0;
20173 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20174 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20177 return 0;
20179 _ACEOF
20180 rm -f conftest.$ac_objext conftest$ac_exeext
20181 if { (ac_try="$ac_link"
20182 case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_link") 2>conftest.er1
20188 ac_status=$?
20189 grep -v '^ *+' conftest.er1 >conftest.err
20190 rm -f conftest.er1
20191 cat conftest.err >&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } &&
20194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20195 { (case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_try") 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; } &&
20204 { ac_try='test -s conftest$ac_exeext'
20205 { (case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20208 esac
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_try") 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 wine_cv_linux_gethostbyname_r_6=yes
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 wine_cv_linux_gethostbyname_r_6=no
20223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20224 conftest$ac_exeext conftest.$ac_ext
20227 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20228 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20229 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20230 then
20232 cat >>confdefs.h <<\_ACEOF
20233 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20234 _ACEOF
20238 if test "$ac_cv_header_linux_joystick_h" = "yes"
20239 then
20240 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20241 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20242 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20243 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 else
20245 cat >conftest.$ac_ext <<_ACEOF
20246 /* confdefs.h. */
20247 _ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20252 #include <sys/ioctl.h>
20253 #include <linux/joystick.h>
20255 struct js_event blub;
20256 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20257 #error "no 2.2 header"
20258 #endif
20261 main ()
20263 /*empty*/
20265 return 0;
20267 _ACEOF
20268 rm -f conftest.$ac_objext
20269 if { (ac_try="$ac_compile"
20270 case "(($ac_try" in
20271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20272 *) ac_try_echo=$ac_try;;
20273 esac
20274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20275 (eval "$ac_compile") 2>conftest.er1
20276 ac_status=$?
20277 grep -v '^ *+' conftest.er1 >conftest.err
20278 rm -f conftest.er1
20279 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20283 { (case "(($ac_try" in
20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20286 esac
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_try") 2>&5
20289 ac_status=$?
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; } &&
20292 { ac_try='test -s conftest.$ac_objext'
20293 { (case "(($ac_try" in
20294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20296 esac
20297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_try") 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 wine_cv_linux_joystick_22_api=yes
20303 else
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.$ac_ext >&5
20307 wine_cv_linux_joystick_22_api=no
20310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20313 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20314 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20315 if test "$wine_cv_linux_joystick_22_api" = "yes"
20316 then
20318 cat >>confdefs.h <<\_ACEOF
20319 #define HAVE_LINUX_22_JOYSTICK_API 1
20320 _ACEOF
20326 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20327 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20328 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20329 echo $ECHO_N "(cached) $ECHO_C" >&6
20330 else
20331 cat >conftest.$ac_ext <<_ACEOF
20332 /* confdefs.h. */
20333 _ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 #include <sys/types.h>
20338 #ifdef HAVE_SYS_PARAM_H
20339 # include <sys/param.h>
20340 #endif
20341 #ifdef HAVE_SYS_MOUNT_H
20342 # include <sys/mount.h>
20343 #endif
20344 #ifdef HAVE_SYS_VFS_H
20345 # include <sys/vfs.h>
20346 #endif
20347 #ifdef HAVE_SYS_STATFS_H
20348 # include <sys/statfs.h>
20349 #endif
20352 main ()
20354 static struct statfs ac_aggr;
20355 if (ac_aggr.f_bfree)
20356 return 0;
20358 return 0;
20360 _ACEOF
20361 rm -f conftest.$ac_objext
20362 if { (ac_try="$ac_compile"
20363 case "(($ac_try" in
20364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20365 *) ac_try_echo=$ac_try;;
20366 esac
20367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20368 (eval "$ac_compile") 2>conftest.er1
20369 ac_status=$?
20370 grep -v '^ *+' conftest.er1 >conftest.err
20371 rm -f conftest.er1
20372 cat conftest.err >&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } &&
20375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20376 { (case "(($ac_try" in
20377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20378 *) ac_try_echo=$ac_try;;
20379 esac
20380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20381 (eval "$ac_try") 2>&5
20382 ac_status=$?
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; } &&
20385 { ac_try='test -s conftest.$ac_objext'
20386 { (case "(($ac_try" in
20387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20389 esac
20390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_try") 2>&5
20392 ac_status=$?
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; }; then
20395 ac_cv_member_struct_statfs_f_bfree=yes
20396 else
20397 echo "$as_me: failed program was:" >&5
20398 sed 's/^/| /' conftest.$ac_ext >&5
20400 cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h. */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 #include <sys/types.h>
20407 #ifdef HAVE_SYS_PARAM_H
20408 # include <sys/param.h>
20409 #endif
20410 #ifdef HAVE_SYS_MOUNT_H
20411 # include <sys/mount.h>
20412 #endif
20413 #ifdef HAVE_SYS_VFS_H
20414 # include <sys/vfs.h>
20415 #endif
20416 #ifdef HAVE_SYS_STATFS_H
20417 # include <sys/statfs.h>
20418 #endif
20421 main ()
20423 static struct statfs ac_aggr;
20424 if (sizeof ac_aggr.f_bfree)
20425 return 0;
20427 return 0;
20429 _ACEOF
20430 rm -f conftest.$ac_objext
20431 if { (ac_try="$ac_compile"
20432 case "(($ac_try" in
20433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20434 *) ac_try_echo=$ac_try;;
20435 esac
20436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20437 (eval "$ac_compile") 2>conftest.er1
20438 ac_status=$?
20439 grep -v '^ *+' conftest.er1 >conftest.err
20440 rm -f conftest.er1
20441 cat conftest.err >&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20445 { (case "(($ac_try" in
20446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20447 *) ac_try_echo=$ac_try;;
20448 esac
20449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20450 (eval "$ac_try") 2>&5
20451 ac_status=$?
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; } &&
20454 { ac_try='test -s conftest.$ac_objext'
20455 { (case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20458 esac
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_try") 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20464 ac_cv_member_struct_statfs_f_bfree=yes
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20469 ac_cv_member_struct_statfs_f_bfree=no
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20477 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20478 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20479 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20481 cat >>confdefs.h <<_ACEOF
20482 #define HAVE_STRUCT_STATFS_F_BFREE 1
20483 _ACEOF
20487 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20488 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20489 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 else
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 #include <sys/types.h>
20499 #ifdef HAVE_SYS_PARAM_H
20500 # include <sys/param.h>
20501 #endif
20502 #ifdef HAVE_SYS_MOUNT_H
20503 # include <sys/mount.h>
20504 #endif
20505 #ifdef HAVE_SYS_VFS_H
20506 # include <sys/vfs.h>
20507 #endif
20508 #ifdef HAVE_SYS_STATFS_H
20509 # include <sys/statfs.h>
20510 #endif
20513 main ()
20515 static struct statfs ac_aggr;
20516 if (ac_aggr.f_bavail)
20517 return 0;
20519 return 0;
20521 _ACEOF
20522 rm -f conftest.$ac_objext
20523 if { (ac_try="$ac_compile"
20524 case "(($ac_try" in
20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20526 *) ac_try_echo=$ac_try;;
20527 esac
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_compile") 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20537 { (case "(($ac_try" in
20538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20539 *) ac_try_echo=$ac_try;;
20540 esac
20541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20542 (eval "$ac_try") 2>&5
20543 ac_status=$?
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; } &&
20546 { ac_try='test -s conftest.$ac_objext'
20547 { (case "(($ac_try" in
20548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20549 *) ac_try_echo=$ac_try;;
20550 esac
20551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20552 (eval "$ac_try") 2>&5
20553 ac_status=$?
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; }; then
20556 ac_cv_member_struct_statfs_f_bavail=yes
20557 else
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.$ac_ext >&5
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 #include <sys/types.h>
20568 #ifdef HAVE_SYS_PARAM_H
20569 # include <sys/param.h>
20570 #endif
20571 #ifdef HAVE_SYS_MOUNT_H
20572 # include <sys/mount.h>
20573 #endif
20574 #ifdef HAVE_SYS_VFS_H
20575 # include <sys/vfs.h>
20576 #endif
20577 #ifdef HAVE_SYS_STATFS_H
20578 # include <sys/statfs.h>
20579 #endif
20582 main ()
20584 static struct statfs ac_aggr;
20585 if (sizeof ac_aggr.f_bavail)
20586 return 0;
20588 return 0;
20590 _ACEOF
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20596 esac
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20599 ac_status=$?
20600 grep -v '^ *+' conftest.er1 >conftest.err
20601 rm -f conftest.er1
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } &&
20605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20606 { (case "(($ac_try" in
20607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608 *) ac_try_echo=$ac_try;;
20609 esac
20610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611 (eval "$ac_try") 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try='test -s conftest.$ac_objext'
20616 { (case "(($ac_try" in
20617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20618 *) ac_try_echo=$ac_try;;
20619 esac
20620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_try") 2>&5
20622 ac_status=$?
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; }; then
20625 ac_cv_member_struct_statfs_f_bavail=yes
20626 else
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 ac_cv_member_struct_statfs_f_bavail=no
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20639 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20640 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20642 cat >>confdefs.h <<_ACEOF
20643 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20644 _ACEOF
20648 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20649 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20650 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #include <sys/types.h>
20660 #ifdef HAVE_SYS_PARAM_H
20661 # include <sys/param.h>
20662 #endif
20663 #ifdef HAVE_SYS_MOUNT_H
20664 # include <sys/mount.h>
20665 #endif
20666 #ifdef HAVE_SYS_VFS_H
20667 # include <sys/vfs.h>
20668 #endif
20669 #ifdef HAVE_SYS_STATFS_H
20670 # include <sys/statfs.h>
20671 #endif
20674 main ()
20676 static struct statfs ac_aggr;
20677 if (ac_aggr.f_frsize)
20678 return 0;
20680 return 0;
20682 _ACEOF
20683 rm -f conftest.$ac_objext
20684 if { (ac_try="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20688 esac
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20698 { (case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701 esac
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_try") 2>&5
20704 ac_status=$?
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); }; } &&
20707 { ac_try='test -s conftest.$ac_objext'
20708 { (case "(($ac_try" in
20709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20710 *) ac_try_echo=$ac_try;;
20711 esac
20712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20713 (eval "$ac_try") 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 ac_cv_member_struct_statfs_f_frsize=yes
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20722 cat >conftest.$ac_ext <<_ACEOF
20723 /* confdefs.h. */
20724 _ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 #include <sys/types.h>
20729 #ifdef HAVE_SYS_PARAM_H
20730 # include <sys/param.h>
20731 #endif
20732 #ifdef HAVE_SYS_MOUNT_H
20733 # include <sys/mount.h>
20734 #endif
20735 #ifdef HAVE_SYS_VFS_H
20736 # include <sys/vfs.h>
20737 #endif
20738 #ifdef HAVE_SYS_STATFS_H
20739 # include <sys/statfs.h>
20740 #endif
20743 main ()
20745 static struct statfs ac_aggr;
20746 if (sizeof ac_aggr.f_frsize)
20747 return 0;
20749 return 0;
20751 _ACEOF
20752 rm -f conftest.$ac_objext
20753 if { (ac_try="$ac_compile"
20754 case "(($ac_try" in
20755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20756 *) ac_try_echo=$ac_try;;
20757 esac
20758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20759 (eval "$ac_compile") 2>conftest.er1
20760 ac_status=$?
20761 grep -v '^ *+' conftest.er1 >conftest.err
20762 rm -f conftest.er1
20763 cat conftest.err >&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20767 { (case "(($ac_try" in
20768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20769 *) ac_try_echo=$ac_try;;
20770 esac
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_try") 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try='test -s conftest.$ac_objext'
20777 { (case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20780 esac
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_try") 2>&5
20783 ac_status=$?
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; }; then
20786 ac_cv_member_struct_statfs_f_frsize=yes
20787 else
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.$ac_ext >&5
20791 ac_cv_member_struct_statfs_f_frsize=no
20794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20800 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20801 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20803 cat >>confdefs.h <<_ACEOF
20804 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20805 _ACEOF
20809 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20810 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20811 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 #include <sys/types.h>
20821 #ifdef HAVE_SYS_PARAM_H
20822 # include <sys/param.h>
20823 #endif
20824 #ifdef HAVE_SYS_MOUNT_H
20825 # include <sys/mount.h>
20826 #endif
20827 #ifdef HAVE_SYS_VFS_H
20828 # include <sys/vfs.h>
20829 #endif
20830 #ifdef HAVE_SYS_STATFS_H
20831 # include <sys/statfs.h>
20832 #endif
20835 main ()
20837 static struct statfs ac_aggr;
20838 if (ac_aggr.f_ffree)
20839 return 0;
20841 return 0;
20843 _ACEOF
20844 rm -f conftest.$ac_objext
20845 if { (ac_try="$ac_compile"
20846 case "(($ac_try" in
20847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20848 *) ac_try_echo=$ac_try;;
20849 esac
20850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20851 (eval "$ac_compile") 2>conftest.er1
20852 ac_status=$?
20853 grep -v '^ *+' conftest.er1 >conftest.err
20854 rm -f conftest.er1
20855 cat conftest.err >&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20859 { (case "(($ac_try" in
20860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20862 esac
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_try") 2>&5
20865 ac_status=$?
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; } &&
20868 { ac_try='test -s conftest.$ac_objext'
20869 { (case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20872 esac
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_try") 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; }; then
20878 ac_cv_member_struct_statfs_f_ffree=yes
20879 else
20880 echo "$as_me: failed program was:" >&5
20881 sed 's/^/| /' conftest.$ac_ext >&5
20883 cat >conftest.$ac_ext <<_ACEOF
20884 /* confdefs.h. */
20885 _ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 #include <sys/types.h>
20890 #ifdef HAVE_SYS_PARAM_H
20891 # include <sys/param.h>
20892 #endif
20893 #ifdef HAVE_SYS_MOUNT_H
20894 # include <sys/mount.h>
20895 #endif
20896 #ifdef HAVE_SYS_VFS_H
20897 # include <sys/vfs.h>
20898 #endif
20899 #ifdef HAVE_SYS_STATFS_H
20900 # include <sys/statfs.h>
20901 #endif
20904 main ()
20906 static struct statfs ac_aggr;
20907 if (sizeof ac_aggr.f_ffree)
20908 return 0;
20910 return 0;
20912 _ACEOF
20913 rm -f conftest.$ac_objext
20914 if { (ac_try="$ac_compile"
20915 case "(($ac_try" in
20916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20917 *) ac_try_echo=$ac_try;;
20918 esac
20919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20920 (eval "$ac_compile") 2>conftest.er1
20921 ac_status=$?
20922 grep -v '^ *+' conftest.er1 >conftest.err
20923 rm -f conftest.er1
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20928 { (case "(($ac_try" in
20929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20931 esac
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_try") 2>&5
20934 ac_status=$?
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; } &&
20937 { ac_try='test -s conftest.$ac_objext'
20938 { (case "(($ac_try" in
20939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20940 *) ac_try_echo=$ac_try;;
20941 esac
20942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20943 (eval "$ac_try") 2>&5
20944 ac_status=$?
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); }; }; then
20947 ac_cv_member_struct_statfs_f_ffree=yes
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20952 ac_cv_member_struct_statfs_f_ffree=no
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20961 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20962 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20964 cat >>confdefs.h <<_ACEOF
20965 #define HAVE_STRUCT_STATFS_F_FFREE 1
20966 _ACEOF
20970 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20971 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20972 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20973 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 else
20975 cat >conftest.$ac_ext <<_ACEOF
20976 /* confdefs.h. */
20977 _ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981 #include <sys/types.h>
20982 #ifdef HAVE_SYS_PARAM_H
20983 # include <sys/param.h>
20984 #endif
20985 #ifdef HAVE_SYS_MOUNT_H
20986 # include <sys/mount.h>
20987 #endif
20988 #ifdef HAVE_SYS_VFS_H
20989 # include <sys/vfs.h>
20990 #endif
20991 #ifdef HAVE_SYS_STATFS_H
20992 # include <sys/statfs.h>
20993 #endif
20996 main ()
20998 static struct statfs ac_aggr;
20999 if (ac_aggr.f_favail)
21000 return 0;
21002 return 0;
21004 _ACEOF
21005 rm -f conftest.$ac_objext
21006 if { (ac_try="$ac_compile"
21007 case "(($ac_try" in
21008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21009 *) ac_try_echo=$ac_try;;
21010 esac
21011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21012 (eval "$ac_compile") 2>conftest.er1
21013 ac_status=$?
21014 grep -v '^ *+' conftest.er1 >conftest.err
21015 rm -f conftest.er1
21016 cat conftest.err >&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } &&
21019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21020 { (case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21023 esac
21024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_try") 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try='test -s conftest.$ac_objext'
21030 { (case "(($ac_try" in
21031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21032 *) ac_try_echo=$ac_try;;
21033 esac
21034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21035 (eval "$ac_try") 2>&5
21036 ac_status=$?
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; }; then
21039 ac_cv_member_struct_statfs_f_favail=yes
21040 else
21041 echo "$as_me: failed program was:" >&5
21042 sed 's/^/| /' conftest.$ac_ext >&5
21044 cat >conftest.$ac_ext <<_ACEOF
21045 /* confdefs.h. */
21046 _ACEOF
21047 cat confdefs.h >>conftest.$ac_ext
21048 cat >>conftest.$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 #include <sys/types.h>
21051 #ifdef HAVE_SYS_PARAM_H
21052 # include <sys/param.h>
21053 #endif
21054 #ifdef HAVE_SYS_MOUNT_H
21055 # include <sys/mount.h>
21056 #endif
21057 #ifdef HAVE_SYS_VFS_H
21058 # include <sys/vfs.h>
21059 #endif
21060 #ifdef HAVE_SYS_STATFS_H
21061 # include <sys/statfs.h>
21062 #endif
21065 main ()
21067 static struct statfs ac_aggr;
21068 if (sizeof ac_aggr.f_favail)
21069 return 0;
21071 return 0;
21073 _ACEOF
21074 rm -f conftest.$ac_objext
21075 if { (ac_try="$ac_compile"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078 *) ac_try_echo=$ac_try;;
21079 esac
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_compile") 2>conftest.er1
21082 ac_status=$?
21083 grep -v '^ *+' conftest.er1 >conftest.err
21084 rm -f conftest.er1
21085 cat conftest.err >&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } &&
21088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21089 { (case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21092 esac
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_try") 2>&5
21095 ac_status=$?
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; } &&
21098 { ac_try='test -s conftest.$ac_objext'
21099 { (case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21102 esac
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_try") 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_cv_member_struct_statfs_f_favail=yes
21109 else
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21113 ac_cv_member_struct_statfs_f_favail=no
21116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21122 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21123 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21125 cat >>confdefs.h <<_ACEOF
21126 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21127 _ACEOF
21131 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21132 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21133 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21134 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 else
21136 cat >conftest.$ac_ext <<_ACEOF
21137 /* confdefs.h. */
21138 _ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21142 #include <sys/types.h>
21143 #ifdef HAVE_SYS_PARAM_H
21144 # include <sys/param.h>
21145 #endif
21146 #ifdef HAVE_SYS_MOUNT_H
21147 # include <sys/mount.h>
21148 #endif
21149 #ifdef HAVE_SYS_VFS_H
21150 # include <sys/vfs.h>
21151 #endif
21152 #ifdef HAVE_SYS_STATFS_H
21153 # include <sys/statfs.h>
21154 #endif
21157 main ()
21159 static struct statfs ac_aggr;
21160 if (ac_aggr.f_namelen)
21161 return 0;
21163 return 0;
21165 _ACEOF
21166 rm -f conftest.$ac_objext
21167 if { (ac_try="$ac_compile"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21171 esac
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_compile") 2>conftest.er1
21174 ac_status=$?
21175 grep -v '^ *+' conftest.er1 >conftest.err
21176 rm -f conftest.er1
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } &&
21180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21181 { (case "(($ac_try" in
21182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21184 esac
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_try") 2>&5
21187 ac_status=$?
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; } &&
21190 { ac_try='test -s conftest.$ac_objext'
21191 { (case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21194 esac
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_try") 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 ac_cv_member_struct_statfs_f_namelen=yes
21201 else
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 #include <sys/types.h>
21212 #ifdef HAVE_SYS_PARAM_H
21213 # include <sys/param.h>
21214 #endif
21215 #ifdef HAVE_SYS_MOUNT_H
21216 # include <sys/mount.h>
21217 #endif
21218 #ifdef HAVE_SYS_VFS_H
21219 # include <sys/vfs.h>
21220 #endif
21221 #ifdef HAVE_SYS_STATFS_H
21222 # include <sys/statfs.h>
21223 #endif
21226 main ()
21228 static struct statfs ac_aggr;
21229 if (sizeof ac_aggr.f_namelen)
21230 return 0;
21232 return 0;
21234 _ACEOF
21235 rm -f conftest.$ac_objext
21236 if { (ac_try="$ac_compile"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_compile") 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21250 { (case "(($ac_try" in
21251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21252 *) ac_try_echo=$ac_try;;
21253 esac
21254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21255 (eval "$ac_try") 2>&5
21256 ac_status=$?
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; } &&
21259 { ac_try='test -s conftest.$ac_objext'
21260 { (case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21263 esac
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_try") 2>&5
21266 ac_status=$?
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; }; then
21269 ac_cv_member_struct_statfs_f_namelen=yes
21270 else
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.$ac_ext >&5
21274 ac_cv_member_struct_statfs_f_namelen=no
21277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21283 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21284 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21286 cat >>confdefs.h <<_ACEOF
21287 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21288 _ACEOF
21294 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21295 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21296 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 else
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 #ifdef HAVE_SYS_STATVFS_H
21306 #include <sys/statvfs.h>
21307 #endif
21310 main ()
21312 static struct statvfs ac_aggr;
21313 if (ac_aggr.f_blocks)
21314 return 0;
21316 return 0;
21318 _ACEOF
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21327 ac_status=$?
21328 grep -v '^ *+' conftest.er1 >conftest.err
21329 rm -f conftest.er1
21330 cat conftest.err >&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } &&
21333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21334 { (case "(($ac_try" in
21335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21336 *) ac_try_echo=$ac_try;;
21337 esac
21338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21339 (eval "$ac_try") 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; } &&
21343 { ac_try='test -s conftest.$ac_objext'
21344 { (case "(($ac_try" in
21345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21346 *) ac_try_echo=$ac_try;;
21347 esac
21348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21349 (eval "$ac_try") 2>&5
21350 ac_status=$?
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 ac_cv_member_struct_statvfs_f_blocks=yes
21354 else
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.$ac_ext >&5
21358 cat >conftest.$ac_ext <<_ACEOF
21359 /* confdefs.h. */
21360 _ACEOF
21361 cat confdefs.h >>conftest.$ac_ext
21362 cat >>conftest.$ac_ext <<_ACEOF
21363 /* end confdefs.h. */
21364 #ifdef HAVE_SYS_STATVFS_H
21365 #include <sys/statvfs.h>
21366 #endif
21369 main ()
21371 static struct statvfs ac_aggr;
21372 if (sizeof ac_aggr.f_blocks)
21373 return 0;
21375 return 0;
21377 _ACEOF
21378 rm -f conftest.$ac_objext
21379 if { (ac_try="$ac_compile"
21380 case "(($ac_try" in
21381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21382 *) ac_try_echo=$ac_try;;
21383 esac
21384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21385 (eval "$ac_compile") 2>conftest.er1
21386 ac_status=$?
21387 grep -v '^ *+' conftest.er1 >conftest.err
21388 rm -f conftest.er1
21389 cat conftest.err >&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } &&
21392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21393 { (case "(($ac_try" in
21394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21395 *) ac_try_echo=$ac_try;;
21396 esac
21397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21398 (eval "$ac_try") 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; } &&
21402 { ac_try='test -s conftest.$ac_objext'
21403 { (case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21406 esac
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_try") 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; }; then
21412 ac_cv_member_struct_statvfs_f_blocks=yes
21413 else
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21417 ac_cv_member_struct_statvfs_f_blocks=no
21420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21425 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21426 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21427 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21429 cat >>confdefs.h <<_ACEOF
21430 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21431 _ACEOF
21437 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21438 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21439 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21440 echo $ECHO_N "(cached) $ECHO_C" >&6
21441 else
21442 cat >conftest.$ac_ext <<_ACEOF
21443 /* confdefs.h. */
21444 _ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 #include <sys/types.h>
21449 #ifdef HAVE_SYS_SOCKET_H
21450 # include <sys/socket.h>
21451 #endif
21452 #ifdef HAVE_SYS_UN_H
21453 # include <sys/un.h>
21454 #endif
21457 main ()
21459 static struct msghdr ac_aggr;
21460 if (ac_aggr.msg_accrights)
21461 return 0;
21463 return 0;
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21471 esac
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21481 { (case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;;
21484 esac
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_try") 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest.$ac_objext'
21491 { (case "(($ac_try" in
21492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21494 esac
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_try") 2>&5
21497 ac_status=$?
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_cv_member_struct_msghdr_msg_accrights=yes
21501 else
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21505 cat >conftest.$ac_ext <<_ACEOF
21506 /* confdefs.h. */
21507 _ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 #include <sys/types.h>
21512 #ifdef HAVE_SYS_SOCKET_H
21513 # include <sys/socket.h>
21514 #endif
21515 #ifdef HAVE_SYS_UN_H
21516 # include <sys/un.h>
21517 #endif
21520 main ()
21522 static struct msghdr ac_aggr;
21523 if (sizeof ac_aggr.msg_accrights)
21524 return 0;
21526 return 0;
21528 _ACEOF
21529 rm -f conftest.$ac_objext
21530 if { (ac_try="$ac_compile"
21531 case "(($ac_try" in
21532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21533 *) ac_try_echo=$ac_try;;
21534 esac
21535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21536 (eval "$ac_compile") 2>conftest.er1
21537 ac_status=$?
21538 grep -v '^ *+' conftest.er1 >conftest.err
21539 rm -f conftest.er1
21540 cat conftest.err >&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } &&
21543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21544 { (case "(($ac_try" in
21545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21546 *) ac_try_echo=$ac_try;;
21547 esac
21548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21549 (eval "$ac_try") 2>&5
21550 ac_status=$?
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); }; } &&
21553 { ac_try='test -s conftest.$ac_objext'
21554 { (case "(($ac_try" in
21555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21556 *) ac_try_echo=$ac_try;;
21557 esac
21558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21559 (eval "$ac_try") 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 ac_cv_member_struct_msghdr_msg_accrights=yes
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21568 ac_cv_member_struct_msghdr_msg_accrights=no
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21577 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21578 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21580 cat >>confdefs.h <<_ACEOF
21581 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21582 _ACEOF
21586 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21587 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21588 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21589 echo $ECHO_N "(cached) $ECHO_C" >&6
21590 else
21591 cat >conftest.$ac_ext <<_ACEOF
21592 /* confdefs.h. */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 #include <sys/types.h>
21598 #ifdef HAVE_SYS_SOCKET_H
21599 # include <sys/socket.h>
21600 #endif
21601 #ifdef HAVE_SYS_UN_H
21602 # include <sys/un.h>
21603 #endif
21606 main ()
21608 static struct sockaddr ac_aggr;
21609 if (ac_aggr.sa_len)
21610 return 0;
21612 return 0;
21614 _ACEOF
21615 rm -f conftest.$ac_objext
21616 if { (ac_try="$ac_compile"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21620 esac
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_compile") 2>conftest.er1
21623 ac_status=$?
21624 grep -v '^ *+' conftest.er1 >conftest.err
21625 rm -f conftest.er1
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } &&
21629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21630 { (case "(($ac_try" in
21631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21632 *) ac_try_echo=$ac_try;;
21633 esac
21634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21635 (eval "$ac_try") 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try='test -s conftest.$ac_objext'
21640 { (case "(($ac_try" in
21641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21642 *) ac_try_echo=$ac_try;;
21643 esac
21644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21645 (eval "$ac_try") 2>&5
21646 ac_status=$?
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; }; then
21649 ac_cv_member_struct_sockaddr_sa_len=yes
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21654 cat >conftest.$ac_ext <<_ACEOF
21655 /* confdefs.h. */
21656 _ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 #include <sys/types.h>
21661 #ifdef HAVE_SYS_SOCKET_H
21662 # include <sys/socket.h>
21663 #endif
21664 #ifdef HAVE_SYS_UN_H
21665 # include <sys/un.h>
21666 #endif
21669 main ()
21671 static struct sockaddr ac_aggr;
21672 if (sizeof ac_aggr.sa_len)
21673 return 0;
21675 return 0;
21677 _ACEOF
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21683 esac
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21686 ac_status=$?
21687 grep -v '^ *+' conftest.er1 >conftest.err
21688 rm -f conftest.er1
21689 cat conftest.err >&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } &&
21692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21693 { (case "(($ac_try" in
21694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21695 *) ac_try_echo=$ac_try;;
21696 esac
21697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698 (eval "$ac_try") 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; } &&
21702 { ac_try='test -s conftest.$ac_objext'
21703 { (case "(($ac_try" in
21704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21705 *) ac_try_echo=$ac_try;;
21706 esac
21707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21708 (eval "$ac_try") 2>&5
21709 ac_status=$?
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); }; }; then
21712 ac_cv_member_struct_sockaddr_sa_len=yes
21713 else
21714 echo "$as_me: failed program was:" >&5
21715 sed 's/^/| /' conftest.$ac_ext >&5
21717 ac_cv_member_struct_sockaddr_sa_len=no
21720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21725 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21726 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21727 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21729 cat >>confdefs.h <<_ACEOF
21730 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21731 _ACEOF
21735 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21736 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21737 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21738 echo $ECHO_N "(cached) $ECHO_C" >&6
21739 else
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 #include <sys/types.h>
21747 #ifdef HAVE_SYS_SOCKET_H
21748 # include <sys/socket.h>
21749 #endif
21750 #ifdef HAVE_SYS_UN_H
21751 # include <sys/un.h>
21752 #endif
21755 main ()
21757 static struct sockaddr_un ac_aggr;
21758 if (ac_aggr.sun_len)
21759 return 0;
21761 return 0;
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21779 { (case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21782 esac
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_try") 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21792 esac
21793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21794 (eval "$ac_try") 2>&5
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_member_struct_sockaddr_un_sun_len=yes
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21803 cat >conftest.$ac_ext <<_ACEOF
21804 /* confdefs.h. */
21805 _ACEOF
21806 cat confdefs.h >>conftest.$ac_ext
21807 cat >>conftest.$ac_ext <<_ACEOF
21808 /* end confdefs.h. */
21809 #include <sys/types.h>
21810 #ifdef HAVE_SYS_SOCKET_H
21811 # include <sys/socket.h>
21812 #endif
21813 #ifdef HAVE_SYS_UN_H
21814 # include <sys/un.h>
21815 #endif
21818 main ()
21820 static struct sockaddr_un ac_aggr;
21821 if (sizeof ac_aggr.sun_len)
21822 return 0;
21824 return 0;
21826 _ACEOF
21827 rm -f conftest.$ac_objext
21828 if { (ac_try="$ac_compile"
21829 case "(($ac_try" in
21830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21831 *) ac_try_echo=$ac_try;;
21832 esac
21833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21834 (eval "$ac_compile") 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21842 { (case "(($ac_try" in
21843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21844 *) ac_try_echo=$ac_try;;
21845 esac
21846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21847 (eval "$ac_try") 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; } &&
21851 { ac_try='test -s conftest.$ac_objext'
21852 { (case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854 *) ac_try_echo=$ac_try;;
21855 esac
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_try") 2>&5
21858 ac_status=$?
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21861 ac_cv_member_struct_sockaddr_un_sun_len=yes
21862 else
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21866 ac_cv_member_struct_sockaddr_un_sun_len=no
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21875 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21876 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21878 cat >>confdefs.h <<_ACEOF
21879 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21880 _ACEOF
21886 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21887 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21888 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21889 echo $ECHO_N "(cached) $ECHO_C" >&6
21890 else
21891 cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h. */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 #include <sys/types.h>
21898 #ifdef HAVE_SCSI_SG_H
21899 #include <scsi/sg.h>
21900 #endif
21903 main ()
21905 static scsireq_t ac_aggr;
21906 if (ac_aggr.cmd)
21907 return 0;
21909 return 0;
21911 _ACEOF
21912 rm -f conftest.$ac_objext
21913 if { (ac_try="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21917 esac
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21920 ac_status=$?
21921 grep -v '^ *+' conftest.er1 >conftest.err
21922 rm -f conftest.er1
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } &&
21926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21927 { (case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21930 esac
21931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_try") 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; } &&
21936 { ac_try='test -s conftest.$ac_objext'
21937 { (case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_try") 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; }; then
21946 ac_cv_member_scsireq_t_cmd=yes
21947 else
21948 echo "$as_me: failed program was:" >&5
21949 sed 's/^/| /' conftest.$ac_ext >&5
21951 cat >conftest.$ac_ext <<_ACEOF
21952 /* confdefs.h. */
21953 _ACEOF
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21957 #include <sys/types.h>
21958 #ifdef HAVE_SCSI_SG_H
21959 #include <scsi/sg.h>
21960 #endif
21963 main ()
21965 static scsireq_t ac_aggr;
21966 if (sizeof ac_aggr.cmd)
21967 return 0;
21969 return 0;
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21980 ac_status=$?
21981 grep -v '^ *+' conftest.er1 >conftest.err
21982 rm -f conftest.er1
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } &&
21986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21987 { (case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21990 esac
21991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_try") 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; } &&
21996 { ac_try='test -s conftest.$ac_objext'
21997 { (case "(($ac_try" in
21998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999 *) ac_try_echo=$ac_try;;
22000 esac
22001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002 (eval "$ac_try") 2>&5
22003 ac_status=$?
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; }; then
22006 ac_cv_member_scsireq_t_cmd=yes
22007 else
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22011 ac_cv_member_scsireq_t_cmd=no
22014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22020 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22021 if test $ac_cv_member_scsireq_t_cmd = yes; then
22023 cat >>confdefs.h <<_ACEOF
22024 #define HAVE_SCSIREQ_T_CMD 1
22025 _ACEOF
22029 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22030 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22031 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22032 echo $ECHO_N "(cached) $ECHO_C" >&6
22033 else
22034 cat >conftest.$ac_ext <<_ACEOF
22035 /* confdefs.h. */
22036 _ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 #include <sys/types.h>
22041 #ifdef HAVE_SCSI_SG_H
22042 #include <scsi/sg.h>
22043 #endif
22046 main ()
22048 static sg_io_hdr_t ac_aggr;
22049 if (ac_aggr.interface_id)
22050 return 0;
22052 return 0;
22054 _ACEOF
22055 rm -f conftest.$ac_objext
22056 if { (ac_try="$ac_compile"
22057 case "(($ac_try" in
22058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22059 *) ac_try_echo=$ac_try;;
22060 esac
22061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22062 (eval "$ac_compile") 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22070 { (case "(($ac_try" in
22071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22072 *) ac_try_echo=$ac_try;;
22073 esac
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval "$ac_try") 2>&5
22076 ac_status=$?
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; } &&
22079 { ac_try='test -s conftest.$ac_objext'
22080 { (case "(($ac_try" in
22081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22082 *) ac_try_echo=$ac_try;;
22083 esac
22084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22085 (eval "$ac_try") 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22089 ac_cv_member_sg_io_hdr_t_interface_id=yes
22090 else
22091 echo "$as_me: failed program was:" >&5
22092 sed 's/^/| /' conftest.$ac_ext >&5
22094 cat >conftest.$ac_ext <<_ACEOF
22095 /* confdefs.h. */
22096 _ACEOF
22097 cat confdefs.h >>conftest.$ac_ext
22098 cat >>conftest.$ac_ext <<_ACEOF
22099 /* end confdefs.h. */
22100 #include <sys/types.h>
22101 #ifdef HAVE_SCSI_SG_H
22102 #include <scsi/sg.h>
22103 #endif
22106 main ()
22108 static sg_io_hdr_t ac_aggr;
22109 if (sizeof ac_aggr.interface_id)
22110 return 0;
22112 return 0;
22114 _ACEOF
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120 esac
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } &&
22129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22130 { (case "(($ac_try" in
22131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22133 esac
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_try") 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; } &&
22139 { ac_try='test -s conftest.$ac_objext'
22140 { (case "(($ac_try" in
22141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22142 *) ac_try_echo=$ac_try;;
22143 esac
22144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22145 (eval "$ac_try") 2>&5
22146 ac_status=$?
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); }; }; then
22149 ac_cv_member_sg_io_hdr_t_interface_id=yes
22150 else
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.$ac_ext >&5
22154 ac_cv_member_sg_io_hdr_t_interface_id=no
22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22162 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22163 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22164 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22166 cat >>confdefs.h <<_ACEOF
22167 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22168 _ACEOF
22174 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22175 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22176 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22178 else
22179 cat >conftest.$ac_ext <<_ACEOF
22180 /* confdefs.h. */
22181 _ACEOF
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 #include <signal.h>
22188 main ()
22190 static siginfo_t ac_aggr;
22191 if (ac_aggr.si_fd)
22192 return 0;
22194 return 0;
22196 _ACEOF
22197 rm -f conftest.$ac_objext
22198 if { (ac_try="$ac_compile"
22199 case "(($ac_try" in
22200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22201 *) ac_try_echo=$ac_try;;
22202 esac
22203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22204 (eval "$ac_compile") 2>conftest.er1
22205 ac_status=$?
22206 grep -v '^ *+' conftest.er1 >conftest.err
22207 rm -f conftest.er1
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } &&
22211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22212 { (case "(($ac_try" in
22213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22214 *) ac_try_echo=$ac_try;;
22215 esac
22216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22217 (eval "$ac_try") 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest.$ac_objext'
22222 { (case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_try") 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; }; then
22231 ac_cv_member_siginfo_t_si_fd=yes
22232 else
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.$ac_ext >&5
22236 cat >conftest.$ac_ext <<_ACEOF
22237 /* confdefs.h. */
22238 _ACEOF
22239 cat confdefs.h >>conftest.$ac_ext
22240 cat >>conftest.$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22242 #include <signal.h>
22245 main ()
22247 static siginfo_t ac_aggr;
22248 if (sizeof ac_aggr.si_fd)
22249 return 0;
22251 return 0;
22253 _ACEOF
22254 rm -f conftest.$ac_objext
22255 if { (ac_try="$ac_compile"
22256 case "(($ac_try" in
22257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22258 *) ac_try_echo=$ac_try;;
22259 esac
22260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22261 (eval "$ac_compile") 2>conftest.er1
22262 ac_status=$?
22263 grep -v '^ *+' conftest.er1 >conftest.err
22264 rm -f conftest.er1
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22269 { (case "(($ac_try" in
22270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22271 *) ac_try_echo=$ac_try;;
22272 esac
22273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22274 (eval "$ac_try") 2>&5
22275 ac_status=$?
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); }; } &&
22278 { ac_try='test -s conftest.$ac_objext'
22279 { (case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22282 esac
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_try") 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_member_siginfo_t_si_fd=yes
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22293 ac_cv_member_siginfo_t_si_fd=no
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22301 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22302 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22303 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22305 cat >>confdefs.h <<_ACEOF
22306 #define HAVE_SIGINFO_T_SI_FD 1
22307 _ACEOF
22313 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22314 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22315 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22317 else
22318 cat >conftest.$ac_ext <<_ACEOF
22319 /* confdefs.h. */
22320 _ACEOF
22321 cat confdefs.h >>conftest.$ac_ext
22322 cat >>conftest.$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22324 #include <sys/types.h>
22325 #ifdef HAVE_SYS_MTIO_H
22326 #include <sys/mtio.h>
22327 #endif
22330 main ()
22332 static struct mtget ac_aggr;
22333 if (ac_aggr.mt_blksiz)
22334 return 0;
22336 return 0;
22338 _ACEOF
22339 rm -f conftest.$ac_objext
22340 if { (ac_try="$ac_compile"
22341 case "(($ac_try" in
22342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22343 *) ac_try_echo=$ac_try;;
22344 esac
22345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22346 (eval "$ac_compile") 2>conftest.er1
22347 ac_status=$?
22348 grep -v '^ *+' conftest.er1 >conftest.err
22349 rm -f conftest.er1
22350 cat conftest.err >&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } &&
22353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22354 { (case "(($ac_try" in
22355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22356 *) ac_try_echo=$ac_try;;
22357 esac
22358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22359 (eval "$ac_try") 2>&5
22360 ac_status=$?
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try='test -s conftest.$ac_objext'
22364 { (case "(($ac_try" in
22365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22366 *) ac_try_echo=$ac_try;;
22367 esac
22368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22369 (eval "$ac_try") 2>&5
22370 ac_status=$?
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; }; then
22373 ac_cv_member_struct_mtget_mt_blksiz=yes
22374 else
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.$ac_ext >&5
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 #include <sys/types.h>
22385 #ifdef HAVE_SYS_MTIO_H
22386 #include <sys/mtio.h>
22387 #endif
22390 main ()
22392 static struct mtget ac_aggr;
22393 if (sizeof ac_aggr.mt_blksiz)
22394 return 0;
22396 return 0;
22398 _ACEOF
22399 rm -f conftest.$ac_objext
22400 if { (ac_try="$ac_compile"
22401 case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22404 esac
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_compile") 2>conftest.er1
22407 ac_status=$?
22408 grep -v '^ *+' conftest.er1 >conftest.err
22409 rm -f conftest.er1
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22414 { (case "(($ac_try" in
22415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22417 esac
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_try") 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; } &&
22423 { ac_try='test -s conftest.$ac_objext'
22424 { (case "(($ac_try" in
22425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22426 *) ac_try_echo=$ac_try;;
22427 esac
22428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429 (eval "$ac_try") 2>&5
22430 ac_status=$?
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; }; then
22433 ac_cv_member_struct_mtget_mt_blksiz=yes
22434 else
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.$ac_ext >&5
22438 ac_cv_member_struct_mtget_mt_blksiz=no
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22447 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22448 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22450 cat >>confdefs.h <<_ACEOF
22451 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22452 _ACEOF
22456 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22457 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22458 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 else
22461 cat >conftest.$ac_ext <<_ACEOF
22462 /* confdefs.h. */
22463 _ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 #include <sys/types.h>
22468 #ifdef HAVE_SYS_MTIO_H
22469 #include <sys/mtio.h>
22470 #endif
22473 main ()
22475 static struct mtget ac_aggr;
22476 if (ac_aggr.mt_gstat)
22477 return 0;
22479 return 0;
22481 _ACEOF
22482 rm -f conftest.$ac_objext
22483 if { (ac_try="$ac_compile"
22484 case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22486 *) ac_try_echo=$ac_try;;
22487 esac
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_compile") 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } &&
22496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22497 { (case "(($ac_try" in
22498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22499 *) ac_try_echo=$ac_try;;
22500 esac
22501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22502 (eval "$ac_try") 2>&5
22503 ac_status=$?
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; } &&
22506 { ac_try='test -s conftest.$ac_objext'
22507 { (case "(($ac_try" in
22508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22509 *) ac_try_echo=$ac_try;;
22510 esac
22511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22512 (eval "$ac_try") 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516 ac_cv_member_struct_mtget_mt_gstat=yes
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 cat >conftest.$ac_ext <<_ACEOF
22522 /* confdefs.h. */
22523 _ACEOF
22524 cat confdefs.h >>conftest.$ac_ext
22525 cat >>conftest.$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 #include <sys/types.h>
22528 #ifdef HAVE_SYS_MTIO_H
22529 #include <sys/mtio.h>
22530 #endif
22533 main ()
22535 static struct mtget ac_aggr;
22536 if (sizeof ac_aggr.mt_gstat)
22537 return 0;
22539 return 0;
22541 _ACEOF
22542 rm -f conftest.$ac_objext
22543 if { (ac_try="$ac_compile"
22544 case "(($ac_try" in
22545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22546 *) ac_try_echo=$ac_try;;
22547 esac
22548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22549 (eval "$ac_compile") 2>conftest.er1
22550 ac_status=$?
22551 grep -v '^ *+' conftest.er1 >conftest.err
22552 rm -f conftest.er1
22553 cat conftest.err >&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } &&
22556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22557 { (case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22560 esac
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_try") 2>&5
22563 ac_status=$?
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; } &&
22566 { ac_try='test -s conftest.$ac_objext'
22567 { (case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22570 esac
22571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_try") 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; }; then
22576 ac_cv_member_struct_mtget_mt_gstat=yes
22577 else
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22581 ac_cv_member_struct_mtget_mt_gstat=no
22584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22590 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22591 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22593 cat >>confdefs.h <<_ACEOF
22594 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22595 _ACEOF
22599 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22600 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22601 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22602 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 else
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 #include <sys/types.h>
22611 #ifdef HAVE_SYS_MTIO_H
22612 #include <sys/mtio.h>
22613 #endif
22616 main ()
22618 static struct mtget ac_aggr;
22619 if (ac_aggr.mt_blkno)
22620 return 0;
22622 return 0;
22624 _ACEOF
22625 rm -f conftest.$ac_objext
22626 if { (ac_try="$ac_compile"
22627 case "(($ac_try" in
22628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22629 *) ac_try_echo=$ac_try;;
22630 esac
22631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_compile") 2>conftest.er1
22633 ac_status=$?
22634 grep -v '^ *+' conftest.er1 >conftest.err
22635 rm -f conftest.er1
22636 cat conftest.err >&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); } &&
22639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22640 { (case "(($ac_try" in
22641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642 *) ac_try_echo=$ac_try;;
22643 esac
22644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645 (eval "$ac_try") 2>&5
22646 ac_status=$?
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; } &&
22649 { ac_try='test -s conftest.$ac_objext'
22650 { (case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22653 esac
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_try") 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; }; then
22659 ac_cv_member_struct_mtget_mt_blkno=yes
22660 else
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22664 cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 #include <sys/types.h>
22671 #ifdef HAVE_SYS_MTIO_H
22672 #include <sys/mtio.h>
22673 #endif
22676 main ()
22678 static struct mtget ac_aggr;
22679 if (sizeof ac_aggr.mt_blkno)
22680 return 0;
22682 return 0;
22684 _ACEOF
22685 rm -f conftest.$ac_objext
22686 if { (ac_try="$ac_compile"
22687 case "(($ac_try" in
22688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22689 *) ac_try_echo=$ac_try;;
22690 esac
22691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22692 (eval "$ac_compile") 2>conftest.er1
22693 ac_status=$?
22694 grep -v '^ *+' conftest.er1 >conftest.err
22695 rm -f conftest.er1
22696 cat conftest.err >&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } &&
22699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22700 { (case "(($ac_try" in
22701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22702 *) ac_try_echo=$ac_try;;
22703 esac
22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22705 (eval "$ac_try") 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try='test -s conftest.$ac_objext'
22710 { (case "(($ac_try" in
22711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22712 *) ac_try_echo=$ac_try;;
22713 esac
22714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22715 (eval "$ac_try") 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 ac_cv_member_struct_mtget_mt_blkno=yes
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22724 ac_cv_member_struct_mtget_mt_blkno=no
22727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22733 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22734 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22736 cat >>confdefs.h <<_ACEOF
22737 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22738 _ACEOF
22744 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22745 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22746 if test "${ac_cv_member_struct_option_name+set}" = set; then
22747 echo $ECHO_N "(cached) $ECHO_C" >&6
22748 else
22749 cat >conftest.$ac_ext <<_ACEOF
22750 /* confdefs.h. */
22751 _ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22755 #ifdef HAVE_GETOPT_H
22756 #include <getopt.h>
22757 #endif
22760 main ()
22762 static struct option ac_aggr;
22763 if (ac_aggr.name)
22764 return 0;
22766 return 0;
22768 _ACEOF
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22774 esac
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22777 ac_status=$?
22778 grep -v '^ *+' conftest.er1 >conftest.err
22779 rm -f conftest.er1
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22786 *) ac_try_echo=$ac_try;;
22787 esac
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; } &&
22793 { ac_try='test -s conftest.$ac_objext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_member_struct_option_name=yes
22804 else
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.$ac_ext >&5
22808 cat >conftest.$ac_ext <<_ACEOF
22809 /* confdefs.h. */
22810 _ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 #ifdef HAVE_GETOPT_H
22815 #include <getopt.h>
22816 #endif
22819 main ()
22821 static struct option ac_aggr;
22822 if (sizeof ac_aggr.name)
22823 return 0;
22825 return 0;
22827 _ACEOF
22828 rm -f conftest.$ac_objext
22829 if { (ac_try="$ac_compile"
22830 case "(($ac_try" in
22831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22832 *) ac_try_echo=$ac_try;;
22833 esac
22834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22835 (eval "$ac_compile") 2>conftest.er1
22836 ac_status=$?
22837 grep -v '^ *+' conftest.er1 >conftest.err
22838 rm -f conftest.er1
22839 cat conftest.err >&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); } &&
22842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22843 { (case "(($ac_try" in
22844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22845 *) ac_try_echo=$ac_try;;
22846 esac
22847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22848 (eval "$ac_try") 2>&5
22849 ac_status=$?
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; } &&
22852 { ac_try='test -s conftest.$ac_objext'
22853 { (case "(($ac_try" in
22854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22855 *) ac_try_echo=$ac_try;;
22856 esac
22857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22858 (eval "$ac_try") 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22862 ac_cv_member_struct_option_name=yes
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22867 ac_cv_member_struct_option_name=no
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22876 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22877 if test $ac_cv_member_struct_option_name = yes; then
22879 cat >>confdefs.h <<_ACEOF
22880 #define HAVE_STRUCT_OPTION_NAME 1
22881 _ACEOF
22887 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22888 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22889 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22891 else
22892 cat >conftest.$ac_ext <<_ACEOF
22893 /* confdefs.h. */
22894 _ACEOF
22895 cat confdefs.h >>conftest.$ac_ext
22896 cat >>conftest.$ac_ext <<_ACEOF
22897 /* end confdefs.h. */
22898 $ac_includes_default
22900 main ()
22902 static struct stat ac_aggr;
22903 if (ac_aggr.st_blocks)
22904 return 0;
22906 return 0;
22908 _ACEOF
22909 rm -f conftest.$ac_objext
22910 if { (ac_try="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22914 esac
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22917 ac_status=$?
22918 grep -v '^ *+' conftest.er1 >conftest.err
22919 rm -f conftest.er1
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22924 { (case "(($ac_try" in
22925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22926 *) ac_try_echo=$ac_try;;
22927 esac
22928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22929 (eval "$ac_try") 2>&5
22930 ac_status=$?
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try='test -s conftest.$ac_objext'
22934 { (case "(($ac_try" in
22935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22936 *) ac_try_echo=$ac_try;;
22937 esac
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_try") 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; }; then
22943 ac_cv_member_struct_stat_st_blocks=yes
22944 else
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22948 cat >conftest.$ac_ext <<_ACEOF
22949 /* confdefs.h. */
22950 _ACEOF
22951 cat confdefs.h >>conftest.$ac_ext
22952 cat >>conftest.$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22954 $ac_includes_default
22956 main ()
22958 static struct stat ac_aggr;
22959 if (sizeof ac_aggr.st_blocks)
22960 return 0;
22962 return 0;
22964 _ACEOF
22965 rm -f conftest.$ac_objext
22966 if { (ac_try="$ac_compile"
22967 case "(($ac_try" in
22968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22969 *) ac_try_echo=$ac_try;;
22970 esac
22971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22972 (eval "$ac_compile") 2>conftest.er1
22973 ac_status=$?
22974 grep -v '^ *+' conftest.er1 >conftest.err
22975 rm -f conftest.er1
22976 cat conftest.err >&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } &&
22979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22980 { (case "(($ac_try" in
22981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22982 *) ac_try_echo=$ac_try;;
22983 esac
22984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22985 (eval "$ac_try") 2>&5
22986 ac_status=$?
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); }; } &&
22989 { ac_try='test -s conftest.$ac_objext'
22990 { (case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22993 esac
22994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_try") 2>&5
22996 ac_status=$?
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; }; then
22999 ac_cv_member_struct_stat_st_blocks=yes
23000 else
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23004 ac_cv_member_struct_stat_st_blocks=no
23007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23013 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23014 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23016 cat >>confdefs.h <<_ACEOF
23017 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23018 _ACEOF
23024 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23025 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23026 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23028 else
23029 cat >conftest.$ac_ext <<_ACEOF
23030 /* confdefs.h. */
23031 _ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23035 #ifdef HAVE_SYS_TYPES_H
23036 #include <sys/types.h>
23037 #endif
23038 #ifdef HAVE_NETINET_IN_H
23039 #include <netinet/in.h>
23040 #endif
23043 main ()
23045 static struct sockaddr_in6 ac_aggr;
23046 if (ac_aggr.sin6_scope_id)
23047 return 0;
23049 return 0;
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (ac_try="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23057 esac
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23060 ac_status=$?
23061 grep -v '^ *+' conftest.er1 >conftest.err
23062 rm -f conftest.er1
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23067 { (case "(($ac_try" in
23068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23069 *) ac_try_echo=$ac_try;;
23070 esac
23071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23072 (eval "$ac_try") 2>&5
23073 ac_status=$?
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; } &&
23076 { ac_try='test -s conftest.$ac_objext'
23077 { (case "(($ac_try" in
23078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23079 *) ac_try_echo=$ac_try;;
23080 esac
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_try") 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23087 else
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h. */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 #ifdef HAVE_SYS_TYPES_H
23098 #include <sys/types.h>
23099 #endif
23100 #ifdef HAVE_NETINET_IN_H
23101 #include <netinet/in.h>
23102 #endif
23105 main ()
23107 static struct sockaddr_in6 ac_aggr;
23108 if (sizeof ac_aggr.sin6_scope_id)
23109 return 0;
23111 return 0;
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (ac_try="$ac_compile"
23116 case "(($ac_try" in
23117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23118 *) ac_try_echo=$ac_try;;
23119 esac
23120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23121 (eval "$ac_compile") 2>conftest.er1
23122 ac_status=$?
23123 grep -v '^ *+' conftest.er1 >conftest.err
23124 rm -f conftest.er1
23125 cat conftest.err >&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } &&
23128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23129 { (case "(($ac_try" in
23130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23132 esac
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_try") 2>&5
23135 ac_status=$?
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; } &&
23138 { ac_try='test -s conftest.$ac_objext'
23139 { (case "(($ac_try" in
23140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23141 *) ac_try_echo=$ac_try;;
23142 esac
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_try") 2>&5
23145 ac_status=$?
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; }; then
23148 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23149 else
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23153 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23162 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23163 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23165 cat >>confdefs.h <<_ACEOF
23166 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23167 _ACEOF
23173 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23174 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23175 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23177 else
23178 cat >conftest.$ac_ext <<_ACEOF
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184 #ifdef HAVE_SYS_TYPES_H
23185 #include <sys/types.h>
23186 #endif
23187 #ifdef HAVE_NETINET_IN_H
23188 # include <netinet/in.h>
23189 #endif
23190 #ifdef HAVE_ARPA_NAMESER_H
23191 # include <arpa/nameser.h>
23192 #endif
23195 main ()
23197 static ns_msg ac_aggr;
23198 if (ac_aggr._msg_ptr)
23199 return 0;
23201 return 0;
23203 _ACEOF
23204 rm -f conftest.$ac_objext
23205 if { (ac_try="$ac_compile"
23206 case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23209 esac
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_compile") 2>conftest.er1
23212 ac_status=$?
23213 grep -v '^ *+' conftest.er1 >conftest.err
23214 rm -f conftest.er1
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23219 { (case "(($ac_try" in
23220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23221 *) ac_try_echo=$ac_try;;
23222 esac
23223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23224 (eval "$ac_try") 2>&5
23225 ac_status=$?
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try='test -s conftest.$ac_objext'
23229 { (case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23232 esac
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_try") 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_cv_member_ns_msg__msg_ptr=yes
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23243 cat >conftest.$ac_ext <<_ACEOF
23244 /* confdefs.h. */
23245 _ACEOF
23246 cat confdefs.h >>conftest.$ac_ext
23247 cat >>conftest.$ac_ext <<_ACEOF
23248 /* end confdefs.h. */
23249 #ifdef HAVE_SYS_TYPES_H
23250 #include <sys/types.h>
23251 #endif
23252 #ifdef HAVE_NETINET_IN_H
23253 # include <netinet/in.h>
23254 #endif
23255 #ifdef HAVE_ARPA_NAMESER_H
23256 # include <arpa/nameser.h>
23257 #endif
23260 main ()
23262 static ns_msg ac_aggr;
23263 if (sizeof ac_aggr._msg_ptr)
23264 return 0;
23266 return 0;
23268 _ACEOF
23269 rm -f conftest.$ac_objext
23270 if { (ac_try="$ac_compile"
23271 case "(($ac_try" in
23272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23273 *) ac_try_echo=$ac_try;;
23274 esac
23275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23276 (eval "$ac_compile") 2>conftest.er1
23277 ac_status=$?
23278 grep -v '^ *+' conftest.er1 >conftest.err
23279 rm -f conftest.er1
23280 cat conftest.err >&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } &&
23283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23284 { (case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_try") 2>&5
23290 ac_status=$?
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; } &&
23293 { ac_try='test -s conftest.$ac_objext'
23294 { (case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23297 esac
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_try") 2>&5
23300 ac_status=$?
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; }; then
23303 ac_cv_member_ns_msg__msg_ptr=yes
23304 else
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.$ac_ext >&5
23308 ac_cv_member_ns_msg__msg_ptr=no
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23316 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23317 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23318 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23320 cat >>confdefs.h <<_ACEOF
23321 #define HAVE_NS_MSG__MSG_PTR 1
23322 _ACEOF
23328 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23329 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23330 if test "${ac_cv_have_timezone+set}" = set; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 else
23333 cat >conftest.$ac_ext <<_ACEOF
23334 /* confdefs.h. */
23335 _ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 #include <time.h>
23341 main ()
23343 timezone = 1
23345 return 0;
23347 _ACEOF
23348 rm -f conftest.$ac_objext conftest$ac_exeext
23349 if { (ac_try="$ac_link"
23350 case "(($ac_try" in
23351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23352 *) ac_try_echo=$ac_try;;
23353 esac
23354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23355 (eval "$ac_link") 2>conftest.er1
23356 ac_status=$?
23357 grep -v '^ *+' conftest.er1 >conftest.err
23358 rm -f conftest.er1
23359 cat conftest.err >&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); } &&
23362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23363 { (case "(($ac_try" in
23364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23365 *) ac_try_echo=$ac_try;;
23366 esac
23367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23368 (eval "$ac_try") 2>&5
23369 ac_status=$?
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; } &&
23372 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
23382 ac_cv_have_timezone="yes"
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23387 ac_cv_have_timezone="no"
23390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23391 conftest$ac_exeext conftest.$ac_ext
23393 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23394 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23395 if test "$ac_cv_have_timezone" = "yes"
23396 then
23398 cat >>confdefs.h <<\_ACEOF
23399 #define HAVE_TIMEZONE 1
23400 _ACEOF
23403 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23404 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23405 if test "${ac_cv_have_daylight+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 else
23408 cat >conftest.$ac_ext <<_ACEOF
23409 /* confdefs.h. */
23410 _ACEOF
23411 cat confdefs.h >>conftest.$ac_ext
23412 cat >>conftest.$ac_ext <<_ACEOF
23413 /* end confdefs.h. */
23414 #include <time.h>
23416 main ()
23418 daylight = 1
23420 return 0;
23422 _ACEOF
23423 rm -f conftest.$ac_objext conftest$ac_exeext
23424 if { (ac_try="$ac_link"
23425 case "(($ac_try" in
23426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23427 *) ac_try_echo=$ac_try;;
23428 esac
23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430 (eval "$ac_link") 2>conftest.er1
23431 ac_status=$?
23432 grep -v '^ *+' conftest.er1 >conftest.err
23433 rm -f conftest.er1
23434 cat conftest.err >&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } &&
23437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23438 { (case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23441 esac
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_try") 2>&5
23444 ac_status=$?
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try='test -s conftest$ac_exeext'
23448 { (case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23451 esac
23452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_try") 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_have_daylight="yes"
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23462 ac_cv_have_daylight="no"
23465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23466 conftest$ac_exeext conftest.$ac_ext
23468 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23469 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23470 if test "$ac_cv_have_daylight" = "yes"
23471 then
23473 cat >>confdefs.h <<\_ACEOF
23474 #define HAVE_DAYLIGHT 1
23475 _ACEOF
23480 case $host_cpu in
23481 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23482 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23483 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23484 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 else
23486 cat >conftest.$ac_ext <<_ACEOF
23487 /* confdefs.h. */
23488 _ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492 #ifndef __i386__
23494 #endif
23495 _ACEOF
23496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23497 $EGREP "yes" >/dev/null 2>&1; then
23498 ac_cv_cpp_def___i386__=yes
23499 else
23500 ac_cv_cpp_def___i386__=no
23502 rm -f conftest*
23505 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23506 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23507 if test $ac_cv_cpp_def___i386__ = yes; then
23508 CFLAGS="$CFLAGS -D__i386__"
23509 LINTFLAGS="$LINTFLAGS -D__i386__"
23512 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23513 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23514 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 cat >conftest.$ac_ext <<_ACEOF
23518 /* confdefs.h. */
23519 _ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 #ifndef __x86_64__
23525 #endif
23526 _ACEOF
23527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23528 $EGREP "yes" >/dev/null 2>&1; then
23529 ac_cv_cpp_def___x86_64__=yes
23530 else
23531 ac_cv_cpp_def___x86_64__=no
23533 rm -f conftest*
23536 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23537 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23538 if test $ac_cv_cpp_def___x86_64__ = yes; then
23539 CFLAGS="$CFLAGS -D__x86_64__"
23540 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23543 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23544 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23545 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 else
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 #ifndef __ALPHA__
23556 #endif
23557 _ACEOF
23558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23559 $EGREP "yes" >/dev/null 2>&1; then
23560 ac_cv_cpp_def___ALPHA__=yes
23561 else
23562 ac_cv_cpp_def___ALPHA__=no
23564 rm -f conftest*
23567 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23568 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23569 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23570 CFLAGS="$CFLAGS -D__ALPHA__"
23571 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23574 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23575 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23576 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h. */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23585 #ifndef __sparc__
23587 #endif
23588 _ACEOF
23589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23590 $EGREP "yes" >/dev/null 2>&1; then
23591 ac_cv_cpp_def___sparc__=yes
23592 else
23593 ac_cv_cpp_def___sparc__=no
23595 rm -f conftest*
23598 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23599 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23600 if test $ac_cv_cpp_def___sparc__ = yes; then
23601 CFLAGS="$CFLAGS -D__sparc__"
23602 LINTFLAGS="$LINTFLAGS -D__sparc__"
23605 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23606 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23607 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 else
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h. */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23616 #ifndef __powerpc__
23618 #endif
23619 _ACEOF
23620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23621 $EGREP "yes" >/dev/null 2>&1; then
23622 ac_cv_cpp_def___powerpc__=yes
23623 else
23624 ac_cv_cpp_def___powerpc__=no
23626 rm -f conftest*
23629 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23630 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23631 if test $ac_cv_cpp_def___powerpc__ = yes; then
23632 CFLAGS="$CFLAGS -D__powerpc__"
23633 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23636 esac
23638 case $host_vendor in
23639 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23640 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23641 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650 #ifndef __sun__
23652 #endif
23653 _ACEOF
23654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23655 $EGREP "yes" >/dev/null 2>&1; then
23656 ac_cv_cpp_def___sun__=yes
23657 else
23658 ac_cv_cpp_def___sun__=no
23660 rm -f conftest*
23663 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23664 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23665 if test $ac_cv_cpp_def___sun__ = yes; then
23666 CFLAGS="$CFLAGS -D__sun__"
23667 LINTFLAGS="$LINTFLAGS -D__sun__"
23670 esac
23673 DEPENDENCIES="### Dependencies:
23675 .INIT: Makefile
23676 .BEGIN: Makefile
23677 Makefile: dummy
23678 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23680 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23681 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23682 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23683 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23689 ac_config_commands="$ac_config_commands include/stamp-h"
23692 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23694 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23696 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23698 ac_config_commands="$ac_config_commands dlls/user/resources"
23700 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23702 ac_config_commands="$ac_config_commands include/wine"
23705 MAKE_RULES=Make.rules
23708 MAKE_DLL_RULES=dlls/Makedll.rules
23711 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23714 MAKE_TEST_RULES=dlls/Maketest.rules
23717 MAKE_PROG_RULES=programs/Makeprog.rules
23720 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23723 cat >confcache <<\_ACEOF
23724 # This file is a shell script that caches the results of configure
23725 # tests run on this system so they can be shared between configure
23726 # scripts and configure runs, see configure's option --config-cache.
23727 # It is not useful on other systems. If it contains results you don't
23728 # want to keep, you may remove or edit it.
23730 # config.status only pays attention to the cache file if you give it
23731 # the --recheck option to rerun configure.
23733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23735 # following values.
23737 _ACEOF
23739 # The following way of writing the cache mishandles newlines in values,
23740 # but we know of no workaround that is simple, portable, and efficient.
23741 # So, we kill variables containing newlines.
23742 # Ultrix sh set writes to stderr and can't be redirected directly,
23743 # and sets the high bit in the cache file unless we assign to the vars.
23745 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23746 eval ac_val=\$$ac_var
23747 case $ac_val in #(
23748 *${as_nl}*)
23749 case $ac_var in #(
23750 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23751 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23752 esac
23753 case $ac_var in #(
23754 _ | IFS | as_nl) ;; #(
23755 *) $as_unset $ac_var ;;
23756 esac ;;
23757 esac
23758 done
23760 (set) 2>&1 |
23761 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23762 *${as_nl}ac_space=\ *)
23763 # `set' does not quote correctly, so add quotes (double-quote
23764 # substitution turns \\\\ into \\, and sed turns \\ into \).
23765 sed -n \
23766 "s/'/'\\\\''/g;
23767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23768 ;; #(
23770 # `set' quotes correctly as required by POSIX, so do not add quotes.
23771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23773 esac |
23774 sort
23776 sed '
23777 /^ac_cv_env_/b end
23778 t clear
23779 :clear
23780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23781 t end
23782 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23783 :end' >>confcache
23784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23785 if test -w "$cache_file"; then
23786 test "x$cache_file" != "x/dev/null" &&
23787 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23788 echo "$as_me: updating cache $cache_file" >&6;}
23789 cat confcache >$cache_file
23790 else
23791 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23792 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23795 rm -f confcache
23797 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23798 # Let make expand exec_prefix.
23799 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23801 DEFS=-DHAVE_CONFIG_H
23803 ac_libobjs=
23804 ac_ltlibobjs=
23805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23806 # 1. Remove the extension, and $U if already installed.
23807 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23808 ac_i=`echo "$ac_i" | sed "$ac_script"`
23809 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23810 # will be set to the directory where LIBOBJS objects are built.
23811 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23812 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23813 done
23814 LIBOBJS=$ac_libobjs
23816 LTLIBOBJS=$ac_ltlibobjs
23820 : ${CONFIG_STATUS=./config.status}
23821 ac_clean_files_save=$ac_clean_files
23822 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23823 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23824 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23825 cat >$CONFIG_STATUS <<_ACEOF
23826 #! $SHELL
23827 # Generated by $as_me.
23828 # Run this file to recreate the current configuration.
23829 # Compiler output produced by configure, useful for debugging
23830 # configure, is in config.log if it exists.
23832 debug=false
23833 ac_cs_recheck=false
23834 ac_cs_silent=false
23835 SHELL=\${CONFIG_SHELL-$SHELL}
23836 _ACEOF
23838 cat >>$CONFIG_STATUS <<\_ACEOF
23839 ## --------------------- ##
23840 ## M4sh Initialization. ##
23841 ## --------------------- ##
23843 # Be Bourne compatible
23844 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23845 emulate sh
23846 NULLCMD=:
23847 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23848 # is contrary to our usage. Disable this feature.
23849 alias -g '${1+"$@"}'='"$@"'
23850 setopt NO_GLOB_SUBST
23851 else
23852 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23854 BIN_SH=xpg4; export BIN_SH # for Tru64
23855 DUALCASE=1; export DUALCASE # for MKS sh
23858 # PATH needs CR
23859 # Avoid depending upon Character Ranges.
23860 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23861 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23862 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23863 as_cr_digits='0123456789'
23864 as_cr_alnum=$as_cr_Letters$as_cr_digits
23866 # The user is always right.
23867 if test "${PATH_SEPARATOR+set}" != set; then
23868 echo "#! /bin/sh" >conf$$.sh
23869 echo "exit 0" >>conf$$.sh
23870 chmod +x conf$$.sh
23871 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23872 PATH_SEPARATOR=';'
23873 else
23874 PATH_SEPARATOR=:
23876 rm -f conf$$.sh
23879 # Support unset when possible.
23880 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23881 as_unset=unset
23882 else
23883 as_unset=false
23887 # IFS
23888 # We need space, tab and new line, in precisely that order. Quoting is
23889 # there to prevent editors from complaining about space-tab.
23890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23891 # splitting by setting IFS to empty value.)
23892 as_nl='
23894 IFS=" "" $as_nl"
23896 # Find who we are. Look in the path if we contain no directory separator.
23897 case $0 in
23898 *[\\/]* ) as_myself=$0 ;;
23899 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23900 for as_dir in $PATH
23902 IFS=$as_save_IFS
23903 test -z "$as_dir" && as_dir=.
23904 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23905 done
23906 IFS=$as_save_IFS
23909 esac
23910 # We did not find ourselves, most probably we were run as `sh COMMAND'
23911 # in which case we are not to be found in the path.
23912 if test "x$as_myself" = x; then
23913 as_myself=$0
23915 if test ! -f "$as_myself"; then
23916 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23917 { (exit 1); exit 1; }
23920 # Work around bugs in pre-3.0 UWIN ksh.
23921 for as_var in ENV MAIL MAILPATH
23922 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23923 done
23924 PS1='$ '
23925 PS2='> '
23926 PS4='+ '
23928 # NLS nuisances.
23929 for as_var in \
23930 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23931 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23932 LC_TELEPHONE LC_TIME
23934 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23935 eval $as_var=C; export $as_var
23936 else
23937 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23939 done
23941 # Required to use basename.
23942 if expr a : '\(a\)' >/dev/null 2>&1 &&
23943 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23944 as_expr=expr
23945 else
23946 as_expr=false
23949 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23950 as_basename=basename
23951 else
23952 as_basename=false
23956 # Name of the executable.
23957 as_me=`$as_basename -- "$0" ||
23958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23959 X"$0" : 'X\(//\)$' \| \
23960 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23961 echo X/"$0" |
23962 sed '/^.*\/\([^/][^/]*\)\/*$/{
23963 s//\1/
23966 /^X\/\(\/\/\)$/{
23967 s//\1/
23970 /^X\/\(\/\).*/{
23971 s//\1/
23974 s/.*/./; q'`
23976 # CDPATH.
23977 $as_unset CDPATH
23981 as_lineno_1=$LINENO
23982 as_lineno_2=$LINENO
23983 test "x$as_lineno_1" != "x$as_lineno_2" &&
23984 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23986 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23987 # uniformly replaced by the line number. The first 'sed' inserts a
23988 # line-number line after each line using $LINENO; the second 'sed'
23989 # does the real work. The second script uses 'N' to pair each
23990 # line-number line with the line containing $LINENO, and appends
23991 # trailing '-' during substitution so that $LINENO is not a special
23992 # case at line end.
23993 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23994 # scripts with optimization help from Paolo Bonzini. Blame Lee
23995 # E. McMahon (1931-1989) for sed's syntax. :-)
23996 sed -n '
23998 /[$]LINENO/=
23999 ' <$as_myself |
24000 sed '
24001 s/[$]LINENO.*/&-/
24002 t lineno
24004 :lineno
24006 :loop
24007 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24008 t loop
24009 s/-\n.*//
24010 ' >$as_me.lineno &&
24011 chmod +x "$as_me.lineno" ||
24012 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24013 { (exit 1); exit 1; }; }
24015 # Don't try to exec as it changes $[0], causing all sort of problems
24016 # (the dirname of $[0] is not the place where we might find the
24017 # original and so on. Autoconf is especially sensitive to this).
24018 . "./$as_me.lineno"
24019 # Exit status is that of the last command.
24020 exit
24024 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24025 as_dirname=dirname
24026 else
24027 as_dirname=false
24030 ECHO_C= ECHO_N= ECHO_T=
24031 case `echo -n x` in
24032 -n*)
24033 case `echo 'x\c'` in
24034 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24035 *) ECHO_C='\c';;
24036 esac;;
24038 ECHO_N='-n';;
24039 esac
24041 if expr a : '\(a\)' >/dev/null 2>&1 &&
24042 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24043 as_expr=expr
24044 else
24045 as_expr=false
24048 rm -f conf$$ conf$$.exe conf$$.file
24049 if test -d conf$$.dir; then
24050 rm -f conf$$.dir/conf$$.file
24051 else
24052 rm -f conf$$.dir
24053 mkdir conf$$.dir
24055 echo >conf$$.file
24056 if ln -s conf$$.file conf$$ 2>/dev/null; then
24057 as_ln_s='ln -s'
24058 # ... but there are two gotchas:
24059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24061 # In both cases, we have to default to `cp -p'.
24062 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24063 as_ln_s='cp -p'
24064 elif ln conf$$.file conf$$ 2>/dev/null; then
24065 as_ln_s=ln
24066 else
24067 as_ln_s='cp -p'
24069 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24070 rmdir conf$$.dir 2>/dev/null
24072 if mkdir -p . 2>/dev/null; then
24073 as_mkdir_p=:
24074 else
24075 test -d ./-p && rmdir ./-p
24076 as_mkdir_p=false
24079 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24080 # systems may use methods other than mode bits to determine executability.
24081 cat >conf$$.file <<_ASEOF
24082 #! /bin/sh
24083 exit 0
24084 _ASEOF
24085 chmod +x conf$$.file
24086 if test -x conf$$.file >/dev/null 2>&1; then
24087 as_executable_p="test -x"
24088 else
24089 as_executable_p=:
24091 rm -f conf$$.file
24093 # Sed expression to map a string onto a valid CPP name.
24094 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24096 # Sed expression to map a string onto a valid variable name.
24097 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24100 exec 6>&1
24102 # Save the log message, to keep $[0] and so on meaningful, and to
24103 # report actual input values of CONFIG_FILES etc. instead of their
24104 # values after options handling.
24105 ac_log="
24106 This file was extended by Wine $as_me 0.9.24, which was
24107 generated by GNU Autoconf 2.60a. Invocation command line was
24109 CONFIG_FILES = $CONFIG_FILES
24110 CONFIG_HEADERS = $CONFIG_HEADERS
24111 CONFIG_LINKS = $CONFIG_LINKS
24112 CONFIG_COMMANDS = $CONFIG_COMMANDS
24113 $ $0 $@
24115 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24118 _ACEOF
24120 cat >>$CONFIG_STATUS <<_ACEOF
24121 # Files that config.status was made for.
24122 config_files="$ac_config_files"
24123 config_headers="$ac_config_headers"
24124 config_commands="$ac_config_commands"
24126 _ACEOF
24128 cat >>$CONFIG_STATUS <<\_ACEOF
24129 ac_cs_usage="\
24130 \`$as_me' instantiates files from templates according to the
24131 current configuration.
24133 Usage: $0 [OPTIONS] [FILE]...
24135 -h, --help print this help, then exit
24136 -V, --version print version number and configuration settings, then exit
24137 -q, --quiet do not print progress messages
24138 -d, --debug don't remove temporary files
24139 --recheck update $as_me by reconfiguring in the same conditions
24140 --file=FILE[:TEMPLATE]
24141 instantiate the configuration file FILE
24142 --header=FILE[:TEMPLATE]
24143 instantiate the configuration header FILE
24145 Configuration files:
24146 $config_files
24148 Configuration headers:
24149 $config_headers
24151 Configuration commands:
24152 $config_commands
24154 Report bugs to <bug-autoconf@gnu.org>."
24156 _ACEOF
24157 cat >>$CONFIG_STATUS <<_ACEOF
24158 ac_cs_version="\\
24159 Wine config.status 0.9.24
24160 configured by $0, generated by GNU Autoconf 2.60a,
24161 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24163 Copyright (C) 2006 Free Software Foundation, Inc.
24164 This config.status script is free software; the Free Software Foundation
24165 gives unlimited permission to copy, distribute and modify it."
24167 ac_pwd='$ac_pwd'
24168 srcdir='$srcdir'
24169 INSTALL='$INSTALL'
24170 _ACEOF
24172 cat >>$CONFIG_STATUS <<\_ACEOF
24173 # If no file are specified by the user, then we need to provide default
24174 # value. By we need to know if files were specified by the user.
24175 ac_need_defaults=:
24176 while test $# != 0
24178 case $1 in
24179 --*=*)
24180 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24181 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24182 ac_shift=:
24185 ac_option=$1
24186 ac_optarg=$2
24187 ac_shift=shift
24189 esac
24191 case $ac_option in
24192 # Handling of the options.
24193 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24194 ac_cs_recheck=: ;;
24195 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24196 echo "$ac_cs_version"; exit ;;
24197 --debug | --debu | --deb | --de | --d | -d )
24198 debug=: ;;
24199 --file | --fil | --fi | --f )
24200 $ac_shift
24201 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24202 ac_need_defaults=false;;
24203 --header | --heade | --head | --hea )
24204 $ac_shift
24205 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24206 ac_need_defaults=false;;
24207 --he | --h)
24208 # Conflict between --help and --header
24209 { echo "$as_me: error: ambiguous option: $1
24210 Try \`$0 --help' for more information." >&2
24211 { (exit 1); exit 1; }; };;
24212 --help | --hel | -h )
24213 echo "$ac_cs_usage"; exit ;;
24214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24215 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24216 ac_cs_silent=: ;;
24218 # This is an error.
24219 -*) { echo "$as_me: error: unrecognized option: $1
24220 Try \`$0 --help' for more information." >&2
24221 { (exit 1); exit 1; }; } ;;
24223 *) ac_config_targets="$ac_config_targets $1"
24224 ac_need_defaults=false ;;
24226 esac
24227 shift
24228 done
24230 ac_configure_extra_args=
24232 if $ac_cs_silent; then
24233 exec 6>/dev/null
24234 ac_configure_extra_args="$ac_configure_extra_args --silent"
24237 _ACEOF
24238 cat >>$CONFIG_STATUS <<_ACEOF
24239 if \$ac_cs_recheck; then
24240 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24241 CONFIG_SHELL=$SHELL
24242 export CONFIG_SHELL
24243 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24246 _ACEOF
24247 cat >>$CONFIG_STATUS <<\_ACEOF
24248 exec 5>>config.log
24250 echo
24251 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24252 ## Running $as_me. ##
24253 _ASBOX
24254 echo "$ac_log"
24255 } >&5
24257 _ACEOF
24258 cat >>$CONFIG_STATUS <<_ACEOF
24259 _ACEOF
24261 cat >>$CONFIG_STATUS <<\_ACEOF
24263 # Handling of arguments.
24264 for ac_config_target in $ac_config_targets
24266 case $ac_config_target in
24267 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24268 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24269 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24270 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24271 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24272 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24273 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24274 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24275 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24276 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24277 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24278 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24279 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24280 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24281 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24282 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24283 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24284 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24285 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24286 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24287 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24288 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24289 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24290 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24291 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24292 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24293 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24294 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24295 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24296 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24297 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24298 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24299 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24300 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24301 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24302 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24303 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24304 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24305 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24306 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24307 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24308 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24309 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24310 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24311 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24312 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24313 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24314 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24315 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24316 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24317 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24318 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24319 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24320 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24321 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24322 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24323 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24324 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24325 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24326 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24327 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24328 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24329 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24330 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24331 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24332 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24333 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24334 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24335 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24336 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24337 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24338 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24339 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24340 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24341 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24342 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24343 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24344 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24345 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24346 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24347 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24348 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24349 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24350 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24351 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24352 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24353 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24354 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24355 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24356 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24357 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24358 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24359 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24360 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24361 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24362 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24363 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24364 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24365 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24366 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24367 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24368 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24369 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24370 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24371 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24372 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24373 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24374 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24375 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24376 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24377 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24378 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24379 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24380 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24381 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24382 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24383 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24384 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24385 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24386 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24387 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24388 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24389 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24390 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24391 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24392 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24393 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24394 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24395 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24396 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24397 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24398 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24399 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24400 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24401 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24402 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24403 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24404 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24405 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24406 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24407 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24408 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24409 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24410 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24411 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24412 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24413 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24414 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24415 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24416 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24417 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24418 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24419 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24420 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24421 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24422 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24423 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24424 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24425 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24426 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24427 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24428 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24429 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24430 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24431 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24432 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24433 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24434 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24435 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24436 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24437 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24438 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24439 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24440 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24441 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24442 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24443 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24444 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24445 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24446 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24447 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24448 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24449 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24450 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24451 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24452 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24453 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24454 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24455 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24456 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24457 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24458 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24459 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24460 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24461 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24462 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24463 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24464 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24465 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24466 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24467 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24468 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24469 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24470 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24471 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24472 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24473 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24474 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24475 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24476 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24477 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24478 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24479 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24480 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24481 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24482 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24483 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24484 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24485 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24486 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24487 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24488 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24489 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24490 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24491 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24492 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24493 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24494 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24495 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24496 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24497 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24498 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24499 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24500 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24501 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24502 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24503 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24504 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24505 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24506 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24507 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24508 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24509 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24510 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24511 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24512 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24513 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24514 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24515 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24516 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24517 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24518 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24519 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24520 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24521 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24522 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24523 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24524 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24525 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24526 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24527 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24528 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24529 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24530 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24531 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24532 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24533 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24534 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24535 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24536 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24537 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24538 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24539 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24540 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24541 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24542 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24543 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24544 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24545 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24546 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24547 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24548 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24549 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24550 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24551 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24552 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24553 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24554 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24555 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24556 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24557 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24558 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24559 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24560 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24561 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24562 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24563 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24564 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24565 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24566 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24567 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24568 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24569 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24570 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24571 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24572 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24573 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24574 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24575 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24576 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24577 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24578 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24579 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24580 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24581 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24582 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24583 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24584 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24585 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24586 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24587 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24588 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24590 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24591 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24592 { (exit 1); exit 1; }; };;
24593 esac
24594 done
24597 # If the user did not use the arguments to specify the items to instantiate,
24598 # then the envvar interface is used. Set only those that are not.
24599 # We use the long form for the default assignment because of an extremely
24600 # bizarre bug on SunOS 4.1.3.
24601 if $ac_need_defaults; then
24602 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24603 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24604 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24607 # Have a temporary directory for convenience. Make it in the build tree
24608 # simply because there is no reason against having it here, and in addition,
24609 # creating and moving files from /tmp can sometimes cause problems.
24610 # Hook for its removal unless debugging.
24611 # Note that there is a small window in which the directory will not be cleaned:
24612 # after its creation but before its name has been assigned to `$tmp'.
24613 $debug ||
24615 tmp=
24616 trap 'exit_status=$?
24617 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24619 trap '{ (exit 1); exit 1; }' 1 2 13 15
24621 # Create a (secure) tmp directory for tmp files.
24624 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24625 test -n "$tmp" && test -d "$tmp"
24626 } ||
24628 tmp=./conf$$-$RANDOM
24629 (umask 077 && mkdir "$tmp")
24630 } ||
24632 echo "$me: cannot create a temporary directory in ." >&2
24633 { (exit 1); exit 1; }
24637 # Set up the sed scripts for CONFIG_FILES section.
24640 # No need to generate the scripts if there are no CONFIG_FILES.
24641 # This happens for instance when ./config.status config.h
24642 if test -n "$CONFIG_FILES"; then
24644 _ACEOF
24646 # Create sed commands to just substitute file output variables.
24648 # Remaining file output variables are in a fragment that also has non-file
24649 # output varibles.
24653 ac_delim='%!_!# '
24654 for ac_last_try in false false false false false :; do
24655 cat >conf$$subs.sed <<_ACEOF
24656 SHELL!$SHELL$ac_delim
24657 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24658 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24659 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24660 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24661 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24662 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24663 exec_prefix!$exec_prefix$ac_delim
24664 prefix!$prefix$ac_delim
24665 program_transform_name!$program_transform_name$ac_delim
24666 bindir!$bindir$ac_delim
24667 sbindir!$sbindir$ac_delim
24668 libexecdir!$libexecdir$ac_delim
24669 datarootdir!$datarootdir$ac_delim
24670 datadir!$datadir$ac_delim
24671 sysconfdir!$sysconfdir$ac_delim
24672 sharedstatedir!$sharedstatedir$ac_delim
24673 localstatedir!$localstatedir$ac_delim
24674 includedir!$includedir$ac_delim
24675 oldincludedir!$oldincludedir$ac_delim
24676 docdir!$docdir$ac_delim
24677 infodir!$infodir$ac_delim
24678 htmldir!$htmldir$ac_delim
24679 dvidir!$dvidir$ac_delim
24680 pdfdir!$pdfdir$ac_delim
24681 psdir!$psdir$ac_delim
24682 libdir!$libdir$ac_delim
24683 localedir!$localedir$ac_delim
24684 mandir!$mandir$ac_delim
24685 DEFS!$DEFS$ac_delim
24686 ECHO_C!$ECHO_C$ac_delim
24687 ECHO_N!$ECHO_N$ac_delim
24688 ECHO_T!$ECHO_T$ac_delim
24689 LIBS!$LIBS$ac_delim
24690 build_alias!$build_alias$ac_delim
24691 host_alias!$host_alias$ac_delim
24692 target_alias!$target_alias$ac_delim
24693 build!$build$ac_delim
24694 build_cpu!$build_cpu$ac_delim
24695 build_vendor!$build_vendor$ac_delim
24696 build_os!$build_os$ac_delim
24697 host!$host$ac_delim
24698 host_cpu!$host_cpu$ac_delim
24699 host_vendor!$host_vendor$ac_delim
24700 host_os!$host_os$ac_delim
24701 WIN16_FILES!$WIN16_FILES$ac_delim
24702 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24703 SET_MAKE!$SET_MAKE$ac_delim
24704 CC!$CC$ac_delim
24705 CFLAGS!$CFLAGS$ac_delim
24706 LDFLAGS!$LDFLAGS$ac_delim
24707 CPPFLAGS!$CPPFLAGS$ac_delim
24708 ac_ct_CC!$ac_ct_CC$ac_delim
24709 EXEEXT!$EXEEXT$ac_delim
24710 OBJEXT!$OBJEXT$ac_delim
24711 CXX!$CXX$ac_delim
24712 CXXFLAGS!$CXXFLAGS$ac_delim
24713 ac_ct_CXX!$ac_ct_CXX$ac_delim
24714 CPPBIN!$CPPBIN$ac_delim
24715 TOOLSDIR!$TOOLSDIR$ac_delim
24716 XMKMF!$XMKMF$ac_delim
24717 CPP!$CPP$ac_delim
24718 X_CFLAGS!$X_CFLAGS$ac_delim
24719 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24720 X_LIBS!$X_LIBS$ac_delim
24721 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24722 LEX!$LEX$ac_delim
24723 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24724 LEXLIB!$LEXLIB$ac_delim
24725 XLEX!$XLEX$ac_delim
24726 BISON!$BISON$ac_delim
24727 AS!$AS$ac_delim
24728 ac_ct_AS!$ac_ct_AS$ac_delim
24729 LD!$LD$ac_delim
24730 AR!$AR$ac_delim
24731 RANLIB!$RANLIB$ac_delim
24732 STRIP!$STRIP$ac_delim
24733 WINDRES!$WINDRES$ac_delim
24734 LN_S!$LN_S$ac_delim
24735 LN!$LN$ac_delim
24736 GREP!$GREP$ac_delim
24737 EGREP!$EGREP$ac_delim
24738 _ACEOF
24740 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24741 break
24742 elif $ac_last_try; then
24743 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24744 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24745 { (exit 1); exit 1; }; }
24746 else
24747 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24749 done
24751 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24752 if test -n "$ac_eof"; then
24753 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24754 ac_eof=`expr $ac_eof + 1`
24757 cat >>$CONFIG_STATUS <<_ACEOF
24758 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24759 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24760 /^[ ]*@MAKE_RULES@[ ]*$/{
24761 r $MAKE_RULES
24764 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24765 r $MAKE_DLL_RULES
24768 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24769 r $MAKE_IMPLIB_RULES
24772 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24773 r $MAKE_TEST_RULES
24776 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24777 r $MAKE_PROG_RULES
24780 _ACEOF
24781 sed '
24782 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24783 s/^/s,@/; s/!/@,|#_!!_#|/
24786 s/'"$ac_delim"'$/,g/; t
24787 s/$/\\/; p
24788 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24789 ' >>$CONFIG_STATUS <conf$$subs.sed
24790 rm -f conf$$subs.sed
24791 cat >>$CONFIG_STATUS <<_ACEOF
24792 CEOF$ac_eof
24793 _ACEOF
24796 ac_delim='%!_!# '
24797 for ac_last_try in false false false false false :; do
24798 cat >conf$$subs.sed <<_ACEOF
24799 LDCONFIG!$LDCONFIG$ac_delim
24800 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24801 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24802 INSTALL_DATA!$INSTALL_DATA$ac_delim
24803 LINT!$LINT$ac_delim
24804 LINTFLAGS!$LINTFLAGS$ac_delim
24805 FONTFORGE!$FONTFORGE$ac_delim
24806 PKG_CONFIG!$PKG_CONFIG$ac_delim
24807 PRELINK!$PRELINK$ac_delim
24808 LIBPTHREAD!$LIBPTHREAD$ac_delim
24809 XLIB!$XLIB$ac_delim
24810 XFILES!$XFILES$ac_delim
24811 OPENGLFILES!$OPENGLFILES$ac_delim
24812 GLU32FILES!$GLU32FILES$ac_delim
24813 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24814 QUARTZFILES!$QUARTZFILES$ac_delim
24815 GLUT_LIBS!$GLUT_LIBS$ac_delim
24816 GLUT32FILES!$GLUT32FILES$ac_delim
24817 NASLIBS!$NASLIBS$ac_delim
24818 XML2LIBS!$XML2LIBS$ac_delim
24819 XML2INCL!$XML2INCL$ac_delim
24820 XSLTLIBS!$XSLTLIBS$ac_delim
24821 XSLTINCL!$XSLTINCL$ac_delim
24822 HALINCL!$HALINCL$ac_delim
24823 CURSESLIBS!$CURSESLIBS$ac_delim
24824 sane_devel!$sane_devel$ac_delim
24825 SANELIBS!$SANELIBS$ac_delim
24826 SANEINCL!$SANEINCL$ac_delim
24827 gphoto2_devel!$gphoto2_devel$ac_delim
24828 gphoto2port_devel!$gphoto2port_devel$ac_delim
24829 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24830 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24831 ICULIBS!$ICULIBS$ac_delim
24832 RESOLVLIBS!$RESOLVLIBS$ac_delim
24833 LCMSLIBS!$LCMSLIBS$ac_delim
24834 LDAPLIBS!$LDAPLIBS$ac_delim
24835 FREETYPELIBS!$FREETYPELIBS$ac_delim
24836 FREETYPEINCL!$FREETYPEINCL$ac_delim
24837 ft_devel!$ft_devel$ac_delim
24838 ft_devel2!$ft_devel2$ac_delim
24839 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24840 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24841 ARTSLIBS!$ARTSLIBS$ac_delim
24842 ARTSINCL!$ARTSINCL$ac_delim
24843 ESDCONFIG!$ESDCONFIG$ac_delim
24844 ESDLIBS!$ESDLIBS$ac_delim
24845 ESDINCL!$ESDINCL$ac_delim
24846 ALSALIBS!$ALSALIBS$ac_delim
24847 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24848 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24849 BUILTINFLAG!$BUILTINFLAG$ac_delim
24850 DLLEXT!$DLLEXT$ac_delim
24851 DLLFLAGS!$DLLFLAGS$ac_delim
24852 LDSHARED!$LDSHARED$ac_delim
24853 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24854 LIBEXT!$LIBEXT$ac_delim
24855 IMPLIBEXT!$IMPLIBEXT$ac_delim
24856 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24857 DLLTOOL!$DLLTOOL$ac_delim
24858 DLLWRAP!$DLLWRAP$ac_delim
24859 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24860 IOKITLIB!$IOKITLIB$ac_delim
24861 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24862 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24863 COREAUDIO!$COREAUDIO$ac_delim
24864 CROSSTEST!$CROSSTEST$ac_delim
24865 CROSSCC!$CROSSCC$ac_delim
24866 CROSSWINDRES!$CROSSWINDRES$ac_delim
24867 LDPATH!$LDPATH$ac_delim
24868 CRTLIBS!$CRTLIBS$ac_delim
24869 SOCKETLIBS!$SOCKETLIBS$ac_delim
24870 MAIN_BINARY!$MAIN_BINARY$ac_delim
24871 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24872 LDD!$LDD$ac_delim
24873 LIBDL!$LIBDL$ac_delim
24874 LIBPOLL!$LIBPOLL$ac_delim
24875 DEPENDENCIES!$DEPENDENCIES$ac_delim
24876 LIBOBJS!$LIBOBJS$ac_delim
24877 LTLIBOBJS!$LTLIBOBJS$ac_delim
24878 _ACEOF
24880 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
24881 break
24882 elif $ac_last_try; then
24883 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24884 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24885 { (exit 1); exit 1; }; }
24886 else
24887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24889 done
24891 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24892 if test -n "$ac_eof"; then
24893 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24894 ac_eof=`expr $ac_eof + 1`
24897 cat >>$CONFIG_STATUS <<_ACEOF
24898 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24900 _ACEOF
24901 sed '
24902 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24903 s/^/s,@/; s/!/@,|#_!!_#|/
24906 s/'"$ac_delim"'$/,g/; t
24907 s/$/\\/; p
24908 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24909 ' >>$CONFIG_STATUS <conf$$subs.sed
24910 rm -f conf$$subs.sed
24911 cat >>$CONFIG_STATUS <<_ACEOF
24912 :end
24913 s/|#_!!_#|//g
24914 CEOF$ac_eof
24915 _ACEOF
24918 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24919 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24920 # trailing colons and then remove the whole line if VPATH becomes empty
24921 # (actually we leave an empty line to preserve line numbers).
24922 if test "x$srcdir" = x.; then
24923 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24924 s/:*\$(srcdir):*/:/
24925 s/:*\${srcdir}:*/:/
24926 s/:*@srcdir@:*/:/
24927 s/^\([^=]*=[ ]*\):*/\1/
24928 s/:*$//
24929 s/^[^=]*=[ ]*$//
24933 cat >>$CONFIG_STATUS <<\_ACEOF
24934 fi # test -n "$CONFIG_FILES"
24937 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24939 case $ac_tag in
24940 :[FHLC]) ac_mode=$ac_tag; continue;;
24941 esac
24942 case $ac_mode$ac_tag in
24943 :[FHL]*:*);;
24944 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24945 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24946 { (exit 1); exit 1; }; };;
24947 :[FH]-) ac_tag=-:-;;
24948 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24949 esac
24950 ac_save_IFS=$IFS
24951 IFS=:
24952 set x $ac_tag
24953 IFS=$ac_save_IFS
24954 shift
24955 ac_file=$1
24956 shift
24958 case $ac_mode in
24959 :L) ac_source=$1;;
24960 :[FH])
24961 ac_file_inputs=
24962 for ac_f
24964 case $ac_f in
24965 -) ac_f="$tmp/stdin";;
24966 *) # Look for the file first in the build tree, then in the source tree
24967 # (if the path is not absolute). The absolute path cannot be DOS-style,
24968 # because $ac_f cannot contain `:'.
24969 test -f "$ac_f" ||
24970 case $ac_f in
24971 [\\/$]*) false;;
24972 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24973 esac ||
24974 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24975 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24976 { (exit 1); exit 1; }; };;
24977 esac
24978 ac_file_inputs="$ac_file_inputs $ac_f"
24979 done
24981 # Let's still pretend it is `configure' which instantiates (i.e., don't
24982 # use $as_me), people would be surprised to read:
24983 # /* config.h. Generated by config.status. */
24984 configure_input="Generated from "`IFS=:
24985 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24986 if test x"$ac_file" != x-; then
24987 configure_input="$ac_file. $configure_input"
24988 { echo "$as_me:$LINENO: creating $ac_file" >&5
24989 echo "$as_me: creating $ac_file" >&6;}
24992 case $ac_tag in
24993 *:-:* | *:-) cat >"$tmp/stdin";;
24994 esac
24996 esac
24998 ac_dir=`$as_dirname -- "$ac_file" ||
24999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25000 X"$ac_file" : 'X\(//\)[^/]' \| \
25001 X"$ac_file" : 'X\(//\)$' \| \
25002 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25003 echo X"$ac_file" |
25004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25005 s//\1/
25008 /^X\(\/\/\)[^/].*/{
25009 s//\1/
25012 /^X\(\/\/\)$/{
25013 s//\1/
25016 /^X\(\/\).*/{
25017 s//\1/
25020 s/.*/./; q'`
25021 { as_dir="$ac_dir"
25022 case $as_dir in #(
25023 -*) as_dir=./$as_dir;;
25024 esac
25025 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25026 as_dirs=
25027 while :; do
25028 case $as_dir in #(
25029 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25030 *) as_qdir=$as_dir;;
25031 esac
25032 as_dirs="'$as_qdir' $as_dirs"
25033 as_dir=`$as_dirname -- "$as_dir" ||
25034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25035 X"$as_dir" : 'X\(//\)[^/]' \| \
25036 X"$as_dir" : 'X\(//\)$' \| \
25037 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25038 echo X"$as_dir" |
25039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25040 s//\1/
25043 /^X\(\/\/\)[^/].*/{
25044 s//\1/
25047 /^X\(\/\/\)$/{
25048 s//\1/
25051 /^X\(\/\).*/{
25052 s//\1/
25055 s/.*/./; q'`
25056 test -d "$as_dir" && break
25057 done
25058 test -z "$as_dirs" || eval "mkdir $as_dirs"
25059 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25060 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25061 { (exit 1); exit 1; }; }; }
25062 ac_builddir=.
25064 case "$ac_dir" in
25065 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25067 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25068 # A ".." for each directory in $ac_dir_suffix.
25069 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25070 case $ac_top_builddir_sub in
25071 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25072 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25073 esac ;;
25074 esac
25075 ac_abs_top_builddir=$ac_pwd
25076 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25077 # for backward compatibility:
25078 ac_top_builddir=$ac_top_build_prefix
25080 case $srcdir in
25081 .) # We are building in place.
25082 ac_srcdir=.
25083 ac_top_srcdir=$ac_top_builddir_sub
25084 ac_abs_top_srcdir=$ac_pwd ;;
25085 [\\/]* | ?:[\\/]* ) # Absolute name.
25086 ac_srcdir=$srcdir$ac_dir_suffix;
25087 ac_top_srcdir=$srcdir
25088 ac_abs_top_srcdir=$srcdir ;;
25089 *) # Relative name.
25090 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25091 ac_top_srcdir=$ac_top_build_prefix$srcdir
25092 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25093 esac
25094 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25097 case $ac_mode in
25100 # CONFIG_FILE
25103 case $INSTALL in
25104 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25105 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25106 esac
25107 _ACEOF
25109 cat >>$CONFIG_STATUS <<\_ACEOF
25110 # If the template does not know about datarootdir, expand it.
25111 # FIXME: This hack should be removed a few years after 2.60.
25112 ac_datarootdir_hack=; ac_datarootdir_seen=
25114 case `sed -n '/datarootdir/ {
25118 /@datadir@/p
25119 /@docdir@/p
25120 /@infodir@/p
25121 /@localedir@/p
25122 /@mandir@/p
25123 ' $ac_file_inputs` in
25124 *datarootdir*) ac_datarootdir_seen=yes;;
25125 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25126 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25127 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25128 _ACEOF
25129 cat >>$CONFIG_STATUS <<_ACEOF
25130 ac_datarootdir_hack='
25131 s&@datadir@&$datadir&g
25132 s&@docdir@&$docdir&g
25133 s&@infodir@&$infodir&g
25134 s&@localedir@&$localedir&g
25135 s&@mandir@&$mandir&g
25136 s&\\\${datarootdir}&$datarootdir&g' ;;
25137 esac
25138 _ACEOF
25140 # Neutralize VPATH when `$srcdir' = `.'.
25141 # Shell code in configure.ac might set extrasub.
25142 # FIXME: do we really want to maintain this feature?
25143 cat >>$CONFIG_STATUS <<_ACEOF
25144 sed "$ac_vpsub
25145 $extrasub
25146 _ACEOF
25147 cat >>$CONFIG_STATUS <<\_ACEOF
25149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25150 s&@configure_input@&$configure_input&;t t
25151 s&@top_builddir@&$ac_top_builddir_sub&;t t
25152 s&@srcdir@&$ac_srcdir&;t t
25153 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25154 s&@top_srcdir@&$ac_top_srcdir&;t t
25155 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25156 s&@builddir@&$ac_builddir&;t t
25157 s&@abs_builddir@&$ac_abs_builddir&;t t
25158 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25159 s&@INSTALL@&$ac_INSTALL&;t t
25160 $ac_datarootdir_hack
25161 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25163 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25164 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25165 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25166 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25167 which seems to be undefined. Please make sure it is defined." >&5
25168 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25169 which seems to be undefined. Please make sure it is defined." >&2;}
25171 rm -f "$tmp/stdin"
25172 case $ac_file in
25173 -) cat "$tmp/out"; rm -f "$tmp/out";;
25174 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25175 esac
25179 # CONFIG_HEADER
25181 _ACEOF
25183 # Transform confdefs.h into a sed script `conftest.defines', that
25184 # substitutes the proper values into config.h.in to produce config.h.
25185 rm -f conftest.defines conftest.tail
25186 # First, append a space to every undef/define line, to ease matching.
25187 echo 's/$/ /' >conftest.defines
25188 # Then, protect against being on the right side of a sed subst, or in
25189 # an unquoted here document, in config.status. If some macros were
25190 # called several times there might be several #defines for the same
25191 # symbol, which is useless. But do not sort them, since the last
25192 # AC_DEFINE must be honored.
25193 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25194 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25195 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25196 # PARAMS is the parameter list in the macro definition--in most cases, it's
25197 # just an empty string.
25198 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25199 ac_dB='\\)[ (].*,\\1define\\2'
25200 ac_dC=' '
25201 ac_dD=' ,'
25203 uniq confdefs.h |
25204 sed -n '
25205 t rset
25206 :rset
25207 s/^[ ]*#[ ]*define[ ][ ]*//
25208 t ok
25211 s/[\\&,]/\\&/g
25212 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25213 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25214 ' >>conftest.defines
25216 # Remove the space that was appended to ease matching.
25217 # Then replace #undef with comments. This is necessary, for
25218 # example, in the case of _POSIX_SOURCE, which is predefined and required
25219 # on some systems where configure will not decide to define it.
25220 # (The regexp can be short, since the line contains either #define or #undef.)
25221 echo 's/ $//
25222 s,^[ #]*u.*,/* & */,' >>conftest.defines
25224 # Break up conftest.defines:
25225 ac_max_sed_lines=50
25227 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25228 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25229 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25230 # et cetera.
25231 ac_in='$ac_file_inputs'
25232 ac_out='"$tmp/out1"'
25233 ac_nxt='"$tmp/out2"'
25235 while :
25237 # Write a here document:
25238 cat >>$CONFIG_STATUS <<_ACEOF
25239 # First, check the format of the line:
25240 cat >"\$tmp/defines.sed" <<\\CEOF
25241 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25242 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25244 :def
25245 _ACEOF
25246 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25247 echo 'CEOF
25248 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25249 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25250 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25251 grep . conftest.tail >/dev/null || break
25252 rm -f conftest.defines
25253 mv conftest.tail conftest.defines
25254 done
25255 rm -f conftest.defines conftest.tail
25257 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25258 cat >>$CONFIG_STATUS <<\_ACEOF
25259 if test x"$ac_file" != x-; then
25260 echo "/* $configure_input */" >"$tmp/config.h"
25261 cat "$ac_result" >>"$tmp/config.h"
25262 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25263 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25264 echo "$as_me: $ac_file is unchanged" >&6;}
25265 else
25266 rm -f $ac_file
25267 mv "$tmp/config.h" $ac_file
25269 else
25270 echo "/* $configure_input */"
25271 cat "$ac_result"
25273 rm -f "$tmp/out12"
25276 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25277 echo "$as_me: executing $ac_file commands" >&6;}
25279 esac
25282 case $ac_file$ac_mode in
25283 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25284 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25285 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25286 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25287 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25288 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25289 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25290 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25291 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25292 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25293 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25294 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25295 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25297 esac
25298 done # for ac_tag
25301 { (exit 0); exit 0; }
25302 _ACEOF
25303 chmod +x $CONFIG_STATUS
25304 ac_clean_files=$ac_clean_files_save
25307 # configure is writing to config.log, and then calls config.status.
25308 # config.status does its own redirection, appending to config.log.
25309 # Unfortunately, on DOS this fails, as config.log is still kept open
25310 # by configure, so config.status won't be able to write to it; its
25311 # output is simply discarded. So we exec the FD to /dev/null,
25312 # effectively closing config.log, so it can be properly (re)opened and
25313 # appended to by config.status. When coming back to configure, we
25314 # need to make the FD available again.
25315 if test "$no_create" != yes; then
25316 ac_cs_success=:
25317 ac_config_status_args=
25318 test "$silent" = yes &&
25319 ac_config_status_args="$ac_config_status_args --quiet"
25320 exec 5>/dev/null
25321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25322 exec 5>>config.log
25323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25324 # would make configure fail if this is the last instruction.
25325 $ac_cs_success || { (exit 1); exit 1; }
25330 if test "$no_create" = "yes"
25331 then
25332 exit 0
25335 if test "$verbose" = "yes"
25336 then
25337 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25338 then
25339 echo >&2
25340 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25341 echo "$as_me: libcapi20 development files not found." >&6;}
25342 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25343 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25346 if test "$ac_cv_header_cups_cups_h" != "yes"
25347 then
25348 echo >&2
25349 { echo "$as_me:$LINENO: libcups development files not found." >&5
25350 echo "$as_me: libcups development files not found." >&6;}
25351 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25352 echo "$as_me: Wine will be built without CUPS support." >&6;}
25356 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25357 then
25358 echo >&2
25359 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25360 echo "$as_me: libgphoto2 development files not found." >&6;}
25361 if test "$ac_cv_header_sane_sane_h" = "yes"
25362 then
25363 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25364 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25365 else
25366 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25367 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25371 if test "$ac_cv_header_hal_libhal_h" != "yes"
25372 then
25373 echo >&2
25374 { echo "$as_me:$LINENO: libhal development files not found." >&5
25375 echo "$as_me: libhal development files not found." >&6;}
25376 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25377 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25380 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25381 then
25382 echo >&2
25383 { echo "$as_me:$LINENO: libicu development files not found." >&5
25384 echo "$as_me: libicu development files not found." >&6;}
25385 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25386 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25389 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25390 then
25391 echo >&2
25392 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25393 echo "$as_me: liblcms development files not found." >&6;}
25394 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25395 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25398 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25399 then
25400 echo >&2
25401 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25402 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25403 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25404 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25407 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25408 then
25409 echo >&2
25410 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25411 echo "$as_me: lib(n)curses development files not found." >&6;}
25412 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25413 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25416 if test "$ac_cv_header_sane_sane_h" != "yes"
25417 then
25418 echo >&2
25419 { echo "$as_me:$LINENO: libsane development files not found." >&5
25420 echo "$as_me: libsane development files not found." >&6;}
25421 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25422 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25425 if test "$have_x" = "yes"
25426 then
25427 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25428 then
25429 echo >&2
25430 { echo "$as_me:$LINENO: libxext development files not found." >&5
25431 echo "$as_me: libxext development files not found." >&6;}
25432 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25433 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25436 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25437 then
25438 echo >&2
25439 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25440 echo "$as_me: libXrandr development files not found." >&6;}
25441 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25442 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25445 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25446 then
25447 echo >&2
25448 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25449 echo "$as_me: libXrender development files not found." >&6;}
25450 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25451 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25454 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25455 then
25456 echo >&2
25457 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25458 echo "$as_me: libXxf86vm development files not found." >&6;}
25459 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25460 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25464 if test "$ac_cv_header_libxml_parser_h" != "yes"
25465 then
25466 echo >&2
25467 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25468 echo "$as_me: libxml2 development files not found." >&6;}
25469 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25470 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25473 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25474 then
25475 echo >&2
25476 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25477 echo "$as_me: libxslt development files not found." >&6;}
25478 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25479 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25484 if test "$have_x" = "no"
25485 then
25486 echo >&2
25487 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25488 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25490 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25492 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25494 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25497 if test -z "$OPENGLFILES"
25498 then
25499 echo >&2
25500 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25501 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25502 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25503 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25504 if test "$wine_cv_opengl_headers_found" = "no"
25505 then
25506 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25507 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25509 if test "$wine_cv_opengl_header_version_OK" = "no"
25510 then
25511 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25512 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25513 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25514 then
25515 if test -f /usr/X11R6/lib/libGL.a
25516 then
25517 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25518 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25519 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25520 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25521 else
25522 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25523 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25528 if test "$wine_cv_msg_freetype" = "yes"
25529 then
25530 echo >&2
25531 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25532 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25533 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25534 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25535 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25536 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25537 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25538 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25541 if test -z "$FONTSSUBDIRS"
25542 then
25543 echo >&2
25544 if test "$FONTFORGE" = "false"
25545 then
25546 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25547 echo "$as_me: WARNING: FontForge is missing." >&2;}
25548 else
25549 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25550 echo "$as_me: WARNING: FreeType is missing." >&2;}
25552 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25553 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25556 if test -z "$ALSALIBS" -a \
25557 -z "$ARTSC_LIBS" -a \
25558 -z "$AUDIOIOLIBS" -a \
25559 -z "$NASLIBS" -a \
25560 -z "$ESD_LIBS" -a \
25561 -z "$ac_cv_lib_soname_jack" -a \
25562 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25563 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25564 "$ac_cv_header_soundcard_h" != "yes"
25565 then
25566 echo >&2
25567 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25568 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25569 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25570 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25571 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25572 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25575 echo
25576 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
25577 echo