rpcrt4: Implement remaining part of NdrFullPointerQueryPointer and implement NdrFullP...
[wine.git] / configure
blob81754baeff6b699985df811a7e872c1433b9fac1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for Wine 0.9.14.
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 which exist, to save several forks.
236 if test -f $as_shell &&
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 (dirname -- /) >/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.14'
563 PACKAGE_STRING='Wine 0.9.14'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #if HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #if HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #if STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # if HAVE_STDLIB_H
581 # include <stdlib.h>
582 # endif
583 #endif
584 #if HAVE_STRING_H
585 # if !STDC_HEADERS && HAVE_MEMORY_H
586 # include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #if HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #if HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #if HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #if HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 build
641 build_cpu
642 build_vendor
643 build_os
644 host
645 host_cpu
646 host_vendor
647 host_os
648 WIN16_FILES
649 WIN16_INSTALL
650 SET_MAKE
652 CFLAGS
653 LDFLAGS
654 CPPFLAGS
655 ac_ct_CC
656 EXEEXT
657 OBJEXT
659 CXXFLAGS
660 ac_ct_CXX
661 CPPBIN
662 TOOLSDIR
663 XMKMF
665 X_CFLAGS
666 X_PRE_LIBS
667 X_LIBS
668 X_EXTRA_LIBS
670 LEXLIB
671 LEX_OUTPUT_ROOT
672 XLEX
673 BISON
675 ac_ct_AS
678 RANLIB
679 STRIP
680 WINDRES
681 LN_S
683 GREP
684 EGREP
685 LDCONFIG
686 INSTALL_PROGRAM
687 INSTALL_SCRIPT
688 INSTALL_DATA
689 LINT
690 LINTFLAGS
691 FONTFORGE
692 PKG_CONFIG
693 PRELINK
694 LIBPTHREAD
695 XLIB
696 XFILES
697 OPENGLFILES
698 GLU32FILES
699 OPENGL_LIBS
700 GLUT_LIBS
701 GLUT32FILES
702 NASLIBS
703 XML2LIBS
704 XML2INCL
705 XSLTLIBS
706 XSLTINCL
707 HALINCL
708 CURSESLIBS
709 sane_devel
710 SANELIBS
711 SANEINCL
712 gphoto2_devel
713 gphoto2port_devel
714 GPHOTO2LIBS
715 GPHOTO2INCL
716 ICULIBS
717 RESOLVLIBS
718 LCMSLIBS
719 LDAPLIBS
720 FREETYPELIBS
721 FREETYPEINCL
722 ft_devel
723 ft_devel2
724 FONTSSUBDIRS
725 ARTSCCONFIG
726 ARTSLIBS
727 ARTSINCL
728 ESDCONFIG
729 ESDLIBS
730 ESDINCL
731 ALSALIBS
732 AUDIOIOLIBS
733 EXTRACFLAGS
734 BUILTINFLAG
735 DLLEXT
736 DLLFLAGS
737 DLLIBS
738 LDSHARED
739 LDDLLFLAGS
740 LIBEXT
741 IMPLIBEXT
742 DLLTOOL
743 DLLWRAP
744 LDEXECFLAGS
745 LDEXERPATH
746 LDDLLRPATH
747 COREFOUNDATIONLIB
748 IOKITLIB
749 CROSSTEST
750 CROSSCC
751 CROSSWINDRES
752 LDPATH
753 CRTLIBS
754 SOCKETLIBS
755 MAIN_BINARY
756 EXTRA_BINARIES
758 LIBOBJS
759 LTLIBOBJS'
760 ac_subst_files='MAKE_RULES
761 MAKE_DLL_RULES
762 MAKE_IMPLIB_RULES
763 MAKE_TEST_RULES
764 MAKE_LIB_RULES
765 MAKE_PROG_RULES'
766 ac_precious_vars='build_alias
767 host_alias
768 target_alias
770 CFLAGS
771 LDFLAGS
772 CPPFLAGS
774 CXXFLAGS
776 XMKMF
777 CPP'
780 # Initialize some variables set by options.
781 ac_init_help=
782 ac_init_version=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
826 ac_prev=
827 ac_dashdash=
828 for ac_option
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
833 ac_prev=
834 continue
837 case $ac_option in
838 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 *) ac_optarg=yes ;;
840 esac
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
846 ac_dashdash=yes ;;
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 ac_prev=bindir ;;
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 bindir=$ac_optarg ;;
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
865 --config-cache | -C)
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
869 ac_prev=datadir ;;
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_$ac_feature=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
890 ac_prev=docdir ;;
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 docdir=$ac_optarg ;;
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 ac_prev=dvidir ;;
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 dvidir=$ac_optarg ;;
899 -enable-* | --enable-*)
900 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_$ac_feature=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
919 with_gas=yes ;;
921 -help | --help | --hel | --he | -h)
922 ac_init_help=long ;;
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 ac_prev=htmldir ;;
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 | --ht=*)
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 ac_prev=infodir ;;
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
952 ac_prev=libdir ;;
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
954 libdir=$ac_optarg ;;
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
964 ac_prev=localedir ;;
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 ac_prev=mandir ;;
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978 mandir=$ac_optarg ;;
980 -nfp | --nfp | --nf)
981 # Obsolete; use --without-fp.
982 with_fp=no ;;
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
986 no_create=yes ;;
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990 no_recursion=yes ;;
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 ac_prev=prefix ;;
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 ac_prev=pdfdir ;;
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1043 ac_prev=psdir ;;
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045 psdir=$ac_optarg ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1049 silent=yes ;;
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 ac_prev=sbindir ;;
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 | --sbi=* | --sb=*)
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1060 | --sha | --sh)
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 | --sha=* | --sh=*)
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1069 ac_prev=site ;;
1070 -site=* | --site=* | --sit=*)
1071 site=$ac_optarg ;;
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 ac_prev=srcdir ;;
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091 verbose=yes ;;
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1096 -with-* | --with-*)
1097 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_$ac_package=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_$ac_package=no ;;
1114 --x)
1115 # Obsolete; use --with-x.
1116 with_x=yes ;;
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1137 *=*)
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1154 esac
1155 done
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 case $ac_val in
1171 [\\/$]* | ?:[\\/]* ) continue;;
1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1173 esac
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1176 done
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1181 build=$build_alias
1182 host=$host_alias
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1192 cross_compiling=yes
1196 ac_tool_prefix=
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1199 test "$silent" = yes && exec 6>/dev/null
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di=`ls -di .` &&
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1221 echo X"$0" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 s//\1/
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1230 /^X\(\/\/\)$/{
1231 s//\1/
1234 /^X\(\/\).*/{
1235 s//\1/
1238 s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 srcdir=..
1243 else
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1255 pwd)`
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 srcdir=.
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1263 case $srcdir in
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 esac
1266 for ac_var in $ac_precious_vars; do
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_${ac_var}_value=\$${ac_var}
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271 done
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1279 cat <<_ACEOF
1280 \`configure' configures Wine 0.9.14 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1289 Configuration:
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 [PREFIX]
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1333 _ACEOF
1335 cat <<\_ACEOF
1337 X features:
1338 --x-includes=DIR X include files are in DIR
1339 --x-libraries=DIR X library files are in DIR
1341 System types:
1342 --build=BUILD configure for building on BUILD [guessed]
1343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1344 _ACEOF
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of Wine 0.9.14:";;
1350 esac
1351 cat <<\_ACEOF
1353 Optional Features:
1354 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1355 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1358 binaries)
1360 Optional Packages:
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1378 CPP C preprocessor
1380 Use these variables to override the choices made by `configure' or to help
1381 it to find libraries and programs with nonstandard names/locations.
1383 Report bugs to <wine-devel@winehq.org>.
1384 _ACEOF
1385 ac_status=$?
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d $ac_dir || continue
1392 ac_builddir=.
1394 case "$ac_dir" in
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 esac ;;
1404 esac
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1410 case $srcdir in
1411 .) # We are building in place.
1412 ac_srcdir=.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1419 *) # Relative name.
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 esac
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f $ac_srcdir/configure.gnu; then
1429 echo &&
1430 $SHELL $ac_srcdir/configure.gnu --help=recursive
1431 elif test -f $ac_srcdir/configure; then
1432 echo &&
1433 $SHELL $ac_srcdir/configure --help=recursive
1434 else
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 fi || ac_status=$?
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1438 done
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1443 cat <<\_ACEOF
1444 Wine configure 0.9.14
1445 generated by GNU Autoconf 2.59d
1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1451 _ACEOF
1452 exit
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.14, which was
1459 generated by GNU Autoconf 2.59d. Invocation command line was
1461 $ $0 $@
1463 _ACEOF
1464 exec 5>>config.log
1466 cat <<_ASUNAME
1467 ## --------- ##
1468 ## Platform. ##
1469 ## --------- ##
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1488 _ASUNAME
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 for as_dir in $PATH
1493 IFS=$as_save_IFS
1494 test -z "$as_dir" && as_dir=.
1495 echo "PATH: $as_dir"
1496 done
1497 IFS=$as_save_IFS
1499 } >&5
1501 cat >&5 <<_ACEOF
1504 ## ----------- ##
1505 ## Core tests. ##
1506 ## ----------- ##
1508 _ACEOF
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1516 ac_configure_args=
1517 ac_configure_args0=
1518 ac_configure_args1=
1519 ac_sep=
1520 ac_must_keep_next=false
1521 for ac_pass in 1 2
1523 for ac_arg
1525 case $ac_arg in
1526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1529 continue ;;
1530 *\'*)
1531 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1532 esac
1533 case $ac_pass in
1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true; then
1538 ac_must_keep_next=false # Got value, back to normal.
1539 else
1540 case $ac_arg in
1541 *=* | --config-cache | -C | -disable-* | --disable-* \
1542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1544 | -with-* | --with-* | -without-* | --without-* | --x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1547 esac
1549 -* ) ac_must_keep_next=true ;;
1550 esac
1552 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1553 # Get rid of the leading space.
1554 ac_sep=" "
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 echo "$ac_var='\''$ac_val'\''"
1619 done | sort
1620 echo
1622 if test -n "$ac_subst_files"; then
1623 cat <<\_ASBOX
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1627 _ASBOX
1628 echo
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1637 if test -s confdefs.h; then
1638 cat <<\_ASBOX
1639 ## ----------- ##
1640 ## confdefs.h. ##
1641 ## ----------- ##
1642 _ASBOX
1643 echo
1644 cat confdefs.h
1645 echo
1647 test "$ac_signal" != 0 &&
1648 echo "$as_me: caught signal $ac_signal"
1649 echo "$as_me: exit $exit_status"
1650 } >&5
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1653 exit $exit_status
1655 for ac_signal in 1 2 13 15; do
1656 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1657 done
1658 ac_signal=0
1660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1661 rm -f -r conftest* confdefs.h
1663 # Predefined preprocessor variables.
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_NAME "$PACKAGE_NAME"
1667 _ACEOF
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1672 _ACEOF
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1677 _ACEOF
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_STRING "$PACKAGE_STRING"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1687 _ACEOF
1690 # Let the site file select an alternate cache file if it wants to.
1691 # Prefer explicitly selected file to automatically selected ones.
1692 if test -n "$CONFIG_SITE"; then
1693 set x "$CONFIG_SITE"
1694 elif test "x$prefix" != xNONE; then
1695 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1696 else
1697 set x "$ac_default_prefix/share/config.site" \
1698 "$ac_default_prefix/etc/config.site"
1700 shift
1701 for ac_site_file
1703 if test -r "$ac_site_file"; then
1704 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1705 echo "$as_me: loading site script $ac_site_file" >&6;}
1706 sed 's/^/| /' "$ac_site_file" >&5
1707 . "$ac_site_file"
1709 done
1711 if test -r "$cache_file"; then
1712 # Some versions of bash will fail to source /dev/null (special
1713 # files actually), so we avoid doing that.
1714 if test -f "$cache_file"; then
1715 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1716 echo "$as_me: loading cache $cache_file" >&6;}
1717 case $cache_file in
1718 [\\/]* | ?:[\\/]* ) . $cache_file;;
1719 *) . ./$cache_file;;
1720 esac
1722 else
1723 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1724 echo "$as_me: creating cache $cache_file" >&6;}
1725 >$cache_file
1728 # Check that the precious variables saved in the cache have kept the same
1729 # value.
1730 ac_cache_corrupted=false
1731 for ac_var in $ac_precious_vars; do
1732 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1733 eval ac_new_set=\$ac_env_${ac_var}_set
1734 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1735 eval ac_new_val=\$ac_env_${ac_var}_value
1736 case $ac_old_set,$ac_new_set in
1737 set,)
1738 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1739 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1741 ,set)
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1745 ,);;
1747 if test "x$ac_old_val" != "x$ac_new_val"; then
1748 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1749 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1751 echo "$as_me: former value: $ac_old_val" >&2;}
1752 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1753 echo "$as_me: current value: $ac_new_val" >&2;}
1754 ac_cache_corrupted=:
1755 fi;;
1756 esac
1757 # Pass precious variables to config.status.
1758 if test "$ac_new_set" = set; then
1759 case $ac_new_val in
1760 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1761 *) ac_arg=$ac_var=$ac_new_val ;;
1762 esac
1763 case " $ac_configure_args " in
1764 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1765 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1766 esac
1768 done
1769 if $ac_cache_corrupted; then
1770 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1771 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1772 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1773 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1774 { (exit 1); exit 1; }; }
1801 ac_ext=c
1802 ac_cpp='$CPP $CPPFLAGS'
1803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1809 ac_config_headers="$ac_config_headers include/config.h"
1811 ac_aux_dir=
1812 for ac_dir in tools $srcdir/tools; do
1813 if test -f $ac_dir/install-sh; then
1814 ac_aux_dir=$ac_dir
1815 ac_install_sh="$ac_aux_dir/install-sh -c"
1816 break
1817 elif test -f $ac_dir/install.sh; then
1818 ac_aux_dir=$ac_dir
1819 ac_install_sh="$ac_aux_dir/install.sh -c"
1820 break
1821 elif test -f $ac_dir/shtool; then
1822 ac_aux_dir=$ac_dir
1823 ac_install_sh="$ac_aux_dir/shtool install -c"
1824 break
1826 done
1827 if test -z "$ac_aux_dir"; then
1828 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1829 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1830 { (exit 1); exit 1; }; }
1832 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1833 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1834 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1838 # Check whether --enable-win16 was given.
1839 if test "${enable_win16+set}" = set; then
1840 enableval=$enable_win16;
1843 # Check whether --enable-win64 was given.
1844 if test "${enable_win64+set}" = set; then
1845 enableval=$enable_win64;
1850 # Check whether --with-opengl was given.
1851 if test "${with_opengl+set}" = set; then
1852 withval=$with_opengl;
1856 # Check whether --with-curses was given.
1857 if test "${with_curses+set}" = set; then
1858 withval=$with_curses;
1862 # Check whether --with-wine-tools was given.
1863 if test "${with_wine_tools+set}" = set; then
1864 withval=$with_wine_tools;
1868 # Make sure we can run config.sub.
1869 $ac_config_sub sun4 >/dev/null 2>&1 ||
1870 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1871 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1872 { (exit 1); exit 1; }; }
1874 { echo "$as_me:$LINENO: checking build system type" >&5
1875 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1876 if test "${ac_cv_build+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 else
1879 ac_build_alias=$build_alias
1880 test "x$ac_build_alias" = x &&
1881 ac_build_alias=`$ac_config_guess`
1882 test "x$ac_build_alias" = x &&
1883 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1884 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1885 { (exit 1); exit 1; }; }
1886 ac_cv_build=`$ac_config_sub $ac_build_alias` ||
1887 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1888 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1889 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1893 echo "${ECHO_T}$ac_cv_build" >&6; }
1894 case $ac_cv_build in
1895 *-*-*) ;;
1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1897 echo "$as_me: error: invalid value of canonical build" >&2;}
1898 { (exit 1); exit 1; }; };;
1899 esac
1900 build=$ac_cv_build
1901 ac_save_IFS=$IFS; IFS='-'
1902 set x $ac_cv_build
1903 shift
1904 build_cpu=$1
1905 build_vendor=$2
1906 shift; shift
1907 # Remember, the first character of IFS is used to create $*,
1908 # except with old shells:
1909 build_os=$*
1910 IFS=$ac_save_IFS
1911 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1914 { echo "$as_me:$LINENO: checking host system type" >&5
1915 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1916 if test "${ac_cv_host+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 else
1919 if test "x$host_alias" = x; then
1920 ac_cv_host=$ac_cv_build
1921 else
1922 ac_cv_host=`$ac_config_sub $host_alias` ||
1923 { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
1924 echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
1925 { (exit 1); exit 1; }; }
1929 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1930 echo "${ECHO_T}$ac_cv_host" >&6; }
1931 case $ac_cv_host in
1932 *-*-*) ;;
1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1934 echo "$as_me: error: invalid value of canonical host" >&2;}
1935 { (exit 1); exit 1; }; };;
1936 esac
1937 host=$ac_cv_host
1938 ac_save_IFS=$IFS; IFS='-'
1939 set x $ac_cv_host
1940 shift
1941 host_cpu=$1
1942 host_vendor=$2
1943 shift; shift
1944 # Remember, the first character of IFS is used to create $*,
1945 # except with old shells:
1946 host_os=$*
1947 IFS=$ac_save_IFS
1948 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1951 case $host in
1952 x86_64*linux*)
1953 if test "x$enable_win64" != "xyes"
1954 then
1955 test -n "$CC" || CC="gcc -m32"
1956 test -n "$LD" || LD="ld -m elf_i386"
1957 test -n "$AS" || AS="as --32"
1958 host_cpu="i386"
1961 esac
1963 case $host_cpu in
1964 *i[3456789]86*)
1965 if test "x$enable_win16" != "xno"
1966 then
1967 enable_win16="yes"
1970 esac
1972 WIN16_FILES="\$(WIN16_FILES)"
1974 WIN16_INSTALL="\$(WIN16_INSTALL)"
1976 if test "x$enable_win16" != "xyes"
1977 then
1978 WIN16_FILES=""
1979 WIN16_INSTALL=""
1983 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1984 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1985 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1986 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 else
1989 cat >conftest.make <<\_ACEOF
1990 SHELL = /bin/sh
1991 all:
1992 @echo 'ac_maketemp=X"$(MAKE)"'
1993 _ACEOF
1994 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1995 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1996 if test "$ac_maketemp" != X ; then
1997 eval ac_cv_prog_make_${ac_make}_set=yes
1998 else
1999 eval ac_cv_prog_make_${ac_make}_set=no
2001 rm -f conftest.make
2003 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2004 { echo "$as_me:$LINENO: result: yes" >&5
2005 echo "${ECHO_T}yes" >&6; }
2006 SET_MAKE=
2007 else
2008 { echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6; }
2010 SET_MAKE="MAKE=${MAKE-make}"
2013 ac_ext=c
2014 ac_cpp='$CPP $CPPFLAGS'
2015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2018 if test -n "$ac_tool_prefix"; then
2019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2020 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2023 if test "${ac_cv_prog_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 else
2026 if test -n "$CC"; then
2027 ac_cv_prog_CC="$CC" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 break 2
2040 done
2041 done
2042 IFS=$as_save_IFS
2046 CC=$ac_cv_prog_CC
2047 if test -n "$CC"; then
2048 { echo "$as_me:$LINENO: result: $CC" >&5
2049 echo "${ECHO_T}$CC" >&6; }
2050 else
2051 { echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6; }
2057 if test -z "$ac_cv_prog_CC"; then
2058 ac_ct_CC=$CC
2059 # Extract the first word of "gcc", so it can be a program name with args.
2060 set dummy gcc; ac_word=$2
2061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 else
2066 if test -n "$ac_ct_CC"; then
2067 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2076 ac_cv_prog_ac_ct_CC="gcc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2080 done
2081 done
2082 IFS=$as_save_IFS
2086 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2087 if test -n "$ac_ct_CC"; then
2088 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2089 echo "${ECHO_T}$ac_ct_CC" >&6; }
2090 else
2091 { echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6; }
2095 if test "x$ac_ct_CC" = x; then
2096 CC=""
2097 else
2098 case $cross_compiling:$ac_tool_warned in
2099 yes:)
2100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2101 whose name does not start with the host triplet. If you think this
2102 configuration is useful to you, please write to autoconf@gnu.org." >&5
2103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2104 whose name does not start with the host triplet. If you think this
2105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2106 ac_tool_warned=yes ;;
2107 esac
2108 CC=$ac_ct_CC
2110 else
2111 CC="$ac_cv_prog_CC"
2114 if test -z "$CC"; then
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2117 set dummy ${ac_tool_prefix}cc; ac_word=$2
2118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2120 if test "${ac_cv_prog_CC+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 else
2123 if test -n "$CC"; then
2124 ac_cv_prog_CC="$CC" # Let the user override the test.
2125 else
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 for as_dir in $PATH
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 for ac_exec_ext in '' $ac_executable_extensions; do
2132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2133 ac_cv_prog_CC="${ac_tool_prefix}cc"
2134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 break 2
2137 done
2138 done
2139 IFS=$as_save_IFS
2143 CC=$ac_cv_prog_CC
2144 if test -n "$CC"; then
2145 { echo "$as_me:$LINENO: result: $CC" >&5
2146 echo "${ECHO_T}$CC" >&6; }
2147 else
2148 { echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6; }
2155 if test -z "$CC"; then
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$CC"; then
2164 ac_cv_prog_CC="$CC" # Let the user override the test.
2165 else
2166 ac_prog_rejected=no
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 for as_dir in $PATH
2170 IFS=$as_save_IFS
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2174 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2175 ac_prog_rejected=yes
2176 continue
2178 ac_cv_prog_CC="cc"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 break 2
2182 done
2183 done
2184 IFS=$as_save_IFS
2186 if test $ac_prog_rejected = yes; then
2187 # We found a bogon in the path, so make sure we never use it.
2188 set dummy $ac_cv_prog_CC
2189 shift
2190 if test $# != 0; then
2191 # We chose a different compiler from the bogus one.
2192 # However, it has the same basename, so the bogon will be chosen
2193 # first if we set CC to just the basename; use the full file name.
2194 shift
2195 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2200 CC=$ac_cv_prog_CC
2201 if test -n "$CC"; then
2202 { echo "$as_me:$LINENO: result: $CC" >&5
2203 echo "${ECHO_T}$CC" >&6; }
2204 else
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2211 if test -z "$CC"; then
2212 if test -n "$ac_tool_prefix"; then
2213 for ac_prog in cl.exe
2215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 else
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2224 else
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2228 IFS=$as_save_IFS
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2232 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 break 2
2236 done
2237 done
2238 IFS=$as_save_IFS
2242 CC=$ac_cv_prog_CC
2243 if test -n "$CC"; then
2244 { echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6; }
2246 else
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2252 test -n "$CC" && break
2253 done
2255 if test -z "$CC"; then
2256 ac_ct_CC=$CC
2257 for ac_prog in cl.exe
2259 # Extract the first word of "$ac_prog", so it can be a program name with args.
2260 set dummy $ac_prog; ac_word=$2
2261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 else
2266 if test -n "$ac_ct_CC"; then
2267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2268 else
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 for as_dir in $PATH
2272 IFS=$as_save_IFS
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2276 ac_cv_prog_ac_ct_CC="$ac_prog"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 break 2
2280 done
2281 done
2282 IFS=$as_save_IFS
2286 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2287 if test -n "$ac_ct_CC"; then
2288 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2289 echo "${ECHO_T}$ac_ct_CC" >&6; }
2290 else
2291 { echo "$as_me:$LINENO: result: no" >&5
2292 echo "${ECHO_T}no" >&6; }
2296 test -n "$ac_ct_CC" && break
2297 done
2299 if test "x$ac_ct_CC" = x; then
2300 CC=""
2301 else
2302 case $cross_compiling:$ac_tool_warned in
2303 yes:)
2304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2305 whose name does not start with the host triplet. If you think this
2306 configuration is useful to you, please write to autoconf@gnu.org." >&5
2307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2308 whose name does not start with the host triplet. If you think this
2309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2310 ac_tool_warned=yes ;;
2311 esac
2312 CC=$ac_ct_CC
2319 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2320 See \`config.log' for more details." >&5
2321 echo "$as_me: error: no acceptable C compiler found in \$PATH
2322 See \`config.log' for more details." >&2;}
2323 { (exit 1); exit 1; }; }
2325 # Provide some information about the compiler.
2326 echo "$as_me:$LINENO: checking for C compiler version" >&5
2327 ac_compiler=`set X $ac_compile; echo $2`
2328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
2329 (eval $ac_compiler --version >&5) 2>&5
2330 ac_status=$?
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }
2333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
2334 (eval $ac_compiler -v >&5) 2>&5
2335 ac_status=$?
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }
2338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
2339 (eval $ac_compiler -V >&5) 2>&5
2340 ac_status=$?
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }
2345 # List of possible output files. We want to start from the most likely,
2346 # but we have to check foo.exe before foo, because Cygwin `test -f' looks
2347 # also for foo.exe. b.out is created by i960 compilers.
2348 # As a last resort, we also try wildcards: `conftest.*' and `a.*'.
2349 # But we are not allowed to rm a.*, and we do not want always remove
2350 # conftest.*, so we will list them literally, when appropriate.
2351 ac_outfiles="a_out.exe a.out conftest.exe conftest a.exe b.out"
2353 # The IRIX 6 linker writes into existing files which may not be
2354 # executable, retaining their permissions. Remove them first so a
2355 # subsequent execution test works.
2356 rm -f $ac_outfiles conftest.*
2358 cat >conftest.$ac_ext <<_ACEOF
2359 /* confdefs.h. */
2360 _ACEOF
2361 cat confdefs.h >>conftest.$ac_ext
2362 cat >>conftest.$ac_ext <<_ACEOF
2363 /* end confdefs.h. */
2366 main ()
2370 return 0;
2372 _ACEOF
2374 ac_clean_files_save=$ac_clean_files
2375 ac_clean_files="$ac_clean_files $ac_outfiles"
2377 # The following tests should remove their output except files matching conftest.*.
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2380 # of exeext.
2381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2385 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2386 (eval $ac_link_default) 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; then
2390 for ac_file in $ac_outfiles a.* conftest.* NO
2392 test -f "$ac_file" || continue
2393 case $ac_file in
2394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2395 * ) break;;
2396 esac
2397 done
2398 if test "$ac_file" = NO; then
2399 { { echo "$as_me:$LINENO: error: no output file found
2400 See \`config.log' for more details." >&5
2401 echo "$as_me: error: no output file found
2402 See \`config.log' for more details." >&2;}
2403 { (exit 1); exit 1; }; }
2407 else
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.$ac_ext >&5
2411 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: C compiler cannot create executables
2414 See \`config.log' for more details." >&2;}
2415 { (exit 77); exit 77; }; }
2418 { echo "$as_me:$LINENO: result: $ac_file" >&5
2419 echo "${ECHO_T}$ac_file" >&6; }
2420 # Check that the compiler produces executables we can run. If not, either
2421 # the compiler is broken, or we cross compile.
2422 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2423 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2424 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2425 # If not cross compiling, check that we can run a simple program.
2426 if test "$cross_compiling" != yes; then
2427 if { ac_try='./$ac_file'
2428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 (eval $ac_try) 2>&5
2430 ac_status=$?
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; }; then
2433 cross_compiling=no
2434 else
2435 if test "$cross_compiling" = maybe; then
2436 cross_compiling=yes
2437 else
2438 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2439 If you meant to cross compile, use \`--host'.
2440 See \`config.log' for more details." >&5
2441 echo "$as_me: error: cannot run C compiled programs.
2442 If you meant to cross compile, use \`--host'.
2443 See \`config.log' for more details." >&2;}
2444 { (exit 1); exit 1; }; }
2448 { echo "$as_me:$LINENO: result: yes" >&5
2449 echo "${ECHO_T}yes" >&6; }
2451 # Clean up; list also $ac_file, in case it matched a wildcard entry.
2452 rm -f $ac_outfiles $ac_file
2454 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2455 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2456 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2457 echo "${ECHO_T}$cross_compiling" >&6; }
2459 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2460 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2461 if test "${ac_cv_exeext+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2465 (eval $ac_link) 2>&5
2466 ac_status=$?
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
2469 # If both `conftest.exe' and `conftest' are `present' (well, observable),
2470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2471 # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
2472 for ac_file in conftest.exe conftest conftest.* NO; do
2473 test -f "$ac_file" || continue
2474 case $ac_file in
2475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2476 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 break;;
2478 * ) break;;
2479 esac
2480 done
2481 if test "$ac_file" = NO; then
2482 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: cannot compute suffix of executables: no output file found
2485 See \`config.log' for more details." >&2;}
2486 { (exit 1); exit 1; }; }
2489 # Clean up; list also $ac_file, in case it matched conftest.*.
2490 rm -f $ac_outfiles $ac_file
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2494 See \`config.log' for more details." >&5
2495 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2496 See \`config.log' for more details." >&2;}
2497 { (exit 1); exit 1; }; }
2503 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2504 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2505 EXEEXT=$ac_cv_exeext
2506 ac_exeext=$EXEEXT
2509 ac_clean_files=$ac_clean_files_save
2511 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2512 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2513 if test "${ac_cv_objext+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 rm -f conftest.o conftest.obj
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 for ac_file in conftest.o conftest.obj conftest.*; do
2523 test -f "$ac_file" || continue;
2524 case $ac_file in
2525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2526 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2527 break;;
2528 esac
2529 done
2530 else
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.$ac_ext >&5
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2543 echo "${ECHO_T}$ac_cv_objext" >&6; }
2544 OBJEXT=$ac_cv_objext
2545 ac_objext=$OBJEXT
2548 rm -f conftest.*
2549 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 else
2554 cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h. */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2562 main ()
2564 #ifndef __GNUC__
2565 choke me
2566 #endif
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>conftest.er1
2575 ac_status=$?
2576 grep -v '^ *+' conftest.er1 >conftest.err
2577 rm -f conftest.er1
2578 cat conftest.err >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 (eval $ac_try) 2>&5
2584 ac_status=$?
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; } &&
2587 { ac_try='test -s conftest.$ac_objext'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 (eval $ac_try) 2>&5
2590 ac_status=$?
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2593 ac_compiler_gnu=yes
2594 else
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 ac_compiler_gnu=no
2601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2607 GCC=`test $ac_compiler_gnu = yes && echo yes`
2608 ac_test_CFLAGS=${CFLAGS+set}
2609 ac_save_CFLAGS=$CFLAGS
2610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2612 if test "${ac_cv_prog_cc_g+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 else
2615 ac_save_c_werror_flag=$ac_c_werror_flag
2616 ac_c_werror_flag=yes
2617 ac_cv_prog_cc_g=no
2618 CFLAGS="-g"
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 ()
2631 return 0;
2633 _ACEOF
2634 rm -f conftest.$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2637 ac_status=$?
2638 grep -v '^ *+' conftest.er1 >conftest.err
2639 rm -f conftest.er1
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 (eval $ac_try) 2>&5
2646 ac_status=$?
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; } &&
2649 { ac_try='test -s conftest.$ac_objext'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 (eval $ac_try) 2>&5
2652 ac_status=$?
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; }; then
2655 ac_cv_prog_cc_g=yes
2656 else
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.$ac_ext >&5
2660 CFLAGS=""
2661 cat >conftest.$ac_ext <<_ACEOF
2662 /* confdefs.h. */
2663 _ACEOF
2664 cat confdefs.h >>conftest.$ac_ext
2665 cat >>conftest.$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2669 main ()
2673 return 0;
2675 _ACEOF
2676 rm -f conftest.$ac_objext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2678 (eval $ac_compile) 2>conftest.er1
2679 ac_status=$?
2680 grep -v '^ *+' conftest.er1 >conftest.err
2681 rm -f conftest.er1
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } &&
2685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 (eval $ac_try) 2>&5
2688 ac_status=$?
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; } &&
2691 { ac_try='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 (eval $ac_try) 2>&5
2694 ac_status=$?
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2698 else
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.$ac_ext >&5
2702 ac_c_werror_flag=$ac_save_c_werror_flag
2703 CFLAGS="-g"
2704 cat >conftest.$ac_ext <<_ACEOF
2705 /* confdefs.h. */
2706 _ACEOF
2707 cat confdefs.h >>conftest.$ac_ext
2708 cat >>conftest.$ac_ext <<_ACEOF
2709 /* end confdefs.h. */
2712 main ()
2716 return 0;
2718 _ACEOF
2719 rm -f conftest.$ac_objext
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>conftest.er1
2722 ac_status=$?
2723 grep -v '^ *+' conftest.er1 >conftest.err
2724 rm -f conftest.er1
2725 cat conftest.err >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 (eval $ac_try) 2>&5
2731 ac_status=$?
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 (eval $ac_try) 2>&5
2737 ac_status=$?
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2740 ac_cv_prog_cc_g=yes
2741 else
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2755 ac_c_werror_flag=$ac_save_c_werror_flag
2757 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2758 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2759 if test "$ac_test_CFLAGS" = set; then
2760 CFLAGS=$ac_save_CFLAGS
2761 elif test $ac_cv_prog_cc_g = yes; then
2762 if test "$GCC" = yes; then
2763 CFLAGS="-g -O2"
2764 else
2765 CFLAGS="-g"
2767 else
2768 if test "$GCC" = yes; then
2769 CFLAGS="-O2"
2770 else
2771 CFLAGS=
2774 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2775 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2776 if test "${ac_cv_prog_cc_c89+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 else
2779 ac_cv_prog_cc_c89=no
2780 ac_save_CC=$CC
2781 cat >conftest.$ac_ext <<_ACEOF
2782 /* confdefs.h. */
2783 _ACEOF
2784 cat confdefs.h >>conftest.$ac_ext
2785 cat >>conftest.$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2787 #include <stdarg.h>
2788 #include <stdio.h>
2789 #include <sys/types.h>
2790 #include <sys/stat.h>
2791 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2792 struct buf { int x; };
2793 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2794 static char *e (p, i)
2795 char **p;
2796 int i;
2798 return p[i];
2800 static char *f (char * (*g) (char **, int), char **p, ...)
2802 char *s;
2803 va_list v;
2804 va_start (v,p);
2805 s = g (p, va_arg (v,int));
2806 va_end (v);
2807 return s;
2810 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2811 function prototypes and stuff, but not '\xHH' hex character constants.
2812 These don't provoke an error unfortunately, instead are silently treated
2813 as 'x'. The following induces an error, until -std is added to get
2814 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2815 array size at least. It's necessary to write '\x00'==0 to get something
2816 that's true only with -std. */
2817 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2819 int test (int i, double x);
2820 struct s1 {int (*f) (int a);};
2821 struct s2 {int (*f) (double a);};
2822 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2823 int argc;
2824 char **argv;
2826 main ()
2828 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2830 return 0;
2832 _ACEOF
2833 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2834 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2836 CC="$ac_save_CC $ac_arg"
2837 rm -f conftest.$ac_objext
2838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2839 (eval $ac_compile) 2>conftest.er1
2840 ac_status=$?
2841 grep -v '^ *+' conftest.er1 >conftest.err
2842 rm -f conftest.er1
2843 cat conftest.err >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } &&
2846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 (eval $ac_try) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 (eval $ac_try) 2>&5
2855 ac_status=$?
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2858 ac_cv_prog_cc_c89=$ac_arg
2859 else
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2866 rm -f conftest.err conftest.$ac_objext
2867 test "x$ac_cv_prog_cc_c89" != "xno" && break
2868 done
2869 rm -f conftest.$ac_ext
2870 CC=$ac_save_CC
2873 # AC_CACHE_VAL
2874 case "x$ac_cv_prog_cc_c89" in
2876 { echo "$as_me:$LINENO: result: none needed" >&5
2877 echo "${ECHO_T}none needed" >&6; } ;;
2878 xno)
2879 { echo "$as_me:$LINENO: result: unsupported" >&5
2880 echo "${ECHO_T}unsupported" >&6; } ;;
2882 CC="$CC $ac_cv_prog_cc_c89"
2883 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2884 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2885 esac
2888 ac_ext=c
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2894 ac_ext=cpp
2895 ac_cpp='$CXXCPP $CPPFLAGS'
2896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2899 if test -z "$CXX"; then
2900 if test -n "$CCC"; then
2901 CXX=$CCC
2902 else
2903 if test -n "$ac_tool_prefix"; then
2904 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2907 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2910 if test "${ac_cv_prog_CXX+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2912 else
2913 if test -n "$CXX"; then
2914 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2915 else
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 for as_dir in $PATH
2919 IFS=$as_save_IFS
2920 test -z "$as_dir" && as_dir=.
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2923 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 break 2
2927 done
2928 done
2929 IFS=$as_save_IFS
2933 CXX=$ac_cv_prog_CXX
2934 if test -n "$CXX"; then
2935 { echo "$as_me:$LINENO: result: $CXX" >&5
2936 echo "${ECHO_T}$CXX" >&6; }
2937 else
2938 { echo "$as_me:$LINENO: result: no" >&5
2939 echo "${ECHO_T}no" >&6; }
2943 test -n "$CXX" && break
2944 done
2946 if test -z "$CXX"; then
2947 ac_ct_CXX=$CXX
2948 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2950 # Extract the first word of "$ac_prog", so it can be a program name with args.
2951 set dummy $ac_prog; ac_word=$2
2952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2954 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 else
2957 if test -n "$ac_ct_CXX"; then
2958 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2959 else
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2963 IFS=$as_save_IFS
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 ac_cv_prog_ac_ct_CXX="$ac_prog"
2968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 break 2
2971 done
2972 done
2973 IFS=$as_save_IFS
2977 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2978 if test -n "$ac_ct_CXX"; then
2979 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2980 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2981 else
2982 { echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6; }
2987 test -n "$ac_ct_CXX" && break
2988 done
2990 if test "x$ac_ct_CXX" = x; then
2991 CXX="g++"
2992 else
2993 case $cross_compiling:$ac_tool_warned in
2994 yes:)
2995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2996 whose name does not start with the host triplet. If you think this
2997 configuration is useful to you, please write to autoconf@gnu.org." >&5
2998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2999 whose name does not start with the host triplet. If you think this
3000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3001 ac_tool_warned=yes ;;
3002 esac
3003 CXX=$ac_ct_CXX
3009 # Provide some information about the compiler.
3010 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3011 ac_compiler=`set X $ac_compile; echo $2`
3012 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
3013 (eval $ac_compiler --version >&5) 2>&5
3014 ac_status=$?
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }
3017 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
3018 (eval $ac_compiler -v >&5) 2>&5
3019 ac_status=$?
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }
3022 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
3023 (eval $ac_compiler -V >&5) 2>&5
3024 ac_status=$?
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }
3028 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3029 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3030 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 else
3033 cat >conftest.$ac_ext <<_ACEOF
3034 /* confdefs.h. */
3035 _ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3041 main ()
3043 #ifndef __GNUC__
3044 choke me
3045 #endif
3048 return 0;
3050 _ACEOF
3051 rm -f conftest.$ac_objext
3052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053 (eval $ac_compile) 2>conftest.er1
3054 ac_status=$?
3055 grep -v '^ *+' conftest.er1 >conftest.err
3056 rm -f conftest.er1
3057 cat conftest.err >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); } &&
3060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 (eval $ac_try) 2>&5
3063 ac_status=$?
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); }; } &&
3066 { ac_try='test -s conftest.$ac_objext'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 (eval $ac_try) 2>&5
3069 ac_status=$?
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; }; then
3072 ac_compiler_gnu=yes
3073 else
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3077 ac_compiler_gnu=no
3080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3086 GXX=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CXXFLAGS=${CXXFLAGS+set}
3088 ac_save_CXXFLAGS=$CXXFLAGS
3089 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3090 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cxx_g+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 else
3094 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3095 ac_cxx_werror_flag=yes
3096 ac_cv_prog_cxx_g=no
3097 CXXFLAGS="-g"
3098 cat >conftest.$ac_ext <<_ACEOF
3099 /* confdefs.h. */
3100 _ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3106 main ()
3110 return 0;
3112 _ACEOF
3113 rm -f conftest.$ac_objext
3114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115 (eval $ac_compile) 2>conftest.er1
3116 ac_status=$?
3117 grep -v '^ *+' conftest.er1 >conftest.err
3118 rm -f conftest.er1
3119 cat conftest.err >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } &&
3122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 (eval $ac_try) 2>&5
3125 ac_status=$?
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; } &&
3128 { ac_try='test -s conftest.$ac_objext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 (eval $ac_try) 2>&5
3131 ac_status=$?
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3134 ac_cv_prog_cxx_g=yes
3135 else
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 CXXFLAGS=""
3140 cat >conftest.$ac_ext <<_ACEOF
3141 /* confdefs.h. */
3142 _ACEOF
3143 cat confdefs.h >>conftest.$ac_ext
3144 cat >>conftest.$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3148 main ()
3152 return 0;
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 (eval $ac_try) 2>&5
3167 ac_status=$?
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; } &&
3170 { ac_try='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 (eval $ac_try) 2>&5
3173 ac_status=$?
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3177 else
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3181 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3182 CXXFLAGS="-g"
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 ()
3195 return 0;
3197 _ACEOF
3198 rm -f conftest.$ac_objext
3199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3200 (eval $ac_compile) 2>conftest.er1
3201 ac_status=$?
3202 grep -v '^ *+' conftest.er1 >conftest.err
3203 rm -f conftest.er1
3204 cat conftest.err >&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); } &&
3207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; } &&
3213 { ac_try='test -s conftest.$ac_objext'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 (eval $ac_try) 2>&5
3216 ac_status=$?
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3219 ac_cv_prog_cxx_g=yes
3220 else
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3234 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3236 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3237 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3238 if test "$ac_test_CXXFLAGS" = set; then
3239 CXXFLAGS=$ac_save_CXXFLAGS
3240 elif test $ac_cv_prog_cxx_g = yes; then
3241 if test "$GXX" = yes; then
3242 CXXFLAGS="-g -O2"
3243 else
3244 CXXFLAGS="-g"
3246 else
3247 if test "$GXX" = yes; then
3248 CXXFLAGS="-O2"
3249 else
3250 CXXFLAGS=
3253 ac_ext=c
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3259 if test -n "$ac_tool_prefix"; then
3260 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3261 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3264 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 else
3267 if test -n "$CPPBIN"; then
3268 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3269 else
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 for as_dir in $PATH
3273 IFS=$as_save_IFS
3274 test -z "$as_dir" && as_dir=.
3275 for ac_exec_ext in '' $ac_executable_extensions; do
3276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3277 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 break 2
3281 done
3282 done
3283 IFS=$as_save_IFS
3287 CPPBIN=$ac_cv_prog_CPPBIN
3288 if test -n "$CPPBIN"; then
3289 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3290 echo "${ECHO_T}$CPPBIN" >&6; }
3291 else
3292 { echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6; }
3298 if test -z "$ac_cv_prog_CPPBIN"; then
3299 ac_ct_CPPBIN=$CPPBIN
3300 # Extract the first word of "cpp", so it can be a program name with args.
3301 set dummy cpp; ac_word=$2
3302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3304 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 else
3307 if test -n "$ac_ct_CPPBIN"; then
3308 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3309 else
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 for as_dir in $PATH
3313 IFS=$as_save_IFS
3314 test -z "$as_dir" && as_dir=.
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3317 ac_cv_prog_ac_ct_CPPBIN="cpp"
3318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 break 2
3321 done
3322 done
3323 IFS=$as_save_IFS
3327 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3328 if test -n "$ac_ct_CPPBIN"; then
3329 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3330 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3331 else
3332 { echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6; }
3336 if test "x$ac_ct_CPPBIN" = x; then
3337 CPPBIN="cpp"
3338 else
3339 case $cross_compiling:$ac_tool_warned in
3340 yes:)
3341 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3342 whose name does not start with the host triplet. If you think this
3343 configuration is useful to you, please write to autoconf@gnu.org." >&5
3344 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3345 whose name does not start with the host triplet. If you think this
3346 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3347 ac_tool_warned=yes ;;
3348 esac
3349 CPPBIN=$ac_ct_CPPBIN
3351 else
3352 CPPBIN="$ac_cv_prog_CPPBIN"
3356 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3357 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3358 if test "${wine_cv_toolsdir+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361 if test -z "$with_wine_tools"; then
3362 if test "$cross_compiling" = "yes"; then
3363 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3364 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3365 { (exit 1); exit 1; }; }
3366 else
3367 wine_cv_toolsdir="\$(TOPOBJDIR)"
3369 elif test -d "$with_wine_tools/tools/winebuild"; then
3370 case $with_wine_tools in
3371 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3372 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3373 esac
3374 else
3375 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3376 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3377 { (exit 1); exit 1; }; }
3380 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3381 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3382 TOOLSDIR=$wine_cv_toolsdir
3386 ac_ext=c
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3392 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3393 # On Suns, sometimes $CPP names a directory.
3394 if test -n "$CPP" && test -d "$CPP"; then
3395 CPP=
3397 if test -z "$CPP"; then
3398 if test "${ac_cv_prog_CPP+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 else
3401 # Double quotes because CPP needs to be expanded
3402 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3404 ac_preproc_ok=false
3405 for ac_c_preproc_warn_flag in '' yes
3407 # Use a header file that comes with gcc, so configuring glibc
3408 # with a fresh cross-compiler works.
3409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3410 # <limits.h> exists even on freestanding compilers.
3411 # On the NeXT, cc -E runs the code through the compiler's parser,
3412 # not just through cpp. "Syntax error" is here to catch this case.
3413 cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h. */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3419 #ifdef __STDC__
3420 # include <limits.h>
3421 #else
3422 # include <assert.h>
3423 #endif
3424 Syntax error
3425 _ACEOF
3426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3427 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3428 ac_status=$?
3429 grep -v '^ *+' conftest.er1 >conftest.err
3430 rm -f conftest.er1
3431 cat conftest.err >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } >/dev/null; then
3434 if test -s conftest.err; then
3435 ac_cpp_err=$ac_c_preproc_warn_flag
3436 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3437 else
3438 ac_cpp_err=
3440 else
3441 ac_cpp_err=yes
3443 if test -z "$ac_cpp_err"; then
3445 else
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3449 # Broken: fails on valid input.
3450 continue
3453 rm -f conftest.err conftest.$ac_ext
3455 # OK, works on sane cases. Now check whether nonexistent headers
3456 # can be detected and how.
3457 cat >conftest.$ac_ext <<_ACEOF
3458 /* confdefs.h. */
3459 _ACEOF
3460 cat confdefs.h >>conftest.$ac_ext
3461 cat >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3463 #include <ac_nonexistent.h>
3464 _ACEOF
3465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3467 ac_status=$?
3468 grep -v '^ *+' conftest.er1 >conftest.err
3469 rm -f conftest.er1
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } >/dev/null; then
3473 if test -s conftest.err; then
3474 ac_cpp_err=$ac_c_preproc_warn_flag
3475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3476 else
3477 ac_cpp_err=
3479 else
3480 ac_cpp_err=yes
3482 if test -z "$ac_cpp_err"; then
3483 # Broken: success on invalid input.
3484 continue
3485 else
3486 echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3489 # Passes both tests.
3490 ac_preproc_ok=:
3491 break
3494 rm -f conftest.err conftest.$ac_ext
3496 done
3497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3498 rm -f conftest.err conftest.$ac_ext
3499 if $ac_preproc_ok; then
3500 break
3503 done
3504 ac_cv_prog_CPP=$CPP
3507 CPP=$ac_cv_prog_CPP
3508 else
3509 ac_cv_prog_CPP=$CPP
3511 { echo "$as_me:$LINENO: result: $CPP" >&5
3512 echo "${ECHO_T}$CPP" >&6; }
3513 ac_preproc_ok=false
3514 for ac_c_preproc_warn_flag in '' yes
3516 # Use a header file that comes with gcc, so configuring glibc
3517 # with a fresh cross-compiler works.
3518 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3519 # <limits.h> exists even on freestanding compilers.
3520 # On the NeXT, cc -E runs the code through the compiler's parser,
3521 # not just through cpp. "Syntax error" is here to catch this case.
3522 cat >conftest.$ac_ext <<_ACEOF
3523 /* confdefs.h. */
3524 _ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 #ifdef __STDC__
3529 # include <limits.h>
3530 #else
3531 # include <assert.h>
3532 #endif
3533 Syntax error
3534 _ACEOF
3535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3537 ac_status=$?
3538 grep -v '^ *+' conftest.er1 >conftest.err
3539 rm -f conftest.er1
3540 cat conftest.err >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } >/dev/null; then
3543 if test -s conftest.err; then
3544 ac_cpp_err=$ac_c_preproc_warn_flag
3545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3546 else
3547 ac_cpp_err=
3549 else
3550 ac_cpp_err=yes
3552 if test -z "$ac_cpp_err"; then
3554 else
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5
3558 # Broken: fails on valid input.
3559 continue
3562 rm -f conftest.err conftest.$ac_ext
3564 # OK, works on sane cases. Now check whether nonexistent headers
3565 # can be detected and how.
3566 cat >conftest.$ac_ext <<_ACEOF
3567 /* confdefs.h. */
3568 _ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3572 #include <ac_nonexistent.h>
3573 _ACEOF
3574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3576 ac_status=$?
3577 grep -v '^ *+' conftest.er1 >conftest.err
3578 rm -f conftest.er1
3579 cat conftest.err >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } >/dev/null; then
3582 if test -s conftest.err; then
3583 ac_cpp_err=$ac_c_preproc_warn_flag
3584 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3585 else
3586 ac_cpp_err=
3588 else
3589 ac_cpp_err=yes
3591 if test -z "$ac_cpp_err"; then
3592 # Broken: success on invalid input.
3593 continue
3594 else
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.$ac_ext >&5
3598 # Passes both tests.
3599 ac_preproc_ok=:
3600 break
3603 rm -f conftest.err conftest.$ac_ext
3605 done
3606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3607 rm -f conftest.err conftest.$ac_ext
3608 if $ac_preproc_ok; then
3610 else
3611 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3612 See \`config.log' for more details." >&5
3613 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3614 See \`config.log' for more details." >&2;}
3615 { (exit 1); exit 1; }; }
3618 ac_ext=c
3619 ac_cpp='$CPP $CPPFLAGS'
3620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3626 if test "x$ac_path_x_has_been_run" != xyes; then
3627 { echo "$as_me:$LINENO: checking for X" >&5
3628 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3630 ac_path_x_has_been_run=yes
3632 # Check whether --with-x was given.
3633 if test "${with_x+set}" = set; then
3634 withval=$with_x;
3637 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3638 if test "x$with_x" = xno; then
3639 # The user explicitly disabled X.
3640 have_x=disabled
3641 else
3642 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3643 # Both variables are already set.
3644 have_x=yes
3645 else
3646 if test "${ac_cv_have_x+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 else
3649 # One or both of the vars are not set, and there is no cached value.
3650 ac_x_includes=no ac_x_libraries=no
3651 rm -f -r conftest.dir
3652 if mkdir conftest.dir; then
3653 cd conftest.dir
3654 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3655 cat >Imakefile <<'_ACEOF'
3656 acfindx:
3657 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3658 _ACEOF
3659 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3661 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3662 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3663 for ac_extension in a so sl; do
3664 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3665 test -f $ac_im_libdir/libX11.$ac_extension; then
3666 ac_im_usrlibdir=$ac_im_libdir; break
3668 done
3669 # Screen out bogus values from the imake configuration. They are
3670 # bogus both because they are the default anyway, and because
3671 # using them would break gcc on systems where it needs fixed includes.
3672 case $ac_im_incroot in
3673 /usr/include) ac_x_includes= ;;
3674 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3675 esac
3676 case $ac_im_usrlibdir in
3677 /usr/lib | /lib) ;;
3678 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3679 esac
3681 cd ..
3682 rm -f -r conftest.dir
3685 # Standard set of common directories for X headers.
3686 # Check X11 before X11Rn because it is often a symlink to the current release.
3687 ac_x_header_dirs='
3688 /usr/X11/include
3689 /usr/X11R6/include
3690 /usr/X11R5/include
3691 /usr/X11R4/include
3693 /usr/include/X11
3694 /usr/include/X11R6
3695 /usr/include/X11R5
3696 /usr/include/X11R4
3698 /usr/local/X11/include
3699 /usr/local/X11R6/include
3700 /usr/local/X11R5/include
3701 /usr/local/X11R4/include
3703 /usr/local/include/X11
3704 /usr/local/include/X11R6
3705 /usr/local/include/X11R5
3706 /usr/local/include/X11R4
3708 /usr/X386/include
3709 /usr/x386/include
3710 /usr/XFree86/include/X11
3712 /usr/include
3713 /usr/local/include
3714 /usr/unsupported/include
3715 /usr/athena/include
3716 /usr/local/x11r5/include
3717 /usr/lpp/Xamples/include
3719 /usr/openwin/include
3720 /usr/openwin/share/include'
3722 if test "$ac_x_includes" = no; then
3723 # Guess where to find include files, by looking for Xlib.h.
3724 # First, try using that file with no special directory specified.
3725 cat >conftest.$ac_ext <<_ACEOF
3726 /* confdefs.h. */
3727 _ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 #include <X11/Xlib.h.h>
3732 _ACEOF
3733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3735 ac_status=$?
3736 grep -v '^ *+' conftest.er1 >conftest.err
3737 rm -f conftest.er1
3738 cat conftest.err >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } >/dev/null; then
3741 if test -s conftest.err; then
3742 ac_cpp_err=$ac_c_preproc_warn_flag
3743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3744 else
3745 ac_cpp_err=
3747 else
3748 ac_cpp_err=yes
3750 if test -z "$ac_cpp_err"; then
3751 # We can compile using X headers with no special include directory.
3752 ac_x_includes=
3753 else
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 for ac_dir in $ac_x_header_dirs; do
3758 if test -r "$ac_dir/X11/Xlib.h"; then
3759 ac_x_includes=$ac_dir
3760 break
3762 done
3765 rm -f conftest.err conftest.$ac_ext
3766 fi # $ac_x_includes = no
3768 if test "$ac_x_libraries" = no; then
3769 # Check for the libraries.
3770 # See if we find them without any special options.
3771 # Don't add to $LIBS permanently.
3772 ac_save_LIBS=$LIBS
3773 LIBS="-lXt $LIBS"
3774 cat >conftest.$ac_ext <<_ACEOF
3775 /* confdefs.h. */
3776 _ACEOF
3777 cat confdefs.h >>conftest.$ac_ext
3778 cat >>conftest.$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 #include <X11/Xlib.h>
3782 main ()
3784 XrmInitialize ()
3786 return 0;
3788 _ACEOF
3789 rm -f conftest.$ac_objext conftest$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>conftest.er1
3792 ac_status=$?
3793 grep -v '^ *+' conftest.er1 >conftest.err
3794 rm -f conftest.er1
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 (eval $ac_try) 2>&5
3801 ac_status=$?
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }; } &&
3804 { ac_try='test -s conftest$ac_exeext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5
3807 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then
3810 LIBS=$ac_save_LIBS
3811 # We can link X programs with no special library path.
3812 ac_x_libraries=
3813 else
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 LIBS=$ac_save_LIBS
3818 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3820 # Don't even attempt the hair of trying to link an X program!
3821 for ac_extension in a so sl; do
3822 if test -r $ac_dir/libX11.$ac_extension; then
3823 ac_x_libraries=$ac_dir
3824 break 2
3826 done
3827 done
3830 rm -f conftest.err conftest.$ac_objext \
3831 conftest$ac_exeext conftest.$ac_ext
3832 fi # $ac_x_libraries = no
3834 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3835 # Didn't find X anywhere. Cache the known absence of X.
3836 ac_cv_have_x="have_x=no"
3837 else
3838 # Record where we found X for the cache.
3839 ac_cv_have_x="have_x=yes \
3840 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3845 eval "$ac_cv_have_x"
3846 fi # $with_x != no
3848 if test "$have_x" != yes; then
3849 { echo "$as_me:$LINENO: result: $have_x" >&5
3850 echo "${ECHO_T}$have_x" >&6; }
3851 no_x=yes
3852 else
3853 # If each of the values was on the command line, it overrides each guess.
3854 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3855 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3856 # Update the cache value to reflect the command line values.
3857 ac_cv_have_x="have_x=yes \
3858 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3859 # It might be that x_includes is empty (headers are found in the
3860 # standard search path. Then output the corresponding message
3861 ac_out_x_includes=$x_includes
3862 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3863 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3864 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
3868 if test "$no_x" = yes; then
3869 # Not all programs may use this symbol, but it does not hurt to define it.
3871 cat >>confdefs.h <<\_ACEOF
3872 #define X_DISPLAY_MISSING 1
3873 _ACEOF
3875 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3876 else
3877 if test -n "$x_includes"; then
3878 X_CFLAGS="$X_CFLAGS -I$x_includes"
3881 # It would also be nice to do this for all -L options, not just this one.
3882 if test -n "$x_libraries"; then
3883 X_LIBS="$X_LIBS -L$x_libraries"
3884 # For Solaris; some versions of Sun CC require a space after -R and
3885 # others require no space. Words are not sufficient . . . .
3886 case `(uname -sr) 2>/dev/null` in
3887 "SunOS 5"*)
3888 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3889 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3890 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3891 cat >conftest.$ac_ext <<_ACEOF
3892 /* confdefs.h. */
3893 _ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3899 main ()
3903 return 0;
3905 _ACEOF
3906 rm -f conftest.$ac_objext conftest$ac_exeext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3908 (eval $ac_link) 2>conftest.er1
3909 ac_status=$?
3910 grep -v '^ *+' conftest.er1 >conftest.err
3911 rm -f conftest.er1
3912 cat conftest.err >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 (eval $ac_try) 2>&5
3918 ac_status=$?
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try='test -s conftest$ac_exeext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 (eval $ac_try) 2>&5
3924 ac_status=$?
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3927 ac_R_nospace=yes
3928 else
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3932 ac_R_nospace=no
3935 rm -f conftest.err conftest.$ac_objext \
3936 conftest$ac_exeext conftest.$ac_ext
3937 if test $ac_R_nospace = yes; then
3938 { echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6; }
3940 X_LIBS="$X_LIBS -R$x_libraries"
3941 else
3942 LIBS="$ac_xsave_LIBS -R $x_libraries"
3943 cat >conftest.$ac_ext <<_ACEOF
3944 /* confdefs.h. */
3945 _ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3951 main ()
3955 return 0;
3957 _ACEOF
3958 rm -f conftest.$ac_objext conftest$ac_exeext
3959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3960 (eval $ac_link) 2>conftest.er1
3961 ac_status=$?
3962 grep -v '^ *+' conftest.er1 >conftest.err
3963 rm -f conftest.er1
3964 cat conftest.err >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } &&
3967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 (eval $ac_try) 2>&5
3970 ac_status=$?
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; } &&
3973 { ac_try='test -s conftest$ac_exeext'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 (eval $ac_try) 2>&5
3976 ac_status=$?
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; }; then
3979 ac_R_space=yes
3980 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 ac_R_space=no
3987 rm -f conftest.err conftest.$ac_objext \
3988 conftest$ac_exeext conftest.$ac_ext
3989 if test $ac_R_space = yes; then
3990 { echo "$as_me:$LINENO: result: yes" >&5
3991 echo "${ECHO_T}yes" >&6; }
3992 X_LIBS="$X_LIBS -R $x_libraries"
3993 else
3994 { echo "$as_me:$LINENO: result: neither works" >&5
3995 echo "${ECHO_T}neither works" >&6; }
3998 LIBS=$ac_xsave_LIBS
3999 esac
4002 # Check for system-dependent libraries X programs must link with.
4003 # Do this before checking for the system-independent R6 libraries
4004 # (-lICE), since we may need -lsocket or whatever for X linking.
4006 if test "$ISC" = yes; then
4007 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4008 else
4009 # Martyn Johnson says this is needed for Ultrix, if the X
4010 # libraries were built with DECnet support. And Karl Berry says
4011 # the Alpha needs dnet_stub (dnet does not exist).
4012 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4013 cat >conftest.$ac_ext <<_ACEOF
4014 /* confdefs.h. */
4015 _ACEOF
4016 cat confdefs.h >>conftest.$ac_ext
4017 cat >>conftest.$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4020 /* Override any GCC internal prototype to avoid an error.
4021 Use char because int might match the return type of a GCC
4022 builtin and then its argument prototype would still apply. */
4023 #ifdef __cplusplus
4024 extern "C"
4025 #endif
4026 char XOpenDisplay ();
4028 main ()
4030 return XOpenDisplay ();
4032 return 0;
4034 _ACEOF
4035 rm -f conftest.$ac_objext conftest$ac_exeext
4036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4037 (eval $ac_link) 2>conftest.er1
4038 ac_status=$?
4039 grep -v '^ *+' conftest.er1 >conftest.err
4040 rm -f conftest.er1
4041 cat conftest.err >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } &&
4044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 (eval $ac_try) 2>&5
4047 ac_status=$?
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; } &&
4050 { ac_try='test -s conftest$ac_exeext'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 (eval $ac_try) 2>&5
4053 ac_status=$?
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; }; then
4057 else
4058 echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.$ac_ext >&5
4061 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4062 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4063 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else
4066 ac_check_lib_save_LIBS=$LIBS
4067 LIBS="-ldnet $LIBS"
4068 cat >conftest.$ac_ext <<_ACEOF
4069 /* confdefs.h. */
4070 _ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4078 #ifdef __cplusplus
4079 extern "C"
4080 #endif
4081 char dnet_ntoa ();
4083 main ()
4085 return dnet_ntoa ();
4087 return 0;
4089 _ACEOF
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4092 (eval $ac_link) 2>conftest.er1
4093 ac_status=$?
4094 grep -v '^ *+' conftest.er1 >conftest.err
4095 rm -f conftest.er1
4096 cat conftest.err >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 (eval $ac_try) 2>&5
4102 ac_status=$?
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; } &&
4105 { ac_try='test -s conftest$ac_exeext'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 (eval $ac_try) 2>&5
4108 ac_status=$?
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; }; then
4111 ac_cv_lib_dnet_dnet_ntoa=yes
4112 else
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 ac_cv_lib_dnet_dnet_ntoa=no
4119 rm -f conftest.err conftest.$ac_objext \
4120 conftest$ac_exeext conftest.$ac_ext
4121 LIBS=$ac_check_lib_save_LIBS
4123 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4124 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4125 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4129 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4130 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4131 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4132 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 else
4135 ac_check_lib_save_LIBS=$LIBS
4136 LIBS="-ldnet_stub $LIBS"
4137 cat >conftest.$ac_ext <<_ACEOF
4138 /* confdefs.h. */
4139 _ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4144 /* Override any GCC internal prototype to avoid an error.
4145 Use char because int might match the return type of a GCC
4146 builtin and then its argument prototype would still apply. */
4147 #ifdef __cplusplus
4148 extern "C"
4149 #endif
4150 char dnet_ntoa ();
4152 main ()
4154 return dnet_ntoa ();
4156 return 0;
4158 _ACEOF
4159 rm -f conftest.$ac_objext conftest$ac_exeext
4160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4161 (eval $ac_link) 2>conftest.er1
4162 ac_status=$?
4163 grep -v '^ *+' conftest.er1 >conftest.err
4164 rm -f conftest.er1
4165 cat conftest.err >&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } &&
4168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 (eval $ac_try) 2>&5
4171 ac_status=$?
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; } &&
4174 { ac_try='test -s conftest$ac_exeext'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 (eval $ac_try) 2>&5
4177 ac_status=$?
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then
4180 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4181 else
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4185 ac_cv_lib_dnet_stub_dnet_ntoa=no
4188 rm -f conftest.err conftest.$ac_objext \
4189 conftest$ac_exeext conftest.$ac_ext
4190 LIBS=$ac_check_lib_save_LIBS
4192 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4193 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4194 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4195 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4201 rm -f conftest.err conftest.$ac_objext \
4202 conftest$ac_exeext conftest.$ac_ext
4203 LIBS="$ac_xsave_LIBS"
4205 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4206 # to get the SysV transport functions.
4207 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4208 # needs -lnsl.
4209 # The nsl library prevents programs from opening the X display
4210 # on Irix 5.2, according to T.E. Dickey.
4211 # The functions gethostbyname, getservbyname, and inet_addr are
4212 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4213 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4214 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4215 if test "${ac_cv_func_gethostbyname+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 else
4218 cat >conftest.$ac_ext <<_ACEOF
4219 /* confdefs.h. */
4220 _ACEOF
4221 cat confdefs.h >>conftest.$ac_ext
4222 cat >>conftest.$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4224 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4226 #define gethostbyname innocuous_gethostbyname
4228 /* System header to define __stub macros and hopefully few prototypes,
4229 which can conflict with char gethostbyname (); below.
4230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4231 <limits.h> exists even on freestanding compilers. */
4233 #ifdef __STDC__
4234 # include <limits.h>
4235 #else
4236 # include <assert.h>
4237 #endif
4239 #undef gethostbyname
4241 /* Override any GCC internal prototype to avoid an error.
4242 Use char because int might match the return type of a GCC
4243 builtin and then its argument prototype would still apply. */
4244 #ifdef __cplusplus
4245 extern "C"
4246 #endif
4247 char gethostbyname ();
4248 /* The GNU C library defines this for functions which it implements
4249 to always fail with ENOSYS. Some functions are actually named
4250 something starting with __ and the normal name is an alias. */
4251 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4252 choke me
4253 #endif
4256 main ()
4258 return gethostbyname ();
4260 return 0;
4262 _ACEOF
4263 rm -f conftest.$ac_objext conftest$ac_exeext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>conftest.er1
4266 ac_status=$?
4267 grep -v '^ *+' conftest.er1 >conftest.err
4268 rm -f conftest.er1
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
4272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4274 (eval $ac_try) 2>&5
4275 ac_status=$?
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; } &&
4278 { ac_try='test -s conftest$ac_exeext'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 (eval $ac_try) 2>&5
4281 ac_status=$?
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 ac_cv_func_gethostbyname=yes
4285 else
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.$ac_ext >&5
4289 ac_cv_func_gethostbyname=no
4292 rm -f conftest.err conftest.$ac_objext \
4293 conftest$ac_exeext conftest.$ac_ext
4295 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4296 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4298 if test $ac_cv_func_gethostbyname = no; then
4299 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4300 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4301 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 else
4304 ac_check_lib_save_LIBS=$LIBS
4305 LIBS="-lnsl $LIBS"
4306 cat >conftest.$ac_ext <<_ACEOF
4307 /* confdefs.h. */
4308 _ACEOF
4309 cat confdefs.h >>conftest.$ac_ext
4310 cat >>conftest.$ac_ext <<_ACEOF
4311 /* end confdefs.h. */
4313 /* Override any GCC internal prototype to avoid an error.
4314 Use char because int might match the return type of a GCC
4315 builtin and then its argument prototype would still apply. */
4316 #ifdef __cplusplus
4317 extern "C"
4318 #endif
4319 char gethostbyname ();
4321 main ()
4323 return gethostbyname ();
4325 return 0;
4327 _ACEOF
4328 rm -f conftest.$ac_objext conftest$ac_exeext
4329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4330 (eval $ac_link) 2>conftest.er1
4331 ac_status=$?
4332 grep -v '^ *+' conftest.er1 >conftest.err
4333 rm -f conftest.er1
4334 cat conftest.err >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); } &&
4337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 (eval $ac_try) 2>&5
4340 ac_status=$?
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; } &&
4343 { ac_try='test -s conftest$ac_exeext'
4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 (eval $ac_try) 2>&5
4346 ac_status=$?
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; }; then
4349 ac_cv_lib_nsl_gethostbyname=yes
4350 else
4351 echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 ac_cv_lib_nsl_gethostbyname=no
4357 rm -f conftest.err conftest.$ac_objext \
4358 conftest$ac_exeext conftest.$ac_ext
4359 LIBS=$ac_check_lib_save_LIBS
4361 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4362 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4363 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4364 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4367 if test $ac_cv_lib_nsl_gethostbyname = no; then
4368 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4369 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4370 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373 ac_check_lib_save_LIBS=$LIBS
4374 LIBS="-lbsd $LIBS"
4375 cat >conftest.$ac_ext <<_ACEOF
4376 /* confdefs.h. */
4377 _ACEOF
4378 cat confdefs.h >>conftest.$ac_ext
4379 cat >>conftest.$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4382 /* Override any GCC internal prototype to avoid an error.
4383 Use char because int might match the return type of a GCC
4384 builtin and then its argument prototype would still apply. */
4385 #ifdef __cplusplus
4386 extern "C"
4387 #endif
4388 char gethostbyname ();
4390 main ()
4392 return gethostbyname ();
4394 return 0;
4396 _ACEOF
4397 rm -f conftest.$ac_objext conftest$ac_exeext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4399 (eval $ac_link) 2>conftest.er1
4400 ac_status=$?
4401 grep -v '^ *+' conftest.er1 >conftest.err
4402 rm -f conftest.er1
4403 cat conftest.err >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } &&
4406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 (eval $ac_try) 2>&5
4409 ac_status=$?
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; } &&
4412 { ac_try='test -s conftest$ac_exeext'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4414 (eval $ac_try) 2>&5
4415 ac_status=$?
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; }; then
4418 ac_cv_lib_bsd_gethostbyname=yes
4419 else
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.$ac_ext >&5
4423 ac_cv_lib_bsd_gethostbyname=no
4426 rm -f conftest.err conftest.$ac_objext \
4427 conftest$ac_exeext conftest.$ac_ext
4428 LIBS=$ac_check_lib_save_LIBS
4430 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4431 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4432 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4433 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4439 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4440 # socket/setsockopt and other routines are undefined under SCO ODT
4441 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4442 # on later versions), says Simon Leinen: it contains gethostby*
4443 # variants that don't use the name server (or something). -lsocket
4444 # must be given before -lnsl if both are needed. We assume that
4445 # if connect needs -lnsl, so does gethostbyname.
4446 { echo "$as_me:$LINENO: checking for connect" >&5
4447 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4448 if test "${ac_cv_func_connect+set}" = set; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 else
4451 cat >conftest.$ac_ext <<_ACEOF
4452 /* confdefs.h. */
4453 _ACEOF
4454 cat confdefs.h >>conftest.$ac_ext
4455 cat >>conftest.$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4459 #define connect innocuous_connect
4461 /* System header to define __stub macros and hopefully few prototypes,
4462 which can conflict with char connect (); below.
4463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4464 <limits.h> exists even on freestanding compilers. */
4466 #ifdef __STDC__
4467 # include <limits.h>
4468 #else
4469 # include <assert.h>
4470 #endif
4472 #undef connect
4474 /* Override any GCC internal prototype to avoid an error.
4475 Use char because int might match the return type of a GCC
4476 builtin and then its argument prototype would still apply. */
4477 #ifdef __cplusplus
4478 extern "C"
4479 #endif
4480 char connect ();
4481 /* The GNU C library defines this for functions which it implements
4482 to always fail with ENOSYS. Some functions are actually named
4483 something starting with __ and the normal name is an alias. */
4484 #if defined __stub_connect || defined __stub___connect
4485 choke me
4486 #endif
4489 main ()
4491 return connect ();
4493 return 0;
4495 _ACEOF
4496 rm -f conftest.$ac_objext conftest$ac_exeext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4498 (eval $ac_link) 2>conftest.er1
4499 ac_status=$?
4500 grep -v '^ *+' conftest.er1 >conftest.err
4501 rm -f conftest.er1
4502 cat conftest.err >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } &&
4505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 (eval $ac_try) 2>&5
4508 ac_status=$?
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; } &&
4511 { ac_try='test -s conftest$ac_exeext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 (eval $ac_try) 2>&5
4514 ac_status=$?
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4517 ac_cv_func_connect=yes
4518 else
4519 echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.$ac_ext >&5
4522 ac_cv_func_connect=no
4525 rm -f conftest.err conftest.$ac_objext \
4526 conftest$ac_exeext conftest.$ac_ext
4528 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4529 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4531 if test $ac_cv_func_connect = no; then
4532 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4533 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4534 if test "${ac_cv_lib_socket_connect+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 else
4537 ac_check_lib_save_LIBS=$LIBS
4538 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4539 cat >conftest.$ac_ext <<_ACEOF
4540 /* confdefs.h. */
4541 _ACEOF
4542 cat confdefs.h >>conftest.$ac_ext
4543 cat >>conftest.$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4546 /* Override any GCC internal prototype to avoid an error.
4547 Use char because int might match the return type of a GCC
4548 builtin and then its argument prototype would still apply. */
4549 #ifdef __cplusplus
4550 extern "C"
4551 #endif
4552 char connect ();
4554 main ()
4556 return connect ();
4558 return 0;
4560 _ACEOF
4561 rm -f conftest.$ac_objext conftest$ac_exeext
4562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4563 (eval $ac_link) 2>conftest.er1
4564 ac_status=$?
4565 grep -v '^ *+' conftest.er1 >conftest.err
4566 rm -f conftest.er1
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 (eval $ac_try) 2>&5
4573 ac_status=$?
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try='test -s conftest$ac_exeext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 (eval $ac_try) 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; }; then
4582 ac_cv_lib_socket_connect=yes
4583 else
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 ac_cv_lib_socket_connect=no
4590 rm -f conftest.err conftest.$ac_objext \
4591 conftest$ac_exeext conftest.$ac_ext
4592 LIBS=$ac_check_lib_save_LIBS
4594 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4595 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4596 if test $ac_cv_lib_socket_connect = yes; then
4597 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4602 # Guillermo Gomez says -lposix is necessary on A/UX.
4603 { echo "$as_me:$LINENO: checking for remove" >&5
4604 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4605 if test "${ac_cv_func_remove+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 else
4608 cat >conftest.$ac_ext <<_ACEOF
4609 /* confdefs.h. */
4610 _ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4614 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4616 #define remove innocuous_remove
4618 /* System header to define __stub macros and hopefully few prototypes,
4619 which can conflict with char remove (); below.
4620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4621 <limits.h> exists even on freestanding compilers. */
4623 #ifdef __STDC__
4624 # include <limits.h>
4625 #else
4626 # include <assert.h>
4627 #endif
4629 #undef remove
4631 /* Override any GCC internal prototype to avoid an error.
4632 Use char because int might match the return type of a GCC
4633 builtin and then its argument prototype would still apply. */
4634 #ifdef __cplusplus
4635 extern "C"
4636 #endif
4637 char remove ();
4638 /* The GNU C library defines this for functions which it implements
4639 to always fail with ENOSYS. Some functions are actually named
4640 something starting with __ and the normal name is an alias. */
4641 #if defined __stub_remove || defined __stub___remove
4642 choke me
4643 #endif
4646 main ()
4648 return remove ();
4650 return 0;
4652 _ACEOF
4653 rm -f conftest.$ac_objext conftest$ac_exeext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4655 (eval $ac_link) 2>conftest.er1
4656 ac_status=$?
4657 grep -v '^ *+' conftest.er1 >conftest.err
4658 rm -f conftest.er1
4659 cat conftest.err >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664 (eval $ac_try) 2>&5
4665 ac_status=$?
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; } &&
4668 { ac_try='test -s conftest$ac_exeext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 (eval $ac_try) 2>&5
4671 ac_status=$?
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 ac_cv_func_remove=yes
4675 else
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 ac_cv_func_remove=no
4682 rm -f conftest.err conftest.$ac_objext \
4683 conftest$ac_exeext conftest.$ac_ext
4685 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4686 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4688 if test $ac_cv_func_remove = no; then
4689 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_posix_remove+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 else
4694 ac_check_lib_save_LIBS=$LIBS
4695 LIBS="-lposix $LIBS"
4696 cat >conftest.$ac_ext <<_ACEOF
4697 /* confdefs.h. */
4698 _ACEOF
4699 cat confdefs.h >>conftest.$ac_ext
4700 cat >>conftest.$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4706 #ifdef __cplusplus
4707 extern "C"
4708 #endif
4709 char remove ();
4711 main ()
4713 return remove ();
4715 return 0;
4717 _ACEOF
4718 rm -f conftest.$ac_objext conftest$ac_exeext
4719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4720 (eval $ac_link) 2>conftest.er1
4721 ac_status=$?
4722 grep -v '^ *+' conftest.er1 >conftest.err
4723 rm -f conftest.er1
4724 cat conftest.err >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } &&
4727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 (eval $ac_try) 2>&5
4730 ac_status=$?
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try='test -s conftest$ac_exeext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 (eval $ac_try) 2>&5
4736 ac_status=$?
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4739 ac_cv_lib_posix_remove=yes
4740 else
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 ac_cv_lib_posix_remove=no
4747 rm -f conftest.err conftest.$ac_objext \
4748 conftest$ac_exeext conftest.$ac_ext
4749 LIBS=$ac_check_lib_save_LIBS
4751 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4752 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4753 if test $ac_cv_lib_posix_remove = yes; then
4754 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4759 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4760 { echo "$as_me:$LINENO: checking for shmat" >&5
4761 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4762 if test "${ac_cv_func_shmat+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 else
4765 cat >conftest.$ac_ext <<_ACEOF
4766 /* confdefs.h. */
4767 _ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4773 #define shmat innocuous_shmat
4775 /* System header to define __stub macros and hopefully few prototypes,
4776 which can conflict with char shmat (); below.
4777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 <limits.h> exists even on freestanding compilers. */
4780 #ifdef __STDC__
4781 # include <limits.h>
4782 #else
4783 # include <assert.h>
4784 #endif
4786 #undef shmat
4788 /* Override any GCC internal prototype to avoid an error.
4789 Use char because int might match the return type of a GCC
4790 builtin and then its argument prototype would still apply. */
4791 #ifdef __cplusplus
4792 extern "C"
4793 #endif
4794 char shmat ();
4795 /* The GNU C library defines this for functions which it implements
4796 to always fail with ENOSYS. Some functions are actually named
4797 something starting with __ and the normal name is an alias. */
4798 #if defined __stub_shmat || defined __stub___shmat
4799 choke me
4800 #endif
4803 main ()
4805 return shmat ();
4807 return 0;
4809 _ACEOF
4810 rm -f conftest.$ac_objext conftest$ac_exeext
4811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4812 (eval $ac_link) 2>conftest.er1
4813 ac_status=$?
4814 grep -v '^ *+' conftest.er1 >conftest.err
4815 rm -f conftest.er1
4816 cat conftest.err >&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 (eval $ac_try) 2>&5
4822 ac_status=$?
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try='test -s conftest$ac_exeext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 (eval $ac_try) 2>&5
4828 ac_status=$?
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_cv_func_shmat=yes
4832 else
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 ac_cv_func_shmat=no
4839 rm -f conftest.err conftest.$ac_objext \
4840 conftest$ac_exeext conftest.$ac_ext
4842 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4843 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4845 if test $ac_cv_func_shmat = no; then
4846 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4847 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4848 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 else
4851 ac_check_lib_save_LIBS=$LIBS
4852 LIBS="-lipc $LIBS"
4853 cat >conftest.$ac_ext <<_ACEOF
4854 /* confdefs.h. */
4855 _ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4860 /* Override any GCC internal prototype to avoid an error.
4861 Use char because int might match the return type of a GCC
4862 builtin and then its argument prototype would still apply. */
4863 #ifdef __cplusplus
4864 extern "C"
4865 #endif
4866 char shmat ();
4868 main ()
4870 return shmat ();
4872 return 0;
4874 _ACEOF
4875 rm -f conftest.$ac_objext conftest$ac_exeext
4876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4877 (eval $ac_link) 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } &&
4884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 (eval $ac_try) 2>&5
4887 ac_status=$?
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; } &&
4890 { ac_try='test -s conftest$ac_exeext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 (eval $ac_try) 2>&5
4893 ac_status=$?
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4896 ac_cv_lib_ipc_shmat=yes
4897 else
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_cv_lib_ipc_shmat=no
4904 rm -f conftest.err conftest.$ac_objext \
4905 conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4909 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4910 if test $ac_cv_lib_ipc_shmat = yes; then
4911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4917 # Check for libraries that X11R6 Xt/Xaw programs need.
4918 ac_save_LDFLAGS=$LDFLAGS
4919 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4920 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4921 # check for ICE first), but we must link in the order -lSM -lICE or
4922 # we get undefined symbols. So assume we have SM if we have ICE.
4923 # These have to be linked with before -lX11, unlike the other
4924 # libraries we check for below, so use a different variable.
4925 # John Interrante, Karl Berry
4926 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4927 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4928 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 else
4931 ac_check_lib_save_LIBS=$LIBS
4932 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4933 cat >conftest.$ac_ext <<_ACEOF
4934 /* confdefs.h. */
4935 _ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 /* Override any GCC internal prototype to avoid an error.
4941 Use char because int might match the return type of a GCC
4942 builtin and then its argument prototype would still apply. */
4943 #ifdef __cplusplus
4944 extern "C"
4945 #endif
4946 char IceConnectionNumber ();
4948 main ()
4950 return IceConnectionNumber ();
4952 return 0;
4954 _ACEOF
4955 rm -f conftest.$ac_objext conftest$ac_exeext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4957 (eval $ac_link) 2>conftest.er1
4958 ac_status=$?
4959 grep -v '^ *+' conftest.er1 >conftest.err
4960 rm -f conftest.er1
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 (eval $ac_try) 2>&5
4967 ac_status=$?
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try='test -s conftest$ac_exeext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 (eval $ac_try) 2>&5
4973 ac_status=$?
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4976 ac_cv_lib_ICE_IceConnectionNumber=yes
4977 else
4978 echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.$ac_ext >&5
4981 ac_cv_lib_ICE_IceConnectionNumber=no
4984 rm -f conftest.err conftest.$ac_objext \
4985 conftest$ac_exeext conftest.$ac_ext
4986 LIBS=$ac_check_lib_save_LIBS
4988 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4989 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4990 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4991 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4994 LDFLAGS=$ac_save_LDFLAGS
4998 for ac_prog in flex lex
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy $ac_prog; ac_word=$2
5002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5004 if test "${ac_cv_prog_LEX+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 else
5007 if test -n "$LEX"; then
5008 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5009 else
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 for as_dir in $PATH
5013 IFS=$as_save_IFS
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_LEX="$ac_prog"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 break 2
5021 done
5022 done
5023 IFS=$as_save_IFS
5027 LEX=$ac_cv_prog_LEX
5028 if test -n "$LEX"; then
5029 { echo "$as_me:$LINENO: result: $LEX" >&5
5030 echo "${ECHO_T}$LEX" >&6; }
5031 else
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5037 test -n "$LEX" && break
5038 done
5039 test -n "$LEX" || LEX=":"
5041 if test -z "$LEXLIB"
5042 then
5043 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5044 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5045 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 else
5048 ac_check_lib_save_LIBS=$LIBS
5049 LIBS="-lfl $LIBS"
5050 cat >conftest.$ac_ext <<_ACEOF
5051 /* confdefs.h. */
5052 _ACEOF
5053 cat confdefs.h >>conftest.$ac_ext
5054 cat >>conftest.$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5057 /* Override any GCC internal prototype to avoid an error.
5058 Use char because int might match the return type of a GCC
5059 builtin and then its argument prototype would still apply. */
5060 #ifdef __cplusplus
5061 extern "C"
5062 #endif
5063 char yywrap ();
5065 main ()
5067 return yywrap ();
5069 return 0;
5071 _ACEOF
5072 rm -f conftest.$ac_objext conftest$ac_exeext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>conftest.er1
5075 ac_status=$?
5076 grep -v '^ *+' conftest.er1 >conftest.err
5077 rm -f conftest.er1
5078 cat conftest.err >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } &&
5081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083 (eval $ac_try) 2>&5
5084 ac_status=$?
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; } &&
5087 { ac_try='test -s conftest$ac_exeext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5089 (eval $ac_try) 2>&5
5090 ac_status=$?
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_lib_fl_yywrap=yes
5094 else
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 ac_cv_lib_fl_yywrap=no
5101 rm -f conftest.err conftest.$ac_objext \
5102 conftest$ac_exeext conftest.$ac_ext
5103 LIBS=$ac_check_lib_save_LIBS
5105 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5106 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5107 if test $ac_cv_lib_fl_yywrap = yes; then
5108 LEXLIB="-lfl"
5109 else
5110 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5111 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5112 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 else
5115 ac_check_lib_save_LIBS=$LIBS
5116 LIBS="-ll $LIBS"
5117 cat >conftest.$ac_ext <<_ACEOF
5118 /* confdefs.h. */
5119 _ACEOF
5120 cat confdefs.h >>conftest.$ac_ext
5121 cat >>conftest.$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5124 /* Override any GCC internal prototype to avoid an error.
5125 Use char because int might match the return type of a GCC
5126 builtin and then its argument prototype would still apply. */
5127 #ifdef __cplusplus
5128 extern "C"
5129 #endif
5130 char yywrap ();
5132 main ()
5134 return yywrap ();
5136 return 0;
5138 _ACEOF
5139 rm -f conftest.$ac_objext conftest$ac_exeext
5140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5141 (eval $ac_link) 2>conftest.er1
5142 ac_status=$?
5143 grep -v '^ *+' conftest.er1 >conftest.err
5144 rm -f conftest.er1
5145 cat conftest.err >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } &&
5148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150 (eval $ac_try) 2>&5
5151 ac_status=$?
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); }; } &&
5154 { ac_try='test -s conftest$ac_exeext'
5155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 (eval $ac_try) 2>&5
5157 ac_status=$?
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); }; }; then
5160 ac_cv_lib_l_yywrap=yes
5161 else
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5165 ac_cv_lib_l_yywrap=no
5168 rm -f conftest.err conftest.$ac_objext \
5169 conftest$ac_exeext conftest.$ac_ext
5170 LIBS=$ac_check_lib_save_LIBS
5172 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5173 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5174 if test $ac_cv_lib_l_yywrap = yes; then
5175 LEXLIB="-ll"
5182 if test "x$LEX" != "x:"; then
5183 { echo "$as_me:$LINENO: checking lex output file root" >&5
5184 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5185 if test "${ac_cv_prog_lex_root+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5187 else
5188 # The minimal lex program is just a single line: %%. But some broken lexes
5189 # (Solaris, I think it was) want two %% lines, so accommodate them.
5190 cat >conftest.l <<_ACEOF
5193 _ACEOF
5194 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5195 (eval $LEX conftest.l) 2>&5
5196 ac_status=$?
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }
5199 if test -f lex.yy.c; then
5200 ac_cv_prog_lex_root=lex.yy
5201 elif test -f lexyy.c; then
5202 ac_cv_prog_lex_root=lexyy
5203 else
5204 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5205 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5206 { (exit 1); exit 1; }; }
5209 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5210 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5211 rm -f conftest.l
5212 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5214 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5215 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5216 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 else
5219 # POSIX says lex can declare yytext either as a pointer or an array; the
5220 # default is implementation-dependent. Figure out which it is, since
5221 # not all implementations provide the %pointer and %array declarations.
5222 ac_cv_prog_lex_yytext_pointer=no
5223 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5224 ac_save_LIBS=$LIBS
5225 LIBS="$LIBS $LEXLIB"
5226 cat >conftest.$ac_ext <<_ACEOF
5227 `cat $LEX_OUTPUT_ROOT.c`
5228 _ACEOF
5229 rm -f conftest.$ac_objext conftest$ac_exeext
5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5231 (eval $ac_link) 2>conftest.er1
5232 ac_status=$?
5233 grep -v '^ *+' conftest.er1 >conftest.err
5234 rm -f conftest.er1
5235 cat conftest.err >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } &&
5238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 (eval $ac_try) 2>&5
5241 ac_status=$?
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; } &&
5244 { ac_try='test -s conftest$ac_exeext'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 (eval $ac_try) 2>&5
5247 ac_status=$?
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; }; then
5250 ac_cv_prog_lex_yytext_pointer=yes
5251 else
5252 echo "$as_me: failed program was:" >&5
5253 sed 's/^/| /' conftest.$ac_ext >&5
5258 rm -f conftest.err conftest.$ac_objext \
5259 conftest$ac_exeext conftest.$ac_ext
5260 LIBS=$ac_save_LIBS
5261 rm -f "${LEX_OUTPUT_ROOT}.c"
5264 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5265 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5266 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5268 cat >>confdefs.h <<\_ACEOF
5269 #define YYTEXT_POINTER 1
5270 _ACEOF
5276 for ac_prog in $LEX flex lex
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy $ac_prog; ac_word=$2
5280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5282 if test "${ac_cv_prog_XLEX+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 else
5285 if test -n "$XLEX"; then
5286 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5291 IFS=$as_save_IFS
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_XLEX="$ac_prog"
5296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5301 IFS=$as_save_IFS
5305 XLEX=$ac_cv_prog_XLEX
5306 if test -n "$XLEX"; then
5307 { echo "$as_me:$LINENO: result: $XLEX" >&5
5308 echo "${ECHO_T}$XLEX" >&6; }
5309 else
5310 { echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6; }
5315 test -n "$XLEX" && break
5316 done
5317 test -n "$XLEX" || XLEX="none"
5319 if test "$XLEX" = "none"
5320 then
5321 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5322 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5323 { (exit 1); exit 1; }; }
5326 for ac_prog in bison
5328 # Extract the first word of "$ac_prog", so it can be a program name with args.
5329 set dummy $ac_prog; ac_word=$2
5330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5332 if test "${ac_cv_prog_BISON+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 else
5335 if test -n "$BISON"; then
5336 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 ac_cv_prog_BISON="$ac_prog"
5346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 break 2
5349 done
5350 done
5351 IFS=$as_save_IFS
5355 BISON=$ac_cv_prog_BISON
5356 if test -n "$BISON"; then
5357 { echo "$as_me:$LINENO: result: $BISON" >&5
5358 echo "${ECHO_T}$BISON" >&6; }
5359 else
5360 { echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6; }
5365 test -n "$BISON" && break
5366 done
5367 test -n "$BISON" || BISON="none"
5369 if test "$BISON" = "none"
5370 then
5371 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5372 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5373 { (exit 1); exit 1; }; }
5376 if test -n "$ac_tool_prefix"; then
5377 for ac_prog in gas as
5379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5380 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5383 if test "${ac_cv_prog_AS+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 else
5386 if test -n "$AS"; then
5387 ac_cv_prog_AS="$AS" # Let the user override the test.
5388 else
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 break 2
5400 done
5401 done
5402 IFS=$as_save_IFS
5406 AS=$ac_cv_prog_AS
5407 if test -n "$AS"; then
5408 { echo "$as_me:$LINENO: result: $AS" >&5
5409 echo "${ECHO_T}$AS" >&6; }
5410 else
5411 { echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6; }
5416 test -n "$AS" && break
5417 done
5419 if test -z "$AS"; then
5420 ac_ct_AS=$AS
5421 for ac_prog in gas as
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5427 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 else
5430 if test -n "$ac_ct_AS"; then
5431 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_ac_ct_AS="$ac_prog"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5450 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5451 if test -n "$ac_ct_AS"; then
5452 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5453 echo "${ECHO_T}$ac_ct_AS" >&6; }
5454 else
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5460 test -n "$ac_ct_AS" && break
5461 done
5463 if test "x$ac_ct_AS" = x; then
5464 AS="as"
5465 else
5466 case $cross_compiling:$ac_tool_warned in
5467 yes:)
5468 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5469 whose name does not start with the host triplet. If you think this
5470 configuration is useful to you, please write to autoconf@gnu.org." >&5
5471 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5472 whose name does not start with the host triplet. If you think this
5473 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5474 ac_tool_warned=yes ;;
5475 esac
5476 AS=$ac_ct_AS
5480 if test -n "$ac_tool_prefix"; then
5481 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5482 set dummy ${ac_tool_prefix}ld; ac_word=$2
5483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5485 if test "${ac_cv_prog_LD+set}" = set; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 else
5488 if test -n "$LD"; then
5489 ac_cv_prog_LD="$LD" # Let the user override the test.
5490 else
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_LD="${ac_tool_prefix}ld"
5499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 break 2
5502 done
5503 done
5504 IFS=$as_save_IFS
5508 LD=$ac_cv_prog_LD
5509 if test -n "$LD"; then
5510 { echo "$as_me:$LINENO: result: $LD" >&5
5511 echo "${ECHO_T}$LD" >&6; }
5512 else
5513 { echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6; }
5519 if test -z "$ac_cv_prog_LD"; then
5520 ac_ct_LD=$LD
5521 # Extract the first word of "ld", so it can be a program name with args.
5522 set dummy ld; ac_word=$2
5523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5525 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 else
5528 if test -n "$ac_ct_LD"; then
5529 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_ac_ct_LD="ld"
5539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5549 if test -n "$ac_ct_LD"; then
5550 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5551 echo "${ECHO_T}$ac_ct_LD" >&6; }
5552 else
5553 { echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6; }
5557 if test "x$ac_ct_LD" = x; then
5558 LD="ld"
5559 else
5560 case $cross_compiling:$ac_tool_warned in
5561 yes:)
5562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5563 whose name does not start with the host triplet. If you think this
5564 configuration is useful to you, please write to autoconf@gnu.org." >&5
5565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5566 whose name does not start with the host triplet. If you think this
5567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5568 ac_tool_warned=yes ;;
5569 esac
5570 LD=$ac_ct_LD
5572 else
5573 LD="$ac_cv_prog_LD"
5576 if test -n "$ac_tool_prefix"; then
5577 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5578 set dummy ${ac_tool_prefix}ar; ac_word=$2
5579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5581 if test "${ac_cv_prog_AR+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 else
5584 if test -n "$AR"; then
5585 ac_cv_prog_AR="$AR" # Let the user override the test.
5586 else
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH
5590 IFS=$as_save_IFS
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5594 ac_cv_prog_AR="${ac_tool_prefix}ar"
5595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 break 2
5598 done
5599 done
5600 IFS=$as_save_IFS
5604 AR=$ac_cv_prog_AR
5605 if test -n "$AR"; then
5606 { echo "$as_me:$LINENO: result: $AR" >&5
5607 echo "${ECHO_T}$AR" >&6; }
5608 else
5609 { echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6; }
5615 if test -z "$ac_cv_prog_AR"; then
5616 ac_ct_AR=$AR
5617 # Extract the first word of "ar", so it can be a program name with args.
5618 set dummy ar; ac_word=$2
5619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5621 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5623 else
5624 if test -n "$ac_ct_AR"; then
5625 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_prog_ac_ct_AR="ar"
5635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5638 done
5639 done
5640 IFS=$as_save_IFS
5644 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5645 if test -n "$ac_ct_AR"; then
5646 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5647 echo "${ECHO_T}$ac_ct_AR" >&6; }
5648 else
5649 { echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6; }
5653 if test "x$ac_ct_AR" = x; then
5654 AR="ar"
5655 else
5656 case $cross_compiling:$ac_tool_warned in
5657 yes:)
5658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5659 whose name does not start with the host triplet. If you think this
5660 configuration is useful to you, please write to autoconf@gnu.org." >&5
5661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5662 whose name does not start with the host triplet. If you think this
5663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5664 ac_tool_warned=yes ;;
5665 esac
5666 AR=$ac_ct_AR
5668 else
5669 AR="$ac_cv_prog_AR"
5672 if test -n "$ac_tool_prefix"; then
5673 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5674 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5677 if test "${ac_cv_prog_RANLIB+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 else
5680 if test -n "$RANLIB"; then
5681 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5694 done
5695 done
5696 IFS=$as_save_IFS
5700 RANLIB=$ac_cv_prog_RANLIB
5701 if test -n "$RANLIB"; then
5702 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5703 echo "${ECHO_T}$RANLIB" >&6; }
5704 else
5705 { echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6; }
5711 if test -z "$ac_cv_prog_RANLIB"; then
5712 ac_ct_RANLIB=$RANLIB
5713 # Extract the first word of "ranlib", so it can be a program name with args.
5714 set dummy ranlib; 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_ac_ct_RANLIB+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 else
5720 if test -n "$ac_ct_RANLIB"; then
5721 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
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 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5741 if test -n "$ac_ct_RANLIB"; then
5742 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5743 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5744 else
5745 { echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6; }
5749 if test "x$ac_ct_RANLIB" = x; then
5750 RANLIB=":"
5751 else
5752 case $cross_compiling:$ac_tool_warned in
5753 yes:)
5754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5755 whose name does not start with the host triplet. If you think this
5756 configuration is useful to you, please write to autoconf@gnu.org." >&5
5757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5758 whose name does not start with the host triplet. If you think this
5759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5760 ac_tool_warned=yes ;;
5761 esac
5762 RANLIB=$ac_ct_RANLIB
5764 else
5765 RANLIB="$ac_cv_prog_RANLIB"
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}strip; ac_word=$2
5771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5773 if test "${ac_cv_prog_STRIP+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5775 else
5776 if test -n "$STRIP"; then
5777 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 STRIP=$ac_cv_prog_STRIP
5797 if test -n "$STRIP"; then
5798 { echo "$as_me:$LINENO: result: $STRIP" >&5
5799 echo "${ECHO_T}$STRIP" >&6; }
5800 else
5801 { echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6; }
5807 if test -z "$ac_cv_prog_STRIP"; then
5808 ac_ct_STRIP=$STRIP
5809 # Extract the first word of "strip", so it can be a program name with args.
5810 set dummy strip; ac_word=$2
5811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 else
5816 if test -n "$ac_ct_STRIP"; then
5817 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_ac_ct_STRIP="strip"
5827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5837 if test -n "$ac_ct_STRIP"; then
5838 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5839 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5840 else
5841 { echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6; }
5845 if test "x$ac_ct_STRIP" = x; then
5846 STRIP="strip"
5847 else
5848 case $cross_compiling:$ac_tool_warned in
5849 yes:)
5850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5851 whose name does not start with the host triplet. If you think this
5852 configuration is useful to you, please write to autoconf@gnu.org." >&5
5853 echo "$as_me: 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." >&2;}
5856 ac_tool_warned=yes ;;
5857 esac
5858 STRIP=$ac_ct_STRIP
5860 else
5861 STRIP="$ac_cv_prog_STRIP"
5864 if test -n "$ac_tool_prefix"; then
5865 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5866 set dummy ${ac_tool_prefix}windres; ac_word=$2
5867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5869 if test "${ac_cv_prog_WINDRES+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 else
5872 if test -n "$WINDRES"; then
5873 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5882 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 WINDRES=$ac_cv_prog_WINDRES
5893 if test -n "$WINDRES"; then
5894 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5895 echo "${ECHO_T}$WINDRES" >&6; }
5896 else
5897 { echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6; }
5903 if test -z "$ac_cv_prog_WINDRES"; then
5904 ac_ct_WINDRES=$WINDRES
5905 # Extract the first word of "windres", so it can be a program name with args.
5906 set dummy windres; ac_word=$2
5907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5909 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 else
5912 if test -n "$ac_ct_WINDRES"; then
5913 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5922 ac_cv_prog_ac_ct_WINDRES="windres"
5923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5933 if test -n "$ac_ct_WINDRES"; then
5934 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5935 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5936 else
5937 { echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6; }
5941 if test "x$ac_ct_WINDRES" = x; then
5942 WINDRES="false"
5943 else
5944 case $cross_compiling:$ac_tool_warned in
5945 yes:)
5946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5947 whose name does not start with the host triplet. If you think this
5948 configuration is useful to you, please write to autoconf@gnu.org." >&5
5949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5950 whose name does not start with the host triplet. If you think this
5951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5952 ac_tool_warned=yes ;;
5953 esac
5954 WINDRES=$ac_ct_WINDRES
5956 else
5957 WINDRES="$ac_cv_prog_WINDRES"
5960 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5961 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5962 LN_S=$as_ln_s
5963 if test "$LN_S" = "ln -s"; then
5964 { echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6; }
5966 else
5967 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5968 echo "${ECHO_T}no, using $LN_S" >&6; }
5971 { echo "$as_me:$LINENO: checking whether ln works" >&5
5972 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5973 rm -f conf$$ conf$$.file
5974 echo >conf$$.file
5975 if ln conf$$.file conf$$ 2>/dev/null; then
5976 LN=ln
5978 { echo "$as_me:$LINENO: result: yes" >&5
5979 echo "${ECHO_T}yes" >&6; }
5980 else
5981 LN="cp -p"
5983 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5984 echo "${ECHO_T}no, using $LN" >&6; }
5986 rm -f conf$$ conf$$.file
5987 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5988 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5989 if test "${ac_cv_path_GREP+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 else
5992 # Extract the first word of "grep ggrep" to use in msg output
5993 if test -z "$GREP"; then
5994 set dummy grep ggrep; ac_prog_name=$2
5995 if test "${ac_cv_path_GREP+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 else
5998 ac_path_GREP_found=false
5999 # Loop through the user's path and test for each of PROGNAME-LIST
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6003 IFS=$as_save_IFS
6004 test -z "$as_dir" && as_dir=.
6005 for ac_prog in grep ggrep; do
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6008 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6009 # Check for GNU ac_path_GREP and select it if it is found.
6010 # Check for GNU $ac_path_GREP
6011 case `"$ac_path_GREP" --version 2>&1` in
6012 *GNU*)
6013 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6015 ac_count=0
6016 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6017 while :
6019 cat "conftest.in" "conftest.in" >"conftest.tmp"
6020 mv "conftest.tmp" "conftest.in"
6021 cp "conftest.in" "conftest.nl"
6022 echo 'GREP' >> "conftest.nl"
6023 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6024 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6025 ac_count=`expr $ac_count + 1`
6026 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6027 # Best one so far, save it but keep looking for a better one
6028 ac_cv_path_GREP="$ac_path_GREP"
6029 ac_path_GREP_max=$ac_count
6031 # 10*(2^10) chars as input seems more than enough
6032 test $ac_count -gt 10 && break
6033 done
6034 rm -f conftest.*;;
6035 esac
6038 $ac_path_GREP_found && break 3
6039 done
6040 done
6042 done
6043 IFS=$as_save_IFS
6048 GREP="$ac_cv_path_GREP"
6049 if test -z "$GREP"; then
6050 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6051 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6052 { (exit 1); exit 1; }; }
6055 else
6056 ac_cv_path_GREP=$GREP
6061 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6062 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6063 GREP="$ac_cv_path_GREP"
6066 { echo "$as_me:$LINENO: checking for egrep" >&5
6067 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6068 if test "${ac_cv_path_EGREP+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 else
6071 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6072 then ac_cv_path_EGREP="$GREP -E"
6073 else
6074 # Extract the first word of "egrep" to use in msg output
6075 if test -z "$EGREP"; then
6076 set dummy egrep; ac_prog_name=$2
6077 if test "${ac_cv_path_EGREP+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 else
6080 ac_path_EGREP_found=false
6081 # Loop through the user's path and test for each of PROGNAME-LIST
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_prog in egrep; do
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6090 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6091 # Check for GNU ac_path_EGREP and select it if it is found.
6092 # Check for GNU $ac_path_EGREP
6093 case `"$ac_path_EGREP" --version 2>&1` in
6094 *GNU*)
6095 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6097 ac_count=0
6098 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6099 while :
6101 cat "conftest.in" "conftest.in" >"conftest.tmp"
6102 mv "conftest.tmp" "conftest.in"
6103 cp "conftest.in" "conftest.nl"
6104 echo 'EGREP' >> "conftest.nl"
6105 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6106 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6107 ac_count=`expr $ac_count + 1`
6108 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6109 # Best one so far, save it but keep looking for a better one
6110 ac_cv_path_EGREP="$ac_path_EGREP"
6111 ac_path_EGREP_max=$ac_count
6113 # 10*(2^10) chars as input seems more than enough
6114 test $ac_count -gt 10 && break
6115 done
6116 rm -f conftest.*;;
6117 esac
6120 $ac_path_EGREP_found && break 3
6121 done
6122 done
6124 done
6125 IFS=$as_save_IFS
6130 EGREP="$ac_cv_path_EGREP"
6131 if test -z "$EGREP"; then
6132 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6133 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6134 { (exit 1); exit 1; }; }
6137 else
6138 ac_cv_path_EGREP=$EGREP
6144 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6145 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6146 EGREP="$ac_cv_path_EGREP"
6149 # Extract the first word of "ldconfig", so it can be a program name with args.
6150 set dummy ldconfig; ac_word=$2
6151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6153 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 else
6156 case $LDCONFIG in
6157 [\\/]* | ?:[\\/]*)
6158 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in /sbin /usr/sbin $PATH
6164 IFS=$as_save_IFS
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6168 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 break 2
6172 done
6173 done
6174 IFS=$as_save_IFS
6176 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6178 esac
6180 LDCONFIG=$ac_cv_path_LDCONFIG
6181 if test -n "$LDCONFIG"; then
6182 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6183 echo "${ECHO_T}$LDCONFIG" >&6; }
6184 else
6185 { echo "$as_me:$LINENO: result: no" >&5
6186 echo "${ECHO_T}no" >&6; }
6190 # Find a good install program. We prefer a C program (faster),
6191 # so one script is as good as another. But avoid the broken or
6192 # incompatible versions:
6193 # SysV /etc/install, /usr/sbin/install
6194 # SunOS /usr/etc/install
6195 # IRIX /sbin/install
6196 # AIX /bin/install
6197 # AmigaOS /C/install, which installs bootblocks on floppy discs
6198 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6199 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6200 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6201 # OS/2's system install, which has a completely different semantic
6202 # ./install, which can be erroneously created by make from ./install.sh.
6203 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6204 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6205 if test -z "$INSTALL"; then
6206 if test "${ac_cv_path_install+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 # Account for people who put trailing slashes in PATH elements.
6215 case $as_dir/ in
6216 ./ | .// | /cC/* | \
6217 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6218 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6219 /usr/ucb/* ) ;;
6221 # OSF1 and SCO ODT 3.0 have their own names for install.
6222 # Don't use installbsd from OSF since it installs stuff as root
6223 # by default.
6224 for ac_prog in ginstall scoinst install; do
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6227 if test $ac_prog = install &&
6228 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6229 # AIX install. It has an incompatible calling convention.
6231 elif test $ac_prog = install &&
6232 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6233 # program-specific install script used by HP pwplus--don't use.
6235 else
6236 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6237 break 3
6240 done
6241 done
6243 esac
6244 done
6245 IFS=$as_save_IFS
6249 if test "${ac_cv_path_install+set}" = set; then
6250 INSTALL=$ac_cv_path_install
6251 else
6252 # As a last resort, use the slow shell script. Don't cache a
6253 # value for INSTALL within a source directory, because that will
6254 # break other packages using the cache if that directory is
6255 # removed, or if the value is a relative name.
6256 INSTALL=$ac_install_sh
6259 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6260 echo "${ECHO_T}$INSTALL" >&6; }
6262 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6263 # It thinks the first close brace ends the variable substitution.
6264 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6266 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6268 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6270 case "$INSTALL" in
6271 [\\/$]* | ?:[\\/]* ) ;;
6272 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6273 esac
6275 for ac_prog in lclint lint
6277 # Extract the first word of "$ac_prog", so it can be a program name with args.
6278 set dummy $ac_prog; ac_word=$2
6279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6281 if test "${ac_cv_prog_LINT+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6283 else
6284 if test -n "$LINT"; then
6285 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_LINT="$ac_prog"
6295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6304 LINT=$ac_cv_prog_LINT
6305 if test -n "$LINT"; then
6306 { echo "$as_me:$LINENO: result: $LINT" >&5
6307 echo "${ECHO_T}$LINT" >&6; }
6308 else
6309 { echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6; }
6314 test -n "$LINT" && break
6315 done
6317 if test "$LINT" = "lint"
6318 then
6319 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6324 for ac_prog in fontforge
6326 # Extract the first word of "$ac_prog", so it can be a program name with args.
6327 set dummy $ac_prog; ac_word=$2
6328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6330 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 else
6333 if test -n "$FONTFORGE"; then
6334 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6335 else
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6339 IFS=$as_save_IFS
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_FONTFORGE="$ac_prog"
6344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 break 2
6347 done
6348 done
6349 IFS=$as_save_IFS
6353 FONTFORGE=$ac_cv_prog_FONTFORGE
6354 if test -n "$FONTFORGE"; then
6355 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6356 echo "${ECHO_T}$FONTFORGE" >&6; }
6357 else
6358 { echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6; }
6363 test -n "$FONTFORGE" && break
6364 done
6365 test -n "$FONTFORGE" || FONTFORGE="false"
6367 for ac_prog in pkg-config
6369 # Extract the first word of "$ac_prog", so it can be a program name with args.
6370 set dummy $ac_prog; ac_word=$2
6371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6373 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 else
6376 if test -n "$PKG_CONFIG"; then
6377 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6378 else
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH
6382 IFS=$as_save_IFS
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_PKG_CONFIG="$ac_prog"
6387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 break 2
6390 done
6391 done
6392 IFS=$as_save_IFS
6396 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6397 if test -n "$PKG_CONFIG"; then
6398 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6399 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6400 else
6401 { echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6; }
6406 test -n "$PKG_CONFIG" && break
6407 done
6408 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6411 case $host_cpu in
6412 *i[3456789]86*)
6413 for ac_prog in prelink
6415 # Extract the first word of "$ac_prog", so it can be a program name with args.
6416 set dummy $ac_prog; ac_word=$2
6417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6419 if test "${ac_cv_prog_PRELINK+set}" = set; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6421 else
6422 if test -n "$PRELINK"; then
6423 ac_cv_prog_PRELINK="$PRELINK" # Let the user override the test.
6424 else
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in /sbin /usr/sbin $PATH
6428 IFS=$as_save_IFS
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_PRELINK="$ac_prog"
6433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6434 break 2
6436 done
6437 done
6438 IFS=$as_save_IFS
6442 PRELINK=$ac_cv_prog_PRELINK
6443 if test -n "$PRELINK"; then
6444 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6445 echo "${ECHO_T}$PRELINK" >&6; }
6446 else
6447 { echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6; }
6452 test -n "$PRELINK" && break
6453 done
6454 test -n "$PRELINK" || PRELINK="false"
6457 esac
6461 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6462 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6463 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 else
6466 ac_check_lib_save_LIBS=$LIBS
6467 LIBS="-li386 $LIBS"
6468 cat >conftest.$ac_ext <<_ACEOF
6469 /* confdefs.h. */
6470 _ACEOF
6471 cat confdefs.h >>conftest.$ac_ext
6472 cat >>conftest.$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6475 /* Override any GCC internal prototype to avoid an error.
6476 Use char because int might match the return type of a GCC
6477 builtin and then its argument prototype would still apply. */
6478 #ifdef __cplusplus
6479 extern "C"
6480 #endif
6481 char i386_set_ldt ();
6483 main ()
6485 return i386_set_ldt ();
6487 return 0;
6489 _ACEOF
6490 rm -f conftest.$ac_objext conftest$ac_exeext
6491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6492 (eval $ac_link) 2>conftest.er1
6493 ac_status=$?
6494 grep -v '^ *+' conftest.er1 >conftest.err
6495 rm -f conftest.er1
6496 cat conftest.err >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } &&
6499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6501 (eval $ac_try) 2>&5
6502 ac_status=$?
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); }; } &&
6505 { ac_try='test -s conftest$ac_exeext'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 (eval $ac_try) 2>&5
6508 ac_status=$?
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; }; then
6511 ac_cv_lib_i386_i386_set_ldt=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_lib_i386_i386_set_ldt=no
6519 rm -f conftest.err conftest.$ac_objext \
6520 conftest$ac_exeext conftest.$ac_ext
6521 LIBS=$ac_check_lib_save_LIBS
6523 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6524 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6525 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6526 cat >>confdefs.h <<_ACEOF
6527 #define HAVE_LIBI386 1
6528 _ACEOF
6530 LIBS="-li386 $LIBS"
6535 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6536 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6537 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 else
6540 ac_check_lib_save_LIBS=$LIBS
6541 LIBS="-lossaudio $LIBS"
6542 cat >conftest.$ac_ext <<_ACEOF
6543 /* confdefs.h. */
6544 _ACEOF
6545 cat confdefs.h >>conftest.$ac_ext
6546 cat >>conftest.$ac_ext <<_ACEOF
6547 /* end confdefs.h. */
6549 /* Override any GCC internal prototype to avoid an error.
6550 Use char because int might match the return type of a GCC
6551 builtin and then its argument prototype would still apply. */
6552 #ifdef __cplusplus
6553 extern "C"
6554 #endif
6555 char _oss_ioctl ();
6557 main ()
6559 return _oss_ioctl ();
6561 return 0;
6563 _ACEOF
6564 rm -f conftest.$ac_objext conftest$ac_exeext
6565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6566 (eval $ac_link) 2>conftest.er1
6567 ac_status=$?
6568 grep -v '^ *+' conftest.er1 >conftest.err
6569 rm -f conftest.er1
6570 cat conftest.err >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } &&
6573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 (eval $ac_try) 2>&5
6576 ac_status=$?
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; } &&
6579 { ac_try='test -s conftest$ac_exeext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6581 (eval $ac_try) 2>&5
6582 ac_status=$?
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6585 ac_cv_lib_ossaudio__oss_ioctl=yes
6586 else
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.$ac_ext >&5
6590 ac_cv_lib_ossaudio__oss_ioctl=no
6593 rm -f conftest.err conftest.$ac_objext \
6594 conftest$ac_exeext conftest.$ac_ext
6595 LIBS=$ac_check_lib_save_LIBS
6597 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6598 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6599 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6600 cat >>confdefs.h <<_ACEOF
6601 #define HAVE_LIBOSSAUDIO 1
6602 _ACEOF
6604 LIBS="-lossaudio $LIBS"
6609 for ac_func in gethostbyname
6611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 else
6617 cat >conftest.$ac_ext <<_ACEOF
6618 /* confdefs.h. */
6619 _ACEOF
6620 cat confdefs.h >>conftest.$ac_ext
6621 cat >>conftest.$ac_ext <<_ACEOF
6622 /* end confdefs.h. */
6623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6625 #define $ac_func innocuous_$ac_func
6627 /* System header to define __stub macros and hopefully few prototypes,
6628 which can conflict with char $ac_func (); below.
6629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6630 <limits.h> exists even on freestanding compilers. */
6632 #ifdef __STDC__
6633 # include <limits.h>
6634 #else
6635 # include <assert.h>
6636 #endif
6638 #undef $ac_func
6640 /* Override any GCC internal prototype to avoid an error.
6641 Use char because int might match the return type of a GCC
6642 builtin and then its argument prototype would still apply. */
6643 #ifdef __cplusplus
6644 extern "C"
6645 #endif
6646 char $ac_func ();
6647 /* The GNU C library defines this for functions which it implements
6648 to always fail with ENOSYS. Some functions are actually named
6649 something starting with __ and the normal name is an alias. */
6650 #if defined __stub_$ac_func || defined __stub___$ac_func
6651 choke me
6652 #endif
6655 main ()
6657 return $ac_func ();
6659 return 0;
6661 _ACEOF
6662 rm -f conftest.$ac_objext conftest$ac_exeext
6663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6664 (eval $ac_link) 2>conftest.er1
6665 ac_status=$?
6666 grep -v '^ *+' conftest.er1 >conftest.err
6667 rm -f conftest.er1
6668 cat conftest.err >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } &&
6671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6673 (eval $ac_try) 2>&5
6674 ac_status=$?
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); }; } &&
6677 { ac_try='test -s conftest$ac_exeext'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 (eval $ac_try) 2>&5
6680 ac_status=$?
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; }; then
6683 eval "$as_ac_var=yes"
6684 else
6685 echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.$ac_ext >&5
6688 eval "$as_ac_var=no"
6691 rm -f conftest.err conftest.$ac_objext \
6692 conftest$ac_exeext conftest.$ac_ext
6694 ac_res=`eval echo '${'$as_ac_var'}'`
6695 { echo "$as_me:$LINENO: result: $ac_res" >&5
6696 echo "${ECHO_T}$ac_res" >&6; }
6697 if test `eval echo '${'$as_ac_var'}'` = yes; then
6698 cat >>confdefs.h <<_ACEOF
6699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6700 _ACEOF
6702 else
6704 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6705 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6706 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 else
6709 ac_check_lib_save_LIBS=$LIBS
6710 LIBS="-lnsl $LIBS"
6711 cat >conftest.$ac_ext <<_ACEOF
6712 /* confdefs.h. */
6713 _ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6718 /* Override any GCC internal prototype to avoid an error.
6719 Use char because int might match the return type of a GCC
6720 builtin and then its argument prototype would still apply. */
6721 #ifdef __cplusplus
6722 extern "C"
6723 #endif
6724 char gethostbyname ();
6726 main ()
6728 return gethostbyname ();
6730 return 0;
6732 _ACEOF
6733 rm -f conftest.$ac_objext conftest$ac_exeext
6734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6735 (eval $ac_link) 2>conftest.er1
6736 ac_status=$?
6737 grep -v '^ *+' conftest.er1 >conftest.err
6738 rm -f conftest.er1
6739 cat conftest.err >&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); } &&
6742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744 (eval $ac_try) 2>&5
6745 ac_status=$?
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); }; } &&
6748 { ac_try='test -s conftest$ac_exeext'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 (eval $ac_try) 2>&5
6751 ac_status=$?
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; }; then
6754 ac_cv_lib_nsl_gethostbyname=yes
6755 else
6756 echo "$as_me: failed program was:" >&5
6757 sed 's/^/| /' conftest.$ac_ext >&5
6759 ac_cv_lib_nsl_gethostbyname=no
6762 rm -f conftest.err conftest.$ac_objext \
6763 conftest$ac_exeext conftest.$ac_ext
6764 LIBS=$ac_check_lib_save_LIBS
6766 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6767 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6768 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6769 cat >>confdefs.h <<_ACEOF
6770 #define HAVE_LIBNSL 1
6771 _ACEOF
6773 LIBS="-lnsl $LIBS"
6778 done
6781 for ac_func in connect
6783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6787 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 else
6789 cat >conftest.$ac_ext <<_ACEOF
6790 /* confdefs.h. */
6791 _ACEOF
6792 cat confdefs.h >>conftest.$ac_ext
6793 cat >>conftest.$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6797 #define $ac_func innocuous_$ac_func
6799 /* System header to define __stub macros and hopefully few prototypes,
6800 which can conflict with char $ac_func (); below.
6801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6802 <limits.h> exists even on freestanding compilers. */
6804 #ifdef __STDC__
6805 # include <limits.h>
6806 #else
6807 # include <assert.h>
6808 #endif
6810 #undef $ac_func
6812 /* Override any GCC internal prototype to avoid an error.
6813 Use char because int might match the return type of a GCC
6814 builtin and then its argument prototype would still apply. */
6815 #ifdef __cplusplus
6816 extern "C"
6817 #endif
6818 char $ac_func ();
6819 /* The GNU C library defines this for functions which it implements
6820 to always fail with ENOSYS. Some functions are actually named
6821 something starting with __ and the normal name is an alias. */
6822 #if defined __stub_$ac_func || defined __stub___$ac_func
6823 choke me
6824 #endif
6827 main ()
6829 return $ac_func ();
6831 return 0;
6833 _ACEOF
6834 rm -f conftest.$ac_objext conftest$ac_exeext
6835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6836 (eval $ac_link) 2>conftest.er1
6837 ac_status=$?
6838 grep -v '^ *+' conftest.er1 >conftest.err
6839 rm -f conftest.er1
6840 cat conftest.err >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } &&
6843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6845 (eval $ac_try) 2>&5
6846 ac_status=$?
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try='test -s conftest$ac_exeext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851 (eval $ac_try) 2>&5
6852 ac_status=$?
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 eval "$as_ac_var=yes"
6856 else
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.$ac_ext >&5
6860 eval "$as_ac_var=no"
6863 rm -f conftest.err conftest.$ac_objext \
6864 conftest$ac_exeext conftest.$ac_ext
6866 ac_res=`eval echo '${'$as_ac_var'}'`
6867 { echo "$as_me:$LINENO: result: $ac_res" >&5
6868 echo "${ECHO_T}$ac_res" >&6; }
6869 if test `eval echo '${'$as_ac_var'}'` = yes; then
6870 cat >>confdefs.h <<_ACEOF
6871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6872 _ACEOF
6874 else
6876 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6877 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
6878 if test "${ac_cv_lib_socket_connect+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6880 else
6881 ac_check_lib_save_LIBS=$LIBS
6882 LIBS="-lsocket $LIBS"
6883 cat >conftest.$ac_ext <<_ACEOF
6884 /* confdefs.h. */
6885 _ACEOF
6886 cat confdefs.h >>conftest.$ac_ext
6887 cat >>conftest.$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6890 /* Override any GCC internal prototype to avoid an error.
6891 Use char because int might match the return type of a GCC
6892 builtin and then its argument prototype would still apply. */
6893 #ifdef __cplusplus
6894 extern "C"
6895 #endif
6896 char connect ();
6898 main ()
6900 return connect ();
6902 return 0;
6904 _ACEOF
6905 rm -f conftest.$ac_objext conftest$ac_exeext
6906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6907 (eval $ac_link) 2>conftest.er1
6908 ac_status=$?
6909 grep -v '^ *+' conftest.er1 >conftest.err
6910 rm -f conftest.er1
6911 cat conftest.err >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 (eval $ac_try) 2>&5
6917 ac_status=$?
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; } &&
6920 { ac_try='test -s conftest$ac_exeext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 (eval $ac_try) 2>&5
6923 ac_status=$?
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6926 ac_cv_lib_socket_connect=yes
6927 else
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 ac_cv_lib_socket_connect=no
6934 rm -f conftest.err conftest.$ac_objext \
6935 conftest$ac_exeext conftest.$ac_ext
6936 LIBS=$ac_check_lib_save_LIBS
6938 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6939 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
6940 if test $ac_cv_lib_socket_connect = yes; then
6941 cat >>confdefs.h <<_ACEOF
6942 #define HAVE_LIBSOCKET 1
6943 _ACEOF
6945 LIBS="-lsocket $LIBS"
6950 done
6953 for ac_func in inet_aton
6955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6960 else
6961 cat >conftest.$ac_ext <<_ACEOF
6962 /* confdefs.h. */
6963 _ACEOF
6964 cat confdefs.h >>conftest.$ac_ext
6965 cat >>conftest.$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6969 #define $ac_func innocuous_$ac_func
6971 /* System header to define __stub macros and hopefully few prototypes,
6972 which can conflict with char $ac_func (); below.
6973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974 <limits.h> exists even on freestanding compilers. */
6976 #ifdef __STDC__
6977 # include <limits.h>
6978 #else
6979 # include <assert.h>
6980 #endif
6982 #undef $ac_func
6984 /* Override any GCC internal prototype to avoid an error.
6985 Use char because int might match the return type of a GCC
6986 builtin and then its argument prototype would still apply. */
6987 #ifdef __cplusplus
6988 extern "C"
6989 #endif
6990 char $ac_func ();
6991 /* The GNU C library defines this for functions which it implements
6992 to always fail with ENOSYS. Some functions are actually named
6993 something starting with __ and the normal name is an alias. */
6994 #if defined __stub_$ac_func || defined __stub___$ac_func
6995 choke me
6996 #endif
6999 main ()
7001 return $ac_func ();
7003 return 0;
7005 _ACEOF
7006 rm -f conftest.$ac_objext conftest$ac_exeext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7008 (eval $ac_link) 2>conftest.er1
7009 ac_status=$?
7010 grep -v '^ *+' conftest.er1 >conftest.err
7011 rm -f conftest.er1
7012 cat conftest.err >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } &&
7015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 (eval $ac_try) 2>&5
7018 ac_status=$?
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); }; } &&
7021 { ac_try='test -s conftest$ac_exeext'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 (eval $ac_try) 2>&5
7024 ac_status=$?
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then
7027 eval "$as_ac_var=yes"
7028 else
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.$ac_ext >&5
7032 eval "$as_ac_var=no"
7035 rm -f conftest.err conftest.$ac_objext \
7036 conftest$ac_exeext conftest.$ac_ext
7038 ac_res=`eval echo '${'$as_ac_var'}'`
7039 { echo "$as_me:$LINENO: result: $ac_res" >&5
7040 echo "${ECHO_T}$ac_res" >&6; }
7041 if test `eval echo '${'$as_ac_var'}'` = yes; then
7042 cat >>confdefs.h <<_ACEOF
7043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7044 _ACEOF
7046 else
7048 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7049 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7050 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053 ac_check_lib_save_LIBS=$LIBS
7054 LIBS="-lresolv $LIBS"
7055 cat >conftest.$ac_ext <<_ACEOF
7056 /* confdefs.h. */
7057 _ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7062 /* Override any GCC internal prototype to avoid an error.
7063 Use char because int might match the return type of a GCC
7064 builtin and then its argument prototype would still apply. */
7065 #ifdef __cplusplus
7066 extern "C"
7067 #endif
7068 char inet_aton ();
7070 main ()
7072 return inet_aton ();
7074 return 0;
7076 _ACEOF
7077 rm -f conftest.$ac_objext conftest$ac_exeext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7079 (eval $ac_link) 2>conftest.er1
7080 ac_status=$?
7081 grep -v '^ *+' conftest.er1 >conftest.err
7082 rm -f conftest.er1
7083 cat conftest.err >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); } &&
7086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 (eval $ac_try) 2>&5
7089 ac_status=$?
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; } &&
7092 { ac_try='test -s conftest$ac_exeext'
7093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7094 (eval $ac_try) 2>&5
7095 ac_status=$?
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; }; then
7098 ac_cv_lib_resolv_inet_aton=yes
7099 else
7100 echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7103 ac_cv_lib_resolv_inet_aton=no
7106 rm -f conftest.err conftest.$ac_objext \
7107 conftest$ac_exeext conftest.$ac_ext
7108 LIBS=$ac_check_lib_save_LIBS
7110 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7111 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7112 if test $ac_cv_lib_resolv_inet_aton = yes; then
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_LIBRESOLV 1
7115 _ACEOF
7117 LIBS="-lresolv $LIBS"
7122 done
7125 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7126 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7127 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 else
7130 ac_check_lib_save_LIBS=$LIBS
7131 LIBS="-lxpg4 $LIBS"
7132 cat >conftest.$ac_ext <<_ACEOF
7133 /* confdefs.h. */
7134 _ACEOF
7135 cat confdefs.h >>conftest.$ac_ext
7136 cat >>conftest.$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7139 /* Override any GCC internal prototype to avoid an error.
7140 Use char because int might match the return type of a GCC
7141 builtin and then its argument prototype would still apply. */
7142 #ifdef __cplusplus
7143 extern "C"
7144 #endif
7145 char _xpg4_setrunelocale ();
7147 main ()
7149 return _xpg4_setrunelocale ();
7151 return 0;
7153 _ACEOF
7154 rm -f conftest.$ac_objext conftest$ac_exeext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7156 (eval $ac_link) 2>conftest.er1
7157 ac_status=$?
7158 grep -v '^ *+' conftest.er1 >conftest.err
7159 rm -f conftest.er1
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7165 (eval $ac_try) 2>&5
7166 ac_status=$?
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); }; } &&
7169 { ac_try='test -s conftest$ac_exeext'
7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 (eval $ac_try) 2>&5
7172 ac_status=$?
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; }; then
7175 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7176 else
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.$ac_ext >&5
7180 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7183 rm -f conftest.err conftest.$ac_objext \
7184 conftest$ac_exeext conftest.$ac_ext
7185 LIBS=$ac_check_lib_save_LIBS
7187 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7188 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7189 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7190 cat >>confdefs.h <<_ACEOF
7191 #define HAVE_LIBXPG4 1
7192 _ACEOF
7194 LIBS="-lxpg4 $LIBS"
7199 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7200 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7201 if test "${ac_cv_lib_poll_poll+set}" = set; then
7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 else
7204 ac_check_lib_save_LIBS=$LIBS
7205 LIBS="-lpoll $LIBS"
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. */
7213 /* Override any GCC internal prototype to avoid an error.
7214 Use char because int might match the return type of a GCC
7215 builtin and then its argument prototype would still apply. */
7216 #ifdef __cplusplus
7217 extern "C"
7218 #endif
7219 char poll ();
7221 main ()
7223 return poll ();
7225 return 0;
7227 _ACEOF
7228 rm -f conftest.$ac_objext conftest$ac_exeext
7229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7230 (eval $ac_link) 2>conftest.er1
7231 ac_status=$?
7232 grep -v '^ *+' conftest.er1 >conftest.err
7233 rm -f conftest.er1
7234 cat conftest.err >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } &&
7237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7239 (eval $ac_try) 2>&5
7240 ac_status=$?
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); }; } &&
7243 { ac_try='test -s conftest$ac_exeext'
7244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 (eval $ac_try) 2>&5
7246 ac_status=$?
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 ac_cv_lib_poll_poll=yes
7250 else
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 ac_cv_lib_poll_poll=no
7257 rm -f conftest.err conftest.$ac_objext \
7258 conftest$ac_exeext conftest.$ac_ext
7259 LIBS=$ac_check_lib_save_LIBS
7261 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7262 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7263 if test $ac_cv_lib_poll_poll = yes; then
7264 cat >>confdefs.h <<_ACEOF
7265 #define HAVE_LIBPOLL 1
7266 _ACEOF
7268 LIBS="-lpoll $LIBS"
7273 { echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
7274 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6; }
7275 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 else
7278 ac_check_lib_save_LIBS=$LIBS
7279 LIBS="-lresolv $LIBS"
7280 cat >conftest.$ac_ext <<_ACEOF
7281 /* confdefs.h. */
7282 _ACEOF
7283 cat confdefs.h >>conftest.$ac_ext
7284 cat >>conftest.$ac_ext <<_ACEOF
7285 /* end confdefs.h. */
7287 /* Override any GCC internal prototype to avoid an error.
7288 Use char because int might match the return type of a GCC
7289 builtin and then its argument prototype would still apply. */
7290 #ifdef __cplusplus
7291 extern "C"
7292 #endif
7293 char res_9_init ();
7295 main ()
7297 return res_9_init ();
7299 return 0;
7301 _ACEOF
7302 rm -f conftest.$ac_objext conftest$ac_exeext
7303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7304 (eval $ac_link) 2>conftest.er1
7305 ac_status=$?
7306 grep -v '^ *+' conftest.er1 >conftest.err
7307 rm -f conftest.er1
7308 cat conftest.err >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); } &&
7311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7313 (eval $ac_try) 2>&5
7314 ac_status=$?
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; } &&
7317 { ac_try='test -s conftest$ac_exeext'
7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 (eval $ac_try) 2>&5
7320 ac_status=$?
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; }; then
7323 ac_cv_lib_resolv_res_9_init=yes
7324 else
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 ac_cv_lib_resolv_res_9_init=no
7331 rm -f conftest.err conftest.$ac_objext \
7332 conftest$ac_exeext conftest.$ac_ext
7333 LIBS=$ac_check_lib_save_LIBS
7335 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
7336 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6; }
7337 if test $ac_cv_lib_resolv_res_9_init = yes; then
7338 cat >>confdefs.h <<_ACEOF
7339 #define HAVE_LIBRESOLV 1
7340 _ACEOF
7342 LIBS="-lresolv $LIBS"
7346 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7347 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7348 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7350 else
7351 ac_check_lib_save_LIBS=$LIBS
7352 LIBS="-lpthread $LIBS"
7353 cat >conftest.$ac_ext <<_ACEOF
7354 /* confdefs.h. */
7355 _ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7360 /* Override any GCC internal prototype to avoid an error.
7361 Use char because int might match the return type of a GCC
7362 builtin and then its argument prototype would still apply. */
7363 #ifdef __cplusplus
7364 extern "C"
7365 #endif
7366 char pthread_create ();
7368 main ()
7370 return pthread_create ();
7372 return 0;
7374 _ACEOF
7375 rm -f conftest.$ac_objext conftest$ac_exeext
7376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7377 (eval $ac_link) 2>conftest.er1
7378 ac_status=$?
7379 grep -v '^ *+' conftest.er1 >conftest.err
7380 rm -f conftest.er1
7381 cat conftest.err >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); } &&
7384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 (eval $ac_try) 2>&5
7387 ac_status=$?
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; } &&
7390 { ac_try='test -s conftest$ac_exeext'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 (eval $ac_try) 2>&5
7393 ac_status=$?
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }; then
7396 ac_cv_lib_pthread_pthread_create=yes
7397 else
7398 echo "$as_me: failed program was:" >&5
7399 sed 's/^/| /' conftest.$ac_ext >&5
7401 ac_cv_lib_pthread_pthread_create=no
7404 rm -f conftest.err conftest.$ac_objext \
7405 conftest$ac_exeext conftest.$ac_ext
7406 LIBS=$ac_check_lib_save_LIBS
7408 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7409 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7410 if test $ac_cv_lib_pthread_pthread_create = yes; then
7411 LIBPTHREAD="-lpthread"
7416 XLIB=""
7418 XFILES=""
7420 OPENGLFILES=""
7422 GLU32FILES=""
7424 OPENGL_LIBS=""
7428 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7429 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7430 if test "${ac_cv_header_stdc+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 else
7433 cat >conftest.$ac_ext <<_ACEOF
7434 /* confdefs.h. */
7435 _ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <stdlib.h>
7440 #include <stdarg.h>
7441 #include <string.h>
7442 #include <float.h>
7445 main ()
7449 return 0;
7451 _ACEOF
7452 rm -f conftest.$ac_objext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>conftest.er1
7455 ac_status=$?
7456 grep -v '^ *+' conftest.er1 >conftest.err
7457 rm -f conftest.er1
7458 cat conftest.err >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } &&
7461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 (eval $ac_try) 2>&5
7464 ac_status=$?
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); }; } &&
7467 { ac_try='test -s conftest.$ac_objext'
7468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7469 (eval $ac_try) 2>&5
7470 ac_status=$?
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); }; }; then
7473 ac_cv_header_stdc=yes
7474 else
7475 echo "$as_me: failed program was:" >&5
7476 sed 's/^/| /' conftest.$ac_ext >&5
7478 ac_cv_header_stdc=no
7481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7483 if test $ac_cv_header_stdc = yes; then
7484 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7485 cat >conftest.$ac_ext <<_ACEOF
7486 /* confdefs.h. */
7487 _ACEOF
7488 cat confdefs.h >>conftest.$ac_ext
7489 cat >>conftest.$ac_ext <<_ACEOF
7490 /* end confdefs.h. */
7491 #include <string.h>
7493 _ACEOF
7494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7495 $EGREP "memchr" >/dev/null 2>&1; then
7497 else
7498 ac_cv_header_stdc=no
7500 rm -f conftest*
7504 if test $ac_cv_header_stdc = yes; then
7505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7506 cat >conftest.$ac_ext <<_ACEOF
7507 /* confdefs.h. */
7508 _ACEOF
7509 cat confdefs.h >>conftest.$ac_ext
7510 cat >>conftest.$ac_ext <<_ACEOF
7511 /* end confdefs.h. */
7512 #include <stdlib.h>
7514 _ACEOF
7515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7516 $EGREP "free" >/dev/null 2>&1; then
7518 else
7519 ac_cv_header_stdc=no
7521 rm -f conftest*
7525 if test $ac_cv_header_stdc = yes; then
7526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7527 if test "$cross_compiling" = yes; then
7529 else
7530 cat >conftest.$ac_ext <<_ACEOF
7531 /* confdefs.h. */
7532 _ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 #include <ctype.h>
7537 #include <stdlib.h>
7538 #if ((' ' & 0x0FF) == 0x020)
7539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7541 #else
7542 # define ISLOWER(c) \
7543 (('a' <= (c) && (c) <= 'i') \
7544 || ('j' <= (c) && (c) <= 'r') \
7545 || ('s' <= (c) && (c) <= 'z'))
7546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7547 #endif
7549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7551 main ()
7553 int i;
7554 for (i = 0; i < 256; i++)
7555 if (XOR (islower (i), ISLOWER (i))
7556 || toupper (i) != TOUPPER (i))
7557 return 2;
7558 return 0;
7560 _ACEOF
7561 rm -f conftest$ac_exeext
7562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7563 (eval $ac_link) 2>&5
7564 ac_status=$?
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 (eval $ac_try) 2>&5
7569 ac_status=$?
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then
7573 else
7574 echo "$as_me: program exited with status $ac_status" >&5
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7578 ( exit $ac_status )
7579 ac_cv_header_stdc=no
7581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7587 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7588 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7589 if test $ac_cv_header_stdc = yes; then
7591 cat >>confdefs.h <<\_ACEOF
7592 #define STDC_HEADERS 1
7593 _ACEOF
7597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7607 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7608 inttypes.h stdint.h unistd.h
7610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 else
7616 cat >conftest.$ac_ext <<_ACEOF
7617 /* confdefs.h. */
7618 _ACEOF
7619 cat confdefs.h >>conftest.$ac_ext
7620 cat >>conftest.$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7622 $ac_includes_default
7624 #include <$ac_header>
7625 _ACEOF
7626 rm -f conftest.$ac_objext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628 (eval $ac_compile) 2>conftest.er1
7629 ac_status=$?
7630 grep -v '^ *+' conftest.er1 >conftest.err
7631 rm -f conftest.er1
7632 cat conftest.err >&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 (eval $ac_try) 2>&5
7638 ac_status=$?
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 (eval $ac_try) 2>&5
7644 ac_status=$?
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7648 else
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7657 ac_res=`eval echo '${'$as_ac_Header'}'`
7658 { echo "$as_me:$LINENO: result: $ac_res" >&5
7659 echo "${ECHO_T}$ac_res" >&6; }
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h <<_ACEOF
7662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 _ACEOF
7667 done
7774 for ac_header in \
7775 IOKit/IOKitLib.h \
7776 alsa/asoundlib.h \
7777 arpa/inet.h \
7778 arpa/nameser.h \
7779 asm/types.h \
7780 capi20.h \
7781 cups/cups.h \
7782 curses.h \
7783 direct.h \
7784 dlfcn.h \
7785 elf.h \
7786 float.h \
7787 fontconfig/fontconfig.h \
7788 getopt.h \
7789 gif_lib.h \
7790 ieeefp.h \
7791 io.h \
7792 jack/jack.h \
7793 jpeglib.h \
7794 lber.h \
7795 lcms.h \
7796 lcms/lcms.h \
7797 ldap.h \
7798 libaudioio.h \
7799 link.h \
7800 linux/cdrom.h \
7801 linux/compiler.h \
7802 linux/hdreg.h \
7803 linux/input.h \
7804 linux/ioctl.h \
7805 linux/joystick.h \
7806 linux/major.h \
7807 linux/param.h \
7808 linux/serial.h \
7809 linux/ucdrom.h \
7810 mach/machine.h \
7811 machine/cpu.h \
7812 machine/limits.h \
7813 machine/soundcard.h \
7814 mntent.h \
7815 ncurses.h \
7816 netdb.h \
7817 netinet/in.h \
7818 netinet/in_systm.h \
7819 netinet/tcp.h \
7820 netinet/tcp_fsm.h \
7821 openssl/err.h \
7822 openssl/ssl.h \
7823 poll.h \
7824 process.h \
7825 pthread.h \
7826 pwd.h \
7827 regex.h \
7828 sched.h \
7829 scsi/scsi.h \
7830 scsi/scsi_ioctl.h \
7831 scsi/sg.h \
7832 soundcard.h \
7833 stdint.h \
7834 strings.h \
7835 sys/asoundlib.h \
7836 sys/cdio.h \
7837 sys/elf32.h \
7838 sys/epoll.h \
7839 sys/errno.h \
7840 sys/exec_elf.h \
7841 sys/filio.h \
7842 sys/ioctl.h \
7843 sys/ipc.h \
7844 sys/limits.h \
7845 sys/link.h \
7846 sys/lwp.h \
7847 sys/mman.h \
7848 sys/modem.h \
7849 sys/msg.h \
7850 sys/mtio.h \
7851 sys/param.h \
7852 sys/poll.h \
7853 sys/prctl.h \
7854 sys/ptrace.h \
7855 sys/reg.h \
7856 sys/resource.h \
7857 sys/scsiio.h \
7858 sys/shm.h \
7859 sys/signal.h \
7860 sys/socket.h \
7861 sys/sockio.h \
7862 sys/soundcard.h \
7863 sys/statvfs.h \
7864 sys/strtio.h \
7865 sys/syscall.h \
7866 sys/sysctl.h \
7867 sys/time.h \
7868 sys/times.h \
7869 sys/uio.h \
7870 sys/un.h \
7871 sys/vm86.h \
7872 sys/wait.h \
7873 syscall.h \
7874 termios.h \
7875 unicode/ubidi.h \
7876 unistd.h \
7877 utime.h \
7878 valgrind/memcheck.h
7881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7883 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7886 echo $ECHO_N "(cached) $ECHO_C" >&6
7888 ac_res=`eval echo '${'$as_ac_Header'}'`
7889 { echo "$as_me:$LINENO: result: $ac_res" >&5
7890 echo "${ECHO_T}$ac_res" >&6; }
7891 else
7892 # Is the header compilable?
7893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7895 cat >conftest.$ac_ext <<_ACEOF
7896 /* confdefs.h. */
7897 _ACEOF
7898 cat confdefs.h >>conftest.$ac_ext
7899 cat >>conftest.$ac_ext <<_ACEOF
7900 /* end confdefs.h. */
7901 $ac_includes_default
7902 #include <$ac_header>
7903 _ACEOF
7904 rm -f conftest.$ac_objext
7905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7906 (eval $ac_compile) 2>conftest.er1
7907 ac_status=$?
7908 grep -v '^ *+' conftest.er1 >conftest.err
7909 rm -f conftest.er1
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } &&
7913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 (eval $ac_try) 2>&5
7916 ac_status=$?
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; } &&
7919 { ac_try='test -s conftest.$ac_objext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921 (eval $ac_try) 2>&5
7922 ac_status=$?
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7925 ac_header_compiler=yes
7926 else
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.$ac_ext >&5
7930 ac_header_compiler=no
7933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7935 echo "${ECHO_T}$ac_header_compiler" >&6; }
7937 # Is the header present?
7938 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7940 cat >conftest.$ac_ext <<_ACEOF
7941 /* confdefs.h. */
7942 _ACEOF
7943 cat confdefs.h >>conftest.$ac_ext
7944 cat >>conftest.$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7946 #include <$ac_header>
7947 _ACEOF
7948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7950 ac_status=$?
7951 grep -v '^ *+' conftest.er1 >conftest.err
7952 rm -f conftest.er1
7953 cat conftest.err >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } >/dev/null; then
7956 if test -s conftest.err; then
7957 ac_cpp_err=$ac_c_preproc_warn_flag
7958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7959 else
7960 ac_cpp_err=
7962 else
7963 ac_cpp_err=yes
7965 if test -z "$ac_cpp_err"; then
7966 ac_header_preproc=yes
7967 else
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.$ac_ext >&5
7971 ac_header_preproc=no
7974 rm -f conftest.err conftest.$ac_ext
7975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7976 echo "${ECHO_T}$ac_header_preproc" >&6; }
7978 # So? What about this header?
7979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7980 yes:no: )
7981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7985 ac_header_preproc=yes
7987 no:yes:* )
7988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8000 ( cat <<\_ASBOX
8001 ## ------------------------------------ ##
8002 ## Report this to wine-devel@winehq.org ##
8003 ## ------------------------------------ ##
8004 _ASBOX
8005 ) | sed "s/^/$as_me: WARNING: /" >&2
8007 esac
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013 eval "$as_ac_Header=\$ac_header_preproc"
8015 ac_res=`eval echo '${'$as_ac_Header'}'`
8016 { echo "$as_me:$LINENO: result: $ac_res" >&5
8017 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
8029 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8030 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8031 if test "${ac_cv_header_stat_broken+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 else
8034 cat >conftest.$ac_ext <<_ACEOF
8035 /* confdefs.h. */
8036 _ACEOF
8037 cat confdefs.h >>conftest.$ac_ext
8038 cat >>conftest.$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8040 #include <sys/types.h>
8041 #include <sys/stat.h>
8043 #if defined S_ISBLK && defined S_IFDIR
8044 # if S_ISBLK (S_IFDIR)
8045 You lose.
8046 # endif
8047 #endif
8049 #if defined S_ISBLK && defined S_IFCHR
8050 # if S_ISBLK (S_IFCHR)
8051 You lose.
8052 # endif
8053 #endif
8055 #if defined S_ISLNK && defined S_IFREG
8056 # if S_ISLNK (S_IFREG)
8057 You lose.
8058 # endif
8059 #endif
8061 #if defined S_ISSOCK && defined S_IFREG
8062 # if S_ISSOCK (S_IFREG)
8063 You lose.
8064 # endif
8065 #endif
8067 _ACEOF
8068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8069 $EGREP "You lose" >/dev/null 2>&1; then
8070 ac_cv_header_stat_broken=yes
8071 else
8072 ac_cv_header_stat_broken=no
8074 rm -f conftest*
8077 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8078 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8079 if test $ac_cv_header_stat_broken = yes; then
8081 cat >>confdefs.h <<\_ACEOF
8082 #define STAT_MACROS_BROKEN 1
8083 _ACEOF
8093 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 else
8101 cat >conftest.$ac_ext <<_ACEOF
8102 /* confdefs.h. */
8103 _ACEOF
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8107 #include <sys/types.h>
8108 #if HAVE_SYS_PARAM_H
8109 # include <sys/param.h>
8110 #endif
8112 #include <$ac_header>
8113 _ACEOF
8114 rm -f conftest.$ac_objext
8115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8116 (eval $ac_compile) 2>conftest.er1
8117 ac_status=$?
8118 grep -v '^ *+' conftest.er1 >conftest.err
8119 rm -f conftest.er1
8120 cat conftest.err >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } &&
8123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8125 (eval $ac_try) 2>&5
8126 ac_status=$?
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); }; } &&
8129 { ac_try='test -s conftest.$ac_objext'
8130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 (eval $ac_try) 2>&5
8132 ac_status=$?
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); }; }; then
8135 eval "$as_ac_Header=yes"
8136 else
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.$ac_ext >&5
8140 eval "$as_ac_Header=no"
8143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8145 ac_res=`eval echo '${'$as_ac_Header'}'`
8146 { echo "$as_me:$LINENO: result: $ac_res" >&5
8147 echo "${ECHO_T}$ac_res" >&6; }
8148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8149 cat >>confdefs.h <<_ACEOF
8150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8151 _ACEOF
8155 done
8164 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
8166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8171 else
8172 cat >conftest.$ac_ext <<_ACEOF
8173 /* confdefs.h. */
8174 _ACEOF
8175 cat confdefs.h >>conftest.$ac_ext
8176 cat >>conftest.$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 #include <sys/types.h>
8179 #if HAVE_SYS_SOCKET_H
8180 # include <sys/socket.h>
8181 #endif
8183 #include <$ac_header>
8184 _ACEOF
8185 rm -f conftest.$ac_objext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8187 (eval $ac_compile) 2>conftest.er1
8188 ac_status=$?
8189 grep -v '^ *+' conftest.er1 >conftest.err
8190 rm -f conftest.er1
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 (eval $ac_try) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 eval "$as_ac_Header=yes"
8207 else
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8211 eval "$as_ac_Header=no"
8214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8216 ac_res=`eval echo '${'$as_ac_Header'}'`
8217 { echo "$as_me:$LINENO: result: $ac_res" >&5
8218 echo "${ECHO_T}$ac_res" >&6; }
8219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8220 cat >>confdefs.h <<_ACEOF
8221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8222 _ACEOF
8226 done
8230 for ac_header in resolv.h
8232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8233 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8236 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 else
8238 cat >conftest.$ac_ext <<_ACEOF
8239 /* confdefs.h. */
8240 _ACEOF
8241 cat confdefs.h >>conftest.$ac_ext
8242 cat >>conftest.$ac_ext <<_ACEOF
8243 /* end confdefs.h. */
8244 #include <sys/types.h>
8245 #if HAVE_SYS_SOCKET_H
8246 # include <sys/socket.h>
8247 #endif
8248 #if HAVE_NETINET_IN_H
8249 # include <netinet/in.h>
8250 #endif
8251 #if HAVE_ARPA_NAMESER_H
8252 # include <arpa/nameser.h>
8253 #endif
8255 #include <$ac_header>
8256 _ACEOF
8257 rm -f conftest.$ac_objext
8258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8259 (eval $ac_compile) 2>conftest.er1
8260 ac_status=$?
8261 grep -v '^ *+' conftest.er1 >conftest.err
8262 rm -f conftest.er1
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } &&
8266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8268 (eval $ac_try) 2>&5
8269 ac_status=$?
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; } &&
8272 { ac_try='test -s conftest.$ac_objext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 (eval $ac_try) 2>&5
8275 ac_status=$?
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 eval "$as_ac_Header=yes"
8279 else
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 eval "$as_ac_Header=no"
8286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8288 ac_res=`eval echo '${'$as_ac_Header'}'`
8289 { echo "$as_me:$LINENO: result: $ac_res" >&5
8290 echo "${ECHO_T}$ac_res" >&6; }
8291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8292 cat >>confdefs.h <<_ACEOF
8293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8294 _ACEOF
8298 done
8302 for ac_header in ucontext.h
8304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 else
8310 cat >conftest.$ac_ext <<_ACEOF
8311 /* confdefs.h. */
8312 _ACEOF
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8316 #include <signal.h>
8318 #include <$ac_header>
8319 _ACEOF
8320 rm -f conftest.$ac_objext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8322 (eval $ac_compile) 2>conftest.er1
8323 ac_status=$?
8324 grep -v '^ *+' conftest.er1 >conftest.err
8325 rm -f conftest.er1
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } &&
8329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 (eval $ac_try) 2>&5
8332 ac_status=$?
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try='test -s conftest.$ac_objext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 (eval $ac_try) 2>&5
8338 ac_status=$?
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 eval "$as_ac_Header=yes"
8342 else
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.$ac_ext >&5
8346 eval "$as_ac_Header=no"
8349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8351 ac_res=`eval echo '${'$as_ac_Header'}'`
8352 { echo "$as_me:$LINENO: result: $ac_res" >&5
8353 echo "${ECHO_T}$ac_res" >&6; }
8354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8355 cat >>confdefs.h <<_ACEOF
8356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8357 _ACEOF
8361 done
8366 for ac_header in linux/ipx.h linux/videodev.h
8368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8373 else
8374 cat >conftest.$ac_ext <<_ACEOF
8375 /* confdefs.h. */
8376 _ACEOF
8377 cat confdefs.h >>conftest.$ac_ext
8378 cat >>conftest.$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 #ifdef HAVE_SYS_TIME_H
8381 #include <sys/time.h>
8382 #endif
8383 #include <sys/types.h>
8384 #ifdef HAVE_ASM_TYPES_H
8385 #include <asm/types.h>
8386 #endif
8388 #include <$ac_header>
8389 _ACEOF
8390 rm -f conftest.$ac_objext
8391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8392 (eval $ac_compile) 2>conftest.er1
8393 ac_status=$?
8394 grep -v '^ *+' conftest.er1 >conftest.err
8395 rm -f conftest.er1
8396 cat conftest.err >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } &&
8399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 (eval $ac_try) 2>&5
8402 ac_status=$?
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; } &&
8405 { ac_try='test -s conftest.$ac_objext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 (eval $ac_try) 2>&5
8408 ac_status=$?
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 eval "$as_ac_Header=yes"
8412 else
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 eval "$as_ac_Header=no"
8419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8421 ac_res=`eval echo '${'$as_ac_Header'}'`
8422 { echo "$as_me:$LINENO: result: $ac_res" >&5
8423 echo "${ECHO_T}$ac_res" >&6; }
8424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8425 cat >>confdefs.h <<_ACEOF
8426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8427 _ACEOF
8431 done
8435 for ac_header in linux/capi.h
8437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 else
8443 cat >conftest.$ac_ext <<_ACEOF
8444 /* confdefs.h. */
8445 _ACEOF
8446 cat confdefs.h >>conftest.$ac_ext
8447 cat >>conftest.$ac_ext <<_ACEOF
8448 /* end confdefs.h. */
8449 #define __user
8451 #include <$ac_header>
8452 _ACEOF
8453 rm -f conftest.$ac_objext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8455 (eval $ac_compile) 2>conftest.er1
8456 ac_status=$?
8457 grep -v '^ *+' conftest.er1 >conftest.err
8458 rm -f conftest.er1
8459 cat conftest.err >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } &&
8462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 (eval $ac_try) 2>&5
8465 ac_status=$?
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try='test -s conftest.$ac_objext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 (eval $ac_try) 2>&5
8471 ac_status=$?
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 eval "$as_ac_Header=yes"
8475 else
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.$ac_ext >&5
8479 eval "$as_ac_Header=no"
8482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8484 ac_res=`eval echo '${'$as_ac_Header'}'`
8485 { echo "$as_me:$LINENO: result: $ac_res" >&5
8486 echo "${ECHO_T}$ac_res" >&6; }
8487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8488 cat >>confdefs.h <<_ACEOF
8489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8490 _ACEOF
8494 done
8498 if test "$have_x" = "yes"
8499 then
8500 XLIB="-lXext -lX11"
8501 ac_save_CPPFLAGS="$CPPFLAGS"
8502 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8514 for ac_header in X11/Xlib.h \
8515 X11/XKBlib.h \
8516 X11/Xutil.h \
8517 X11/extensions/shape.h \
8518 X11/extensions/XInput.h \
8519 X11/extensions/XShm.h \
8520 X11/extensions/Xrandr.h \
8521 X11/extensions/Xrender.h \
8522 X11/extensions/xf86dga.h \
8523 X11/extensions/xf86vmode.h
8525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8529 echo $ECHO_N "(cached) $ECHO_C" >&6
8530 else
8531 cat >conftest.$ac_ext <<_ACEOF
8532 /* confdefs.h. */
8533 _ACEOF
8534 cat confdefs.h >>conftest.$ac_ext
8535 cat >>conftest.$ac_ext <<_ACEOF
8536 /* end confdefs.h. */
8537 #ifdef HAVE_X11_XLIB_H
8538 # include <X11/Xlib.h>
8539 #endif
8540 #ifdef HAVE_X11_XUTIL_H
8541 # include <X11/Xutil.h>
8542 #endif
8544 #include <$ac_header>
8545 _ACEOF
8546 rm -f conftest.$ac_objext
8547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8548 (eval $ac_compile) 2>conftest.er1
8549 ac_status=$?
8550 grep -v '^ *+' conftest.er1 >conftest.err
8551 rm -f conftest.er1
8552 cat conftest.err >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } &&
8555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 (eval $ac_try) 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; } &&
8561 { ac_try='test -s conftest.$ac_objext'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 (eval $ac_try) 2>&5
8564 ac_status=$?
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 eval "$as_ac_Header=yes"
8568 else
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 eval "$as_ac_Header=no"
8575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8577 ac_res=`eval echo '${'$as_ac_Header'}'`
8578 { echo "$as_me:$LINENO: result: $ac_res" >&5
8579 echo "${ECHO_T}$ac_res" >&6; }
8580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8581 cat >>confdefs.h <<_ACEOF
8582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8583 _ACEOF
8587 done
8590 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8591 then
8592 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8593 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8594 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8595 echo $ECHO_N "(cached) $ECHO_C" >&6
8596 else
8597 ac_check_lib_save_LIBS=$LIBS
8598 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8599 cat >conftest.$ac_ext <<_ACEOF
8600 /* confdefs.h. */
8601 _ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8606 /* Override any GCC internal prototype to avoid an error.
8607 Use char because int might match the return type of a GCC
8608 builtin and then its argument prototype would still apply. */
8609 #ifdef __cplusplus
8610 extern "C"
8611 #endif
8612 char XkbQueryExtension ();
8614 main ()
8616 return XkbQueryExtension ();
8618 return 0;
8620 _ACEOF
8621 rm -f conftest.$ac_objext conftest$ac_exeext
8622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8623 (eval $ac_link) 2>conftest.er1
8624 ac_status=$?
8625 grep -v '^ *+' conftest.er1 >conftest.err
8626 rm -f conftest.er1
8627 cat conftest.err >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } &&
8630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8632 (eval $ac_try) 2>&5
8633 ac_status=$?
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; } &&
8636 { ac_try='test -s conftest$ac_exeext'
8637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8638 (eval $ac_try) 2>&5
8639 ac_status=$?
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; }; then
8642 ac_cv_lib_X11_XkbQueryExtension=yes
8643 else
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.$ac_ext >&5
8647 ac_cv_lib_X11_XkbQueryExtension=no
8650 rm -f conftest.err conftest.$ac_objext \
8651 conftest$ac_exeext conftest.$ac_ext
8652 LIBS=$ac_check_lib_save_LIBS
8654 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8655 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8656 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8658 cat >>confdefs.h <<\_ACEOF
8659 #define HAVE_XKB 1
8660 _ACEOF
8666 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8667 then
8668 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8669 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8670 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8672 else
8673 ac_check_lib_save_LIBS=$LIBS
8674 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8675 cat >conftest.$ac_ext <<_ACEOF
8676 /* confdefs.h. */
8677 _ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8682 /* Override any GCC internal prototype to avoid an error.
8683 Use char because int might match the return type of a GCC
8684 builtin and then its argument prototype would still apply. */
8685 #ifdef __cplusplus
8686 extern "C"
8687 #endif
8688 char XShmQueryExtension ();
8690 main ()
8692 return XShmQueryExtension ();
8694 return 0;
8696 _ACEOF
8697 rm -f conftest.$ac_objext conftest$ac_exeext
8698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8699 (eval $ac_link) 2>conftest.er1
8700 ac_status=$?
8701 grep -v '^ *+' conftest.er1 >conftest.err
8702 rm -f conftest.er1
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 (eval $ac_try) 2>&5
8709 ac_status=$?
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 (eval $ac_try) 2>&5
8715 ac_status=$?
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_lib_Xext_XShmQueryExtension=yes
8719 else
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 ac_cv_lib_Xext_XShmQueryExtension=no
8726 rm -f conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 LIBS=$ac_check_lib_save_LIBS
8730 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8731 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8732 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8734 cat >>confdefs.h <<\_ACEOF
8735 #define HAVE_LIBXXSHM 1
8736 _ACEOF
8742 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8743 then
8744 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8745 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8746 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 else
8749 ac_check_lib_save_LIBS=$LIBS
8750 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8751 cat >conftest.$ac_ext <<_ACEOF
8752 /* confdefs.h. */
8753 _ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8758 /* Override any GCC internal prototype to avoid an error.
8759 Use char because int might match the return type of a GCC
8760 builtin and then its argument prototype would still apply. */
8761 #ifdef __cplusplus
8762 extern "C"
8763 #endif
8764 char XShapeQueryExtension ();
8766 main ()
8768 return XShapeQueryExtension ();
8770 return 0;
8772 _ACEOF
8773 rm -f conftest.$ac_objext conftest$ac_exeext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8775 (eval $ac_link) 2>conftest.er1
8776 ac_status=$?
8777 grep -v '^ *+' conftest.er1 >conftest.err
8778 rm -f conftest.er1
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 (eval $ac_try) 2>&5
8785 ac_status=$?
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try='test -s conftest$ac_exeext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 (eval $ac_try) 2>&5
8791 ac_status=$?
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_lib_Xext_XShapeQueryExtension=yes
8795 else
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8799 ac_cv_lib_Xext_XShapeQueryExtension=no
8802 rm -f conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 LIBS=$ac_check_lib_save_LIBS
8806 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8807 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8808 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8810 cat >>confdefs.h <<\_ACEOF
8811 #define HAVE_LIBXSHAPE 1
8812 _ACEOF
8818 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8819 then
8820 { echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8821 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
8822 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8823 echo $ECHO_N "(cached) $ECHO_C" >&6
8824 else
8825 ac_check_lib_save_LIBS=$LIBS
8826 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8827 cat >conftest.$ac_ext <<_ACEOF
8828 /* confdefs.h. */
8829 _ACEOF
8830 cat confdefs.h >>conftest.$ac_ext
8831 cat >>conftest.$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8834 /* Override any GCC internal prototype to avoid an error.
8835 Use char because int might match the return type of a GCC
8836 builtin and then its argument prototype would still apply. */
8837 #ifdef __cplusplus
8838 extern "C"
8839 #endif
8840 char XDGAQueryExtension ();
8842 main ()
8844 return XDGAQueryExtension ();
8846 return 0;
8848 _ACEOF
8849 rm -f conftest.$ac_objext conftest$ac_exeext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8851 (eval $ac_link) 2>conftest.er1
8852 ac_status=$?
8853 grep -v '^ *+' conftest.er1 >conftest.err
8854 rm -f conftest.er1
8855 cat conftest.err >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } &&
8858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860 (eval $ac_try) 2>&5
8861 ac_status=$?
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; } &&
8864 { ac_try='test -s conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8866 (eval $ac_try) 2>&5
8867 ac_status=$?
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
8871 else
8872 echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.$ac_ext >&5
8875 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
8878 rm -f conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 LIBS=$ac_check_lib_save_LIBS
8882 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8883 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6; }
8884 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8886 cat >>confdefs.h <<\_ACEOF
8887 #define HAVE_LIBXXF86DGA2 1
8888 _ACEOF
8890 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8896 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8897 then
8898 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8899 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8900 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8902 else
8903 ac_check_lib_save_LIBS=$LIBS
8904 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8905 cat >conftest.$ac_ext <<_ACEOF
8906 /* confdefs.h. */
8907 _ACEOF
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8912 /* Override any GCC internal prototype to avoid an error.
8913 Use char because int might match the return type of a GCC
8914 builtin and then its argument prototype would still apply. */
8915 #ifdef __cplusplus
8916 extern "C"
8917 #endif
8918 char XF86VidModeQueryExtension ();
8920 main ()
8922 return XF86VidModeQueryExtension ();
8924 return 0;
8926 _ACEOF
8927 rm -f conftest.$ac_objext conftest$ac_exeext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929 (eval $ac_link) 2>conftest.er1
8930 ac_status=$?
8931 grep -v '^ *+' conftest.er1 >conftest.err
8932 rm -f conftest.er1
8933 cat conftest.err >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } &&
8936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8938 (eval $ac_try) 2>&5
8939 ac_status=$?
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; } &&
8942 { ac_try='test -s conftest$ac_exeext'
8943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 (eval $ac_try) 2>&5
8945 ac_status=$?
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }; }; then
8948 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8949 else
8950 echo "$as_me: failed program was:" >&5
8951 sed 's/^/| /' conftest.$ac_ext >&5
8953 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8956 rm -f conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
8958 LIBS=$ac_check_lib_save_LIBS
8960 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8961 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8962 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8964 cat >>confdefs.h <<\_ACEOF
8965 #define HAVE_LIBXXF86VM 1
8966 _ACEOF
8968 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8974 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8975 then
8976 cat >conftest.$ac_ext <<_ACEOF
8977 /* confdefs.h. */
8978 _ACEOF
8979 cat confdefs.h >>conftest.$ac_ext
8980 cat >>conftest.$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8982 #include <X11/Xlib.h>
8983 #include <X11/extensions/Xrandr.h>
8985 main ()
8987 static typeof(XRRSetScreenConfigAndRate) * func;
8989 return 0;
8991 _ACEOF
8992 rm -f conftest.$ac_objext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8994 (eval $ac_compile) 2>conftest.er1
8995 ac_status=$?
8996 grep -v '^ *+' conftest.er1 >conftest.err
8997 rm -f conftest.er1
8998 cat conftest.err >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } &&
9001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9003 (eval $ac_try) 2>&5
9004 ac_status=$?
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; } &&
9007 { ac_try='test -s conftest.$ac_objext'
9008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 (eval $ac_try) 2>&5
9010 ac_status=$?
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; }; then
9014 cat >>confdefs.h <<\_ACEOF
9015 #define HAVE_LIBXRANDR 1
9016 _ACEOF
9018 else
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.$ac_ext >&5
9025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9028 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9029 then
9030 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9031 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9032 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 else
9035 ac_check_lib_save_LIBS=$LIBS
9036 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9037 cat >conftest.$ac_ext <<_ACEOF
9038 /* confdefs.h. */
9039 _ACEOF
9040 cat confdefs.h >>conftest.$ac_ext
9041 cat >>conftest.$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9044 /* Override any GCC internal prototype to avoid an error.
9045 Use char because int might match the return type of a GCC
9046 builtin and then its argument prototype would still apply. */
9047 #ifdef __cplusplus
9048 extern "C"
9049 #endif
9050 char XRenderSetPictureTransform ();
9052 main ()
9054 return XRenderSetPictureTransform ();
9056 return 0;
9058 _ACEOF
9059 rm -f conftest.$ac_objext conftest$ac_exeext
9060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9061 (eval $ac_link) 2>conftest.er1
9062 ac_status=$?
9063 grep -v '^ *+' conftest.er1 >conftest.err
9064 rm -f conftest.er1
9065 cat conftest.err >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } &&
9068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070 (eval $ac_try) 2>&5
9071 ac_status=$?
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; } &&
9074 { ac_try='test -s conftest$ac_exeext'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 (eval $ac_try) 2>&5
9077 ac_status=$?
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; }; then
9080 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9081 else
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.$ac_ext >&5
9085 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9088 rm -f conftest.err conftest.$ac_objext \
9089 conftest$ac_exeext conftest.$ac_ext
9090 LIBS=$ac_check_lib_save_LIBS
9092 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9093 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9094 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9096 cat >>confdefs.h <<\_ACEOF
9097 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9098 _ACEOF
9104 if test "x$with_opengl" != "xno"
9105 then
9110 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 cat >conftest.$ac_ext <<_ACEOF
9119 /* confdefs.h. */
9120 _ACEOF
9121 cat confdefs.h >>conftest.$ac_ext
9122 cat >>conftest.$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9124 #ifdef HAVE_GL_GLX_H
9125 # include <GL/glx.h>
9126 #endif
9128 #include <$ac_header>
9129 _ACEOF
9130 rm -f conftest.$ac_objext
9131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9132 (eval $ac_compile) 2>conftest.er1
9133 ac_status=$?
9134 grep -v '^ *+' conftest.er1 >conftest.err
9135 rm -f conftest.er1
9136 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
9139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5
9142 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } &&
9145 { ac_try='test -s conftest.$ac_objext'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9147 (eval $ac_try) 2>&5
9148 ac_status=$?
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; }; then
9151 eval "$as_ac_Header=yes"
9152 else
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.$ac_ext >&5
9156 eval "$as_ac_Header=no"
9159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9161 ac_res=`eval echo '${'$as_ac_Header'}'`
9162 { echo "$as_me:$LINENO: result: $ac_res" >&5
9163 echo "${ECHO_T}$ac_res" >&6; }
9164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9165 cat >>confdefs.h <<_ACEOF
9166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9167 _ACEOF
9171 done
9173 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9174 then
9175 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9176 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9177 if test "${wine_cv_opengl_version_OK+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 else
9180 cat >conftest.$ac_ext <<_ACEOF
9181 /* confdefs.h. */
9182 _ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9186 #include <GL/gl.h>
9188 main ()
9190 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9192 return 0;
9194 _ACEOF
9195 rm -f conftest.$ac_objext
9196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 (eval $ac_compile) 2>conftest.er1
9198 ac_status=$?
9199 grep -v '^ *+' conftest.er1 >conftest.err
9200 rm -f conftest.er1
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
9204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 (eval $ac_try) 2>&5
9207 ac_status=$?
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); }; } &&
9210 { ac_try='test -s conftest.$ac_objext'
9211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9212 (eval $ac_try) 2>&5
9213 ac_status=$?
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); }; }; then
9216 wine_cv_opengl_version_OK="yes"
9217 else
9218 echo "$as_me: failed program was:" >&5
9219 sed 's/^/| /' conftest.$ac_ext >&5
9221 wine_cv_opengl_version_OK="no"
9225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9228 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9229 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9231 if test "$wine_cv_opengl_version_OK" = "yes"
9232 then
9233 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9234 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9235 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9236 echo $ECHO_N "(cached) $ECHO_C" >&6
9237 else
9238 ac_check_lib_save_LIBS=$LIBS
9239 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9240 cat >conftest.$ac_ext <<_ACEOF
9241 /* confdefs.h. */
9242 _ACEOF
9243 cat confdefs.h >>conftest.$ac_ext
9244 cat >>conftest.$ac_ext <<_ACEOF
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char glXCreateContext ();
9255 main ()
9257 return glXCreateContext ();
9259 return 0;
9261 _ACEOF
9262 rm -f conftest.$ac_objext conftest$ac_exeext
9263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9264 (eval $ac_link) 2>conftest.er1
9265 ac_status=$?
9266 grep -v '^ *+' conftest.er1 >conftest.err
9267 rm -f conftest.er1
9268 cat conftest.err >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); } &&
9271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 (eval $ac_try) 2>&5
9274 ac_status=$?
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } &&
9277 { ac_try='test -s conftest$ac_exeext'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 (eval $ac_try) 2>&5
9280 ac_status=$?
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; }; then
9283 ac_cv_lib_GL_glXCreateContext=yes
9284 else
9285 echo "$as_me: failed program was:" >&5
9286 sed 's/^/| /' conftest.$ac_ext >&5
9288 ac_cv_lib_GL_glXCreateContext=no
9291 rm -f conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 LIBS=$ac_check_lib_save_LIBS
9295 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9296 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9297 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9298 OPENGL_LIBS="-lGL"
9303 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9304 then
9305 OPENGLFILES='$(OPENGLFILES)'
9307 cat >>confdefs.h <<\_ACEOF
9308 #define HAVE_OPENGL 1
9309 _ACEOF
9311 else
9312 if test -f /usr/X11R6/lib/libGL.a
9313 then
9314 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9315 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9316 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9317 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9318 { (exit 1); exit 1; }; }
9322 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9323 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9324 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9325 echo $ECHO_N "(cached) $ECHO_C" >&6
9326 else
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9329 $LIBS"
9330 cat >conftest.$ac_ext <<_ACEOF
9331 /* confdefs.h. */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9340 #ifdef __cplusplus
9341 extern "C"
9342 #endif
9343 char gluLookAt ();
9345 main ()
9347 return gluLookAt ();
9349 return 0;
9351 _ACEOF
9352 rm -f conftest.$ac_objext conftest$ac_exeext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9354 (eval $ac_link) 2>conftest.er1
9355 ac_status=$?
9356 grep -v '^ *+' conftest.er1 >conftest.err
9357 rm -f conftest.er1
9358 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } &&
9361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9363 (eval $ac_try) 2>&5
9364 ac_status=$?
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; } &&
9367 { ac_try='test -s conftest$ac_exeext'
9368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9369 (eval $ac_try) 2>&5
9370 ac_status=$?
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); }; }; then
9373 ac_cv_lib_GLU_gluLookAt=yes
9374 else
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9378 ac_cv_lib_GLU_gluLookAt=no
9381 rm -f conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9386 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9387 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9388 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9389 GLU32FILES='$(GLU32FILES)'
9395 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9396 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9397 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 else
9400 ac_check_lib_save_LIBS=$LIBS
9401 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9402 cat >conftest.$ac_ext <<_ACEOF
9403 /* confdefs.h. */
9404 _ACEOF
9405 cat confdefs.h >>conftest.$ac_ext
9406 cat >>conftest.$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9412 #ifdef __cplusplus
9413 extern "C"
9414 #endif
9415 char glutMainLoop ();
9417 main ()
9419 return glutMainLoop ();
9421 return 0;
9423 _ACEOF
9424 rm -f conftest.$ac_objext conftest$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>conftest.er1
9427 ac_status=$?
9428 grep -v '^ *+' conftest.er1 >conftest.err
9429 rm -f conftest.er1
9430 cat conftest.err >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9435 (eval $ac_try) 2>&5
9436 ac_status=$?
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; } &&
9439 { ac_try='test -s conftest$ac_exeext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 (eval $ac_try) 2>&5
9442 ac_status=$?
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 ac_cv_lib_glut_glutMainLoop=yes
9446 else
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.$ac_ext >&5
9450 ac_cv_lib_glut_glutMainLoop=no
9453 rm -f conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_lib_save_LIBS
9457 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9458 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9459 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9460 GLUT_LIBS="-lglut -lXmu -lXi"
9462 GLUT32FILES='$(GLUT32FILES)'
9469 NASLIBS=""
9472 for ac_header in audio/audiolib.h
9474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9479 echo $ECHO_N "(cached) $ECHO_C" >&6
9481 ac_res=`eval echo '${'$as_ac_Header'}'`
9482 { echo "$as_me:$LINENO: result: $ac_res" >&5
9483 echo "${ECHO_T}$ac_res" >&6; }
9484 else
9485 # Is the header compilable?
9486 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9488 cat >conftest.$ac_ext <<_ACEOF
9489 /* confdefs.h. */
9490 _ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9494 $ac_includes_default
9495 #include <$ac_header>
9496 _ACEOF
9497 rm -f conftest.$ac_objext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9499 (eval $ac_compile) 2>conftest.er1
9500 ac_status=$?
9501 grep -v '^ *+' conftest.er1 >conftest.err
9502 rm -f conftest.er1
9503 cat conftest.err >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } &&
9506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508 (eval $ac_try) 2>&5
9509 ac_status=$?
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; } &&
9512 { ac_try='test -s conftest.$ac_objext'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 (eval $ac_try) 2>&5
9515 ac_status=$?
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; }; then
9518 ac_header_compiler=yes
9519 else
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.$ac_ext >&5
9523 ac_header_compiler=no
9526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9528 echo "${ECHO_T}$ac_header_compiler" >&6; }
9530 # Is the header present?
9531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
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. */
9539 #include <$ac_header>
9540 _ACEOF
9541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9543 ac_status=$?
9544 grep -v '^ *+' conftest.er1 >conftest.err
9545 rm -f conftest.er1
9546 cat conftest.err >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } >/dev/null; then
9549 if test -s conftest.err; then
9550 ac_cpp_err=$ac_c_preproc_warn_flag
9551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9552 else
9553 ac_cpp_err=
9555 else
9556 ac_cpp_err=yes
9558 if test -z "$ac_cpp_err"; then
9559 ac_header_preproc=yes
9560 else
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.$ac_ext >&5
9564 ac_header_preproc=no
9567 rm -f conftest.err conftest.$ac_ext
9568 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9569 echo "${ECHO_T}$ac_header_preproc" >&6; }
9571 # So? What about this header?
9572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9573 yes:no: )
9574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9578 ac_header_preproc=yes
9580 no:yes:* )
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9593 ( cat <<\_ASBOX
9594 ## ------------------------------------ ##
9595 ## Report this to wine-devel@winehq.org ##
9596 ## ------------------------------------ ##
9597 _ASBOX
9598 ) | sed "s/^/$as_me: WARNING: /" >&2
9600 esac
9601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9605 else
9606 eval "$as_ac_Header=\$ac_header_preproc"
9608 ac_res=`eval echo '${'$as_ac_Header'}'`
9609 { echo "$as_me:$LINENO: result: $ac_res" >&5
9610 echo "${ECHO_T}$ac_res" >&6; }
9613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9614 cat >>confdefs.h <<_ACEOF
9615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9616 _ACEOF
9618 for ac_header in audio/soundlib.h
9620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9624 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 else
9626 cat >conftest.$ac_ext <<_ACEOF
9627 /* confdefs.h. */
9628 _ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9632 #include <audio/audiolib.h>
9634 #include <$ac_header>
9635 _ACEOF
9636 rm -f conftest.$ac_objext
9637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9638 (eval $ac_compile) 2>conftest.er1
9639 ac_status=$?
9640 grep -v '^ *+' conftest.er1 >conftest.err
9641 rm -f conftest.er1
9642 cat conftest.err >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } &&
9645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647 (eval $ac_try) 2>&5
9648 ac_status=$?
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; } &&
9651 { ac_try='test -s conftest.$ac_objext'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9653 (eval $ac_try) 2>&5
9654 ac_status=$?
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 eval "$as_ac_Header=yes"
9658 else
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.$ac_ext >&5
9662 eval "$as_ac_Header=no"
9665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9667 ac_res=`eval echo '${'$as_ac_Header'}'`
9668 { echo "$as_me:$LINENO: result: $ac_res" >&5
9669 echo "${ECHO_T}$ac_res" >&6; }
9670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9671 cat >>confdefs.h <<_ACEOF
9672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9673 _ACEOF
9677 done
9679 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9680 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9681 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 else
9684 ac_check_lib_save_LIBS=$LIBS
9685 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9686 cat >conftest.$ac_ext <<_ACEOF
9687 /* confdefs.h. */
9688 _ACEOF
9689 cat confdefs.h >>conftest.$ac_ext
9690 cat >>conftest.$ac_ext <<_ACEOF
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9696 #ifdef __cplusplus
9697 extern "C"
9698 #endif
9699 char AuCreateFlow ();
9701 main ()
9703 return AuCreateFlow ();
9705 return 0;
9707 _ACEOF
9708 rm -f conftest.$ac_objext conftest$ac_exeext
9709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9710 (eval $ac_link) 2>conftest.er1
9711 ac_status=$?
9712 grep -v '^ *+' conftest.er1 >conftest.err
9713 rm -f conftest.er1
9714 cat conftest.err >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } &&
9717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 (eval $ac_try) 2>&5
9720 ac_status=$?
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; } &&
9723 { ac_try='test -s conftest$ac_exeext'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725 (eval $ac_try) 2>&5
9726 ac_status=$?
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; }; then
9729 ac_cv_lib_audio_AuCreateFlow=yes
9730 else
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9734 ac_cv_lib_audio_AuCreateFlow=no
9737 rm -f conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_lib_save_LIBS
9741 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9742 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9743 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9745 cat >>confdefs.h <<\_ACEOF
9746 #define HAVE_NAS 1
9747 _ACEOF
9749 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9754 done
9757 CPPFLAGS="$ac_save_CPPFLAGS"
9758 XFILES='$(XFILES)'
9759 else
9760 XLIB=""
9761 X_CFLAGS=""
9762 X_LIBS=""
9766 XML2LIBS=""
9768 XML2INCL=""
9770 XSLTLIBS=""
9772 XSLTINCL=""
9774 if test "$PKG_CONFIG" != "false"
9775 then
9776 ac_save_CPPFLAGS="$CPPFLAGS"
9777 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0`"
9778 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0`"
9779 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9781 for ac_header in libxml/parser.h
9783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9788 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 ac_res=`eval echo '${'$as_ac_Header'}'`
9791 { echo "$as_me:$LINENO: result: $ac_res" >&5
9792 echo "${ECHO_T}$ac_res" >&6; }
9793 else
9794 # Is the header compilable?
9795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9797 cat >conftest.$ac_ext <<_ACEOF
9798 /* confdefs.h. */
9799 _ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9803 $ac_includes_default
9804 #include <$ac_header>
9805 _ACEOF
9806 rm -f conftest.$ac_objext
9807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9808 (eval $ac_compile) 2>conftest.er1
9809 ac_status=$?
9810 grep -v '^ *+' conftest.er1 >conftest.err
9811 rm -f conftest.er1
9812 cat conftest.err >&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); } &&
9815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 (eval $ac_try) 2>&5
9818 ac_status=$?
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); }; } &&
9821 { ac_try='test -s conftest.$ac_objext'
9822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 (eval $ac_try) 2>&5
9824 ac_status=$?
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); }; }; then
9827 ac_header_compiler=yes
9828 else
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.$ac_ext >&5
9832 ac_header_compiler=no
9835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9836 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9837 echo "${ECHO_T}$ac_header_compiler" >&6; }
9839 # Is the header present?
9840 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9842 cat >conftest.$ac_ext <<_ACEOF
9843 /* confdefs.h. */
9844 _ACEOF
9845 cat confdefs.h >>conftest.$ac_ext
9846 cat >>conftest.$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9848 #include <$ac_header>
9849 _ACEOF
9850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9852 ac_status=$?
9853 grep -v '^ *+' conftest.er1 >conftest.err
9854 rm -f conftest.er1
9855 cat conftest.err >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } >/dev/null; then
9858 if test -s conftest.err; then
9859 ac_cpp_err=$ac_c_preproc_warn_flag
9860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9861 else
9862 ac_cpp_err=
9864 else
9865 ac_cpp_err=yes
9867 if test -z "$ac_cpp_err"; then
9868 ac_header_preproc=yes
9869 else
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9873 ac_header_preproc=no
9876 rm -f conftest.err conftest.$ac_ext
9877 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9878 echo "${ECHO_T}$ac_header_preproc" >&6; }
9880 # So? What about this header?
9881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9882 yes:no: )
9883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9887 ac_header_preproc=yes
9889 no:yes:* )
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9902 ( cat <<\_ASBOX
9903 ## ------------------------------------ ##
9904 ## Report this to wine-devel@winehq.org ##
9905 ## ------------------------------------ ##
9906 _ASBOX
9907 ) | sed "s/^/$as_me: WARNING: /" >&2
9909 esac
9910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 else
9915 eval "$as_ac_Header=\$ac_header_preproc"
9917 ac_res=`eval echo '${'$as_ac_Header'}'`
9918 { echo "$as_me:$LINENO: result: $ac_res" >&5
9919 echo "${ECHO_T}$ac_res" >&6; }
9922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9923 cat >>confdefs.h <<_ACEOF
9924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9925 _ACEOF
9926 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9927 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9928 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9930 else
9931 ac_check_lib_save_LIBS=$LIBS
9932 LIBS="-lxml2 $ac_xml_libs $LIBS"
9933 cat >conftest.$ac_ext <<_ACEOF
9934 /* confdefs.h. */
9935 _ACEOF
9936 cat confdefs.h >>conftest.$ac_ext
9937 cat >>conftest.$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 char xmlParseMemory ();
9948 main ()
9950 return xmlParseMemory ();
9952 return 0;
9954 _ACEOF
9955 rm -f conftest.$ac_objext conftest$ac_exeext
9956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9957 (eval $ac_link) 2>conftest.er1
9958 ac_status=$?
9959 grep -v '^ *+' conftest.er1 >conftest.err
9960 rm -f conftest.er1
9961 cat conftest.err >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } &&
9964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 (eval $ac_try) 2>&5
9967 ac_status=$?
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; } &&
9970 { ac_try='test -s conftest$ac_exeext'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 (eval $ac_try) 2>&5
9973 ac_status=$?
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; }; then
9976 ac_cv_lib_xml2_xmlParseMemory=yes
9977 else
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9981 ac_cv_lib_xml2_xmlParseMemory=no
9984 rm -f conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 LIBS=$ac_check_lib_save_LIBS
9988 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9989 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9990 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9992 cat >>confdefs.h <<\_ACEOF
9993 #define HAVE_LIBXML2 1
9994 _ACEOF
9996 XML2LIBS="$ac_xml_libs"
9997 XML2INCL="$ac_xml_cflags"
10000 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10001 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10002 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 else
10005 ac_check_lib_save_LIBS=$LIBS
10006 LIBS="-lxml2 $ac_xml_libs $LIBS"
10007 cat >conftest.$ac_ext <<_ACEOF
10008 /* confdefs.h. */
10009 _ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10017 #ifdef __cplusplus
10018 extern "C"
10019 #endif
10020 char xmlReadMemory ();
10022 main ()
10024 return xmlReadMemory ();
10026 return 0;
10028 _ACEOF
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>conftest.er1
10032 ac_status=$?
10033 grep -v '^ *+' conftest.er1 >conftest.err
10034 rm -f conftest.er1
10035 cat conftest.err >&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; } &&
10044 { ac_try='test -s conftest$ac_exeext'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10047 ac_status=$?
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; }; then
10050 ac_cv_lib_xml2_xmlReadMemory=yes
10051 else
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.$ac_ext >&5
10055 ac_cv_lib_xml2_xmlReadMemory=no
10058 rm -f conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10063 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10064 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10066 cat >>confdefs.h <<\_ACEOF
10067 #define HAVE_XMLREADMEMORY 1
10068 _ACEOF
10075 done
10077 CPPFLAGS="$ac_save_CPPFLAGS"
10078 ac_xslt_libs="`$PKG_CONFIG --libs libxslt`"
10079 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt`"
10080 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10083 for ac_header in libxslt/pattern.h libxslt/transform.h
10085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 else
10091 cat >conftest.$ac_ext <<_ACEOF
10092 /* confdefs.h. */
10093 _ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10097 #ifdef HAVE_LIBXSLT_PATTERN_H
10098 # include <libxslt/pattern.h>
10099 #endif
10101 #include <$ac_header>
10102 _ACEOF
10103 rm -f conftest.$ac_objext
10104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10105 (eval $ac_compile) 2>conftest.er1
10106 ac_status=$?
10107 grep -v '^ *+' conftest.er1 >conftest.err
10108 rm -f conftest.er1
10109 cat conftest.err >&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } &&
10112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10115 ac_status=$?
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; } &&
10118 { ac_try='test -s conftest.$ac_objext'
10119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10120 (eval $ac_try) 2>&5
10121 ac_status=$?
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); }; }; then
10124 eval "$as_ac_Header=yes"
10125 else
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10129 eval "$as_ac_Header=no"
10132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10134 ac_res=`eval echo '${'$as_ac_Header'}'`
10135 { echo "$as_me:$LINENO: result: $ac_res" >&5
10136 echo "${ECHO_T}$ac_res" >&6; }
10137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10138 cat >>confdefs.h <<_ACEOF
10139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10140 _ACEOF
10141 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10142 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10143 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10145 else
10146 ac_check_lib_save_LIBS=$LIBS
10147 LIBS="-lxslt $ac_xslt_libs $LIBS"
10148 cat >conftest.$ac_ext <<_ACEOF
10149 /* confdefs.h. */
10150 _ACEOF
10151 cat confdefs.h >>conftest.$ac_ext
10152 cat >>conftest.$ac_ext <<_ACEOF
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158 #ifdef __cplusplus
10159 extern "C"
10160 #endif
10161 char xsltCompilePattern ();
10163 main ()
10165 return xsltCompilePattern ();
10167 return 0;
10169 _ACEOF
10170 rm -f conftest.$ac_objext conftest$ac_exeext
10171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10172 (eval $ac_link) 2>conftest.er1
10173 ac_status=$?
10174 grep -v '^ *+' conftest.er1 >conftest.err
10175 rm -f conftest.er1
10176 cat conftest.err >&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } &&
10179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try='test -s conftest$ac_exeext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10188 ac_status=$?
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10191 ac_cv_lib_xslt_xsltCompilePattern=yes
10192 else
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 ac_cv_lib_xslt_xsltCompilePattern=no
10199 rm -f conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_lib_save_LIBS
10203 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10204 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10205 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10207 cat >>confdefs.h <<\_ACEOF
10208 #define HAVE_LIBXSLT 1
10209 _ACEOF
10211 XSLTLIBS="$ac_xslt_libs"
10212 XSLTINCL="$ac_xslt_cflags"
10218 done
10220 CPPFLAGS="$ac_save_CPPFLAGS"
10223 HALINCL=""
10225 if test "$PKG_CONFIG" != "false"
10226 then
10227 ac_save_CPPFLAGS="$CPPFLAGS"
10228 ac_hal_libs="`$PKG_CONFIG --libs hal`"
10229 ac_hal_cflags="`$PKG_CONFIG --cflags hal`"
10230 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10233 for ac_header in dbus/dbus.h hal/libhal.h
10235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 ac_res=`eval echo '${'$as_ac_Header'}'`
10243 { echo "$as_me:$LINENO: result: $ac_res" >&5
10244 echo "${ECHO_T}$ac_res" >&6; }
10245 else
10246 # Is the header compilable?
10247 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10249 cat >conftest.$ac_ext <<_ACEOF
10250 /* confdefs.h. */
10251 _ACEOF
10252 cat confdefs.h >>conftest.$ac_ext
10253 cat >>conftest.$ac_ext <<_ACEOF
10254 /* end confdefs.h. */
10255 $ac_includes_default
10256 #include <$ac_header>
10257 _ACEOF
10258 rm -f conftest.$ac_objext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10260 (eval $ac_compile) 2>conftest.er1
10261 ac_status=$?
10262 grep -v '^ *+' conftest.er1 >conftest.err
10263 rm -f conftest.er1
10264 cat conftest.err >&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10270 ac_status=$?
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } &&
10273 { ac_try='test -s conftest.$ac_objext'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; }; then
10279 ac_header_compiler=yes
10280 else
10281 echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.$ac_ext >&5
10284 ac_header_compiler=no
10287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10288 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10289 echo "${ECHO_T}$ac_header_compiler" >&6; }
10291 # Is the header present?
10292 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10294 cat >conftest.$ac_ext <<_ACEOF
10295 /* confdefs.h. */
10296 _ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 #include <$ac_header>
10301 _ACEOF
10302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10304 ac_status=$?
10305 grep -v '^ *+' conftest.er1 >conftest.err
10306 rm -f conftest.er1
10307 cat conftest.err >&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } >/dev/null; then
10310 if test -s conftest.err; then
10311 ac_cpp_err=$ac_c_preproc_warn_flag
10312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10313 else
10314 ac_cpp_err=
10316 else
10317 ac_cpp_err=yes
10319 if test -z "$ac_cpp_err"; then
10320 ac_header_preproc=yes
10321 else
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.$ac_ext >&5
10325 ac_header_preproc=no
10328 rm -f conftest.err conftest.$ac_ext
10329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10330 echo "${ECHO_T}$ac_header_preproc" >&6; }
10332 # So? What about this header?
10333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10334 yes:no: )
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10339 ac_header_preproc=yes
10341 no:yes:* )
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10354 ( cat <<\_ASBOX
10355 ## ------------------------------------ ##
10356 ## Report this to wine-devel@winehq.org ##
10357 ## ------------------------------------ ##
10358 _ASBOX
10359 ) | sed "s/^/$as_me: WARNING: /" >&2
10361 esac
10362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 else
10367 eval "$as_ac_Header=\$ac_header_preproc"
10369 ac_res=`eval echo '${'$as_ac_Header'}'`
10370 { echo "$as_me:$LINENO: result: $ac_res" >&5
10371 echo "${ECHO_T}$ac_res" >&6; }
10374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10375 cat >>confdefs.h <<_ACEOF
10376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10377 _ACEOF
10381 done
10383 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10384 then
10385 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10386 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10387 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10389 else
10390 ac_check_lib_save_LIBS=$LIBS
10391 LIBS="-lhal $LIBS"
10392 cat >conftest.$ac_ext <<_ACEOF
10393 /* confdefs.h. */
10394 _ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10402 #ifdef __cplusplus
10403 extern "C"
10404 #endif
10405 char libhal_ctx_new ();
10407 main ()
10409 return libhal_ctx_new ();
10411 return 0;
10413 _ACEOF
10414 rm -f conftest.$ac_objext conftest$ac_exeext
10415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10416 (eval $ac_link) 2>conftest.er1
10417 ac_status=$?
10418 grep -v '^ *+' conftest.er1 >conftest.err
10419 rm -f conftest.er1
10420 cat conftest.err >&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; } &&
10429 { ac_try='test -s conftest$ac_exeext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10432 ac_status=$?
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_cv_lib_hal_libhal_ctx_new=yes
10436 else
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.$ac_ext >&5
10440 ac_cv_lib_hal_libhal_ctx_new=no
10443 rm -f conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 LIBS=$ac_check_lib_save_LIBS
10447 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10448 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10449 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10450 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10451 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10452 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10454 else
10455 ac_check_lib_save_LIBS=$LIBS
10456 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10457 cat >conftest.$ac_ext <<_ACEOF
10458 /* confdefs.h. */
10459 _ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10467 #ifdef __cplusplus
10468 extern "C"
10469 #endif
10470 char dbus_connection_close ();
10472 main ()
10474 return dbus_connection_close ();
10476 return 0;
10478 _ACEOF
10479 rm -f conftest.$ac_objext conftest$ac_exeext
10480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10481 (eval $ac_link) 2>conftest.er1
10482 ac_status=$?
10483 grep -v '^ *+' conftest.er1 >conftest.err
10484 rm -f conftest.er1
10485 cat conftest.err >&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10491 ac_status=$?
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } &&
10494 { ac_try='test -s conftest$ac_exeext'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10497 ac_status=$?
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then
10500 ac_cv_lib_dbus_1_dbus_connection_close=yes
10501 else
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.$ac_ext >&5
10505 ac_cv_lib_dbus_1_dbus_connection_close=no
10508 rm -f conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10512 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10513 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10514 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10516 cat >>confdefs.h <<\_ACEOF
10517 #define HAVE_LIBHAL 1
10518 _ACEOF
10520 HALINCL="$ac_hal_cflags"
10526 CPPFLAGS="$ac_save_CPPFLAGS"
10529 CURSESLIBS=""
10530 if test "x$with_curses" != "xno"
10531 then
10532 if test "$ac_cv_header_ncurses_h" = "yes"
10533 then
10534 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10535 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10536 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10537 echo $ECHO_N "(cached) $ECHO_C" >&6
10538 else
10539 ac_check_lib_save_LIBS=$LIBS
10540 LIBS="-lncurses $LIBS"
10541 cat >conftest.$ac_ext <<_ACEOF
10542 /* confdefs.h. */
10543 _ACEOF
10544 cat confdefs.h >>conftest.$ac_ext
10545 cat >>conftest.$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10551 #ifdef __cplusplus
10552 extern "C"
10553 #endif
10554 char waddch ();
10556 main ()
10558 return waddch ();
10560 return 0;
10562 _ACEOF
10563 rm -f conftest.$ac_objext conftest$ac_exeext
10564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10565 (eval $ac_link) 2>conftest.er1
10566 ac_status=$?
10567 grep -v '^ *+' conftest.er1 >conftest.err
10568 rm -f conftest.er1
10569 cat conftest.err >&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } &&
10572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 (eval $ac_try) 2>&5
10575 ac_status=$?
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); }; } &&
10578 { ac_try='test -s conftest$ac_exeext'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10581 ac_status=$?
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); }; }; then
10584 ac_cv_lib_ncurses_waddch=yes
10585 else
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.$ac_ext >&5
10589 ac_cv_lib_ncurses_waddch=no
10592 rm -f conftest.err conftest.$ac_objext \
10593 conftest$ac_exeext conftest.$ac_ext
10594 LIBS=$ac_check_lib_save_LIBS
10596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10597 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10598 if test $ac_cv_lib_ncurses_waddch = yes; then
10600 cat >>confdefs.h <<\_ACEOF
10601 #define HAVE_LIBNCURSES 1
10602 _ACEOF
10604 CURSESLIBS="-lncurses"
10607 elif test "$ac_cv_header_curses_h" = "yes"
10608 then
10609 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10610 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10611 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10613 else
10614 ac_check_lib_save_LIBS=$LIBS
10615 LIBS="-lcurses $LIBS"
10616 cat >conftest.$ac_ext <<_ACEOF
10617 /* confdefs.h. */
10618 _ACEOF
10619 cat confdefs.h >>conftest.$ac_ext
10620 cat >>conftest.$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10626 #ifdef __cplusplus
10627 extern "C"
10628 #endif
10629 char waddch ();
10631 main ()
10633 return waddch ();
10635 return 0;
10637 _ACEOF
10638 rm -f conftest.$ac_objext conftest$ac_exeext
10639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10640 (eval $ac_link) 2>conftest.er1
10641 ac_status=$?
10642 grep -v '^ *+' conftest.er1 >conftest.err
10643 rm -f conftest.er1
10644 cat conftest.err >&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); } &&
10647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10650 ac_status=$?
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; } &&
10653 { ac_try='test -s conftest$ac_exeext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10656 ac_status=$?
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 ac_cv_lib_curses_waddch=yes
10660 else
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.$ac_ext >&5
10664 ac_cv_lib_curses_waddch=no
10667 rm -f conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_lib_save_LIBS
10671 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
10672 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
10673 if test $ac_cv_lib_curses_waddch = yes; then
10675 cat >>confdefs.h <<\_ACEOF
10676 #define HAVE_LIBCURSES 1
10677 _ACEOF
10679 CURSESLIBS="-lcurses"
10686 # Extract the first word of "sane-config", so it can be a program name with args.
10687 set dummy sane-config; ac_word=$2
10688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10690 if test "${ac_cv_prog_sane_devel+set}" = set; then
10691 echo $ECHO_N "(cached) $ECHO_C" >&6
10692 else
10693 if test -n "$sane_devel"; then
10694 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10695 else
10696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10697 for as_dir in $PATH
10699 IFS=$as_save_IFS
10700 test -z "$as_dir" && as_dir=.
10701 for ac_exec_ext in '' $ac_executable_extensions; do
10702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10703 ac_cv_prog_sane_devel="sane-config"
10704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10705 break 2
10707 done
10708 done
10709 IFS=$as_save_IFS
10711 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10714 sane_devel=$ac_cv_prog_sane_devel
10715 if test -n "$sane_devel"; then
10716 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10717 echo "${ECHO_T}$sane_devel" >&6; }
10718 else
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10724 SANELIBS=""
10726 SANEINCL=""
10728 if test "$sane_devel" != "no"
10729 then
10730 SANELIBS="`$sane_devel --libs`"
10731 SANEINCL="`$sane_devel --cflags`"
10732 ac_save_CPPFLAGS="$CPPFLAGS"
10733 ac_save_LIBS="$LIBS"
10734 CPPFLAGS="$CPPFLAGS $SANEINCL"
10735 LIBS="$LIBS $SANELIBS"
10736 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10737 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10738 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10739 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10743 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10744 else
10745 # Is the header compilable?
10746 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10747 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10748 cat >conftest.$ac_ext <<_ACEOF
10749 /* confdefs.h. */
10750 _ACEOF
10751 cat confdefs.h >>conftest.$ac_ext
10752 cat >>conftest.$ac_ext <<_ACEOF
10753 /* end confdefs.h. */
10754 $ac_includes_default
10755 #include <sane/sane.h>
10756 _ACEOF
10757 rm -f conftest.$ac_objext
10758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10759 (eval $ac_compile) 2>conftest.er1
10760 ac_status=$?
10761 grep -v '^ *+' conftest.er1 >conftest.err
10762 rm -f conftest.er1
10763 cat conftest.err >&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } &&
10766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10769 ac_status=$?
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try='test -s conftest.$ac_objext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10775 ac_status=$?
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 ac_header_compiler=yes
10779 else
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10783 ac_header_compiler=no
10786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10787 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10788 echo "${ECHO_T}$ac_header_compiler" >&6; }
10790 # Is the header present?
10791 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10792 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10793 cat >conftest.$ac_ext <<_ACEOF
10794 /* confdefs.h. */
10795 _ACEOF
10796 cat confdefs.h >>conftest.$ac_ext
10797 cat >>conftest.$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10799 #include <sane/sane.h>
10800 _ACEOF
10801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10803 ac_status=$?
10804 grep -v '^ *+' conftest.er1 >conftest.err
10805 rm -f conftest.er1
10806 cat conftest.err >&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } >/dev/null; then
10809 if test -s conftest.err; then
10810 ac_cpp_err=$ac_c_preproc_warn_flag
10811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10812 else
10813 ac_cpp_err=
10815 else
10816 ac_cpp_err=yes
10818 if test -z "$ac_cpp_err"; then
10819 ac_header_preproc=yes
10820 else
10821 echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.$ac_ext >&5
10824 ac_header_preproc=no
10827 rm -f conftest.err conftest.$ac_ext
10828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10829 echo "${ECHO_T}$ac_header_preproc" >&6; }
10831 # So? What about this header?
10832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10833 yes:no: )
10834 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10835 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10836 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10837 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10838 ac_header_preproc=yes
10840 no:yes:* )
10841 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10842 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10843 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10844 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10845 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10846 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10847 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10848 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10849 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10850 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10851 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10852 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10853 ( cat <<\_ASBOX
10854 ## ------------------------------------ ##
10855 ## Report this to wine-devel@winehq.org ##
10856 ## ------------------------------------ ##
10857 _ASBOX
10858 ) | sed "s/^/$as_me: WARNING: /" >&2
10860 esac
10861 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10862 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10863 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 else
10866 ac_cv_header_sane_sane_h=$ac_header_preproc
10868 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10869 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10872 if test $ac_cv_header_sane_sane_h = yes; then
10873 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10874 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10875 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 else
10878 ac_check_lib_save_LIBS=$LIBS
10879 LIBS="-lsane $LIBS"
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h. */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10890 #ifdef __cplusplus
10891 extern "C"
10892 #endif
10893 char sane_open ();
10895 main ()
10897 return sane_open ();
10899 return 0;
10901 _ACEOF
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 (eval $ac_link) 2>conftest.er1
10905 ac_status=$?
10906 grep -v '^ *+' conftest.er1 >conftest.err
10907 rm -f conftest.er1
10908 cat conftest.err >&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } &&
10911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10914 ac_status=$?
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; } &&
10917 { ac_try='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10920 ac_status=$?
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_lib_sane_sane_open=yes
10924 else
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.$ac_ext >&5
10928 ac_cv_lib_sane_sane_open=no
10931 rm -f conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LIBS=$ac_check_lib_save_LIBS
10935 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10936 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10937 if test $ac_cv_lib_sane_sane_open = yes; then
10939 cat >>confdefs.h <<\_ACEOF
10940 #define HAVE_SANE 1
10941 _ACEOF
10943 else
10944 SANELIBS=""
10945 SANEINCL=""
10948 else
10949 SANELIBS=""
10950 SANEINCL=""
10954 LIBS="$ac_save_LIBS"
10955 CPPFLAGS="$ac_save_CPPFLAGS"
10958 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10959 set dummy gphoto2-config; ac_word=$2
10960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10962 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10963 echo $ECHO_N "(cached) $ECHO_C" >&6
10964 else
10965 if test -n "$gphoto2_devel"; then
10966 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10967 else
10968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10969 for as_dir in $PATH
10971 IFS=$as_save_IFS
10972 test -z "$as_dir" && as_dir=.
10973 for ac_exec_ext in '' $ac_executable_extensions; do
10974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10975 ac_cv_prog_gphoto2_devel="gphoto2-config"
10976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10977 break 2
10979 done
10980 done
10981 IFS=$as_save_IFS
10983 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10986 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10987 if test -n "$gphoto2_devel"; then
10988 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10989 echo "${ECHO_T}$gphoto2_devel" >&6; }
10990 else
10991 { echo "$as_me:$LINENO: result: no" >&5
10992 echo "${ECHO_T}no" >&6; }
10996 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10997 set dummy gphoto2-port-config; ac_word=$2
10998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11000 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11002 else
11003 if test -n "$gphoto2port_devel"; then
11004 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11005 else
11006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11007 for as_dir in $PATH
11009 IFS=$as_save_IFS
11010 test -z "$as_dir" && as_dir=.
11011 for ac_exec_ext in '' $ac_executable_extensions; do
11012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11013 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11015 break 2
11017 done
11018 done
11019 IFS=$as_save_IFS
11021 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11024 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11025 if test -n "$gphoto2port_devel"; then
11026 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11027 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11028 else
11029 { echo "$as_me:$LINENO: result: no" >&5
11030 echo "${ECHO_T}no" >&6; }
11034 GPHOTO2LIBS=""
11036 GPHOTO2INCL=""
11038 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11039 then
11040 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11041 GPHOTO2LIBS=""
11042 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11044 case "$i" in
11045 -L/usr/lib|-L/usr/lib64) ;;
11046 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11047 esac
11048 done
11049 ac_save_CPPFLAGS="$CPPFLAGS"
11050 ac_save_LIBS="$LIBS"
11051 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11052 LIBS="$LIBS $GPHOTO2LIBS"
11053 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11054 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11055 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11056 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11059 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11060 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11061 else
11062 # Is the header compilable?
11063 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11064 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11065 cat >conftest.$ac_ext <<_ACEOF
11066 /* confdefs.h. */
11067 _ACEOF
11068 cat confdefs.h >>conftest.$ac_ext
11069 cat >>conftest.$ac_ext <<_ACEOF
11070 /* end confdefs.h. */
11071 $ac_includes_default
11072 #include <gphoto2-camera.h>
11073 _ACEOF
11074 rm -f conftest.$ac_objext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11076 (eval $ac_compile) 2>conftest.er1
11077 ac_status=$?
11078 grep -v '^ *+' conftest.er1 >conftest.err
11079 rm -f conftest.er1
11080 cat conftest.err >&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11086 ac_status=$?
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; } &&
11089 { ac_try='test -s conftest.$ac_objext'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11092 ac_status=$?
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then
11095 ac_header_compiler=yes
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11100 ac_header_compiler=no
11103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11105 echo "${ECHO_T}$ac_header_compiler" >&6; }
11107 # Is the header present?
11108 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11109 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11110 cat >conftest.$ac_ext <<_ACEOF
11111 /* confdefs.h. */
11112 _ACEOF
11113 cat confdefs.h >>conftest.$ac_ext
11114 cat >>conftest.$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11116 #include <gphoto2-camera.h>
11117 _ACEOF
11118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11120 ac_status=$?
11121 grep -v '^ *+' conftest.er1 >conftest.err
11122 rm -f conftest.er1
11123 cat conftest.err >&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } >/dev/null; then
11126 if test -s conftest.err; then
11127 ac_cpp_err=$ac_c_preproc_warn_flag
11128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11129 else
11130 ac_cpp_err=
11132 else
11133 ac_cpp_err=yes
11135 if test -z "$ac_cpp_err"; then
11136 ac_header_preproc=yes
11137 else
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.$ac_ext >&5
11141 ac_header_preproc=no
11144 rm -f conftest.err conftest.$ac_ext
11145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11146 echo "${ECHO_T}$ac_header_preproc" >&6; }
11148 # So? What about this header?
11149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11150 yes:no: )
11151 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11152 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11153 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11154 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11155 ac_header_preproc=yes
11157 no:yes:* )
11158 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11159 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11160 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11161 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11162 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11163 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11164 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11165 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11166 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11167 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11168 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11169 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11170 ( cat <<\_ASBOX
11171 ## ------------------------------------ ##
11172 ## Report this to wine-devel@winehq.org ##
11173 ## ------------------------------------ ##
11174 _ASBOX
11175 ) | sed "s/^/$as_me: WARNING: /" >&2
11177 esac
11178 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11179 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11180 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 else
11183 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11185 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11186 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11189 if test $ac_cv_header_gphoto2_camera_h = yes; then
11190 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11191 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11192 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lgphoto2 $LIBS"
11197 cat >conftest.$ac_ext <<_ACEOF
11198 /* confdefs.h. */
11199 _ACEOF
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char gp_camera_new ();
11212 main ()
11214 return gp_camera_new ();
11216 return 0;
11218 _ACEOF
11219 rm -f conftest.$ac_objext conftest$ac_exeext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11221 (eval $ac_link) 2>conftest.er1
11222 ac_status=$?
11223 grep -v '^ *+' conftest.er1 >conftest.err
11224 rm -f conftest.er1
11225 cat conftest.err >&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } &&
11228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11231 ac_status=$?
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try='test -s conftest$ac_exeext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_cv_lib_gphoto2_gp_camera_new=yes
11241 else
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11245 ac_cv_lib_gphoto2_gp_camera_new=no
11248 rm -f conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11253 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11254 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11256 cat >>confdefs.h <<\_ACEOF
11257 #define HAVE_GPHOTO2 1
11258 _ACEOF
11260 else
11261 GPHOTO2LIBS=""
11262 GPHOTO2INCL=""
11265 else
11266 GPHOTO2LIBS=""
11267 GPHOTO2INCL=""
11271 LIBS="$ac_save_LIBS"
11272 CPPFLAGS="$ac_save_CPPFLAGS"
11275 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11276 then
11277 saved_libs="$LIBS"
11278 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
11279 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
11280 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
11281 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
11282 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6; }
11283 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
11284 cat >conftest.$ac_ext <<_ACEOF
11285 /* confdefs.h. */
11286 _ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <unicode/ubidi.h>
11292 main ()
11294 ubidi_open()
11296 return 0;
11298 _ACEOF
11299 rm -f conftest.$ac_objext conftest$ac_exeext
11300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11301 (eval $ac_link) 2>conftest.er1
11302 ac_status=$?
11303 grep -v '^ *+' conftest.er1 >conftest.err
11304 rm -f conftest.er1
11305 cat conftest.err >&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } &&
11308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11311 ac_status=$?
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try='test -s conftest$ac_exeext'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11317 ac_status=$?
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; }; then
11321 cat >>confdefs.h <<\_ACEOF
11322 #define HAVE_ICU 1
11323 _ACEOF
11325 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
11327 { echo "$as_me:$LINENO: result: yes" >&5
11328 echo "${ECHO_T}yes" >&6; }
11329 else
11330 echo "$as_me: failed program was:" >&5
11331 sed 's/^/| /' conftest.$ac_ext >&5
11333 { echo "$as_me:$LINENO: result: no" >&5
11334 echo "${ECHO_T}no" >&6; }
11337 rm -f conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS="$saved_libs"
11342 RESOLVLIBS=""
11344 if test "$ac_cv_header_resolv_h" = "yes"
11345 then
11346 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11347 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11348 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 else
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lresolv $LIBS"
11353 cat >conftest.$ac_ext <<_ACEOF
11354 /* confdefs.h. */
11355 _ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char res_query ();
11368 main ()
11370 return res_query ();
11372 return 0;
11374 _ACEOF
11375 rm -f conftest.$ac_objext conftest$ac_exeext
11376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11377 (eval $ac_link) 2>conftest.er1
11378 ac_status=$?
11379 grep -v '^ *+' conftest.er1 >conftest.err
11380 rm -f conftest.er1
11381 cat conftest.err >&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11387 ac_status=$?
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; } &&
11390 { ac_try='test -s conftest$ac_exeext'
11391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392 (eval $ac_try) 2>&5
11393 ac_status=$?
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }; }; then
11396 ac_cv_lib_resolv_res_query=yes
11397 else
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11401 ac_cv_lib_resolv_res_query=no
11404 rm -f conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11409 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11410 if test $ac_cv_lib_resolv_res_query = yes; then
11412 cat >>confdefs.h <<\_ACEOF
11413 #define HAVE_RESOLV 1
11414 _ACEOF
11416 RESOLVLIBS="-lresolv"
11421 LCMSLIBS=""
11423 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11424 then
11425 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11426 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11427 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-llcms $LIBS"
11432 cat >conftest.$ac_ext <<_ACEOF
11433 /* confdefs.h. */
11434 _ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char cmsOpenProfileFromFile ();
11447 main ()
11449 return cmsOpenProfileFromFile ();
11451 return 0;
11453 _ACEOF
11454 rm -f conftest.$ac_objext conftest$ac_exeext
11455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11456 (eval $ac_link) 2>conftest.er1
11457 ac_status=$?
11458 grep -v '^ *+' conftest.er1 >conftest.err
11459 rm -f conftest.er1
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } &&
11463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11465 (eval $ac_try) 2>&5
11466 ac_status=$?
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; } &&
11469 { ac_try='test -s conftest$ac_exeext'
11470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11471 (eval $ac_try) 2>&5
11472 ac_status=$?
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); }; }; then
11475 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
11476 else
11477 echo "$as_me: failed program was:" >&5
11478 sed 's/^/| /' conftest.$ac_ext >&5
11480 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
11483 rm -f conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_lib_save_LIBS
11487 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11488 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11489 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11491 cat >>confdefs.h <<\_ACEOF
11492 #define HAVE_LCMS 1
11493 _ACEOF
11495 LCMSLIBS="-llcms"
11500 LDAPLIBS=""
11502 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
11503 then
11504 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
11505 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
11506 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 else
11509 ac_check_lib_save_LIBS=$LIBS
11510 LIBS="-lldap_r $LIBPTHREAD $LIBS"
11511 cat >conftest.$ac_ext <<_ACEOF
11512 /* confdefs.h. */
11513 _ACEOF
11514 cat confdefs.h >>conftest.$ac_ext
11515 cat >>conftest.$ac_ext <<_ACEOF
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11521 #ifdef __cplusplus
11522 extern "C"
11523 #endif
11524 char ldap_initialize ();
11526 main ()
11528 return ldap_initialize ();
11530 return 0;
11532 _ACEOF
11533 rm -f conftest.$ac_objext conftest$ac_exeext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11535 (eval $ac_link) 2>conftest.er1
11536 ac_status=$?
11537 grep -v '^ *+' conftest.er1 >conftest.err
11538 rm -f conftest.er1
11539 cat conftest.err >&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } &&
11542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11545 ac_status=$?
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try='test -s conftest$ac_exeext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11551 ac_status=$?
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 ac_cv_lib_ldap_r_ldap_initialize=yes
11555 else
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 ac_cv_lib_ldap_r_ldap_initialize=no
11562 rm -f conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11566 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
11567 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
11568 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
11569 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
11570 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
11571 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 else
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-llber $LIBPTHREAD $LIBS"
11576 cat >conftest.$ac_ext <<_ACEOF
11577 /* confdefs.h. */
11578 _ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11586 #ifdef __cplusplus
11587 extern "C"
11588 #endif
11589 char ber_init ();
11591 main ()
11593 return ber_init ();
11595 return 0;
11597 _ACEOF
11598 rm -f conftest.$ac_objext conftest$ac_exeext
11599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11600 (eval $ac_link) 2>conftest.er1
11601 ac_status=$?
11602 grep -v '^ *+' conftest.er1 >conftest.err
11603 rm -f conftest.er1
11604 cat conftest.err >&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } &&
11607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try='test -s conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 ac_cv_lib_lber_ber_init=yes
11620 else
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.$ac_ext >&5
11624 ac_cv_lib_lber_ber_init=no
11627 rm -f conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_lib_save_LIBS
11631 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
11632 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
11633 if test $ac_cv_lib_lber_ber_init = yes; then
11635 cat >>confdefs.h <<\_ACEOF
11636 #define HAVE_LDAP 1
11637 _ACEOF
11639 LDAPLIBS="-lldap_r -llber"
11644 ac_wine_check_funcs_save_LIBS="$LIBS"
11645 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
11650 for ac_func in \
11651 ldap_count_references \
11652 ldap_first_reference \
11653 ldap_next_reference \
11654 ldap_parse_reference
11656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11660 echo $ECHO_N "(cached) $ECHO_C" >&6
11661 else
11662 cat >conftest.$ac_ext <<_ACEOF
11663 /* confdefs.h. */
11664 _ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11670 #define $ac_func innocuous_$ac_func
11672 /* System header to define __stub macros and hopefully few prototypes,
11673 which can conflict with char $ac_func (); below.
11674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11675 <limits.h> exists even on freestanding compilers. */
11677 #ifdef __STDC__
11678 # include <limits.h>
11679 #else
11680 # include <assert.h>
11681 #endif
11683 #undef $ac_func
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char $ac_func ();
11692 /* The GNU C library defines this for functions which it implements
11693 to always fail with ENOSYS. Some functions are actually named
11694 something starting with __ and the normal name is an alias. */
11695 #if defined __stub_$ac_func || defined __stub___$ac_func
11696 choke me
11697 #endif
11700 main ()
11702 return $ac_func ();
11704 return 0;
11706 _ACEOF
11707 rm -f conftest.$ac_objext conftest$ac_exeext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11709 (eval $ac_link) 2>conftest.er1
11710 ac_status=$?
11711 grep -v '^ *+' conftest.er1 >conftest.err
11712 rm -f conftest.er1
11713 cat conftest.err >&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } &&
11716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11719 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try='test -s conftest$ac_exeext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11725 ac_status=$?
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 eval "$as_ac_var=yes"
11729 else
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11733 eval "$as_ac_var=no"
11736 rm -f conftest.err conftest.$ac_objext \
11737 conftest$ac_exeext conftest.$ac_ext
11739 ac_res=`eval echo '${'$as_ac_var'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11742 if test `eval echo '${'$as_ac_var'}'` = yes; then
11743 cat >>confdefs.h <<_ACEOF
11744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11745 _ACEOF
11748 done
11750 LIBS="$ac_wine_check_funcs_save_LIBS"
11753 FREETYPELIBS=""
11755 FREETYPEINCL=""
11757 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11758 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11759 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11762 ac_check_lib_save_LIBS=$LIBS
11763 LIBS="-lfreetype $X_LIBS $LIBS"
11764 cat >conftest.$ac_ext <<_ACEOF
11765 /* confdefs.h. */
11766 _ACEOF
11767 cat confdefs.h >>conftest.$ac_ext
11768 cat >>conftest.$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11774 #ifdef __cplusplus
11775 extern "C"
11776 #endif
11777 char FT_Init_FreeType ();
11779 main ()
11781 return FT_Init_FreeType ();
11783 return 0;
11785 _ACEOF
11786 rm -f conftest.$ac_objext conftest$ac_exeext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11788 (eval $ac_link) 2>conftest.er1
11789 ac_status=$?
11790 grep -v '^ *+' conftest.er1 >conftest.err
11791 rm -f conftest.er1
11792 cat conftest.err >&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } &&
11795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11798 ac_status=$?
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; } &&
11801 { ac_try='test -s conftest$ac_exeext'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11804 ac_status=$?
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 ac_cv_lib_freetype_FT_Init_FreeType=yes
11808 else
11809 echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.$ac_ext >&5
11812 ac_cv_lib_freetype_FT_Init_FreeType=no
11815 rm -f conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_lib_save_LIBS
11819 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11820 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11821 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11822 ft_lib=yes
11823 else
11824 ft_lib=no
11827 if test "$ft_lib" = "no"
11828 then
11829 wine_cv_msg_freetype=no
11830 else
11831 # Extract the first word of "freetype-config", so it can be a program name with args.
11832 set dummy freetype-config; ac_word=$2
11833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11835 if test "${ac_cv_prog_ft_devel+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 else
11838 if test -n "$ft_devel"; then
11839 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
11840 else
11841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11842 for as_dir in $PATH
11844 IFS=$as_save_IFS
11845 test -z "$as_dir" && as_dir=.
11846 for ac_exec_ext in '' $ac_executable_extensions; do
11847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11848 ac_cv_prog_ft_devel="freetype-config"
11849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11850 break 2
11852 done
11853 done
11854 IFS=$as_save_IFS
11856 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
11859 ft_devel=$ac_cv_prog_ft_devel
11860 if test -n "$ft_devel"; then
11861 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11862 echo "${ECHO_T}$ft_devel" >&6; }
11863 else
11864 { echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6; }
11869 if test "$ft_devel" = "no"
11870 then
11871 # Extract the first word of "freetype2-config", so it can be a program name with args.
11872 set dummy freetype2-config; ac_word=$2
11873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11875 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 else
11878 if test -n "$ft_devel2"; then
11879 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
11880 else
11881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882 for as_dir in $PATH
11884 IFS=$as_save_IFS
11885 test -z "$as_dir" && as_dir=.
11886 for ac_exec_ext in '' $ac_executable_extensions; do
11887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11888 ac_cv_prog_ft_devel2="freetype2-config"
11889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11890 break 2
11892 done
11893 done
11894 IFS=$as_save_IFS
11896 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
11899 ft_devel2=$ac_cv_prog_ft_devel2
11900 if test -n "$ft_devel2"; then
11901 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11902 echo "${ECHO_T}$ft_devel2" >&6; }
11903 else
11904 { echo "$as_me:$LINENO: result: no" >&5
11905 echo "${ECHO_T}no" >&6; }
11909 if test "$ft_devel2" = "freetype2-config"
11910 then
11911 ft_devel=$ft_devel2
11914 if test "$ft_devel" = "no"
11915 then
11916 wine_cv_msg_freetype=yes
11917 else
11918 FREETYPELIBS=`$ft_devel --libs`
11919 FREETYPEINCL=`$ft_devel --cflags`
11920 ac_save_CPPFLAGS="$CPPFLAGS"
11921 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11933 for ac_header in ft2build.h \
11934 freetype/freetype.h \
11935 freetype/ftglyph.h \
11936 freetype/tttables.h \
11937 freetype/ftnames.h \
11938 freetype/ftsnames.h \
11939 freetype/ttnameid.h \
11940 freetype/ftoutln.h \
11941 freetype/ftwinfnt.h \
11942 freetype/ftmodapi.h \
11943 freetype/internal/sfnt.h
11945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 else
11951 cat >conftest.$ac_ext <<_ACEOF
11952 /* confdefs.h. */
11953 _ACEOF
11954 cat confdefs.h >>conftest.$ac_ext
11955 cat >>conftest.$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11957 #if HAVE_FT2BUILD_H
11958 #include <ft2build.h>
11959 #endif
11961 #include <$ac_header>
11962 _ACEOF
11963 rm -f conftest.$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11966 ac_status=$?
11967 grep -v '^ *+' conftest.er1 >conftest.err
11968 rm -f conftest.er1
11969 cat conftest.err >&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11974 (eval $ac_try) 2>&5
11975 ac_status=$?
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); }; } &&
11978 { ac_try='test -s conftest.$ac_objext'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11981 ac_status=$?
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; }; then
11984 eval "$as_ac_Header=yes"
11985 else
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.$ac_ext >&5
11989 eval "$as_ac_Header=no"
11992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11994 ac_res=`eval echo '${'$as_ac_Header'}'`
11995 { echo "$as_me:$LINENO: result: $ac_res" >&5
11996 echo "${ECHO_T}$ac_res" >&6; }
11997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11998 cat >>confdefs.h <<_ACEOF
11999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12000 _ACEOF
12004 done
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h. */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 #include <ft2build.h>
12013 #include <freetype/fttrigon.h>
12014 _ACEOF
12015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12017 ac_status=$?
12018 grep -v '^ *+' conftest.er1 >conftest.err
12019 rm -f conftest.er1
12020 cat conftest.err >&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } >/dev/null; then
12023 if test -s conftest.err; then
12024 ac_cpp_err=$ac_c_preproc_warn_flag
12025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12026 else
12027 ac_cpp_err=
12029 else
12030 ac_cpp_err=yes
12032 if test -z "$ac_cpp_err"; then
12034 cat >>confdefs.h <<\_ACEOF
12035 #define HAVE_FREETYPE_FTTRIGON_H 1
12036 _ACEOF
12038 wine_cv_fttrigon=yes
12039 else
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12043 wine_cv_fttrigon=no
12046 rm -f conftest.err conftest.$ac_ext
12047 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12048 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12049 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 else
12052 cat >conftest.$ac_ext <<_ACEOF
12053 /* confdefs.h. */
12054 _ACEOF
12055 cat confdefs.h >>conftest.$ac_ext
12056 cat >>conftest.$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 #include <freetype/ftmodapi.h>
12060 typedef FT_TrueTypeEngineType ac__type_new_;
12062 main ()
12064 if ((ac__type_new_ *) 0)
12065 return 0;
12066 if (sizeof (ac__type_new_))
12067 return 0;
12069 return 0;
12071 _ACEOF
12072 rm -f conftest.$ac_objext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12074 (eval $ac_compile) 2>conftest.er1
12075 ac_status=$?
12076 grep -v '^ *+' conftest.er1 >conftest.err
12077 rm -f conftest.er1
12078 cat conftest.err >&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } &&
12081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12084 ac_status=$?
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; } &&
12087 { ac_try='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12090 ac_status=$?
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_cv_type_FT_TrueTypeEngineType=yes
12094 else
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 ac_cv_type_FT_TrueTypeEngineType=no
12101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12103 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12104 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12105 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12107 cat >>confdefs.h <<_ACEOF
12108 #define HAVE_FT_TRUETYPEENGINETYPE 1
12109 _ACEOF
12114 ac_save_CFLAGS="$CFLAGS"
12115 CFLAGS="$CFLAGS $FREETYPELIBS"
12117 for ac_func in FT_Load_Sfnt_Table
12119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 else
12125 cat >conftest.$ac_ext <<_ACEOF
12126 /* confdefs.h. */
12127 _ACEOF
12128 cat confdefs.h >>conftest.$ac_ext
12129 cat >>conftest.$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12133 #define $ac_func innocuous_$ac_func
12135 /* System header to define __stub macros and hopefully few prototypes,
12136 which can conflict with char $ac_func (); below.
12137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12138 <limits.h> exists even on freestanding compilers. */
12140 #ifdef __STDC__
12141 # include <limits.h>
12142 #else
12143 # include <assert.h>
12144 #endif
12146 #undef $ac_func
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 $ac_func ();
12155 /* The GNU C library defines this for functions which it implements
12156 to always fail with ENOSYS. Some functions are actually named
12157 something starting with __ and the normal name is an alias. */
12158 #if defined __stub_$ac_func || defined __stub___$ac_func
12159 choke me
12160 #endif
12163 main ()
12165 return $ac_func ();
12167 return 0;
12169 _ACEOF
12170 rm -f conftest.$ac_objext conftest$ac_exeext
12171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12172 (eval $ac_link) 2>conftest.er1
12173 ac_status=$?
12174 grep -v '^ *+' conftest.er1 >conftest.err
12175 rm -f conftest.er1
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } &&
12179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12182 ac_status=$?
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try='test -s conftest$ac_exeext'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12188 ac_status=$?
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; }; then
12191 eval "$as_ac_var=yes"
12192 else
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.$ac_ext >&5
12196 eval "$as_ac_var=no"
12199 rm -f conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12202 ac_res=`eval echo '${'$as_ac_var'}'`
12203 { echo "$as_me:$LINENO: result: $ac_res" >&5
12204 echo "${ECHO_T}$ac_res" >&6; }
12205 if test `eval echo '${'$as_ac_var'}'` = yes; then
12206 cat >>confdefs.h <<_ACEOF
12207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12208 _ACEOF
12211 done
12213 CFLAGS="$ac_save_CFLAGS"
12214 CPPFLAGS="$ac_save_CPPFLAGS"
12215 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12216 then
12218 cat >>confdefs.h <<\_ACEOF
12219 #define HAVE_FREETYPE 1
12220 _ACEOF
12222 wine_cv_msg_freetype=no
12223 else
12224 FREETYPELIBS=""
12225 FREETYPEINCL=""
12226 wine_cv_msg_freetype=yes
12231 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12232 then
12233 FONTSSUBDIRS="fonts"
12235 wine_cv_msg_fonts=no
12236 else
12237 wine_cv_msg_fonts=yes
12240 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12241 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12242 if test "${ac_cv_c_ppdev+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245 cat >conftest.$ac_ext <<_ACEOF
12246 /* confdefs.h. */
12247 _ACEOF
12248 cat confdefs.h >>conftest.$ac_ext
12249 cat >>conftest.$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12251 #include <linux/ppdev.h>
12253 main ()
12255 ioctl (1,PPCLAIM,0)
12257 return 0;
12259 _ACEOF
12260 rm -f conftest.$ac_objext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12262 (eval $ac_compile) 2>conftest.er1
12263 ac_status=$?
12264 grep -v '^ *+' conftest.er1 >conftest.err
12265 rm -f conftest.er1
12266 cat conftest.err >&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } &&
12269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12272 ac_status=$?
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; } &&
12275 { ac_try='test -s conftest.$ac_objext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_cv_c_ppdev="yes"
12282 else
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.$ac_ext >&5
12286 ac_cv_c_ppdev="no"
12289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12292 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12293 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12294 if test "$ac_cv_c_ppdev" = "yes"
12295 then
12297 cat >>confdefs.h <<\_ACEOF
12298 #define HAVE_PPDEV 1
12299 _ACEOF
12303 { echo "$as_me:$LINENO: checking for va_copy" >&5
12304 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12305 if test "${ac_cv_c_va_copy+set}" = set; then
12306 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 else
12308 cat >conftest.$ac_ext <<_ACEOF
12309 /* confdefs.h. */
12310 _ACEOF
12311 cat confdefs.h >>conftest.$ac_ext
12312 cat >>conftest.$ac_ext <<_ACEOF
12313 /* end confdefs.h. */
12314 #include <stdarg.h>
12316 main ()
12318 va_list ap1, ap2;
12319 va_copy(ap1,ap2);
12322 return 0;
12324 _ACEOF
12325 rm -f conftest.$ac_objext conftest$ac_exeext
12326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12327 (eval $ac_link) 2>conftest.er1
12328 ac_status=$?
12329 grep -v '^ *+' conftest.er1 >conftest.err
12330 rm -f conftest.er1
12331 cat conftest.err >&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); } &&
12334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12337 ac_status=$?
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; } &&
12340 { ac_try='test -s conftest$ac_exeext'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12343 ac_status=$?
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; }; then
12346 ac_cv_c_va_copy="yes"
12347 else
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.$ac_ext >&5
12351 ac_cv_c_va_copy="no"
12354 rm -f conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12358 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12359 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12360 if test "$ac_cv_c_va_copy" = "yes"
12361 then
12363 cat >>confdefs.h <<\_ACEOF
12364 #define HAVE_VA_COPY 1
12365 _ACEOF
12368 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12369 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12370 if test "${ac_cv_c___va_copy+set}" = set; then
12371 echo $ECHO_N "(cached) $ECHO_C" >&6
12372 else
12373 cat >conftest.$ac_ext <<_ACEOF
12374 /* confdefs.h. */
12375 _ACEOF
12376 cat confdefs.h >>conftest.$ac_ext
12377 cat >>conftest.$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12379 #include <stdarg.h>
12381 main ()
12383 va_list ap1, ap2;
12384 __va_copy(ap1,ap2);
12387 return 0;
12389 _ACEOF
12390 rm -f conftest.$ac_objext conftest$ac_exeext
12391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12392 (eval $ac_link) 2>conftest.er1
12393 ac_status=$?
12394 grep -v '^ *+' conftest.er1 >conftest.err
12395 rm -f conftest.er1
12396 cat conftest.err >&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } &&
12399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12402 ac_status=$?
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try='test -s conftest$ac_exeext'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12408 ac_status=$?
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; }; then
12411 ac_cv_c___va_copy="yes"
12412 else
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.$ac_ext >&5
12416 ac_cv_c___va_copy="no"
12419 rm -f conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12423 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12424 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12425 if test "$ac_cv_c___va_copy" = "yes"
12426 then
12428 cat >>confdefs.h <<\_ACEOF
12429 #define HAVE___VA_COPY 1
12430 _ACEOF
12434 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12435 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12436 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 else
12439 cat >conftest.$ac_ext <<_ACEOF
12440 /* confdefs.h. */
12441 _ACEOF
12442 cat confdefs.h >>conftest.$ac_ext
12443 cat >>conftest.$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12445 #include <setjmp.h>
12447 main ()
12449 sigjmp_buf buf;
12450 sigsetjmp( buf, 1 );
12451 siglongjmp( buf, 1 );
12453 return 0;
12455 _ACEOF
12456 rm -f conftest.$ac_objext conftest$ac_exeext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>conftest.er1
12459 ac_status=$?
12460 grep -v '^ *+' conftest.er1 >conftest.err
12461 rm -f conftest.er1
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12468 ac_status=$?
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; } &&
12471 { ac_try='test -s conftest$ac_exeext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12474 ac_status=$?
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 ac_cv_c_sigsetjmp="yes"
12478 else
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.$ac_ext >&5
12482 ac_cv_c_sigsetjmp="no"
12485 rm -f conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12489 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12490 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12491 if test "$ac_cv_c_sigsetjmp" = "yes"
12492 then
12494 cat >>confdefs.h <<\_ACEOF
12495 #define HAVE_SIGSETJMP 1
12496 _ACEOF
12500 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12501 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12502 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 else
12505 cat >conftest.$ac_ext <<_ACEOF
12506 /* confdefs.h. */
12507 _ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12511 #define _GNU_SOURCE
12512 #include <pthread.h>
12514 typedef pthread_rwlock_t ac__type_new_;
12516 main ()
12518 if ((ac__type_new_ *) 0)
12519 return 0;
12520 if (sizeof (ac__type_new_))
12521 return 0;
12523 return 0;
12525 _ACEOF
12526 rm -f conftest.$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_cv_type_pthread_rwlock_t=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12552 ac_cv_type_pthread_rwlock_t=no
12555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12557 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
12558 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
12559 if test $ac_cv_type_pthread_rwlock_t = yes; then
12561 cat >>confdefs.h <<_ACEOF
12562 #define HAVE_PTHREAD_RWLOCK_T 1
12563 _ACEOF
12567 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
12568 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
12569 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 else
12572 cat >conftest.$ac_ext <<_ACEOF
12573 /* confdefs.h. */
12574 _ACEOF
12575 cat confdefs.h >>conftest.$ac_ext
12576 cat >>conftest.$ac_ext <<_ACEOF
12577 /* end confdefs.h. */
12578 #define _GNU_SOURCE
12579 #include <pthread.h>
12581 typedef pthread_rwlockattr_t ac__type_new_;
12583 main ()
12585 if ((ac__type_new_ *) 0)
12586 return 0;
12587 if (sizeof (ac__type_new_))
12588 return 0;
12590 return 0;
12592 _ACEOF
12593 rm -f conftest.$ac_objext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12595 (eval $ac_compile) 2>conftest.er1
12596 ac_status=$?
12597 grep -v '^ *+' conftest.er1 >conftest.err
12598 rm -f conftest.er1
12599 cat conftest.err >&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12605 ac_status=$?
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try='test -s conftest.$ac_objext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12611 ac_status=$?
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 ac_cv_type_pthread_rwlockattr_t=yes
12615 else
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.$ac_ext >&5
12619 ac_cv_type_pthread_rwlockattr_t=no
12622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12624 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
12625 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
12626 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
12628 cat >>confdefs.h <<_ACEOF
12629 #define HAVE_PTHREAD_RWLOCKATTR_T 1
12630 _ACEOF
12636 ac_wine_check_funcs_save_LIBS="$LIBS"
12637 LIBS="$LIBS $LIBPTHREAD"
12641 for ac_func in \
12642 pthread_getattr_np \
12643 pthread_get_stackaddr_np \
12644 pthread_get_stacksize_np
12646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652 cat >conftest.$ac_ext <<_ACEOF
12653 /* confdefs.h. */
12654 _ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12660 #define $ac_func innocuous_$ac_func
12662 /* System header to define __stub macros and hopefully few prototypes,
12663 which can conflict with char $ac_func (); below.
12664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12665 <limits.h> exists even on freestanding compilers. */
12667 #ifdef __STDC__
12668 # include <limits.h>
12669 #else
12670 # include <assert.h>
12671 #endif
12673 #undef $ac_func
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char $ac_func ();
12682 /* The GNU C library defines this for functions which it implements
12683 to always fail with ENOSYS. Some functions are actually named
12684 something starting with __ and the normal name is an alias. */
12685 #if defined __stub_$ac_func || defined __stub___$ac_func
12686 choke me
12687 #endif
12690 main ()
12692 return $ac_func ();
12694 return 0;
12696 _ACEOF
12697 rm -f conftest.$ac_objext conftest$ac_exeext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12699 (eval $ac_link) 2>conftest.er1
12700 ac_status=$?
12701 grep -v '^ *+' conftest.er1 >conftest.err
12702 rm -f conftest.er1
12703 cat conftest.err >&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; } &&
12712 { ac_try='test -s conftest$ac_exeext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 eval "$as_ac_var=yes"
12719 else
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.$ac_ext >&5
12723 eval "$as_ac_var=no"
12726 rm -f conftest.err conftest.$ac_objext \
12727 conftest$ac_exeext conftest.$ac_ext
12729 ac_res=`eval echo '${'$as_ac_var'}'`
12730 { echo "$as_me:$LINENO: result: $ac_res" >&5
12731 echo "${ECHO_T}$ac_res" >&6; }
12732 if test `eval echo '${'$as_ac_var'}'` = yes; then
12733 cat >>confdefs.h <<_ACEOF
12734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12735 _ACEOF
12738 done
12740 LIBS="$ac_wine_check_funcs_save_LIBS"
12742 # Extract the first word of "artsc-config", so it can be a program name with args.
12743 set dummy artsc-config; ac_word=$2
12744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12746 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 else
12749 case $ARTSCCONFIG in
12750 [\\/]* | ?:[\\/]*)
12751 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
12754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12755 for as_dir in $PATH
12757 IFS=$as_save_IFS
12758 test -z "$as_dir" && as_dir=.
12759 for ac_exec_ext in '' $ac_executable_extensions; do
12760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12761 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
12762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12763 break 2
12765 done
12766 done
12767 IFS=$as_save_IFS
12770 esac
12772 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
12773 if test -n "$ARTSCCONFIG"; then
12774 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12775 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12776 else
12777 { echo "$as_me:$LINENO: result: no" >&5
12778 echo "${ECHO_T}no" >&6; }
12782 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
12783 then
12784 ARTSC_CFLAGS=""
12785 for i in `$ARTSCCONFIG --cflags`
12787 case "$i" in
12788 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
12789 esac
12790 done
12791 ARTSC_LIBS=""
12792 for i in `$ARTSCCONFIG --libs`
12794 case "$i" in
12795 -L/usr/lib|-L/usr/lib64) ;;
12796 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
12797 esac
12798 done
12799 save_CFLAGS="$CFLAGS"
12800 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
12801 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12802 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12803 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lartsc $ARTSC_LIBS $LIBS"
12808 cat >conftest.$ac_ext <<_ACEOF
12809 /* confdefs.h. */
12810 _ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char arts_init ();
12823 main ()
12825 return arts_init ();
12827 return 0;
12829 _ACEOF
12830 rm -f conftest.$ac_objext conftest$ac_exeext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12832 (eval $ac_link) 2>conftest.er1
12833 ac_status=$?
12834 grep -v '^ *+' conftest.er1 >conftest.err
12835 rm -f conftest.er1
12836 cat conftest.err >&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } &&
12839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; } &&
12845 { ac_try='test -s conftest$ac_exeext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_cv_lib_artsc_arts_init=yes
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12856 ac_cv_lib_artsc_arts_init=no
12859 rm -f conftest.err conftest.$ac_objext \
12860 conftest$ac_exeext conftest.$ac_ext
12861 LIBS=$ac_check_lib_save_LIBS
12863 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12864 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12865 if test $ac_cv_lib_artsc_arts_init = yes; then
12866 cat >conftest.$ac_ext <<_ACEOF
12867 /* confdefs.h. */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <artsc.h>
12874 main ()
12876 arts_stream_t stream;
12878 return 0;
12880 _ACEOF
12881 rm -f conftest.$ac_objext
12882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12883 (eval $ac_compile) 2>conftest.er1
12884 ac_status=$?
12885 grep -v '^ *+' conftest.er1 >conftest.err
12886 rm -f conftest.er1
12887 cat conftest.err >&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; } &&
12896 { ac_try='test -s conftest.$ac_objext'
12897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 (eval $ac_try) 2>&5
12899 ac_status=$?
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; }; then
12902 ARTSLIBS=$ARTSC_LIBS
12904 ARTSINCL=$ARTSC_CFLAGS
12907 cat >>confdefs.h <<\_ACEOF
12908 #define HAVE_ARTS 1
12909 _ACEOF
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12921 CFLAGS="$save_CFLAGS"
12924 # Extract the first word of "esd-config", so it can be a program name with args.
12925 set dummy esd-config; ac_word=$2
12926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12928 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12931 case $ESDCONFIG in
12932 [\\/]* | ?:[\\/]*)
12933 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
12936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12937 for as_dir in $PATH
12939 IFS=$as_save_IFS
12940 test -z "$as_dir" && as_dir=.
12941 for ac_exec_ext in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945 break 2
12947 done
12948 done
12949 IFS=$as_save_IFS
12952 esac
12954 ESDCONFIG=$ac_cv_path_ESDCONFIG
12955 if test -n "$ESDCONFIG"; then
12956 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12957 echo "${ECHO_T}$ESDCONFIG" >&6; }
12958 else
12959 { echo "$as_me:$LINENO: result: no" >&5
12960 echo "${ECHO_T}no" >&6; }
12964 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12965 then
12966 ESD_CFLAGS=""
12967 for i in `$ESDCONFIG --cflags`
12969 case "$i" in
12970 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12971 esac
12972 done
12973 ESD_LIBS=`$ESDCONFIG --libs`
12974 save_CFLAGS="$CFLAGS"
12975 CFLAGS="$CFLAGS $ESD_CFLAGS"
12976 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12977 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12978 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lesd $LIBS"
12983 cat >conftest.$ac_ext <<_ACEOF
12984 /* confdefs.h. */
12985 _ACEOF
12986 cat confdefs.h >>conftest.$ac_ext
12987 cat >>conftest.$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12990 /* Override any GCC internal prototype to avoid an error.
12991 Use char because int might match the return type of a GCC
12992 builtin and then its argument prototype would still apply. */
12993 #ifdef __cplusplus
12994 extern "C"
12995 #endif
12996 char esd_open_sound ();
12998 main ()
13000 return esd_open_sound ();
13002 return 0;
13004 _ACEOF
13005 rm -f conftest.$ac_objext conftest$ac_exeext
13006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13007 (eval $ac_link) 2>conftest.er1
13008 ac_status=$?
13009 grep -v '^ *+' conftest.er1 >conftest.err
13010 rm -f conftest.er1
13011 cat conftest.err >&5
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); } &&
13014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; } &&
13020 { ac_try='test -s conftest$ac_exeext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13023 ac_status=$?
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 ac_cv_lib_esd_esd_open_sound=yes
13027 else
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13031 ac_cv_lib_esd_esd_open_sound=no
13034 rm -f conftest.err conftest.$ac_objext \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13038 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13039 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13040 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13041 ESDLIBS=$ESD_LIBS
13043 ESDINCL=$ESD_CFLAGS
13046 cat >>confdefs.h <<\_ACEOF
13047 #define HAVE_ESD 1
13048 _ACEOF
13052 CFLAGS="$save_CFLAGS"
13055 ALSALIBS=""
13057 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13058 then
13059 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13060 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13061 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13062 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 else
13064 ac_check_lib_save_LIBS=$LIBS
13065 LIBS="-lasound $LIBS"
13066 cat >conftest.$ac_ext <<_ACEOF
13067 /* confdefs.h. */
13068 _ACEOF
13069 cat confdefs.h >>conftest.$ac_ext
13070 cat >>conftest.$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char snd_pcm_hw_params_get_access ();
13081 main ()
13083 return snd_pcm_hw_params_get_access ();
13085 return 0;
13087 _ACEOF
13088 rm -f conftest.$ac_objext conftest$ac_exeext
13089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13090 (eval $ac_link) 2>conftest.er1
13091 ac_status=$?
13092 grep -v '^ *+' conftest.er1 >conftest.err
13093 rm -f conftest.er1
13094 cat conftest.err >&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } &&
13097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13100 ac_status=$?
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; } &&
13103 { ac_try='test -s conftest$ac_exeext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13106 ac_status=$?
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13110 else
13111 echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.$ac_ext >&5
13114 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13117 rm -f conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 LIBS=$ac_check_lib_save_LIBS
13121 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13122 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13123 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13124 cat >conftest.$ac_ext <<_ACEOF
13125 /* confdefs.h. */
13126 _ACEOF
13127 cat confdefs.h >>conftest.$ac_ext
13128 cat >>conftest.$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 #ifdef HAVE_ALSA_ASOUNDLIB_H
13131 #include <alsa/asoundlib.h>
13132 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13133 #include <sys/asoundlib.h>
13134 #endif
13136 main ()
13138 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13140 return 0;
13142 _ACEOF
13143 rm -f conftest.$ac_objext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13145 (eval $ac_compile) 2>conftest.er1
13146 ac_status=$?
13147 grep -v '^ *+' conftest.er1 >conftest.err
13148 rm -f conftest.er1
13149 cat conftest.err >&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13161 ac_status=$?
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13165 cat >>confdefs.h <<\_ACEOF
13166 #define HAVE_ALSA 1
13167 _ACEOF
13169 ALSALIBS="-lasound"
13170 else
13171 echo "$as_me: failed program was:" >&5
13172 sed 's/^/| /' conftest.$ac_ext >&5
13177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13183 AUDIOIOLIBS=""
13185 if test "$ac_cv_header_libaudioio_h" = "yes"
13186 then
13187 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13188 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13189 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 else
13192 ac_check_lib_save_LIBS=$LIBS
13193 LIBS="-laudioio $LIBS"
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13204 #ifdef __cplusplus
13205 extern "C"
13206 #endif
13207 char AudioIOGetVersion ();
13209 main ()
13211 return AudioIOGetVersion ();
13213 return 0;
13215 _ACEOF
13216 rm -f conftest.$ac_objext conftest$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>conftest.er1
13219 ac_status=$?
13220 grep -v '^ *+' conftest.er1 >conftest.err
13221 rm -f conftest.er1
13222 cat conftest.err >&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } &&
13225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13228 ac_status=$?
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try='test -s conftest$ac_exeext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_lib_audioio_AudioIOGetVersion=yes
13238 else
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.$ac_ext >&5
13242 ac_cv_lib_audioio_AudioIOGetVersion=no
13245 rm -f conftest.err conftest.$ac_objext \
13246 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_lib_save_LIBS
13249 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13250 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13251 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13252 AUDIOIOLIBS="-laudioio"
13254 cat >>confdefs.h <<\_ACEOF
13255 #define HAVE_LIBAUDIOIO 1
13256 _ACEOF
13263 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13264 then
13265 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
13266 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
13267 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 else
13270 ac_check_lib_save_LIBS=$LIBS
13271 LIBS="-lcapi20 $LIBS"
13272 cat >conftest.$ac_ext <<_ACEOF
13273 /* confdefs.h. */
13274 _ACEOF
13275 cat confdefs.h >>conftest.$ac_ext
13276 cat >>conftest.$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13282 #ifdef __cplusplus
13283 extern "C"
13284 #endif
13285 char capi20_register ();
13287 main ()
13289 return capi20_register ();
13291 return 0;
13293 _ACEOF
13294 rm -f conftest.$ac_objext conftest$ac_exeext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13296 (eval $ac_link) 2>conftest.er1
13297 ac_status=$?
13298 grep -v '^ *+' conftest.er1 >conftest.err
13299 rm -f conftest.er1
13300 cat conftest.err >&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13305 (eval $ac_try) 2>&5
13306 ac_status=$?
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }; } &&
13309 { ac_try='test -s conftest$ac_exeext'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13312 ac_status=$?
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; }; then
13315 ac_cv_lib_capi20_capi20_register=yes
13316 else
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.$ac_ext >&5
13320 ac_cv_lib_capi20_capi20_register=no
13323 rm -f conftest.err conftest.$ac_objext \
13324 conftest$ac_exeext conftest.$ac_ext
13325 LIBS=$ac_check_lib_save_LIBS
13327 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
13328 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
13329 if test $ac_cv_lib_capi20_capi20_register = yes; then
13331 cat >>confdefs.h <<\_ACEOF
13332 #define HAVE_CAPI4LINUX 1
13333 _ACEOF
13340 EXTRACFLAGS=""
13342 if test "x${GCC}" = "xyes"
13343 then
13344 EXTRACFLAGS="-Wall -pipe"
13346 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
13347 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
13348 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 else
13351 if test "$cross_compiling" = yes; then
13352 ac_cv_c_gcc_strength_bug="yes"
13353 else
13354 cat >conftest.$ac_ext <<_ACEOF
13355 /* confdefs.h. */
13356 _ACEOF
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13361 int L[4] = {0,1,2,3};
13362 int main(void) {
13363 static int Array[3];
13364 unsigned int B = 3;
13365 int i;
13366 for(i=0; i<B; i++) Array[i] = i - 3;
13367 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13368 L[i] = 4;
13370 exit( Array[1] != -2 || L[2] != 3);
13372 _ACEOF
13373 rm -f conftest$ac_exeext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13375 (eval $ac_link) 2>&5
13376 ac_status=$?
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13380 (eval $ac_try) 2>&5
13381 ac_status=$?
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; }; then
13384 ac_cv_c_gcc_strength_bug="no"
13385 else
13386 echo "$as_me: program exited with status $ac_status" >&5
13387 echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13390 ( exit $ac_status )
13391 ac_cv_c_gcc_strength_bug="yes"
13393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13398 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
13399 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
13400 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13401 then
13402 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13405 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
13406 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
13407 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 else
13410 ac_wine_try_cflags_saved=$CFLAGS
13411 CFLAGS="$CFLAGS -fshort-wchar"
13412 cat >conftest.$ac_ext <<_ACEOF
13413 /* confdefs.h. */
13414 _ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13420 main ()
13424 return 0;
13426 _ACEOF
13427 rm -f conftest.$ac_objext conftest$ac_exeext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13429 (eval $ac_link) 2>conftest.er1
13430 ac_status=$?
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13439 ac_status=$?
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; } &&
13442 { ac_try='test -s conftest$ac_exeext'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13445 ac_status=$?
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; }; then
13448 ac_cv_c_gcc_fshort_wchar="yes"
13449 else
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.$ac_ext >&5
13453 ac_cv_c_gcc_fshort_wchar="no"
13456 rm -f conftest.err conftest.$ac_objext \
13457 conftest$ac_exeext conftest.$ac_ext
13458 CFLAGS=$ac_wine_try_cflags_saved
13460 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
13461 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
13462 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
13463 then
13465 cat >>confdefs.h <<\_ACEOF
13466 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
13467 _ACEOF
13471 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
13472 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
13473 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 else
13476 ac_wine_try_cflags_saved=$CFLAGS
13477 CFLAGS="$CFLAGS -fno-strict-aliasing"
13478 cat >conftest.$ac_ext <<_ACEOF
13479 /* confdefs.h. */
13480 _ACEOF
13481 cat confdefs.h >>conftest.$ac_ext
13482 cat >>conftest.$ac_ext <<_ACEOF
13483 /* end confdefs.h. */
13486 main ()
13490 return 0;
13492 _ACEOF
13493 rm -f conftest.$ac_objext conftest$ac_exeext
13494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13495 (eval $ac_link) 2>conftest.er1
13496 ac_status=$?
13497 grep -v '^ *+' conftest.er1 >conftest.err
13498 rm -f conftest.er1
13499 cat conftest.err >&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } &&
13502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13505 ac_status=$?
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; } &&
13508 { ac_try='test -s conftest$ac_exeext'
13509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13510 (eval $ac_try) 2>&5
13511 ac_status=$?
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); }; }; then
13514 ac_cv_c_gcc_no_strict_aliasing="yes"
13515 else
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.$ac_ext >&5
13519 ac_cv_c_gcc_no_strict_aliasing="no"
13522 rm -f conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 CFLAGS=$ac_wine_try_cflags_saved
13526 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
13527 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
13528 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
13529 then
13530 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13533 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
13534 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
13535 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 else
13538 ac_wine_try_cflags_saved=$CFLAGS
13539 CFLAGS="$CFLAGS -gstabs+"
13540 cat >conftest.$ac_ext <<_ACEOF
13541 /* confdefs.h. */
13542 _ACEOF
13543 cat confdefs.h >>conftest.$ac_ext
13544 cat >>conftest.$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13548 main ()
13552 return 0;
13554 _ACEOF
13555 rm -f conftest.$ac_objext conftest$ac_exeext
13556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13557 (eval $ac_link) 2>conftest.er1
13558 ac_status=$?
13559 grep -v '^ *+' conftest.er1 >conftest.err
13560 rm -f conftest.er1
13561 cat conftest.err >&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13567 ac_status=$?
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; } &&
13570 { ac_try='test -s conftest$ac_exeext'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13573 ac_status=$?
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then
13576 ac_cv_c_gcc_gstabs="yes"
13577 else
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.$ac_ext >&5
13581 ac_cv_c_gcc_gstabs="no"
13584 rm -f conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 CFLAGS=$ac_wine_try_cflags_saved
13588 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
13589 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
13590 if test "$ac_cv_c_gcc_gstabs" = "yes"
13591 then
13592 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13595 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
13596 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
13597 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 else
13600 ac_wine_try_cflags_saved=$CFLAGS
13601 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13602 cat >conftest.$ac_ext <<_ACEOF
13603 /* confdefs.h. */
13604 _ACEOF
13605 cat confdefs.h >>conftest.$ac_ext
13606 cat >>conftest.$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13610 main ()
13614 return 0;
13616 _ACEOF
13617 rm -f conftest.$ac_objext conftest$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>conftest.er1
13620 ac_status=$?
13621 grep -v '^ *+' conftest.er1 >conftest.err
13622 rm -f conftest.er1
13623 cat conftest.err >&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; } &&
13632 { ac_try='test -s conftest$ac_exeext'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13635 ac_status=$?
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; }; then
13638 ac_cv_c_gcc_decl_after_statement="yes"
13639 else
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.$ac_ext >&5
13643 ac_cv_c_gcc_decl_after_statement="no"
13646 rm -f conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13648 CFLAGS=$ac_wine_try_cflags_saved
13650 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
13651 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
13652 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
13653 then
13654 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13657 saved_CFLAGS="$CFLAGS"
13658 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13659 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
13660 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
13661 if test "${ac_cv_c_string_h_warnings+set}" = set; then
13662 echo $ECHO_N "(cached) $ECHO_C" >&6
13663 else
13664 cat >conftest.$ac_ext <<_ACEOF
13665 /* confdefs.h. */
13666 _ACEOF
13667 cat confdefs.h >>conftest.$ac_ext
13668 cat >>conftest.$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13670 #include <string.h>
13672 main ()
13676 return 0;
13678 _ACEOF
13679 rm -f conftest.$ac_objext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13681 (eval $ac_compile) 2>conftest.er1
13682 ac_status=$?
13683 grep -v '^ *+' conftest.er1 >conftest.err
13684 rm -f conftest.er1
13685 cat conftest.err >&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } &&
13688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13691 ac_status=$?
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; } &&
13694 { ac_try='test -s conftest.$ac_objext'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13697 ac_status=$?
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; }; then
13700 ac_cv_c_string_h_warnings=no
13701 else
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.$ac_ext >&5
13705 ac_cv_c_string_h_warnings=yes
13708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13710 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
13711 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
13712 CFLAGS="$saved_CFLAGS"
13713 if test "$ac_cv_c_string_h_warnings" = "no"
13714 then
13715 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13718 BUILTINFLAG=""
13720 saved_CFLAGS="$CFLAGS"
13721 CFLAGS="$CFLAGS -Werror"
13722 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
13723 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
13724 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 else
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13735 main ()
13737 int iswlower(unsigned short);
13739 return 0;
13741 _ACEOF
13742 rm -f conftest.$ac_objext
13743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13744 (eval $ac_compile) 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } &&
13751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13754 ac_status=$?
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; } &&
13757 { ac_try='test -s conftest.$ac_objext'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13760 ac_status=$?
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; }; then
13763 ac_cv_c_builtin_wchar_ctype=no
13764 else
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13768 ac_cv_c_builtin_wchar_ctype=yes
13771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13773 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
13774 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
13775 CFLAGS="$saved_CFLAGS"
13776 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
13777 then
13778 BUILTINFLAG=""
13779 for builtin in \
13780 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
13781 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
13783 BUILTINFLAG="$BUILTINFLAG -fno-builtin-$builtin"
13784 done
13789 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
13790 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
13791 if test "${ac_cv_asm_func_def+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 cat >conftest.$ac_ext <<_ACEOF
13795 /* confdefs.h. */
13796 _ACEOF
13797 cat confdefs.h >>conftest.$ac_ext
13798 cat >>conftest.$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13800 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"); }
13803 main ()
13807 return 0;
13809 _ACEOF
13810 rm -f conftest.$ac_objext conftest$ac_exeext
13811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13812 (eval $ac_link) 2>conftest.er1
13813 ac_status=$?
13814 grep -v '^ *+' conftest.er1 >conftest.err
13815 rm -f conftest.er1
13816 cat conftest.err >&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13822 ac_status=$?
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try='test -s conftest$ac_exeext'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13828 ac_status=$?
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; }; then
13831 ac_cv_asm_func_def=".def"
13832 else
13833 echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.$ac_ext >&5
13836 cat >conftest.$ac_ext <<_ACEOF
13837 /* confdefs.h. */
13838 _ACEOF
13839 cat confdefs.h >>conftest.$ac_ext
13840 cat >>conftest.$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13845 main ()
13849 return 0;
13851 _ACEOF
13852 rm -f conftest.$ac_objext conftest$ac_exeext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13854 (eval $ac_link) 2>conftest.er1
13855 ac_status=$?
13856 grep -v '^ *+' conftest.er1 >conftest.err
13857 rm -f conftest.er1
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13864 ac_status=$?
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; } &&
13867 { ac_try='test -s conftest$ac_exeext'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13870 ac_status=$?
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; }; then
13873 ac_cv_asm_func_def=".type @function"
13874 else
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.$ac_ext >&5
13878 cat >conftest.$ac_ext <<_ACEOF
13879 /* confdefs.h. */
13880 _ACEOF
13881 cat confdefs.h >>conftest.$ac_ext
13882 cat >>conftest.$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13887 main ()
13891 return 0;
13893 _ACEOF
13894 rm -f conftest.$ac_objext conftest$ac_exeext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13896 (eval $ac_link) 2>conftest.er1
13897 ac_status=$?
13898 grep -v '^ *+' conftest.er1 >conftest.err
13899 rm -f conftest.er1
13900 cat conftest.err >&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13906 ac_status=$?
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; } &&
13909 { ac_try='test -s conftest$ac_exeext'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13912 ac_status=$?
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; }; then
13915 ac_cv_asm_func_def=".type 2"
13916 else
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13920 ac_cv_asm_func_def="unknown"
13923 rm -f conftest.err conftest.$ac_objext \
13924 conftest$ac_exeext conftest.$ac_ext
13927 rm -f conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13931 rm -f conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13934 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13935 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13939 case "$ac_cv_asm_func_def" in
13940 ".def")
13941 cat >>confdefs.h <<\_ACEOF
13942 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13943 _ACEOF
13945 ".type @function")
13946 cat >>confdefs.h <<\_ACEOF
13947 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13948 _ACEOF
13950 ".type 2")
13951 cat >>confdefs.h <<\_ACEOF
13952 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13953 _ACEOF
13956 cat >>confdefs.h <<\_ACEOF
13957 #define __ASM_FUNC(name) ""
13958 _ACEOF
13960 esac
13963 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13964 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13965 if test "${ac_cv_c_extern_prefix+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 else
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13975 extern int ac_test;
13977 main ()
13979 if (ac_test) return 1
13981 return 0;
13983 _ACEOF
13984 rm -f conftest.$ac_objext conftest$ac_exeext
13985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13986 (eval $ac_link) 2>conftest.er1
13987 ac_status=$?
13988 grep -v '^ *+' conftest.er1 >conftest.err
13989 rm -f conftest.er1
13990 cat conftest.err >&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } &&
13993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try='test -s conftest$ac_exeext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 ac_cv_c_extern_prefix="yes"
14006 else
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.$ac_ext >&5
14010 ac_cv_c_extern_prefix="no"
14013 rm -f conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14016 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14017 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14021 if test "$ac_cv_c_extern_prefix" = "yes"
14022 then
14023 cat >>confdefs.h <<\_ACEOF
14024 #define __ASM_NAME(name) "_" name
14025 _ACEOF
14027 else
14028 cat >>confdefs.h <<\_ACEOF
14029 #define __ASM_NAME(name) name
14030 _ACEOF
14035 DLLEXT=""
14037 DLLFLAGS="-D_REENTRANT"
14039 DLLIBS=""
14041 LDSHARED=""
14043 LDDLLFLAGS=""
14045 LIBEXT="so"
14047 IMPLIBEXT="def"
14050 case $host_os in
14051 cygwin*|mingw32*)
14052 if test -n "$ac_tool_prefix"; then
14053 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14054 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14057 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 else
14060 if test -n "$DLLTOOL"; then
14061 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14062 else
14063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14064 for as_dir in $PATH
14066 IFS=$as_save_IFS
14067 test -z "$as_dir" && as_dir=.
14068 for ac_exec_ext in '' $ac_executable_extensions; do
14069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14072 break 2
14074 done
14075 done
14076 IFS=$as_save_IFS
14080 DLLTOOL=$ac_cv_prog_DLLTOOL
14081 if test -n "$DLLTOOL"; then
14082 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14083 echo "${ECHO_T}$DLLTOOL" >&6; }
14084 else
14085 { echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6; }
14091 if test -z "$ac_cv_prog_DLLTOOL"; then
14092 ac_ct_DLLTOOL=$DLLTOOL
14093 # Extract the first word of "dlltool", so it can be a program name with args.
14094 set dummy dlltool; ac_word=$2
14095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14097 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14098 echo $ECHO_N "(cached) $ECHO_C" >&6
14099 else
14100 if test -n "$ac_ct_DLLTOOL"; then
14101 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14102 else
14103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14104 for as_dir in $PATH
14106 IFS=$as_save_IFS
14107 test -z "$as_dir" && as_dir=.
14108 for ac_exec_ext in '' $ac_executable_extensions; do
14109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14110 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14112 break 2
14114 done
14115 done
14116 IFS=$as_save_IFS
14120 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14121 if test -n "$ac_ct_DLLTOOL"; then
14122 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14123 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
14124 else
14125 { echo "$as_me:$LINENO: result: no" >&5
14126 echo "${ECHO_T}no" >&6; }
14129 if test "x$ac_ct_DLLTOOL" = x; then
14130 DLLTOOL="false"
14131 else
14132 case $cross_compiling:$ac_tool_warned in
14133 yes:)
14134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14135 whose name does not start with the host triplet. If you think this
14136 configuration is useful to you, please write to autoconf@gnu.org." >&5
14137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14138 whose name does not start with the host triplet. If you think this
14139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14140 ac_tool_warned=yes ;;
14141 esac
14142 DLLTOOL=$ac_ct_DLLTOOL
14144 else
14145 DLLTOOL="$ac_cv_prog_DLLTOOL"
14148 if test -n "$ac_tool_prefix"; then
14149 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
14150 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
14151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14153 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 else
14156 if test -n "$DLLWRAP"; then
14157 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
14158 else
14159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14160 for as_dir in $PATH
14162 IFS=$as_save_IFS
14163 test -z "$as_dir" && as_dir=.
14164 for ac_exec_ext in '' $ac_executable_extensions; do
14165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14166 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
14167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14168 break 2
14170 done
14171 done
14172 IFS=$as_save_IFS
14176 DLLWRAP=$ac_cv_prog_DLLWRAP
14177 if test -n "$DLLWRAP"; then
14178 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
14179 echo "${ECHO_T}$DLLWRAP" >&6; }
14180 else
14181 { echo "$as_me:$LINENO: result: no" >&5
14182 echo "${ECHO_T}no" >&6; }
14187 if test -z "$ac_cv_prog_DLLWRAP"; then
14188 ac_ct_DLLWRAP=$DLLWRAP
14189 # Extract the first word of "dllwrap", so it can be a program name with args.
14190 set dummy dllwrap; ac_word=$2
14191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14193 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
14194 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 else
14196 if test -n "$ac_ct_DLLWRAP"; then
14197 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
14198 else
14199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14200 for as_dir in $PATH
14202 IFS=$as_save_IFS
14203 test -z "$as_dir" && as_dir=.
14204 for ac_exec_ext in '' $ac_executable_extensions; do
14205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14206 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
14207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14208 break 2
14210 done
14211 done
14212 IFS=$as_save_IFS
14216 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
14217 if test -n "$ac_ct_DLLWRAP"; then
14218 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
14219 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
14220 else
14221 { echo "$as_me:$LINENO: result: no" >&5
14222 echo "${ECHO_T}no" >&6; }
14225 if test "x$ac_ct_DLLWRAP" = x; then
14226 DLLWRAP="false"
14227 else
14228 case $cross_compiling:$ac_tool_warned in
14229 yes:)
14230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14231 whose name does not start with the host triplet. If you think this
14232 configuration is useful to you, please write to autoconf@gnu.org." >&5
14233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14234 whose name does not start with the host triplet. If you think this
14235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14236 ac_tool_warned=yes ;;
14237 esac
14238 DLLWRAP=$ac_ct_DLLWRAP
14240 else
14241 DLLWRAP="$ac_cv_prog_DLLWRAP"
14244 if test "$DLLWRAP" = "false"; then
14245 LIBEXT="a"
14246 else
14247 LIBEXT="dll"
14249 IMPLIBEXT="a"
14250 WIN16_FILES=""
14251 WIN16_INSTALL=""
14254 if test "$ac_cv_header_dlfcn_h" = "yes"
14255 then
14257 for ac_func in dlopen
14259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 else
14265 cat >conftest.$ac_ext <<_ACEOF
14266 /* confdefs.h. */
14267 _ACEOF
14268 cat confdefs.h >>conftest.$ac_ext
14269 cat >>conftest.$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14273 #define $ac_func innocuous_$ac_func
14275 /* System header to define __stub macros and hopefully few prototypes,
14276 which can conflict with char $ac_func (); below.
14277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14278 <limits.h> exists even on freestanding compilers. */
14280 #ifdef __STDC__
14281 # include <limits.h>
14282 #else
14283 # include <assert.h>
14284 #endif
14286 #undef $ac_func
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14291 #ifdef __cplusplus
14292 extern "C"
14293 #endif
14294 char $ac_func ();
14295 /* The GNU C library defines this for functions which it implements
14296 to always fail with ENOSYS. Some functions are actually named
14297 something starting with __ and the normal name is an alias. */
14298 #if defined __stub_$ac_func || defined __stub___$ac_func
14299 choke me
14300 #endif
14303 main ()
14305 return $ac_func ();
14307 return 0;
14309 _ACEOF
14310 rm -f conftest.$ac_objext conftest$ac_exeext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14312 (eval $ac_link) 2>conftest.er1
14313 ac_status=$?
14314 grep -v '^ *+' conftest.er1 >conftest.err
14315 rm -f conftest.er1
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14322 ac_status=$?
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try='test -s conftest$ac_exeext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 eval "$as_ac_var=yes"
14332 else
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14336 eval "$as_ac_var=no"
14339 rm -f conftest.err conftest.$ac_objext \
14340 conftest$ac_exeext conftest.$ac_ext
14342 ac_res=`eval echo '${'$as_ac_var'}'`
14343 { echo "$as_me:$LINENO: result: $ac_res" >&5
14344 echo "${ECHO_T}$ac_res" >&6; }
14345 if test `eval echo '${'$as_ac_var'}'` = yes; then
14346 cat >>confdefs.h <<_ACEOF
14347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14348 _ACEOF
14350 else
14351 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 ac_check_lib_save_LIBS=$LIBS
14357 LIBS="-ldl $LIBS"
14358 cat >conftest.$ac_ext <<_ACEOF
14359 /* confdefs.h. */
14360 _ACEOF
14361 cat confdefs.h >>conftest.$ac_ext
14362 cat >>conftest.$ac_ext <<_ACEOF
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14368 #ifdef __cplusplus
14369 extern "C"
14370 #endif
14371 char dlopen ();
14373 main ()
14375 return dlopen ();
14377 return 0;
14379 _ACEOF
14380 rm -f conftest.$ac_objext conftest$ac_exeext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14382 (eval $ac_link) 2>conftest.er1
14383 ac_status=$?
14384 grep -v '^ *+' conftest.er1 >conftest.err
14385 rm -f conftest.er1
14386 cat conftest.err >&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } &&
14389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14392 ac_status=$?
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try='test -s conftest$ac_exeext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14398 ac_status=$?
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 ac_cv_lib_dl_dlopen=yes
14402 else
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14406 ac_cv_lib_dl_dlopen=no
14409 rm -f conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LIBS=$ac_check_lib_save_LIBS
14413 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14414 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14415 if test $ac_cv_lib_dl_dlopen = yes; then
14417 cat >>confdefs.h <<\_ACEOF
14418 #define HAVE_DLOPEN 1
14419 _ACEOF
14421 DLLIBS="-ldl"
14422 else
14423 LIBEXT="a"
14427 done
14429 ac_wine_check_funcs_save_LIBS="$LIBS"
14430 LIBS="$LIBS $DLLIBS"
14432 for ac_func in dladdr
14434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 else
14440 cat >conftest.$ac_ext <<_ACEOF
14441 /* confdefs.h. */
14442 _ACEOF
14443 cat confdefs.h >>conftest.$ac_ext
14444 cat >>conftest.$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14448 #define $ac_func innocuous_$ac_func
14450 /* System header to define __stub macros and hopefully few prototypes,
14451 which can conflict with char $ac_func (); below.
14452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14453 <limits.h> exists even on freestanding compilers. */
14455 #ifdef __STDC__
14456 # include <limits.h>
14457 #else
14458 # include <assert.h>
14459 #endif
14461 #undef $ac_func
14463 /* Override any GCC internal prototype to avoid an error.
14464 Use char because int might match the return type of a GCC
14465 builtin and then its argument prototype would still apply. */
14466 #ifdef __cplusplus
14467 extern "C"
14468 #endif
14469 char $ac_func ();
14470 /* The GNU C library defines this for functions which it implements
14471 to always fail with ENOSYS. Some functions are actually named
14472 something starting with __ and the normal name is an alias. */
14473 #if defined __stub_$ac_func || defined __stub___$ac_func
14474 choke me
14475 #endif
14478 main ()
14480 return $ac_func ();
14482 return 0;
14484 _ACEOF
14485 rm -f conftest.$ac_objext conftest$ac_exeext
14486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14487 (eval $ac_link) 2>conftest.er1
14488 ac_status=$?
14489 grep -v '^ *+' conftest.er1 >conftest.err
14490 rm -f conftest.er1
14491 cat conftest.err >&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14497 ac_status=$?
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; } &&
14500 { ac_try='test -s conftest$ac_exeext'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; }; then
14506 eval "$as_ac_var=yes"
14507 else
14508 echo "$as_me: failed program was:" >&5
14509 sed 's/^/| /' conftest.$ac_ext >&5
14511 eval "$as_ac_var=no"
14514 rm -f conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14517 ac_res=`eval echo '${'$as_ac_var'}'`
14518 { echo "$as_me:$LINENO: result: $ac_res" >&5
14519 echo "${ECHO_T}$ac_res" >&6; }
14520 if test `eval echo '${'$as_ac_var'}'` = yes; then
14521 cat >>confdefs.h <<_ACEOF
14522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14523 _ACEOF
14526 done
14528 LIBS="$ac_wine_check_funcs_save_LIBS"
14529 else
14530 LIBEXT="a"
14533 if test "$LIBEXT" = "so"
14534 then
14535 DLLFLAGS="$DLLFLAGS -fPIC"
14536 DLLEXT=".so"
14537 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
14538 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
14539 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 else
14542 ac_wine_try_cflags_saved=$CFLAGS
14543 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
14544 cat >conftest.$ac_ext <<_ACEOF
14545 void myfunc() {}
14546 _ACEOF
14547 rm -f conftest.$ac_objext conftest$ac_exeext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14549 (eval $ac_link) 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; } &&
14562 { ac_try='test -s conftest$ac_exeext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14568 ac_cv_c_dll_gnuelf="yes"
14569 else
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14573 ac_cv_c_dll_gnuelf="no"
14576 rm -f conftest.err conftest.$ac_objext \
14577 conftest$ac_exeext conftest.$ac_ext
14578 CFLAGS=$ac_wine_try_cflags_saved
14580 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14581 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
14582 if test "$ac_cv_c_dll_gnuelf" = "yes"
14583 then
14584 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14585 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
14586 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14587 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
14588 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591 ac_wine_try_cflags_saved=$CFLAGS
14592 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14593 cat >conftest.$ac_ext <<_ACEOF
14594 /* confdefs.h. */
14595 _ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14601 main ()
14605 return 0;
14607 _ACEOF
14608 rm -f conftest.$ac_objext conftest$ac_exeext
14609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14610 (eval $ac_link) 2>conftest.er1
14611 ac_status=$?
14612 grep -v '^ *+' conftest.er1 >conftest.err
14613 rm -f conftest.er1
14614 cat conftest.err >&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } &&
14617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; } &&
14623 { ac_try='test -s conftest$ac_exeext'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14626 ac_status=$?
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14629 ac_cv_c_dll_zdefs="yes"
14630 else
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14634 ac_cv_c_dll_zdefs="no"
14637 rm -f conftest.err conftest.$ac_objext \
14638 conftest$ac_exeext conftest.$ac_ext
14639 CFLAGS=$ac_wine_try_cflags_saved
14641 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14642 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
14643 if test "$ac_cv_c_dll_zdefs" = "yes"
14644 then
14645 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
14648 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14649 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
14650 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 else
14653 ac_wine_try_cflags_saved=$CFLAGS
14654 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14655 cat >conftest.$ac_ext <<_ACEOF
14656 /* confdefs.h. */
14657 _ACEOF
14658 cat confdefs.h >>conftest.$ac_ext
14659 cat >>conftest.$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14663 main ()
14667 return 0;
14669 _ACEOF
14670 rm -f conftest.$ac_objext conftest$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>conftest.er1
14673 ac_status=$?
14674 grep -v '^ *+' conftest.er1 >conftest.err
14675 rm -f conftest.er1
14676 cat conftest.err >&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; } &&
14685 { ac_try='test -s conftest$ac_exeext'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14688 ac_status=$?
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; }; then
14691 ac_cv_c_dll_init_fini="yes"
14692 else
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14696 ac_cv_c_dll_init_fini="no"
14699 rm -f conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14701 CFLAGS=$ac_wine_try_cflags_saved
14703 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14704 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
14705 if test "$ac_cv_c_dll_init_fini" = "yes"
14706 then
14707 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14710 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14711 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
14712 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 else
14715 echo '{ global: *; };' >conftest.map
14716 ac_wine_try_cflags_saved=$CFLAGS
14717 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14718 cat >conftest.$ac_ext <<_ACEOF
14719 /* confdefs.h. */
14720 _ACEOF
14721 cat confdefs.h >>conftest.$ac_ext
14722 cat >>conftest.$ac_ext <<_ACEOF
14723 /* end confdefs.h. */
14726 main ()
14730 return 0;
14732 _ACEOF
14733 rm -f conftest.$ac_objext conftest$ac_exeext
14734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14735 (eval $ac_link) 2>conftest.er1
14736 ac_status=$?
14737 grep -v '^ *+' conftest.er1 >conftest.err
14738 rm -f conftest.er1
14739 cat conftest.err >&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } &&
14742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14751 ac_status=$?
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_c_ld_version_scripts="yes"
14755 else
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14759 ac_cv_c_ld_version_scripts="no"
14762 rm -f conftest.err conftest.$ac_objext \
14763 conftest$ac_exeext conftest.$ac_ext
14764 CFLAGS=$ac_wine_try_cflags_saved
14765 rm -f conftest.map
14767 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14768 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
14769 if test "$ac_cv_c_ld_version_scripts" = "yes"
14770 then
14771 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14774 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14775 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
14776 if test "${ac_cv_c_export_dynamic+set}" = set; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 else
14779 ac_wine_try_cflags_saved=$CFLAGS
14780 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
14781 cat >conftest.$ac_ext <<_ACEOF
14782 /* confdefs.h. */
14783 _ACEOF
14784 cat confdefs.h >>conftest.$ac_ext
14785 cat >>conftest.$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14789 main ()
14793 return 0;
14795 _ACEOF
14796 rm -f conftest.$ac_objext conftest$ac_exeext
14797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14798 (eval $ac_link) 2>conftest.er1
14799 ac_status=$?
14800 grep -v '^ *+' conftest.er1 >conftest.err
14801 rm -f conftest.er1
14802 cat conftest.err >&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try='test -s conftest$ac_exeext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_cv_c_export_dynamic="yes"
14818 else
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14822 ac_cv_c_export_dynamic="no"
14825 rm -f conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 CFLAGS=$ac_wine_try_cflags_saved
14829 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14830 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
14831 if test "$ac_cv_c_export_dynamic" = "yes"
14832 then
14833 LDEXECFLAGS="-Wl,--export-dynamic"
14837 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
14838 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
14839 if test "${ac_cv_ld_rpath+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 else
14842 ac_wine_try_cflags_saved=$CFLAGS
14843 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
14844 cat >conftest.$ac_ext <<_ACEOF
14845 /* confdefs.h. */
14846 _ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14852 main ()
14856 return 0;
14858 _ACEOF
14859 rm -f conftest.$ac_objext conftest$ac_exeext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; } &&
14874 { ac_try='test -s conftest$ac_exeext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_cv_ld_rpath="yes"
14881 else
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.$ac_ext >&5
14885 ac_cv_ld_rpath="no"
14888 rm -f conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14890 CFLAGS=$ac_wine_try_cflags_saved
14892 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
14893 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
14894 if test "$ac_cv_ld_rpath" = "yes"
14895 then
14896 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14898 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
14902 case $host_cpu in
14903 *i[3456789]86*)
14904 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
14905 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
14906 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 ac_wine_try_cflags_saved=$CFLAGS
14910 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14911 cat >conftest.$ac_ext <<_ACEOF
14912 /* confdefs.h. */
14913 _ACEOF
14914 cat confdefs.h >>conftest.$ac_ext
14915 cat >>conftest.$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14919 main ()
14923 return 0;
14925 _ACEOF
14926 rm -f conftest.$ac_objext conftest$ac_exeext
14927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14928 (eval $ac_link) 2>conftest.er1
14929 ac_status=$?
14930 grep -v '^ *+' conftest.er1 >conftest.err
14931 rm -f conftest.er1
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; } &&
14941 { ac_try='test -s conftest$ac_exeext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14944 ac_status=$?
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 ac_cv_ld_reloc_exec="yes"
14948 else
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.$ac_ext >&5
14952 ac_cv_ld_reloc_exec="no"
14955 rm -f conftest.err conftest.$ac_objext \
14956 conftest$ac_exeext conftest.$ac_ext
14957 CFLAGS=$ac_wine_try_cflags_saved
14959 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14960 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
14961 if test "$ac_cv_ld_reloc_exec" = "yes"
14962 then
14963 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14966 esac
14968 else
14969 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14970 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14971 if test "${ac_cv_c_dll_unixware+set}" = set; then
14972 echo $ECHO_N "(cached) $ECHO_C" >&6
14973 else
14974 ac_wine_try_cflags_saved=$CFLAGS
14975 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14976 cat >conftest.$ac_ext <<_ACEOF
14977 void myfunc() {}
14978 _ACEOF
14979 rm -f conftest.$ac_objext conftest$ac_exeext
14980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14981 (eval $ac_link) 2>conftest.er1
14982 ac_status=$?
14983 grep -v '^ *+' conftest.er1 >conftest.err
14984 rm -f conftest.er1
14985 cat conftest.err >&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } &&
14988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14991 ac_status=$?
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; } &&
14994 { ac_try='test -s conftest$ac_exeext'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14997 ac_status=$?
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; }; then
15000 ac_cv_c_dll_unixware="yes"
15001 else
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.$ac_ext >&5
15005 ac_cv_c_dll_unixware="no"
15008 rm -f conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15010 CFLAGS=$ac_wine_try_cflags_saved
15012 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
15013 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
15014 if test "$ac_cv_c_dll_unixware" = "yes"
15015 then
15016 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
15017 LDDLLFLAGS="-Wl,-G,-B,symbolic"
15019 else
15020 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
15021 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
15022 if test "${ac_cv_c_dll_macho+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 else
15025 ac_wine_try_cflags_saved=$CFLAGS
15026 CFLAGS="$CFLAGS -bundle"
15027 cat >conftest.$ac_ext <<_ACEOF
15028 void myfunc() {}
15029 _ACEOF
15030 rm -f conftest.$ac_objext conftest$ac_exeext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15032 (eval $ac_link) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try='test -s conftest$ac_exeext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_cv_c_dll_macho="yes"
15052 else
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.$ac_ext >&5
15056 ac_cv_c_dll_macho="no"
15059 rm -f conftest.err conftest.$ac_objext \
15060 conftest$ac_exeext conftest.$ac_ext
15061 CFLAGS=$ac_wine_try_cflags_saved
15063 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
15064 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
15065 if test "$ac_cv_c_dll_macho" = "yes"
15066 then
15067 LIBEXT="dylib"
15068 LDDLLFLAGS="-bundle"
15069 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
15070 STRIP="$STRIP -u -r"
15071 COREFOUNDATIONLIB="-framework CoreFoundation"
15073 IOKITLIB="-framework IOKit -framework CoreFoundation"
15075 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
15077 case $host_cpu in
15078 *powerpc*)
15079 CFLAGS="$CFLAGS -ffixed-r13"
15080 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
15082 esac
15084 else
15085 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
15086 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
15087 if test "${ac_cv_c_dll_hpux+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 else
15090 ac_wine_try_cflags_saved=$CFLAGS
15091 CFLAGS="$CFLAGS -shared"
15092 cat >conftest.$ac_ext <<_ACEOF
15093 void myfunc() {}
15094 _ACEOF
15095 rm -f conftest.$ac_objext conftest$ac_exeext
15096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15097 (eval $ac_link) 2>conftest.er1
15098 ac_status=$?
15099 grep -v '^ *+' conftest.er1 >conftest.err
15100 rm -f conftest.er1
15101 cat conftest.err >&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } &&
15104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try='test -s conftest$ac_exeext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_c_dll_hpux="yes"
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15121 ac_cv_c_dll_hpux="no"
15124 rm -f conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 CFLAGS=$ac_wine_try_cflags_saved
15128 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
15129 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
15130 if test "$ac_cv_c_dll_hpux" = "yes"
15131 then
15132 LIBEXT="sl"
15133 DLLEXT=".sl"
15134 LDDLLFLAGS="-shared -fPIC"
15135 LDSHARED="\$(CC) -shared"
15142 CROSSTEST=""
15144 if test "$cross_compiling" = "no"
15145 then
15146 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
15148 # Extract the first word of "$ac_prog", so it can be a program name with args.
15149 set dummy $ac_prog; ac_word=$2
15150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15152 if test "${ac_cv_prog_CROSSCC+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15155 if test -n "$CROSSCC"; then
15156 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
15157 else
15158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15159 for as_dir in $PATH
15161 IFS=$as_save_IFS
15162 test -z "$as_dir" && as_dir=.
15163 for ac_exec_ext in '' $ac_executable_extensions; do
15164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15165 ac_cv_prog_CROSSCC="$ac_prog"
15166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15167 break 2
15169 done
15170 done
15171 IFS=$as_save_IFS
15175 CROSSCC=$ac_cv_prog_CROSSCC
15176 if test -n "$CROSSCC"; then
15177 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
15178 echo "${ECHO_T}$CROSSCC" >&6; }
15179 else
15180 { echo "$as_me:$LINENO: result: no" >&5
15181 echo "${ECHO_T}no" >&6; }
15185 test -n "$CROSSCC" && break
15186 done
15187 test -n "$CROSSCC" || CROSSCC="false"
15189 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
15191 # Extract the first word of "$ac_prog", so it can be a program name with args.
15192 set dummy $ac_prog; ac_word=$2
15193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 else
15198 if test -n "$DLLTOOL"; then
15199 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15200 else
15201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15202 for as_dir in $PATH
15204 IFS=$as_save_IFS
15205 test -z "$as_dir" && as_dir=.
15206 for ac_exec_ext in '' $ac_executable_extensions; do
15207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15208 ac_cv_prog_DLLTOOL="$ac_prog"
15209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15210 break 2
15212 done
15213 done
15214 IFS=$as_save_IFS
15218 DLLTOOL=$ac_cv_prog_DLLTOOL
15219 if test -n "$DLLTOOL"; then
15220 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15221 echo "${ECHO_T}$DLLTOOL" >&6; }
15222 else
15223 { echo "$as_me:$LINENO: result: no" >&5
15224 echo "${ECHO_T}no" >&6; }
15228 test -n "$DLLTOOL" && break
15229 done
15230 test -n "$DLLTOOL" || DLLTOOL="false"
15232 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
15234 # Extract the first word of "$ac_prog", so it can be a program name with args.
15235 set dummy $ac_prog; ac_word=$2
15236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15238 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 else
15241 if test -n "$CROSSWINDRES"; then
15242 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
15243 else
15244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15245 for as_dir in $PATH
15247 IFS=$as_save_IFS
15248 test -z "$as_dir" && as_dir=.
15249 for ac_exec_ext in '' $ac_executable_extensions; do
15250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15251 ac_cv_prog_CROSSWINDRES="$ac_prog"
15252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15253 break 2
15255 done
15256 done
15257 IFS=$as_save_IFS
15261 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
15262 if test -n "$CROSSWINDRES"; then
15263 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
15264 echo "${ECHO_T}$CROSSWINDRES" >&6; }
15265 else
15266 { echo "$as_me:$LINENO: result: no" >&5
15267 echo "${ECHO_T}no" >&6; }
15271 test -n "$CROSSWINDRES" && break
15272 done
15273 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
15275 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
15278 esac
15280 if test "$LIBEXT" = "a"; then
15281 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
15282 It is currently not possible to build Wine without shared library
15283 (.so) support to allow transparent switch between .so and .dll files.
15284 If you are using Linux, you will need a newer binutils.
15285 " >&5
15286 echo "$as_me: error: could not find a way to build shared libraries.
15287 It is currently not possible to build Wine without shared library
15288 (.so) support to allow transparent switch between .so and .dll files.
15289 If you are using Linux, you will need a newer binutils.
15290 " >&2;}
15291 { (exit 1); exit 1; }; }
15294 case $build_os in
15295 cygwin*|mingw32*)
15296 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
15298 darwin*|macosx*)
15299 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
15302 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
15304 esac
15306 case $host_os in
15307 mingw32*)
15308 CRTLIBS="-lmsvcrt"
15310 SOCKETLIBS="-lws2_32"
15313 esac
15315 case $host_cpu in
15316 *i[3456789]86*)
15317 case $host_os in
15318 linux* | k*bsd*-gnu)
15319 MAIN_BINARY="wine-glibc"
15321 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15323 darwin*|freebsd*)
15324 MAIN_BINARY="wine-pthread"
15327 MAIN_BINARY="wine-kthread"
15329 esac
15331 *) MAIN_BINARY="wine-pthread"
15333 esac
15336 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
15337 then
15338 # Extract the first word of "ldd", so it can be a program name with args.
15339 set dummy ldd; ac_word=$2
15340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15342 if test "${ac_cv_path_LDD+set}" = set; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 else
15345 case $LDD in
15346 [\\/]* | ?:[\\/]*)
15347 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
15350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15351 as_dummy="/sbin:/usr/sbin:$PATH"
15352 for as_dir in $as_dummy
15354 IFS=$as_save_IFS
15355 test -z "$as_dir" && as_dir=.
15356 for ac_exec_ext in '' $ac_executable_extensions; do
15357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15358 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
15359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15360 break 2
15362 done
15363 done
15364 IFS=$as_save_IFS
15366 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
15368 esac
15370 LDD=$ac_cv_path_LDD
15371 if test -n "$LDD"; then
15372 { echo "$as_me:$LINENO: result: $LDD" >&5
15373 echo "${ECHO_T}$LDD" >&6; }
15374 else
15375 { echo "$as_me:$LINENO: result: no" >&5
15376 echo "${ECHO_T}no" >&6; }
15380 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
15381 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
15382 if test "${ac_cv_lib_soname_X11+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15384 else
15385 ac_get_soname_save_LIBS=$LIBS
15386 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
15387 cat >conftest.$ac_ext <<_ACEOF
15388 /* confdefs.h. */
15389 _ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15394 /* Override any GCC internal prototype to avoid an error.
15395 Use char because int might match the return type of a GCC
15396 builtin and then its argument prototype would still apply. */
15397 #ifdef __cplusplus
15398 extern "C"
15399 #endif
15400 char XCreateWindow ();
15402 main ()
15404 return XCreateWindow ();
15406 return 0;
15408 _ACEOF
15409 rm -f conftest.$ac_objext conftest$ac_exeext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15411 (eval $ac_link) 2>conftest.er1
15412 ac_status=$?
15413 grep -v '^ *+' conftest.er1 >conftest.err
15414 rm -f conftest.er1
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; } &&
15424 { ac_try='test -s conftest$ac_exeext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15427 ac_status=$?
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15431 if test "x$ac_cv_lib_soname_X11" = "x"
15432 then
15433 ac_cv_lib_soname_X11="libX11.$LIBEXT"
15435 else
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.$ac_ext >&5
15439 ac_cv_lib_soname_X11="libX11.$LIBEXT"
15442 rm -f conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15444 LIBS=$ac_get_soname_save_LIBS
15446 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
15447 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
15448 if test "${ac_cv_lib_soname_X11+set}" = set; then
15450 cat >>confdefs.h <<_ACEOF
15451 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
15452 _ACEOF
15456 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
15457 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
15458 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 else
15461 ac_get_soname_save_LIBS=$LIBS
15462 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15463 cat >conftest.$ac_ext <<_ACEOF
15464 /* confdefs.h. */
15465 _ACEOF
15466 cat confdefs.h >>conftest.$ac_ext
15467 cat >>conftest.$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15473 #ifdef __cplusplus
15474 extern "C"
15475 #endif
15476 char XextCreateExtension ();
15478 main ()
15480 return XextCreateExtension ();
15482 return 0;
15484 _ACEOF
15485 rm -f conftest.$ac_objext conftest$ac_exeext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15487 (eval $ac_link) 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try='test -s conftest$ac_exeext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15503 ac_status=$?
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15507 if test "x$ac_cv_lib_soname_Xext" = "x"
15508 then
15509 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
15511 else
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15515 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
15518 rm -f conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15520 LIBS=$ac_get_soname_save_LIBS
15522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15523 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15524 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15526 cat >>confdefs.h <<_ACEOF
15527 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15528 _ACEOF
15532 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
15533 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
15534 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537 ac_get_soname_save_LIBS=$LIBS
15538 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 #ifdef __cplusplus
15550 extern "C"
15551 #endif
15552 char XOpenDevice ();
15554 main ()
15556 return XOpenDevice ();
15558 return 0;
15560 _ACEOF
15561 rm -f conftest.$ac_objext conftest$ac_exeext
15562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15563 (eval $ac_link) 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } &&
15570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15573 ac_status=$?
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; } &&
15576 { ac_try='test -s conftest$ac_exeext'
15577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578 (eval $ac_try) 2>&5
15579 ac_status=$?
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); }; }; then
15582 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15583 if test "x$ac_cv_lib_soname_Xi" = "x"
15584 then
15585 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
15587 else
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.$ac_ext >&5
15591 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
15594 rm -f conftest.err conftest.$ac_objext \
15595 conftest$ac_exeext conftest.$ac_ext
15596 LIBS=$ac_get_soname_save_LIBS
15598 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15599 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
15600 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15602 cat >>confdefs.h <<_ACEOF
15603 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15604 _ACEOF
15608 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
15609 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
15610 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 else
15613 ac_get_soname_save_LIBS=$LIBS
15614 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15622 /* Override any GCC internal prototype to avoid an error.
15623 Use char because int might match the return type of a GCC
15624 builtin and then its argument prototype would still apply. */
15625 #ifdef __cplusplus
15626 extern "C"
15627 #endif
15628 char XRenderQueryExtension ();
15630 main ()
15632 return XRenderQueryExtension ();
15634 return 0;
15636 _ACEOF
15637 rm -f conftest.$ac_objext conftest$ac_exeext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15639 (eval $ac_link) 2>conftest.er1
15640 ac_status=$?
15641 grep -v '^ *+' conftest.er1 >conftest.err
15642 rm -f conftest.er1
15643 cat conftest.err >&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15649 ac_status=$?
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try='test -s conftest$ac_exeext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15655 ac_status=$?
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15659 if test "x$ac_cv_lib_soname_Xrender" = "x"
15660 then
15661 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
15663 else
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.$ac_ext >&5
15667 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
15670 rm -f conftest.err conftest.$ac_objext \
15671 conftest$ac_exeext conftest.$ac_ext
15672 LIBS=$ac_get_soname_save_LIBS
15674 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15675 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
15676 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15678 cat >>confdefs.h <<_ACEOF
15679 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15680 _ACEOF
15684 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
15685 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
15686 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15688 else
15689 ac_get_soname_save_LIBS=$LIBS
15690 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15691 cat >conftest.$ac_ext <<_ACEOF
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 #ifdef __cplusplus
15702 extern "C"
15703 #endif
15704 char XRRQueryExtension ();
15706 main ()
15708 return XRRQueryExtension ();
15710 return 0;
15712 _ACEOF
15713 rm -f conftest.$ac_objext conftest$ac_exeext
15714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15715 (eval $ac_link) 2>conftest.er1
15716 ac_status=$?
15717 grep -v '^ *+' conftest.er1 >conftest.err
15718 rm -f conftest.er1
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } &&
15722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; } &&
15728 { ac_try='test -s conftest$ac_exeext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15735 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15736 then
15737 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15743 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
15746 rm -f conftest.err conftest.$ac_objext \
15747 conftest$ac_exeext conftest.$ac_ext
15748 LIBS=$ac_get_soname_save_LIBS
15750 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15751 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
15752 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15754 cat >>confdefs.h <<_ACEOF
15755 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15756 _ACEOF
15760 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15761 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
15762 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15764 else
15765 ac_get_soname_save_LIBS=$LIBS
15766 LIBS="-lfreetype $X_LIBS $LIBS"
15767 cat >conftest.$ac_ext <<_ACEOF
15768 /* confdefs.h. */
15769 _ACEOF
15770 cat confdefs.h >>conftest.$ac_ext
15771 cat >>conftest.$ac_ext <<_ACEOF
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 #ifdef __cplusplus
15778 extern "C"
15779 #endif
15780 char FT_Init_FreeType ();
15782 main ()
15784 return FT_Init_FreeType ();
15786 return 0;
15788 _ACEOF
15789 rm -f conftest.$ac_objext conftest$ac_exeext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15791 (eval $ac_link) 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15801 ac_status=$?
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; } &&
15804 { ac_try='test -s conftest$ac_exeext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15807 ac_status=$?
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15811 if test "x$ac_cv_lib_soname_freetype" = "x"
15812 then
15813 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
15815 else
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.$ac_ext >&5
15819 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
15822 rm -f conftest.err conftest.$ac_objext \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_get_soname_save_LIBS
15826 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15827 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15828 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15830 cat >>confdefs.h <<_ACEOF
15831 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15832 _ACEOF
15836 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
15837 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
15838 if test "${ac_cv_lib_soname_GL+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 else
15841 ac_get_soname_save_LIBS=$LIBS
15842 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15843 cat >conftest.$ac_ext <<_ACEOF
15844 /* confdefs.h. */
15845 _ACEOF
15846 cat confdefs.h >>conftest.$ac_ext
15847 cat >>conftest.$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15853 #ifdef __cplusplus
15854 extern "C"
15855 #endif
15856 char glXQueryExtension ();
15858 main ()
15860 return glXQueryExtension ();
15862 return 0;
15864 _ACEOF
15865 rm -f conftest.$ac_objext conftest$ac_exeext
15866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15867 (eval $ac_link) 2>conftest.er1
15868 ac_status=$?
15869 grep -v '^ *+' conftest.er1 >conftest.err
15870 rm -f conftest.er1
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try='test -s conftest$ac_exeext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15887 if test "x$ac_cv_lib_soname_GL" = "x"
15888 then
15889 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15891 else
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15895 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15898 rm -f conftest.err conftest.$ac_objext \
15899 conftest$ac_exeext conftest.$ac_ext
15900 LIBS=$ac_get_soname_save_LIBS
15902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15903 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15904 if test "${ac_cv_lib_soname_GL+set}" = set; then
15906 cat >>confdefs.h <<_ACEOF
15907 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15908 _ACEOF
15912 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
15913 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
15914 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15915 echo $ECHO_N "(cached) $ECHO_C" >&6
15916 else
15917 ac_get_soname_save_LIBS=$LIBS
15918 LIBS="-ldbus-1 $LIBS"
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15926 /* Override any GCC internal prototype to avoid an error.
15927 Use char because int might match the return type of a GCC
15928 builtin and then its argument prototype would still apply. */
15929 #ifdef __cplusplus
15930 extern "C"
15931 #endif
15932 char dbus_error_init ();
15934 main ()
15936 return dbus_error_init ();
15938 return 0;
15940 _ACEOF
15941 rm -f conftest.$ac_objext conftest$ac_exeext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15943 (eval $ac_link) 2>conftest.er1
15944 ac_status=$?
15945 grep -v '^ *+' conftest.er1 >conftest.err
15946 rm -f conftest.er1
15947 cat conftest.err >&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15953 ac_status=$?
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try='test -s conftest$ac_exeext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15959 ac_status=$?
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15962 ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15963 if test "x$ac_cv_lib_soname_dbus_1" = "x"
15964 then
15965 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15971 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
15974 rm -f conftest.err conftest.$ac_objext \
15975 conftest$ac_exeext conftest.$ac_ext
15976 LIBS=$ac_get_soname_save_LIBS
15978 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
15979 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
15980 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15982 cat >>confdefs.h <<_ACEOF
15983 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
15984 _ACEOF
15988 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
15989 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
15990 if test "${ac_cv_lib_soname_hal+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15992 else
15993 ac_get_soname_save_LIBS=$LIBS
15994 LIBS="-lhal $LIBS"
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16002 /* Override any GCC internal prototype to avoid an error.
16003 Use char because int might match the return type of a GCC
16004 builtin and then its argument prototype would still apply. */
16005 #ifdef __cplusplus
16006 extern "C"
16007 #endif
16008 char libhal_ctx_new ();
16010 main ()
16012 return libhal_ctx_new ();
16014 return 0;
16016 _ACEOF
16017 rm -f conftest.$ac_objext conftest$ac_exeext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16029 ac_status=$?
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try='test -s conftest$ac_exeext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16038 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16039 if test "x$ac_cv_lib_soname_hal" = "x"
16040 then
16041 ac_cv_lib_soname_hal="libhal.$LIBEXT"
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16047 ac_cv_lib_soname_hal="libhal.$LIBEXT"
16050 rm -f conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 LIBS=$ac_get_soname_save_LIBS
16054 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
16055 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
16056 if test "${ac_cv_lib_soname_hal+set}" = set; then
16058 cat >>confdefs.h <<_ACEOF
16059 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
16060 _ACEOF
16064 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
16065 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
16066 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069 ac_get_soname_save_LIBS=$LIBS
16070 LIBS="-ltxc_dxtn $LIBS"
16071 cat >conftest.$ac_ext <<_ACEOF
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16081 #ifdef __cplusplus
16082 extern "C"
16083 #endif
16084 char fetch_2d_texel_rgba_dxt1 ();
16086 main ()
16088 return fetch_2d_texel_rgba_dxt1 ();
16090 return 0;
16092 _ACEOF
16093 rm -f conftest.$ac_objext conftest$ac_exeext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16095 (eval $ac_link) 2>conftest.er1
16096 ac_status=$?
16097 grep -v '^ *+' conftest.er1 >conftest.err
16098 rm -f conftest.er1
16099 cat conftest.err >&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try='test -s conftest$ac_exeext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16111 ac_status=$?
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16115 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
16116 then
16117 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
16119 else
16120 echo "$as_me: failed program was:" >&5
16121 sed 's/^/| /' conftest.$ac_ext >&5
16123 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
16126 rm -f conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16128 LIBS=$ac_get_soname_save_LIBS
16130 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
16131 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
16132 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
16134 cat >>confdefs.h <<_ACEOF
16135 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
16136 _ACEOF
16140 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
16141 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
16142 if test "${ac_cv_lib_soname_cups+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 else
16145 ac_get_soname_save_LIBS=$LIBS
16146 LIBS="-lcups $LIBS"
16147 cat >conftest.$ac_ext <<_ACEOF
16148 /* confdefs.h. */
16149 _ACEOF
16150 cat confdefs.h >>conftest.$ac_ext
16151 cat >>conftest.$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 #ifdef __cplusplus
16158 extern "C"
16159 #endif
16160 char cupsGetDefault ();
16162 main ()
16164 return cupsGetDefault ();
16166 return 0;
16168 _ACEOF
16169 rm -f conftest.$ac_objext conftest$ac_exeext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16171 (eval $ac_link) 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } &&
16178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; } &&
16184 { ac_try='test -s conftest$ac_exeext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16191 if test "x$ac_cv_lib_soname_cups" = "x"
16192 then
16193 ac_cv_lib_soname_cups="libcups.$LIBEXT"
16195 else
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.$ac_ext >&5
16199 ac_cv_lib_soname_cups="libcups.$LIBEXT"
16202 rm -f conftest.err conftest.$ac_objext \
16203 conftest$ac_exeext conftest.$ac_ext
16204 LIBS=$ac_get_soname_save_LIBS
16206 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
16207 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
16208 if test "${ac_cv_lib_soname_cups+set}" = set; then
16210 cat >>confdefs.h <<_ACEOF
16211 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
16212 _ACEOF
16216 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
16217 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
16218 if test "${ac_cv_lib_soname_jack+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16220 else
16221 ac_get_soname_save_LIBS=$LIBS
16222 LIBS="-ljack $LIBS"
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h. */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16233 #ifdef __cplusplus
16234 extern "C"
16235 #endif
16236 char jack_client_new ();
16238 main ()
16240 return jack_client_new ();
16242 return 0;
16244 _ACEOF
16245 rm -f conftest.$ac_objext conftest$ac_exeext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16247 (eval $ac_link) 2>conftest.er1
16248 ac_status=$?
16249 grep -v '^ *+' conftest.er1 >conftest.err
16250 rm -f conftest.er1
16251 cat conftest.err >&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } &&
16254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try='test -s conftest$ac_exeext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16267 if test "x$ac_cv_lib_soname_jack" = "x"
16268 then
16269 ac_cv_lib_soname_jack="libjack.$LIBEXT"
16271 else
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.$ac_ext >&5
16275 ac_cv_lib_soname_jack="libjack.$LIBEXT"
16278 rm -f conftest.err conftest.$ac_objext \
16279 conftest$ac_exeext conftest.$ac_ext
16280 LIBS=$ac_get_soname_save_LIBS
16282 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
16283 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
16284 if test "${ac_cv_lib_soname_jack+set}" = set; then
16286 cat >>confdefs.h <<_ACEOF
16287 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
16288 _ACEOF
16292 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
16293 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
16294 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 else
16297 ac_get_soname_save_LIBS=$LIBS
16298 LIBS="-lfontconfig $LIBS"
16299 cat >conftest.$ac_ext <<_ACEOF
16300 /* confdefs.h. */
16301 _ACEOF
16302 cat confdefs.h >>conftest.$ac_ext
16303 cat >>conftest.$ac_ext <<_ACEOF
16304 /* end confdefs.h. */
16306 /* Override any GCC internal prototype to avoid an error.
16307 Use char because int might match the return type of a GCC
16308 builtin and then its argument prototype would still apply. */
16309 #ifdef __cplusplus
16310 extern "C"
16311 #endif
16312 char FcInit ();
16314 main ()
16316 return FcInit ();
16318 return 0;
16320 _ACEOF
16321 rm -f conftest.$ac_objext conftest$ac_exeext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16323 (eval $ac_link) 2>conftest.er1
16324 ac_status=$?
16325 grep -v '^ *+' conftest.er1 >conftest.err
16326 rm -f conftest.er1
16327 cat conftest.err >&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); } &&
16330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16332 (eval $ac_try) 2>&5
16333 ac_status=$?
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); }; } &&
16336 { ac_try='test -s conftest$ac_exeext'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16339 ac_status=$?
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; }; then
16342 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16343 if test "x$ac_cv_lib_soname_fontconfig" = "x"
16344 then
16345 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
16347 else
16348 echo "$as_me: failed program was:" >&5
16349 sed 's/^/| /' conftest.$ac_ext >&5
16351 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
16354 rm -f conftest.err conftest.$ac_objext \
16355 conftest$ac_exeext conftest.$ac_ext
16356 LIBS=$ac_get_soname_save_LIBS
16358 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
16359 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
16360 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
16362 cat >>confdefs.h <<_ACEOF
16363 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
16364 _ACEOF
16368 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
16369 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
16370 if test "${ac_cv_lib_soname_ssl+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373 ac_get_soname_save_LIBS=$LIBS
16374 LIBS="-lssl $LIBS"
16375 cat >conftest.$ac_ext <<_ACEOF
16376 /* confdefs.h. */
16377 _ACEOF
16378 cat confdefs.h >>conftest.$ac_ext
16379 cat >>conftest.$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 #ifdef __cplusplus
16386 extern "C"
16387 #endif
16388 char SSL_library_init ();
16390 main ()
16392 return SSL_library_init ();
16394 return 0;
16396 _ACEOF
16397 rm -f conftest.$ac_objext conftest$ac_exeext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16399 (eval $ac_link) 2>conftest.er1
16400 ac_status=$?
16401 grep -v '^ *+' conftest.er1 >conftest.err
16402 rm -f conftest.er1
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try='test -s conftest$ac_exeext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16419 if test "x$ac_cv_lib_soname_ssl" = "x"
16420 then
16421 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
16423 else
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.$ac_ext >&5
16427 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
16430 rm -f conftest.err conftest.$ac_objext \
16431 conftest$ac_exeext conftest.$ac_ext
16432 LIBS=$ac_get_soname_save_LIBS
16434 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
16435 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
16436 if test "${ac_cv_lib_soname_ssl+set}" = set; then
16438 cat >>confdefs.h <<_ACEOF
16439 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
16440 _ACEOF
16444 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
16445 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
16446 if test "${ac_cv_lib_soname_crypto+set}" = set; then
16447 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 else
16449 ac_get_soname_save_LIBS=$LIBS
16450 LIBS="-lcrypto $LIBS"
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16458 /* Override any GCC internal prototype to avoid an error.
16459 Use char because int might match the return type of a GCC
16460 builtin and then its argument prototype would still apply. */
16461 #ifdef __cplusplus
16462 extern "C"
16463 #endif
16464 char BIO_new_socket ();
16466 main ()
16468 return BIO_new_socket ();
16470 return 0;
16472 _ACEOF
16473 rm -f conftest.$ac_objext conftest$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475 (eval $ac_link) 2>conftest.er1
16476 ac_status=$?
16477 grep -v '^ *+' conftest.er1 >conftest.err
16478 rm -f conftest.er1
16479 cat conftest.err >&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } &&
16482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16484 (eval $ac_try) 2>&5
16485 ac_status=$?
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; } &&
16488 { ac_try='test -s conftest$ac_exeext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16495 if test "x$ac_cv_lib_soname_crypto" = "x"
16496 then
16497 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
16499 else
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16503 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
16506 rm -f conftest.err conftest.$ac_objext \
16507 conftest$ac_exeext conftest.$ac_ext
16508 LIBS=$ac_get_soname_save_LIBS
16510 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
16511 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
16512 if test "${ac_cv_lib_soname_crypto+set}" = set; then
16514 cat >>confdefs.h <<_ACEOF
16515 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
16516 _ACEOF
16520 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
16521 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
16522 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 else
16525 ac_get_soname_save_LIBS=$LIBS
16526 LIBS="-lncurses $LIBS"
16527 cat >conftest.$ac_ext <<_ACEOF
16528 /* confdefs.h. */
16529 _ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16534 /* Override any GCC internal prototype to avoid an error.
16535 Use char because int might match the return type of a GCC
16536 builtin and then its argument prototype would still apply. */
16537 #ifdef __cplusplus
16538 extern "C"
16539 #endif
16540 char waddch ();
16542 main ()
16544 return waddch ();
16546 return 0;
16548 _ACEOF
16549 rm -f conftest.$ac_objext conftest$ac_exeext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16551 (eval $ac_link) 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } &&
16558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try='test -s conftest$ac_exeext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16571 if test "x$ac_cv_lib_soname_ncurses" = "x"
16572 then
16573 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16579 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
16582 rm -f conftest.err conftest.$ac_objext \
16583 conftest$ac_exeext conftest.$ac_ext
16584 LIBS=$ac_get_soname_save_LIBS
16586 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
16587 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
16588 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
16590 cat >>confdefs.h <<_ACEOF
16591 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
16592 _ACEOF
16596 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
16597 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
16598 if test "${ac_cv_lib_soname_curses+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 else
16601 ac_get_soname_save_LIBS=$LIBS
16602 LIBS="-lcurses $LIBS"
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16610 /* Override any GCC internal prototype to avoid an error.
16611 Use char because int might match the return type of a GCC
16612 builtin and then its argument prototype would still apply. */
16613 #ifdef __cplusplus
16614 extern "C"
16615 #endif
16616 char waddch ();
16618 main ()
16620 return waddch ();
16622 return 0;
16624 _ACEOF
16625 rm -f conftest.$ac_objext conftest$ac_exeext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16627 (eval $ac_link) 2>conftest.er1
16628 ac_status=$?
16629 grep -v '^ *+' conftest.er1 >conftest.err
16630 rm -f conftest.er1
16631 cat conftest.err >&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } &&
16634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16637 ac_status=$?
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; } &&
16640 { ac_try='test -s conftest$ac_exeext'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16643 ac_status=$?
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; }; then
16646 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16647 if test "x$ac_cv_lib_soname_curses" = "x"
16648 then
16649 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16655 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
16658 rm -f conftest.err conftest.$ac_objext \
16659 conftest$ac_exeext conftest.$ac_ext
16660 LIBS=$ac_get_soname_save_LIBS
16662 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
16663 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
16664 if test "${ac_cv_lib_soname_curses+set}" = set; then
16666 cat >>confdefs.h <<_ACEOF
16667 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
16668 _ACEOF
16672 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
16673 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
16674 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16676 else
16677 ac_get_soname_save_LIBS=$LIBS
16678 LIBS="-ljpeg $LIBS"
16679 cat >conftest.$ac_ext <<_ACEOF
16680 /* confdefs.h. */
16681 _ACEOF
16682 cat confdefs.h >>conftest.$ac_ext
16683 cat >>conftest.$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16686 /* Override any GCC internal prototype to avoid an error.
16687 Use char because int might match the return type of a GCC
16688 builtin and then its argument prototype would still apply. */
16689 #ifdef __cplusplus
16690 extern "C"
16691 #endif
16692 char jpeg_start_decompress ();
16694 main ()
16696 return jpeg_start_decompress ();
16698 return 0;
16700 _ACEOF
16701 rm -f conftest.$ac_objext conftest$ac_exeext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16703 (eval $ac_link) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try='test -s conftest$ac_exeext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16723 if test "x$ac_cv_lib_soname_jpeg" = "x"
16724 then
16725 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16731 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
16734 rm -f conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext conftest.$ac_ext
16736 LIBS=$ac_get_soname_save_LIBS
16738 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16739 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16740 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16742 cat >>confdefs.h <<_ACEOF
16743 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16744 _ACEOF
16748 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
16749 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
16750 if test "${ac_cv_lib_soname_ungif+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 ac_get_soname_save_LIBS=$LIBS
16754 LIBS="-lungif $LIBS"
16755 cat >conftest.$ac_ext <<_ACEOF
16756 /* confdefs.h. */
16757 _ACEOF
16758 cat confdefs.h >>conftest.$ac_ext
16759 cat >>conftest.$ac_ext <<_ACEOF
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16765 #ifdef __cplusplus
16766 extern "C"
16767 #endif
16768 char DGifOpen ();
16770 main ()
16772 return DGifOpen ();
16774 return 0;
16776 _ACEOF
16777 rm -f conftest.$ac_objext conftest$ac_exeext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16779 (eval $ac_link) 2>conftest.er1
16780 ac_status=$?
16781 grep -v '^ *+' conftest.er1 >conftest.err
16782 rm -f conftest.er1
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } &&
16786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; } &&
16792 { ac_try='test -s conftest$ac_exeext'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16795 ac_status=$?
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; }; then
16798 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16799 if test "x$ac_cv_lib_soname_ungif" = "x"
16800 then
16801 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
16803 else
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16807 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
16810 rm -f conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_get_soname_save_LIBS
16814 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
16815 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
16816 if test "${ac_cv_lib_soname_ungif+set}" = set; then
16818 cat >>confdefs.h <<_ACEOF
16819 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
16820 _ACEOF
16824 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
16825 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
16826 if test "${ac_cv_lib_soname_gif+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 else
16829 ac_get_soname_save_LIBS=$LIBS
16830 LIBS="-lgif $LIBS"
16831 cat >conftest.$ac_ext <<_ACEOF
16832 /* confdefs.h. */
16833 _ACEOF
16834 cat confdefs.h >>conftest.$ac_ext
16835 cat >>conftest.$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16838 /* Override any GCC internal prototype to avoid an error.
16839 Use char because int might match the return type of a GCC
16840 builtin and then its argument prototype would still apply. */
16841 #ifdef __cplusplus
16842 extern "C"
16843 #endif
16844 char DGifOpen ();
16846 main ()
16848 return DGifOpen ();
16850 return 0;
16852 _ACEOF
16853 rm -f conftest.$ac_objext conftest$ac_exeext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16855 (eval $ac_link) 2>conftest.er1
16856 ac_status=$?
16857 grep -v '^ *+' conftest.er1 >conftest.err
16858 rm -f conftest.er1
16859 cat conftest.err >&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16865 ac_status=$?
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try='test -s conftest$ac_exeext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16875 if test "x$ac_cv_lib_soname_gif" = "x"
16876 then
16877 ac_cv_lib_soname_gif="libgif.$LIBEXT"
16879 else
16880 echo "$as_me: failed program was:" >&5
16881 sed 's/^/| /' conftest.$ac_ext >&5
16883 ac_cv_lib_soname_gif="libgif.$LIBEXT"
16886 rm -f conftest.err conftest.$ac_objext \
16887 conftest$ac_exeext conftest.$ac_ext
16888 LIBS=$ac_get_soname_save_LIBS
16890 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
16891 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
16892 if test "${ac_cv_lib_soname_gif+set}" = set; then
16894 cat >>confdefs.h <<_ACEOF
16895 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
16896 _ACEOF
16900 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
16901 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
16902 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16903 echo $ECHO_N "(cached) $ECHO_C" >&6
16904 else
16905 ac_get_soname_save_LIBS=$LIBS
16906 LIBS="-lcapi20 $LIBS"
16907 cat >conftest.$ac_ext <<_ACEOF
16908 /* confdefs.h. */
16909 _ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16914 /* Override any GCC internal prototype to avoid an error.
16915 Use char because int might match the return type of a GCC
16916 builtin and then its argument prototype would still apply. */
16917 #ifdef __cplusplus
16918 extern "C"
16919 #endif
16920 char capi20_isinstalled ();
16922 main ()
16924 return capi20_isinstalled ();
16926 return 0;
16928 _ACEOF
16929 rm -f conftest.$ac_objext conftest$ac_exeext
16930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16931 (eval $ac_link) 2>conftest.er1
16932 ac_status=$?
16933 grep -v '^ *+' conftest.er1 >conftest.err
16934 rm -f conftest.er1
16935 cat conftest.err >&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } &&
16938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16941 ac_status=$?
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try='test -s conftest$ac_exeext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16947 ac_status=$?
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16951 if test "x$ac_cv_lib_soname_capi20" = "x"
16952 then
16953 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
16955 else
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16959 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
16962 rm -f conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 LIBS=$ac_get_soname_save_LIBS
16966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
16967 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
16968 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16970 cat >>confdefs.h <<_ACEOF
16971 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
16972 _ACEOF
17044 for ac_func in \
17045 _lwp_create \
17046 _lwp_self \
17047 _pclose \
17048 _popen \
17049 _snprintf \
17050 _spawnvp \
17051 _stricmp \
17052 _strnicmp \
17053 _vsnprintf \
17054 asctime_r \
17055 chsize \
17056 clone \
17057 epoll_create \
17058 ffs \
17059 finite \
17060 fork \
17061 fpclass \
17062 fstatfs \
17063 fstatvfs \
17064 ftruncate \
17065 futimes \
17066 futimesat \
17067 getaddrinfo \
17068 getnameinfo \
17069 getnetbyname \
17070 getopt_long \
17071 getpagesize \
17072 getprotobyname \
17073 getprotobynumber \
17074 getpwuid \
17075 getservbyport \
17076 gettid \
17077 gettimeofday \
17078 getuid \
17079 inet_network \
17080 lstat \
17081 memmove \
17082 mmap \
17083 pclose \
17084 popen \
17085 prctl \
17086 pread \
17087 pwrite \
17088 readlink \
17089 rfork \
17090 sched_yield \
17091 select \
17092 sendmsg \
17093 settimeofday \
17094 sigaltstack \
17095 sigprocmask \
17096 snprintf \
17097 spawnvp \
17098 statfs \
17099 statvfs \
17100 strcasecmp \
17101 strerror \
17102 strncasecmp \
17103 tcgetattr \
17104 timegm \
17105 usleep \
17106 vsnprintf \
17107 wait4 \
17108 waitpid \
17111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17115 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 else
17117 cat >conftest.$ac_ext <<_ACEOF
17118 /* confdefs.h. */
17119 _ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17125 #define $ac_func innocuous_$ac_func
17127 /* System header to define __stub macros and hopefully few prototypes,
17128 which can conflict with char $ac_func (); below.
17129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17130 <limits.h> exists even on freestanding compilers. */
17132 #ifdef __STDC__
17133 # include <limits.h>
17134 #else
17135 # include <assert.h>
17136 #endif
17138 #undef $ac_func
17140 /* Override any GCC internal prototype to avoid an error.
17141 Use char because int might match the return type of a GCC
17142 builtin and then its argument prototype would still apply. */
17143 #ifdef __cplusplus
17144 extern "C"
17145 #endif
17146 char $ac_func ();
17147 /* The GNU C library defines this for functions which it implements
17148 to always fail with ENOSYS. Some functions are actually named
17149 something starting with __ and the normal name is an alias. */
17150 #if defined __stub_$ac_func || defined __stub___$ac_func
17151 choke me
17152 #endif
17155 main ()
17157 return $ac_func ();
17159 return 0;
17161 _ACEOF
17162 rm -f conftest.$ac_objext conftest$ac_exeext
17163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17164 (eval $ac_link) 2>conftest.er1
17165 ac_status=$?
17166 grep -v '^ *+' conftest.er1 >conftest.err
17167 rm -f conftest.er1
17168 cat conftest.err >&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } &&
17171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17173 (eval $ac_try) 2>&5
17174 ac_status=$?
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); }; } &&
17177 { ac_try='test -s conftest$ac_exeext'
17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17179 (eval $ac_try) 2>&5
17180 ac_status=$?
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; }; then
17183 eval "$as_ac_var=yes"
17184 else
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.$ac_ext >&5
17188 eval "$as_ac_var=no"
17191 rm -f conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17194 ac_res=`eval echo '${'$as_ac_var'}'`
17195 { echo "$as_me:$LINENO: result: $ac_res" >&5
17196 echo "${ECHO_T}$ac_res" >&6; }
17197 if test `eval echo '${'$as_ac_var'}'` = yes; then
17198 cat >>confdefs.h <<_ACEOF
17199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17200 _ACEOF
17203 done
17208 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17210 if test "${ac_cv_c_const+set}" = set; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 else
17213 cat >conftest.$ac_ext <<_ACEOF
17214 /* confdefs.h. */
17215 _ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17221 main ()
17223 /* FIXME: Include the comments suggested by Paul. */
17224 #ifndef __cplusplus
17225 /* Ultrix mips cc rejects this. */
17226 typedef int charset[2];
17227 const charset x;
17228 /* SunOS 4.1.1 cc rejects this. */
17229 char const *const *ccp;
17230 char **p;
17231 /* NEC SVR4.0.2 mips cc rejects this. */
17232 struct point {int x, y;};
17233 static struct point const zero = {0,0};
17234 /* AIX XL C 1.02.0.0 rejects this.
17235 It does not let you subtract one const X* pointer from another in
17236 an arm of an if-expression whose if-part is not a constant
17237 expression */
17238 const char *g = "string";
17239 ccp = &g + (g ? g-g : 0);
17240 /* HPUX 7.0 cc rejects these. */
17241 ++ccp;
17242 p = (char**) ccp;
17243 ccp = (char const *const *) p;
17244 { /* SCO 3.2v4 cc rejects this. */
17245 char *t;
17246 char const *s = 0 ? (char *) 0 : (char const *) 0;
17248 *t++ = 0;
17249 if (s) return 0;
17251 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17252 int x[] = {25, 17};
17253 const int *foo = &x[0];
17254 ++foo;
17256 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17257 typedef const int *iptr;
17258 iptr p = 0;
17259 ++p;
17261 { /* AIX XL C 1.02.0.0 rejects this saying
17262 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17263 struct s { int j; const int *ap[3]; };
17264 struct s *b; b->j = 5;
17266 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17267 const int foo = 10;
17268 if (!foo) return 0;
17270 return !x[0] && !zero.x;
17271 #endif
17274 return 0;
17276 _ACEOF
17277 rm -f conftest.$ac_objext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17279 (eval $ac_compile) 2>conftest.er1
17280 ac_status=$?
17281 grep -v '^ *+' conftest.er1 >conftest.err
17282 rm -f conftest.er1
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17289 ac_status=$?
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; } &&
17292 { ac_try='test -s conftest.$ac_objext'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17295 ac_status=$?
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; }; then
17298 ac_cv_c_const=yes
17299 else
17300 echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.$ac_ext >&5
17303 ac_cv_c_const=no
17306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17308 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17309 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17310 if test $ac_cv_c_const = no; then
17312 cat >>confdefs.h <<\_ACEOF
17313 #define const
17314 _ACEOF
17318 { echo "$as_me:$LINENO: checking for inline" >&5
17319 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17320 if test "${ac_cv_c_inline+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323 ac_cv_c_inline=no
17324 for ac_kw in inline __inline__ __inline; do
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 #ifndef __cplusplus
17332 typedef int foo_t;
17333 static $ac_kw foo_t static_foo () {return 0; }
17334 $ac_kw foo_t foo () {return 0; }
17335 #endif
17337 _ACEOF
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17350 ac_status=$?
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; } &&
17353 { ac_try='test -s conftest.$ac_objext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 ac_cv_c_inline=$ac_kw
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17368 test "$ac_cv_c_inline" != no && break
17369 done
17372 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17373 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17376 case $ac_cv_c_inline in
17377 inline | yes) ;;
17379 case $ac_cv_c_inline in
17380 no) ac_val=;;
17381 *) ac_val=$ac_cv_c_inline;;
17382 esac
17383 cat >>confdefs.h <<_ACEOF
17384 #ifndef __cplusplus
17385 #define inline $ac_val
17386 #endif
17387 _ACEOF
17389 esac
17391 { echo "$as_me:$LINENO: checking for mode_t" >&5
17392 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17393 if test "${ac_cv_type_mode_t+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396 cat >conftest.$ac_ext <<_ACEOF
17397 /* confdefs.h. */
17398 _ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 $ac_includes_default
17403 typedef mode_t ac__type_new_;
17405 main ()
17407 if ((ac__type_new_ *) 0)
17408 return 0;
17409 if (sizeof (ac__type_new_))
17410 return 0;
17412 return 0;
17414 _ACEOF
17415 rm -f conftest.$ac_objext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17417 (eval $ac_compile) 2>conftest.er1
17418 ac_status=$?
17419 grep -v '^ *+' conftest.er1 >conftest.err
17420 rm -f conftest.er1
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_objext'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17433 ac_status=$?
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; }; then
17436 ac_cv_type_mode_t=yes
17437 else
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17441 ac_cv_type_mode_t=no
17444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17446 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17447 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17448 if test $ac_cv_type_mode_t = yes; then
17450 cat >>confdefs.h <<_ACEOF
17451 #define HAVE_MODE_T 1
17452 _ACEOF
17456 { echo "$as_me:$LINENO: checking for off_t" >&5
17457 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17458 if test "${ac_cv_type_off_t+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17460 else
17461 cat >conftest.$ac_ext <<_ACEOF
17462 /* confdefs.h. */
17463 _ACEOF
17464 cat confdefs.h >>conftest.$ac_ext
17465 cat >>conftest.$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467 $ac_includes_default
17468 typedef off_t ac__type_new_;
17470 main ()
17472 if ((ac__type_new_ *) 0)
17473 return 0;
17474 if (sizeof (ac__type_new_))
17475 return 0;
17477 return 0;
17479 _ACEOF
17480 rm -f conftest.$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; } &&
17495 { ac_try='test -s conftest.$ac_objext'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17498 ac_status=$?
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; }; then
17501 ac_cv_type_off_t=yes
17502 else
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.$ac_ext >&5
17506 ac_cv_type_off_t=no
17509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17511 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17512 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17513 if test $ac_cv_type_off_t = yes; then
17515 cat >>confdefs.h <<_ACEOF
17516 #define HAVE_OFF_T 1
17517 _ACEOF
17521 { echo "$as_me:$LINENO: checking for pid_t" >&5
17522 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17523 if test "${ac_cv_type_pid_t+set}" = set; then
17524 echo $ECHO_N "(cached) $ECHO_C" >&6
17525 else
17526 cat >conftest.$ac_ext <<_ACEOF
17527 /* confdefs.h. */
17528 _ACEOF
17529 cat confdefs.h >>conftest.$ac_ext
17530 cat >>conftest.$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17532 $ac_includes_default
17533 typedef pid_t ac__type_new_;
17535 main ()
17537 if ((ac__type_new_ *) 0)
17538 return 0;
17539 if (sizeof (ac__type_new_))
17540 return 0;
17542 return 0;
17544 _ACEOF
17545 rm -f conftest.$ac_objext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547 (eval $ac_compile) 2>conftest.er1
17548 ac_status=$?
17549 grep -v '^ *+' conftest.er1 >conftest.err
17550 rm -f conftest.er1
17551 cat conftest.err >&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17557 ac_status=$?
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; } &&
17560 { ac_try='test -s conftest.$ac_objext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_cv_type_pid_t=yes
17567 else
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17571 ac_cv_type_pid_t=no
17574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17576 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17577 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17578 if test $ac_cv_type_pid_t = yes; then
17580 cat >>confdefs.h <<_ACEOF
17581 #define HAVE_PID_T 1
17582 _ACEOF
17586 { echo "$as_me:$LINENO: checking for size_t" >&5
17587 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17588 if test "${ac_cv_type_size_t+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 else
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 $ac_includes_default
17598 typedef size_t ac__type_new_;
17600 main ()
17602 if ((ac__type_new_ *) 0)
17603 return 0;
17604 if (sizeof (ac__type_new_))
17605 return 0;
17607 return 0;
17609 _ACEOF
17610 rm -f conftest.$ac_objext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17612 (eval $ac_compile) 2>conftest.er1
17613 ac_status=$?
17614 grep -v '^ *+' conftest.er1 >conftest.err
17615 rm -f conftest.er1
17616 cat conftest.err >&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } &&
17619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17622 ac_status=$?
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; } &&
17625 { ac_try='test -s conftest.$ac_objext'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17628 ac_status=$?
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; }; then
17631 ac_cv_type_size_t=yes
17632 else
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17636 ac_cv_type_size_t=no
17639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17641 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17642 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17643 if test $ac_cv_type_size_t = yes; then
17645 cat >>confdefs.h <<_ACEOF
17646 #define HAVE_SIZE_T 1
17647 _ACEOF
17651 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17652 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17653 if test "${ac_cv_type_ssize_t+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 else
17656 cat >conftest.$ac_ext <<_ACEOF
17657 /* confdefs.h. */
17658 _ACEOF
17659 cat confdefs.h >>conftest.$ac_ext
17660 cat >>conftest.$ac_ext <<_ACEOF
17661 /* end confdefs.h. */
17662 $ac_includes_default
17663 typedef ssize_t ac__type_new_;
17665 main ()
17667 if ((ac__type_new_ *) 0)
17668 return 0;
17669 if (sizeof (ac__type_new_))
17670 return 0;
17672 return 0;
17674 _ACEOF
17675 rm -f conftest.$ac_objext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>conftest.er1
17678 ac_status=$?
17679 grep -v '^ *+' conftest.er1 >conftest.err
17680 rm -f conftest.er1
17681 cat conftest.err >&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } &&
17684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17687 ac_status=$?
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; } &&
17690 { ac_try='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_type_ssize_t=yes
17697 else
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 ac_cv_type_ssize_t=no
17704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17706 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17707 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17708 if test $ac_cv_type_ssize_t = yes; then
17710 cat >>confdefs.h <<_ACEOF
17711 #define HAVE_SSIZE_T 1
17712 _ACEOF
17716 { echo "$as_me:$LINENO: checking for long long" >&5
17717 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17718 if test "${ac_cv_type_long_long+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h. */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 $ac_includes_default
17728 typedef long long ac__type_new_;
17730 main ()
17732 if ((ac__type_new_ *) 0)
17733 return 0;
17734 if (sizeof (ac__type_new_))
17735 return 0;
17737 return 0;
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17743 ac_status=$?
17744 grep -v '^ *+' conftest.er1 >conftest.err
17745 rm -f conftest.er1
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_cv_type_long_long=yes
17762 else
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17766 ac_cv_type_long_long=no
17769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17771 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17772 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17773 if test $ac_cv_type_long_long = yes; then
17775 cat >>confdefs.h <<_ACEOF
17776 #define HAVE_LONG_LONG 1
17777 _ACEOF
17781 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17782 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17783 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17784 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 else
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 typedef fsblkcnt_t ac__type_new_;
17795 main ()
17797 if ((ac__type_new_ *) 0)
17798 return 0;
17799 if (sizeof (ac__type_new_))
17800 return 0;
17802 return 0;
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17808 ac_status=$?
17809 grep -v '^ *+' conftest.er1 >conftest.err
17810 rm -f conftest.er1
17811 cat conftest.err >&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17817 ac_status=$?
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_type_fsblkcnt_t=yes
17827 else
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17831 ac_cv_type_fsblkcnt_t=no
17834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17837 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17838 if test $ac_cv_type_fsblkcnt_t = yes; then
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_FSBLKCNT_T 1
17842 _ACEOF
17846 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17847 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17848 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 $ac_includes_default
17858 typedef fsfilcnt_t ac__type_new_;
17860 main ()
17862 if ((ac__type_new_ *) 0)
17863 return 0;
17864 if (sizeof (ac__type_new_))
17865 return 0;
17867 return 0;
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17872 (eval $ac_compile) 2>conftest.er1
17873 ac_status=$?
17874 grep -v '^ *+' conftest.er1 >conftest.err
17875 rm -f conftest.er1
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } &&
17879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17882 ac_status=$?
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17888 ac_status=$?
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_cv_type_fsfilcnt_t=yes
17892 else
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.$ac_ext >&5
17896 ac_cv_type_fsfilcnt_t=no
17899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17901 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17902 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17903 if test $ac_cv_type_fsfilcnt_t = yes; then
17905 cat >>confdefs.h <<_ACEOF
17906 #define HAVE_FSFILCNT_T 1
17907 _ACEOF
17912 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17913 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17914 if test "${ac_cv_type_sigset_t+set}" = set; then
17915 echo $ECHO_N "(cached) $ECHO_C" >&6
17916 else
17917 cat >conftest.$ac_ext <<_ACEOF
17918 /* confdefs.h. */
17919 _ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923 #include <signal.h>
17925 typedef sigset_t ac__type_new_;
17927 main ()
17929 if ((ac__type_new_ *) 0)
17930 return 0;
17931 if (sizeof (ac__type_new_))
17932 return 0;
17934 return 0;
17936 _ACEOF
17937 rm -f conftest.$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17940 ac_status=$?
17941 grep -v '^ *+' conftest.er1 >conftest.err
17942 rm -f conftest.er1
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17949 ac_status=$?
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17955 ac_status=$?
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17958 ac_cv_type_sigset_t=yes
17959 else
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17963 ac_cv_type_sigset_t=no
17966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17968 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17969 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17970 if test $ac_cv_type_sigset_t = yes; then
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_SIGSET_T 1
17974 _ACEOF
17979 { echo "$as_me:$LINENO: checking for request_sense" >&5
17980 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17981 if test "${ac_cv_type_request_sense+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <linux/cdrom.h>
17992 typedef request_sense ac__type_new_;
17994 main ()
17996 if ((ac__type_new_ *) 0)
17997 return 0;
17998 if (sizeof (ac__type_new_))
17999 return 0;
18001 return 0;
18003 _ACEOF
18004 rm -f conftest.$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_cv_type_request_sense=yes
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 ac_cv_type_request_sense=no
18033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18035 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18036 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18037 if test $ac_cv_type_request_sense = yes; then
18039 cat >>confdefs.h <<_ACEOF
18040 #define HAVE_REQUEST_SENSE 1
18041 _ACEOF
18047 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18048 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18049 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 else
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 #ifdef HAVE_LINUX_INPUT_H
18059 #include <linux/input.h>
18060 #endif
18063 main ()
18065 static struct ff_effect ac_aggr;
18066 if (ac_aggr.direction)
18067 return 0;
18069 return 0;
18071 _ACEOF
18072 rm -f conftest.$ac_objext
18073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18074 (eval $ac_compile) 2>conftest.er1
18075 ac_status=$?
18076 grep -v '^ *+' conftest.er1 >conftest.err
18077 rm -f conftest.er1
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
18081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18084 ac_status=$?
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; } &&
18087 { ac_try='test -s conftest.$ac_objext'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18090 ac_status=$?
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18093 ac_cv_member_struct_ff_effect_direction=yes
18094 else
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 cat >conftest.$ac_ext <<_ACEOF
18099 /* confdefs.h. */
18100 _ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104 #ifdef HAVE_LINUX_INPUT_H
18105 #include <linux/input.h>
18106 #endif
18109 main ()
18111 static struct ff_effect ac_aggr;
18112 if (sizeof ac_aggr.direction)
18113 return 0;
18115 return 0;
18117 _ACEOF
18118 rm -f conftest.$ac_objext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18120 (eval $ac_compile) 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_member_struct_ff_effect_direction=yes
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18144 ac_cv_member_struct_ff_effect_direction=no
18147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18152 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18153 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18154 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18156 cat >>confdefs.h <<_ACEOF
18157 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18158 _ACEOF
18164 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18165 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18166 if test "${wine_cv_have_sigaddset+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175 #include <signal.h>
18177 main ()
18179 sigset_t set; sigaddset(&set,SIGTERM);
18181 return 0;
18183 _ACEOF
18184 rm -f conftest.$ac_objext conftest$ac_exeext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18186 (eval $ac_link) 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18196 ac_status=$?
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try='test -s conftest$ac_exeext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 wine_cv_have_sigaddset=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18210 wine_cv_have_sigaddset=no
18213 rm -f conftest.err conftest.$ac_objext \
18214 conftest$ac_exeext conftest.$ac_ext
18216 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18217 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18218 if test "$wine_cv_have_sigaddset" = "yes"
18219 then
18221 cat >>confdefs.h <<\_ACEOF
18222 #define HAVE_SIGADDSET 1
18223 _ACEOF
18228 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18229 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18230 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 else
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18240 #include <netdb.h>
18243 main ()
18246 char *name=NULL;
18247 struct hostent he;
18248 struct hostent *result;
18249 char *buf=NULL;
18250 int bufsize=0;
18251 int res,errnr;
18252 char *addr=NULL;
18253 int addrlen=0;
18254 int addrtype=0;
18255 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18256 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18259 return 0;
18261 _ACEOF
18262 rm -f conftest.$ac_objext conftest$ac_exeext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18264 (eval $ac_link) 2>conftest.er1
18265 ac_status=$?
18266 grep -v '^ *+' conftest.er1 >conftest.err
18267 rm -f conftest.er1
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } &&
18271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18274 ac_status=$?
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; } &&
18277 { ac_try='test -s conftest$ac_exeext'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18283 wine_cv_linux_gethostbyname_r_6=yes
18284 else
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18288 wine_cv_linux_gethostbyname_r_6=no
18292 rm -f conftest.err conftest.$ac_objext \
18293 conftest$ac_exeext conftest.$ac_ext
18296 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18297 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18298 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18299 then
18301 cat >>confdefs.h <<\_ACEOF
18302 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18303 _ACEOF
18307 if test "$ac_cv_header_linux_joystick_h" = "yes"
18308 then
18309 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18310 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18311 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 else
18314 cat >conftest.$ac_ext <<_ACEOF
18315 /* confdefs.h. */
18316 _ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18321 #include <sys/ioctl.h>
18322 #include <linux/joystick.h>
18324 struct js_event blub;
18325 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18326 #error "no 2.2 header"
18327 #endif
18330 main ()
18332 /*empty*/
18334 return 0;
18336 _ACEOF
18337 rm -f conftest.$ac_objext
18338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18339 (eval $ac_compile) 2>conftest.er1
18340 ac_status=$?
18341 grep -v '^ *+' conftest.er1 >conftest.err
18342 rm -f conftest.er1
18343 cat conftest.err >&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } &&
18346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18349 ac_status=$?
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; } &&
18352 { ac_try='test -s conftest.$ac_objext'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18355 ac_status=$?
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; }; then
18358 wine_cv_linux_joystick_22_api=yes
18359 else
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18363 wine_cv_linux_joystick_22_api=no
18366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18369 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18370 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18371 if test "$wine_cv_linux_joystick_22_api" = "yes"
18372 then
18374 cat >>confdefs.h <<\_ACEOF
18375 #define HAVE_LINUX_22_JOYSTICK_API 1
18376 _ACEOF
18382 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18383 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18384 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <sys/types.h>
18394 #ifdef HAVE_SYS_PARAM_H
18395 # include <sys/param.h>
18396 #endif
18397 #ifdef HAVE_SYS_MOUNT_H
18398 # include <sys/mount.h>
18399 #endif
18400 #ifdef HAVE_SYS_VFS_H
18401 # include <sys/vfs.h>
18402 #endif
18403 #ifdef HAVE_SYS_STATFS_H
18404 # include <sys/statfs.h>
18405 #endif
18408 main ()
18410 static struct statfs ac_aggr;
18411 if (ac_aggr.f_bfree)
18412 return 0;
18414 return 0;
18416 _ACEOF
18417 rm -f conftest.$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
18426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18429 ac_status=$?
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_member_struct_statfs_f_bfree=yes
18439 else
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.$ac_ext >&5
18443 cat >conftest.$ac_ext <<_ACEOF
18444 /* confdefs.h. */
18445 _ACEOF
18446 cat confdefs.h >>conftest.$ac_ext
18447 cat >>conftest.$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449 #include <sys/types.h>
18450 #ifdef HAVE_SYS_PARAM_H
18451 # include <sys/param.h>
18452 #endif
18453 #ifdef HAVE_SYS_MOUNT_H
18454 # include <sys/mount.h>
18455 #endif
18456 #ifdef HAVE_SYS_VFS_H
18457 # include <sys/vfs.h>
18458 #endif
18459 #ifdef HAVE_SYS_STATFS_H
18460 # include <sys/statfs.h>
18461 #endif
18464 main ()
18466 static struct statfs ac_aggr;
18467 if (sizeof ac_aggr.f_bfree)
18468 return 0;
18470 return 0;
18472 _ACEOF
18473 rm -f conftest.$ac_objext
18474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 (eval $ac_compile) 2>conftest.er1
18476 ac_status=$?
18477 grep -v '^ *+' conftest.er1 >conftest.err
18478 rm -f conftest.er1
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try='test -s conftest.$ac_objext'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18491 ac_status=$?
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; }; then
18494 ac_cv_member_struct_statfs_f_bfree=yes
18495 else
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18499 ac_cv_member_struct_statfs_f_bfree=no
18502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18507 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18508 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18509 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18511 cat >>confdefs.h <<_ACEOF
18512 #define HAVE_STRUCT_STATFS_F_BFREE 1
18513 _ACEOF
18517 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18518 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18519 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18520 echo $ECHO_N "(cached) $ECHO_C" >&6
18521 else
18522 cat >conftest.$ac_ext <<_ACEOF
18523 /* confdefs.h. */
18524 _ACEOF
18525 cat confdefs.h >>conftest.$ac_ext
18526 cat >>conftest.$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #ifdef HAVE_SYS_PARAM_H
18530 # include <sys/param.h>
18531 #endif
18532 #ifdef HAVE_SYS_MOUNT_H
18533 # include <sys/mount.h>
18534 #endif
18535 #ifdef HAVE_SYS_VFS_H
18536 # include <sys/vfs.h>
18537 #endif
18538 #ifdef HAVE_SYS_STATFS_H
18539 # include <sys/statfs.h>
18540 #endif
18543 main ()
18545 static struct statfs ac_aggr;
18546 if (ac_aggr.f_bavail)
18547 return 0;
18549 return 0;
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18555 ac_status=$?
18556 grep -v '^ *+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18570 ac_status=$?
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_cv_member_struct_statfs_f_bavail=yes
18574 else
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <sys/types.h>
18585 #ifdef HAVE_SYS_PARAM_H
18586 # include <sys/param.h>
18587 #endif
18588 #ifdef HAVE_SYS_MOUNT_H
18589 # include <sys/mount.h>
18590 #endif
18591 #ifdef HAVE_SYS_VFS_H
18592 # include <sys/vfs.h>
18593 #endif
18594 #ifdef HAVE_SYS_STATFS_H
18595 # include <sys/statfs.h>
18596 #endif
18599 main ()
18601 static struct statfs ac_aggr;
18602 if (sizeof ac_aggr.f_bavail)
18603 return 0;
18605 return 0;
18607 _ACEOF
18608 rm -f conftest.$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18611 ac_status=$?
18612 grep -v '^ *+' conftest.er1 >conftest.err
18613 rm -f conftest.er1
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_objext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 ac_cv_member_struct_statfs_f_bavail=yes
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18634 ac_cv_member_struct_statfs_f_bavail=no
18637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18642 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18643 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18644 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18646 cat >>confdefs.h <<_ACEOF
18647 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18648 _ACEOF
18652 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18653 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18654 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 else
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 #include <sys/types.h>
18664 #ifdef HAVE_SYS_PARAM_H
18665 # include <sys/param.h>
18666 #endif
18667 #ifdef HAVE_SYS_MOUNT_H
18668 # include <sys/mount.h>
18669 #endif
18670 #ifdef HAVE_SYS_VFS_H
18671 # include <sys/vfs.h>
18672 #endif
18673 #ifdef HAVE_SYS_STATFS_H
18674 # include <sys/statfs.h>
18675 #endif
18678 main ()
18680 static struct statfs ac_aggr;
18681 if (ac_aggr.f_frsize)
18682 return 0;
18684 return 0;
18686 _ACEOF
18687 rm -f conftest.$ac_objext
18688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18689 (eval $ac_compile) 2>conftest.er1
18690 ac_status=$?
18691 grep -v '^ *+' conftest.er1 >conftest.err
18692 rm -f conftest.er1
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18699 ac_status=$?
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; } &&
18702 { ac_try='test -s conftest.$ac_objext'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18708 ac_cv_member_struct_statfs_f_frsize=yes
18709 else
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18713 cat >conftest.$ac_ext <<_ACEOF
18714 /* confdefs.h. */
18715 _ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719 #include <sys/types.h>
18720 #ifdef HAVE_SYS_PARAM_H
18721 # include <sys/param.h>
18722 #endif
18723 #ifdef HAVE_SYS_MOUNT_H
18724 # include <sys/mount.h>
18725 #endif
18726 #ifdef HAVE_SYS_VFS_H
18727 # include <sys/vfs.h>
18728 #endif
18729 #ifdef HAVE_SYS_STATFS_H
18730 # include <sys/statfs.h>
18731 #endif
18734 main ()
18736 static struct statfs ac_aggr;
18737 if (sizeof ac_aggr.f_frsize)
18738 return 0;
18740 return 0;
18742 _ACEOF
18743 rm -f conftest.$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18746 ac_status=$?
18747 grep -v '^ *+' conftest.er1 >conftest.err
18748 rm -f conftest.er1
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18755 ac_status=$?
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try='test -s conftest.$ac_objext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18761 ac_status=$?
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764 ac_cv_member_struct_statfs_f_frsize=yes
18765 else
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18769 ac_cv_member_struct_statfs_f_frsize=no
18772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18777 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18778 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18779 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18783 _ACEOF
18787 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18788 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18789 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 else
18792 cat >conftest.$ac_ext <<_ACEOF
18793 /* confdefs.h. */
18794 _ACEOF
18795 cat confdefs.h >>conftest.$ac_ext
18796 cat >>conftest.$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18798 #include <sys/types.h>
18799 #ifdef HAVE_SYS_PARAM_H
18800 # include <sys/param.h>
18801 #endif
18802 #ifdef HAVE_SYS_MOUNT_H
18803 # include <sys/mount.h>
18804 #endif
18805 #ifdef HAVE_SYS_VFS_H
18806 # include <sys/vfs.h>
18807 #endif
18808 #ifdef HAVE_SYS_STATFS_H
18809 # include <sys/statfs.h>
18810 #endif
18813 main ()
18815 static struct statfs ac_aggr;
18816 if (ac_aggr.f_ffree)
18817 return 0;
18819 return 0;
18821 _ACEOF
18822 rm -f conftest.$ac_objext
18823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18824 (eval $ac_compile) 2>conftest.er1
18825 ac_status=$?
18826 grep -v '^ *+' conftest.er1 >conftest.err
18827 rm -f conftest.er1
18828 cat conftest.err >&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } &&
18831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18834 ac_status=$?
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; } &&
18837 { ac_try='test -s conftest.$ac_objext'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18840 ac_status=$?
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; }; then
18843 ac_cv_member_struct_statfs_f_ffree=yes
18844 else
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 #include <sys/types.h>
18855 #ifdef HAVE_SYS_PARAM_H
18856 # include <sys/param.h>
18857 #endif
18858 #ifdef HAVE_SYS_MOUNT_H
18859 # include <sys/mount.h>
18860 #endif
18861 #ifdef HAVE_SYS_VFS_H
18862 # include <sys/vfs.h>
18863 #endif
18864 #ifdef HAVE_SYS_STATFS_H
18865 # include <sys/statfs.h>
18866 #endif
18869 main ()
18871 static struct statfs ac_aggr;
18872 if (sizeof ac_aggr.f_ffree)
18873 return 0;
18875 return 0;
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18880 (eval $ac_compile) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18896 ac_status=$?
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 ac_cv_member_struct_statfs_f_ffree=yes
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 ac_cv_member_struct_statfs_f_ffree=no
18907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18913 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18914 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_STRUCT_STATFS_F_FFREE 1
18918 _ACEOF
18922 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18923 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18924 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 else
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18936 #endif
18937 #ifdef HAVE_SYS_MOUNT_H
18938 # include <sys/mount.h>
18939 #endif
18940 #ifdef HAVE_SYS_VFS_H
18941 # include <sys/vfs.h>
18942 #endif
18943 #ifdef HAVE_SYS_STATFS_H
18944 # include <sys/statfs.h>
18945 #endif
18948 main ()
18950 static struct statfs ac_aggr;
18951 if (ac_aggr.f_favail)
18952 return 0;
18954 return 0;
18956 _ACEOF
18957 rm -f conftest.$ac_objext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959 (eval $ac_compile) 2>conftest.er1
18960 ac_status=$?
18961 grep -v '^ *+' conftest.er1 >conftest.err
18962 rm -f conftest.er1
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } &&
18966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try='test -s conftest.$ac_objext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_member_struct_statfs_f_favail=yes
18979 else
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.$ac_ext >&5
18983 cat >conftest.$ac_ext <<_ACEOF
18984 /* confdefs.h. */
18985 _ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 #include <sys/types.h>
18990 #ifdef HAVE_SYS_PARAM_H
18991 # include <sys/param.h>
18992 #endif
18993 #ifdef HAVE_SYS_MOUNT_H
18994 # include <sys/mount.h>
18995 #endif
18996 #ifdef HAVE_SYS_VFS_H
18997 # include <sys/vfs.h>
18998 #endif
18999 #ifdef HAVE_SYS_STATFS_H
19000 # include <sys/statfs.h>
19001 #endif
19004 main ()
19006 static struct statfs ac_aggr;
19007 if (sizeof ac_aggr.f_favail)
19008 return 0;
19010 return 0;
19012 _ACEOF
19013 rm -f conftest.$ac_objext
19014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19015 (eval $ac_compile) 2>conftest.er1
19016 ac_status=$?
19017 grep -v '^ *+' conftest.er1 >conftest.err
19018 rm -f conftest.er1
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; } &&
19028 { ac_try='test -s conftest.$ac_objext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_member_struct_statfs_f_favail=yes
19035 else
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.$ac_ext >&5
19039 ac_cv_member_struct_statfs_f_favail=no
19042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19047 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19048 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19049 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19051 cat >>confdefs.h <<_ACEOF
19052 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19053 _ACEOF
19057 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19058 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19059 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 else
19062 cat >conftest.$ac_ext <<_ACEOF
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <sys/types.h>
19069 #ifdef HAVE_SYS_PARAM_H
19070 # include <sys/param.h>
19071 #endif
19072 #ifdef HAVE_SYS_MOUNT_H
19073 # include <sys/mount.h>
19074 #endif
19075 #ifdef HAVE_SYS_VFS_H
19076 # include <sys/vfs.h>
19077 #endif
19078 #ifdef HAVE_SYS_STATFS_H
19079 # include <sys/statfs.h>
19080 #endif
19083 main ()
19085 static struct statfs ac_aggr;
19086 if (ac_aggr.f_namelen)
19087 return 0;
19089 return 0;
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try='test -s conftest.$ac_objext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 ac_cv_member_struct_statfs_f_namelen=yes
19114 else
19115 echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19118 cat >conftest.$ac_ext <<_ACEOF
19119 /* confdefs.h. */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124 #include <sys/types.h>
19125 #ifdef HAVE_SYS_PARAM_H
19126 # include <sys/param.h>
19127 #endif
19128 #ifdef HAVE_SYS_MOUNT_H
19129 # include <sys/mount.h>
19130 #endif
19131 #ifdef HAVE_SYS_VFS_H
19132 # include <sys/vfs.h>
19133 #endif
19134 #ifdef HAVE_SYS_STATFS_H
19135 # include <sys/statfs.h>
19136 #endif
19139 main ()
19141 static struct statfs ac_aggr;
19142 if (sizeof ac_aggr.f_namelen)
19143 return 0;
19145 return 0;
19147 _ACEOF
19148 rm -f conftest.$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19151 ac_status=$?
19152 grep -v '^ *+' conftest.er1 >conftest.err
19153 rm -f conftest.er1
19154 cat conftest.err >&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; } &&
19163 { ac_try='test -s conftest.$ac_objext'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19166 ac_status=$?
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; }; then
19169 ac_cv_member_struct_statfs_f_namelen=yes
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 ac_cv_member_struct_statfs_f_namelen=no
19177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19182 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19183 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19184 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19188 _ACEOF
19194 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19195 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19196 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199 cat >conftest.$ac_ext <<_ACEOF
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 #ifdef HAVE_SYS_STATVFS_H
19206 #include <sys/statvfs.h>
19207 #endif
19210 main ()
19212 static struct statvfs ac_aggr;
19213 if (ac_aggr.f_blocks)
19214 return 0;
19216 return 0;
19218 _ACEOF
19219 rm -f conftest.$ac_objext
19220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19221 (eval $ac_compile) 2>conftest.er1
19222 ac_status=$?
19223 grep -v '^ *+' conftest.er1 >conftest.err
19224 rm -f conftest.er1
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } &&
19228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19231 ac_status=$?
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; } &&
19234 { ac_try='test -s conftest.$ac_objext'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19237 ac_status=$?
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; }; then
19240 ac_cv_member_struct_statvfs_f_blocks=yes
19241 else
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 #ifdef HAVE_SYS_STATVFS_H
19252 #include <sys/statvfs.h>
19253 #endif
19256 main ()
19258 static struct statvfs ac_aggr;
19259 if (sizeof ac_aggr.f_blocks)
19260 return 0;
19262 return 0;
19264 _ACEOF
19265 rm -f conftest.$ac_objext
19266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19267 (eval $ac_compile) 2>conftest.er1
19268 ac_status=$?
19269 grep -v '^ *+' conftest.er1 >conftest.err
19270 rm -f conftest.er1
19271 cat conftest.err >&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } &&
19274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_member_struct_statvfs_f_blocks=yes
19287 else
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19291 ac_cv_member_struct_statvfs_f_blocks=no
19294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19299 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19300 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19301 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19305 _ACEOF
19311 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19312 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19313 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 else
19316 cat >conftest.$ac_ext <<_ACEOF
19317 /* confdefs.h. */
19318 _ACEOF
19319 cat confdefs.h >>conftest.$ac_ext
19320 cat >>conftest.$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322 #include <sys/types.h>
19323 #ifdef HAVE_SYS_SOCKET_H
19324 # include <sys/socket.h>
19325 #endif
19326 #ifdef HAVE_SYS_UN_H
19327 # include <sys/un.h>
19328 #endif
19331 main ()
19333 static struct msghdr ac_aggr;
19334 if (ac_aggr.msg_accrights)
19335 return 0;
19337 return 0;
19339 _ACEOF
19340 rm -f conftest.$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; } &&
19355 { ac_try='test -s conftest.$ac_objext'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19361 ac_cv_member_struct_msghdr_msg_accrights=yes
19362 else
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19366 cat >conftest.$ac_ext <<_ACEOF
19367 /* confdefs.h. */
19368 _ACEOF
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #ifdef HAVE_SYS_SOCKET_H
19374 # include <sys/socket.h>
19375 #endif
19376 #ifdef HAVE_SYS_UN_H
19377 # include <sys/un.h>
19378 #endif
19381 main ()
19383 static struct msghdr ac_aggr;
19384 if (sizeof ac_aggr.msg_accrights)
19385 return 0;
19387 return 0;
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19392 (eval $ac_compile) 2>conftest.er1
19393 ac_status=$?
19394 grep -v '^ *+' conftest.er1 >conftest.err
19395 rm -f conftest.er1
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } &&
19399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19402 ac_status=$?
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; } &&
19405 { ac_try='test -s conftest.$ac_objext'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19408 ac_status=$?
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 ac_cv_member_struct_msghdr_msg_accrights=yes
19412 else
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19416 ac_cv_member_struct_msghdr_msg_accrights=no
19419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19424 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19425 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19426 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19428 cat >>confdefs.h <<_ACEOF
19429 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19430 _ACEOF
19434 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19435 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19436 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 else
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <sys/types.h>
19446 #ifdef HAVE_SYS_SOCKET_H
19447 # include <sys/socket.h>
19448 #endif
19449 #ifdef HAVE_SYS_UN_H
19450 # include <sys/un.h>
19451 #endif
19454 main ()
19456 static struct sockaddr ac_aggr;
19457 if (ac_aggr.sa_len)
19458 return 0;
19460 return 0;
19462 _ACEOF
19463 rm -f conftest.$ac_objext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19465 (eval $ac_compile) 2>conftest.er1
19466 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19475 ac_status=$?
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 ac_cv_member_struct_sockaddr_sa_len=yes
19485 else
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19489 cat >conftest.$ac_ext <<_ACEOF
19490 /* confdefs.h. */
19491 _ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_SOCKET_H
19497 # include <sys/socket.h>
19498 #endif
19499 #ifdef HAVE_SYS_UN_H
19500 # include <sys/un.h>
19501 #endif
19504 main ()
19506 static struct sockaddr ac_aggr;
19507 if (sizeof ac_aggr.sa_len)
19508 return 0;
19510 return 0;
19512 _ACEOF
19513 rm -f conftest.$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>conftest.er1
19516 ac_status=$?
19517 grep -v '^ *+' conftest.er1 >conftest.err
19518 rm -f conftest.er1
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19531 ac_status=$?
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_member_struct_sockaddr_sa_len=yes
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_member_struct_sockaddr_sa_len=no
19542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19549 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19551 cat >>confdefs.h <<_ACEOF
19552 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19553 _ACEOF
19557 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19558 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19559 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 else
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #include <sys/types.h>
19569 #ifdef HAVE_SYS_SOCKET_H
19570 # include <sys/socket.h>
19571 #endif
19572 #ifdef HAVE_SYS_UN_H
19573 # include <sys/un.h>
19574 #endif
19577 main ()
19579 static struct sockaddr_un ac_aggr;
19580 if (ac_aggr.sun_len)
19581 return 0;
19583 return 0;
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19588 (eval $ac_compile) 2>conftest.er1
19589 ac_status=$?
19590 grep -v '^ *+' conftest.er1 >conftest.err
19591 rm -f conftest.er1
19592 cat conftest.err >&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19598 ac_status=$?
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; } &&
19601 { ac_try='test -s conftest.$ac_objext'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; }; then
19607 ac_cv_member_struct_sockaddr_un_sun_len=yes
19608 else
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.$ac_ext >&5
19612 cat >conftest.$ac_ext <<_ACEOF
19613 /* confdefs.h. */
19614 _ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 #include <sys/types.h>
19619 #ifdef HAVE_SYS_SOCKET_H
19620 # include <sys/socket.h>
19621 #endif
19622 #ifdef HAVE_SYS_UN_H
19623 # include <sys/un.h>
19624 #endif
19627 main ()
19629 static struct sockaddr_un ac_aggr;
19630 if (sizeof ac_aggr.sun_len)
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19638 (eval $ac_compile) 2>conftest.er1
19639 ac_status=$?
19640 grep -v '^ *+' conftest.er1 >conftest.err
19641 rm -f conftest.er1
19642 cat conftest.err >&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } &&
19645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19648 ac_status=$?
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_cv_member_struct_sockaddr_un_sun_len=yes
19658 else
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19662 ac_cv_member_struct_sockaddr_un_sun_len=no
19665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19670 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19671 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19672 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19674 cat >>confdefs.h <<_ACEOF
19675 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19676 _ACEOF
19682 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19683 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19684 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 else
19687 cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h. */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #include <sys/types.h>
19694 #ifdef HAVE_SCSI_SG_H
19695 #include <scsi/sg.h>
19696 #endif
19699 main ()
19701 static scsireq_t ac_aggr;
19702 if (ac_aggr.cmd)
19703 return 0;
19705 return 0;
19707 _ACEOF
19708 rm -f conftest.$ac_objext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19710 (eval $ac_compile) 2>conftest.er1
19711 ac_status=$?
19712 grep -v '^ *+' conftest.er1 >conftest.err
19713 rm -f conftest.er1
19714 cat conftest.err >&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19720 ac_status=$?
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; } &&
19723 { ac_try='test -s conftest.$ac_objext'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19726 ac_status=$?
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; }; then
19729 ac_cv_member_scsireq_t_cmd=yes
19730 else
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #include <sys/types.h>
19741 #ifdef HAVE_SCSI_SG_H
19742 #include <scsi/sg.h>
19743 #endif
19746 main ()
19748 static scsireq_t ac_aggr;
19749 if (sizeof ac_aggr.cmd)
19750 return 0;
19752 return 0;
19754 _ACEOF
19755 rm -f conftest.$ac_objext
19756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19757 (eval $ac_compile) 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } &&
19764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19767 ac_status=$?
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; } &&
19770 { ac_try='test -s conftest.$ac_objext'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19773 ac_status=$?
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; }; then
19776 ac_cv_member_scsireq_t_cmd=yes
19777 else
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19781 ac_cv_member_scsireq_t_cmd=no
19784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19789 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19790 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19791 if test $ac_cv_member_scsireq_t_cmd = yes; then
19793 cat >>confdefs.h <<_ACEOF
19794 #define HAVE_SCSIREQ_T_CMD 1
19795 _ACEOF
19799 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19800 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19801 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #include <sys/types.h>
19811 #ifdef HAVE_SCSI_SG_H
19812 #include <scsi/sg.h>
19813 #endif
19816 main ()
19818 static sg_io_hdr_t ac_aggr;
19819 if (ac_aggr.interface_id)
19820 return 0;
19822 return 0;
19824 _ACEOF
19825 rm -f conftest.$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19828 ac_status=$?
19829 grep -v '^ *+' conftest.er1 >conftest.err
19830 rm -f conftest.er1
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19843 ac_status=$?
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_cv_member_sg_io_hdr_t_interface_id=yes
19847 else
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19851 cat >conftest.$ac_ext <<_ACEOF
19852 /* confdefs.h. */
19853 _ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 #include <sys/types.h>
19858 #ifdef HAVE_SCSI_SG_H
19859 #include <scsi/sg.h>
19860 #endif
19863 main ()
19865 static sg_io_hdr_t ac_aggr;
19866 if (sizeof ac_aggr.interface_id)
19867 return 0;
19869 return 0;
19871 _ACEOF
19872 rm -f conftest.$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>conftest.er1
19875 ac_status=$?
19876 grep -v '^ *+' conftest.er1 >conftest.err
19877 rm -f conftest.er1
19878 cat conftest.err >&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19884 ac_status=$?
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; } &&
19887 { ac_try='test -s conftest.$ac_objext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19890 ac_status=$?
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 ac_cv_member_sg_io_hdr_t_interface_id=yes
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19898 ac_cv_member_sg_io_hdr_t_interface_id=no
19901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19906 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19907 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19908 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19910 cat >>confdefs.h <<_ACEOF
19911 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19912 _ACEOF
19918 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19919 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19920 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 #include <signal.h>
19932 main ()
19934 static siginfo_t ac_aggr;
19935 if (ac_aggr.si_fd)
19936 return 0;
19938 return 0;
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19943 (eval $ac_compile) 2>conftest.er1
19944 ac_status=$?
19945 grep -v '^ *+' conftest.er1 >conftest.err
19946 rm -f conftest.er1
19947 cat conftest.err >&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19952 (eval $ac_try) 2>&5
19953 ac_status=$?
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); }; } &&
19956 { ac_try='test -s conftest.$ac_objext'
19957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958 (eval $ac_try) 2>&5
19959 ac_status=$?
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); }; }; then
19962 ac_cv_member_siginfo_t_si_fd=yes
19963 else
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 #include <signal.h>
19976 main ()
19978 static siginfo_t ac_aggr;
19979 if (sizeof ac_aggr.si_fd)
19980 return 0;
19982 return 0;
19984 _ACEOF
19985 rm -f conftest.$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987 (eval $ac_compile) 2>conftest.er1
19988 ac_status=$?
19989 grep -v '^ *+' conftest.er1 >conftest.err
19990 rm -f conftest.er1
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19997 ac_status=$?
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try='test -s conftest.$ac_objext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 ac_cv_member_siginfo_t_si_fd=yes
20007 else
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.$ac_ext >&5
20011 ac_cv_member_siginfo_t_si_fd=no
20014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20019 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20020 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20021 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20023 cat >>confdefs.h <<_ACEOF
20024 #define HAVE_SIGINFO_T_SI_FD 1
20025 _ACEOF
20031 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20032 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20033 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036 cat >conftest.$ac_ext <<_ACEOF
20037 /* confdefs.h. */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 #include <sys/types.h>
20043 #ifdef HAVE_SYS_MTIO_H
20044 #include <sys/mtio.h>
20045 #endif
20048 main ()
20050 static struct mtget ac_aggr;
20051 if (ac_aggr.mt_blksiz)
20052 return 0;
20054 return 0;
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20059 (eval $ac_compile) 2>conftest.er1
20060 ac_status=$?
20061 grep -v '^ *+' conftest.er1 >conftest.err
20062 rm -f conftest.er1
20063 cat conftest.err >&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20069 ac_status=$?
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest.$ac_objext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20075 ac_status=$?
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 ac_cv_member_struct_mtget_mt_blksiz=yes
20079 else
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #include <sys/types.h>
20090 #ifdef HAVE_SYS_MTIO_H
20091 #include <sys/mtio.h>
20092 #endif
20095 main ()
20097 static struct mtget ac_aggr;
20098 if (sizeof ac_aggr.mt_blksiz)
20099 return 0;
20101 return 0;
20103 _ACEOF
20104 rm -f conftest.$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106 (eval $ac_compile) 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; } &&
20119 { ac_try='test -s conftest.$ac_objext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_member_struct_mtget_mt_blksiz=yes
20126 else
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ac_cv_member_struct_mtget_mt_blksiz=no
20133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20138 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20139 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20140 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20142 cat >>confdefs.h <<_ACEOF
20143 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20144 _ACEOF
20148 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20149 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20150 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 else
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #include <sys/types.h>
20160 #ifdef HAVE_SYS_MTIO_H
20161 #include <sys/mtio.h>
20162 #endif
20165 main ()
20167 static struct mtget ac_aggr;
20168 if (ac_aggr.mt_gstat)
20169 return 0;
20171 return 0;
20173 _ACEOF
20174 rm -f conftest.$ac_objext
20175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20176 (eval $ac_compile) 2>conftest.er1
20177 ac_status=$?
20178 grep -v '^ *+' conftest.er1 >conftest.err
20179 rm -f conftest.er1
20180 cat conftest.err >&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 ac_cv_member_struct_mtget_mt_gstat=yes
20196 else
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20200 cat >conftest.$ac_ext <<_ACEOF
20201 /* confdefs.h. */
20202 _ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 #include <sys/types.h>
20207 #ifdef HAVE_SYS_MTIO_H
20208 #include <sys/mtio.h>
20209 #endif
20212 main ()
20214 static struct mtget ac_aggr;
20215 if (sizeof ac_aggr.mt_gstat)
20216 return 0;
20218 return 0;
20220 _ACEOF
20221 rm -f conftest.$ac_objext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20223 (eval $ac_compile) 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20233 ac_status=$?
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest.$ac_objext'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; }; then
20242 ac_cv_member_struct_mtget_mt_gstat=yes
20243 else
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 ac_cv_member_struct_mtget_mt_gstat=no
20250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20255 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20256 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20257 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20259 cat >>confdefs.h <<_ACEOF
20260 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20261 _ACEOF
20265 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20266 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20267 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 else
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 #include <sys/types.h>
20277 #ifdef HAVE_SYS_MTIO_H
20278 #include <sys/mtio.h>
20279 #endif
20282 main ()
20284 static struct mtget ac_aggr;
20285 if (ac_aggr.mt_blkno)
20286 return 0;
20288 return 0;
20290 _ACEOF
20291 rm -f conftest.$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>conftest.er1
20294 ac_status=$?
20295 grep -v '^ *+' conftest.er1 >conftest.err
20296 rm -f conftest.er1
20297 cat conftest.err >&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20303 ac_status=$?
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_cv_member_struct_mtget_mt_blkno=yes
20313 else
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 cat >conftest.$ac_ext <<_ACEOF
20318 /* confdefs.h. */
20319 _ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 #include <sys/types.h>
20324 #ifdef HAVE_SYS_MTIO_H
20325 #include <sys/mtio.h>
20326 #endif
20329 main ()
20331 static struct mtget ac_aggr;
20332 if (sizeof ac_aggr.mt_blkno)
20333 return 0;
20335 return 0;
20337 _ACEOF
20338 rm -f conftest.$ac_objext
20339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20340 (eval $ac_compile) 2>conftest.er1
20341 ac_status=$?
20342 grep -v '^ *+' conftest.er1 >conftest.err
20343 rm -f conftest.er1
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } &&
20347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; } &&
20353 { ac_try='test -s conftest.$ac_objext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20356 ac_status=$?
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 ac_cv_member_struct_mtget_mt_blkno=yes
20360 else
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20364 ac_cv_member_struct_mtget_mt_blkno=no
20367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20373 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20374 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20376 cat >>confdefs.h <<_ACEOF
20377 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20378 _ACEOF
20384 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20385 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20386 if test "${ac_cv_member_struct_option_name+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20388 else
20389 cat >conftest.$ac_ext <<_ACEOF
20390 /* confdefs.h. */
20391 _ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 #ifdef HAVE_GETOPT_H
20396 #include <getopt.h>
20397 #endif
20400 main ()
20402 static struct option ac_aggr;
20403 if (ac_aggr.name)
20404 return 0;
20406 return 0;
20408 _ACEOF
20409 rm -f conftest.$ac_objext
20410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20411 (eval $ac_compile) 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; } &&
20424 { ac_try='test -s conftest.$ac_objext'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20427 ac_status=$?
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20430 ac_cv_member_struct_option_name=yes
20431 else
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.$ac_ext >&5
20435 cat >conftest.$ac_ext <<_ACEOF
20436 /* confdefs.h. */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 #ifdef HAVE_GETOPT_H
20442 #include <getopt.h>
20443 #endif
20446 main ()
20448 static struct option ac_aggr;
20449 if (sizeof ac_aggr.name)
20450 return 0;
20452 return 0;
20454 _ACEOF
20455 rm -f conftest.$ac_objext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20457 (eval $ac_compile) 2>conftest.er1
20458 ac_status=$?
20459 grep -v '^ *+' conftest.er1 >conftest.err
20460 rm -f conftest.er1
20461 cat conftest.err >&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20473 ac_status=$?
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_cv_member_struct_option_name=yes
20477 else
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20481 ac_cv_member_struct_option_name=no
20484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20489 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20490 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20491 if test $ac_cv_member_struct_option_name = yes; then
20493 cat >>confdefs.h <<_ACEOF
20494 #define HAVE_STRUCT_OPTION_NAME 1
20495 _ACEOF
20501 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20502 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20503 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 else
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h. */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 $ac_includes_default
20514 main ()
20516 static struct stat ac_aggr;
20517 if (ac_aggr.st_blocks)
20518 return 0;
20520 return 0;
20522 _ACEOF
20523 rm -f conftest.$ac_objext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20525 (eval $ac_compile) 2>conftest.er1
20526 ac_status=$?
20527 grep -v '^ *+' conftest.er1 >conftest.err
20528 rm -f conftest.er1
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; } &&
20538 { ac_try='test -s conftest.$ac_objext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_member_struct_stat_st_blocks=yes
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20549 cat >conftest.$ac_ext <<_ACEOF
20550 /* confdefs.h. */
20551 _ACEOF
20552 cat confdefs.h >>conftest.$ac_ext
20553 cat >>conftest.$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20555 $ac_includes_default
20557 main ()
20559 static struct stat ac_aggr;
20560 if (sizeof ac_aggr.st_blocks)
20561 return 0;
20563 return 0;
20565 _ACEOF
20566 rm -f conftest.$ac_objext
20567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20568 (eval $ac_compile) 2>conftest.er1
20569 ac_status=$?
20570 grep -v '^ *+' conftest.er1 >conftest.err
20571 rm -f conftest.er1
20572 cat conftest.err >&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } &&
20575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20578 ac_status=$?
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); }; } &&
20581 { ac_try='test -s conftest.$ac_objext'
20582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583 (eval $ac_try) 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); }; }; then
20587 ac_cv_member_struct_stat_st_blocks=yes
20588 else
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20592 ac_cv_member_struct_stat_st_blocks=no
20595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20601 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20602 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20604 cat >>confdefs.h <<_ACEOF
20605 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20606 _ACEOF
20612 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20613 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20614 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20616 else
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h. */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 #ifdef HAVE_SYS_TYPES_H
20624 #include <sys/types.h>
20625 #endif
20626 #ifdef HAVE_NETINET_IN_H
20627 #include <netinet/in.h>
20628 #endif
20631 main ()
20633 static struct sockaddr_in6 ac_aggr;
20634 if (ac_aggr.sin6_scope_id)
20635 return 0;
20637 return 0;
20639 _ACEOF
20640 rm -f conftest.$ac_objext
20641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20642 (eval $ac_compile) 2>conftest.er1
20643 ac_status=$?
20644 grep -v '^ *+' conftest.er1 >conftest.err
20645 rm -f conftest.er1
20646 cat conftest.err >&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } &&
20649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try='test -s conftest.$ac_objext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20658 ac_status=$?
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20662 else
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 #ifdef HAVE_SYS_TYPES_H
20673 #include <sys/types.h>
20674 #endif
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20677 #endif
20680 main ()
20682 static struct sockaddr_in6 ac_aggr;
20683 if (sizeof ac_aggr.sin6_scope_id)
20684 return 0;
20686 return 0;
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20715 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20724 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20725 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20727 cat >>confdefs.h <<_ACEOF
20728 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20729 _ACEOF
20735 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20736 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20737 if test "${ac_cv_have_timezone+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 else
20740 cat >conftest.$ac_ext <<_ACEOF
20741 /* confdefs.h. */
20742 _ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 #include <time.h>
20748 main ()
20750 timezone;
20752 return 0;
20754 _ACEOF
20755 rm -f conftest.$ac_objext conftest$ac_exeext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20757 (eval $ac_link) 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20767 ac_status=$?
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try='test -s conftest$ac_exeext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 ac_cv_have_timezone="yes"
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20781 ac_cv_have_timezone="no"
20784 rm -f conftest.err conftest.$ac_objext \
20785 conftest$ac_exeext conftest.$ac_ext
20787 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20788 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20789 if test "$ac_cv_have_timezone" = "yes"
20790 then
20792 cat >>confdefs.h <<\_ACEOF
20793 #define HAVE_TIMEZONE 1
20794 _ACEOF
20797 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20798 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20799 if test "${ac_cv_have_daylight+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20801 else
20802 cat >conftest.$ac_ext <<_ACEOF
20803 /* confdefs.h. */
20804 _ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 #include <time.h>
20810 main ()
20812 daylight;
20814 return 0;
20816 _ACEOF
20817 rm -f conftest.$ac_objext conftest$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819 (eval $ac_link) 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20829 ac_status=$?
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try='test -s conftest$ac_exeext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20835 ac_status=$?
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_cv_have_daylight="yes"
20839 else
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.$ac_ext >&5
20843 ac_cv_have_daylight="no"
20846 rm -f conftest.err conftest.$ac_objext \
20847 conftest$ac_exeext conftest.$ac_ext
20849 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20850 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20851 if test "$ac_cv_have_daylight" = "yes"
20852 then
20854 cat >>confdefs.h <<\_ACEOF
20855 #define HAVE_DAYLIGHT 1
20856 _ACEOF
20861 case $host_cpu in
20862 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20863 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20864 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20867 cat >conftest.$ac_ext <<_ACEOF
20868 /* confdefs.h. */
20869 _ACEOF
20870 cat confdefs.h >>conftest.$ac_ext
20871 cat >>conftest.$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 #ifndef __i386__
20875 #endif
20876 _ACEOF
20877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20878 $EGREP "yes" >/dev/null 2>&1; then
20879 ac_cv_cpp_def___i386__=yes
20880 else
20881 ac_cv_cpp_def___i386__=no
20883 rm -f conftest*
20886 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20887 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20888 if test $ac_cv_cpp_def___i386__ = yes; then
20889 CFLAGS="$CFLAGS -D__i386__"
20890 LINTFLAGS="$LINTFLAGS -D__i386__"
20893 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20894 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20895 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 else
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 #ifndef __x86_64__
20906 #endif
20907 _ACEOF
20908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20909 $EGREP "yes" >/dev/null 2>&1; then
20910 ac_cv_cpp_def___x86_64__=yes
20911 else
20912 ac_cv_cpp_def___x86_64__=no
20914 rm -f conftest*
20917 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20918 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20919 if test $ac_cv_cpp_def___x86_64__ = yes; then
20920 CFLAGS="$CFLAGS -D__x86_64__"
20921 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20924 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20925 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20926 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20928 else
20929 cat >conftest.$ac_ext <<_ACEOF
20930 /* confdefs.h. */
20931 _ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 #ifndef __ALPHA__
20937 #endif
20938 _ACEOF
20939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20940 $EGREP "yes" >/dev/null 2>&1; then
20941 ac_cv_cpp_def___ALPHA__=yes
20942 else
20943 ac_cv_cpp_def___ALPHA__=no
20945 rm -f conftest*
20948 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20949 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20950 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20951 CFLAGS="$CFLAGS -D__ALPHA__"
20952 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20955 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20956 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20957 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 else
20960 cat >conftest.$ac_ext <<_ACEOF
20961 /* confdefs.h. */
20962 _ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 #ifndef __sparc__
20968 #endif
20969 _ACEOF
20970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20971 $EGREP "yes" >/dev/null 2>&1; then
20972 ac_cv_cpp_def___sparc__=yes
20973 else
20974 ac_cv_cpp_def___sparc__=no
20976 rm -f conftest*
20979 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20980 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20981 if test $ac_cv_cpp_def___sparc__ = yes; then
20982 CFLAGS="$CFLAGS -D__sparc__"
20983 LINTFLAGS="$LINTFLAGS -D__sparc__"
20986 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20987 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20988 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 #ifndef __powerpc__
20999 #endif
21000 _ACEOF
21001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21002 $EGREP "yes" >/dev/null 2>&1; then
21003 ac_cv_cpp_def___powerpc__=yes
21004 else
21005 ac_cv_cpp_def___powerpc__=no
21007 rm -f conftest*
21010 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21011 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21012 if test $ac_cv_cpp_def___powerpc__ = yes; then
21013 CFLAGS="$CFLAGS -D__powerpc__"
21014 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21017 esac
21019 case $host_vendor in
21020 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21021 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21022 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 else
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #ifndef __sun__
21033 #endif
21034 _ACEOF
21035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21036 $EGREP "yes" >/dev/null 2>&1; then
21037 ac_cv_cpp_def___sun__=yes
21038 else
21039 ac_cv_cpp_def___sun__=no
21041 rm -f conftest*
21044 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21045 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21046 if test $ac_cv_cpp_def___sun__ = yes; then
21047 CFLAGS="$CFLAGS -D__sun__"
21048 LINTFLAGS="$LINTFLAGS -D__sun__"
21051 esac
21057 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
21059 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
21061 ac_config_commands="$ac_config_commands dlls/kernel/messages"
21063 ac_config_commands="$ac_config_commands dlls/user/resources"
21065 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21067 ac_config_commands="$ac_config_commands include/wine"
21070 MAKE_RULES=Make.rules
21073 MAKE_DLL_RULES=dlls/Makedll.rules
21076 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21079 MAKE_TEST_RULES=dlls/Maketest.rules
21082 MAKE_LIB_RULES=libs/Makelib.rules
21085 MAKE_PROG_RULES=programs/Makeprog.rules
21088 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/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/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/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
21091 cat >confcache <<\_ACEOF
21092 # This file is a shell script that caches the results of configure
21093 # tests run on this system so they can be shared between configure
21094 # scripts and configure runs, see configure's option --config-cache.
21095 # It is not useful on other systems. If it contains results you don't
21096 # want to keep, you may remove or edit it.
21098 # config.status only pays attention to the cache file if you give it
21099 # the --recheck option to rerun configure.
21101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21103 # following values.
21105 _ACEOF
21107 # The following way of writing the cache mishandles newlines in values,
21108 # but we know of no workaround that is simple, portable, and efficient.
21109 # So, we kill variables containing newlines.
21110 # Ultrix sh set writes to stderr and can't be redirected directly,
21111 # and sets the high bit in the cache file unless we assign to the vars.
21113 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21114 eval ac_val=\$$ac_var
21115 case $ac_val in #(
21116 *${as_nl}*)
21117 case $ac_var in #(
21118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21120 esac
21121 case $ac_var in #(
21122 _ | IFS | as_nl) ;; #(
21123 *) $as_unset $ac_var ;;
21124 esac ;;
21125 esac
21126 done
21128 (set) 2>&1 |
21129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21130 *${as_nl}ac_space=\ *)
21131 # `set' does not quote correctly, so add quotes (double-quote
21132 # substitution turns \\\\ into \\, and sed turns \\ into \).
21133 sed -n \
21134 "s/'/'\\\\''/g;
21135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21136 ;; #(
21138 # `set' quotes correctly as required by POSIX, so do not add quotes.
21139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21141 esac |
21142 sort
21144 sed '
21145 /^ac_cv_env_/b end
21146 t clear
21147 :clear
21148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21149 t end
21150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21151 :end' >>confcache
21152 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21153 if test -w $cache_file; then
21154 test "x$cache_file" != "x/dev/null" &&
21155 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21156 echo "$as_me: updating cache $cache_file" >&6;}
21157 cat confcache >$cache_file
21158 else
21159 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21163 rm -f confcache
21165 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21166 # Let make expand exec_prefix.
21167 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21169 DEFS=-DHAVE_CONFIG_H
21171 ac_libobjs=
21172 ac_ltlibobjs=
21173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21174 # 1. Remove the extension, and $U if already installed.
21175 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21176 ac_i=`echo "$ac_i" | sed "$ac_script"`
21177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21178 # will be set to the directory where LIBOBJS objects are built.
21179 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21180 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21181 done
21182 LIBOBJS=$ac_libobjs
21184 LTLIBOBJS=$ac_ltlibobjs
21188 : ${CONFIG_STATUS=./config.status}
21189 ac_clean_files_save=$ac_clean_files
21190 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21191 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21192 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21193 cat >$CONFIG_STATUS <<_ACEOF
21194 #! $SHELL
21195 # Generated by $as_me.
21196 # Run this file to recreate the current configuration.
21197 # Compiler output produced by configure, useful for debugging
21198 # configure, is in config.log if it exists.
21200 debug=false
21201 ac_cs_recheck=false
21202 ac_cs_silent=false
21203 SHELL=\${CONFIG_SHELL-$SHELL}
21204 _ACEOF
21206 cat >>$CONFIG_STATUS <<\_ACEOF
21207 ## --------------------- ##
21208 ## M4sh Initialization. ##
21209 ## --------------------- ##
21211 # Be Bourne compatible
21212 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21213 emulate sh
21214 NULLCMD=:
21215 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21216 # is contrary to our usage. Disable this feature.
21217 alias -g '${1+"$@"}'='"$@"'
21218 setopt NO_GLOB_SUBST
21219 else
21220 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21222 BIN_SH=xpg4; export BIN_SH # for Tru64
21223 DUALCASE=1; export DUALCASE # for MKS sh
21226 # PATH needs CR
21227 # Avoid depending upon Character Ranges.
21228 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21229 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21230 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21231 as_cr_digits='0123456789'
21232 as_cr_alnum=$as_cr_Letters$as_cr_digits
21234 # The user is always right.
21235 if test "${PATH_SEPARATOR+set}" != set; then
21236 echo "#! /bin/sh" >conf$$.sh
21237 echo "exit 0" >>conf$$.sh
21238 chmod +x conf$$.sh
21239 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21240 PATH_SEPARATOR=';'
21241 else
21242 PATH_SEPARATOR=:
21244 rm -f conf$$.sh
21247 # Support unset when possible.
21248 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21249 as_unset=unset
21250 else
21251 as_unset=false
21255 # IFS
21256 # We need space, tab and new line, in precisely that order. Quoting is
21257 # there to prevent editors from complaining about space-tab.
21258 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21259 # splitting by setting IFS to empty value.)
21260 as_nl='
21262 IFS=" "" $as_nl"
21264 # Find who we are. Look in the path if we contain no directory separator.
21265 case $0 in
21266 *[\\/]* ) as_myself=$0 ;;
21267 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21268 for as_dir in $PATH
21270 IFS=$as_save_IFS
21271 test -z "$as_dir" && as_dir=.
21272 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21273 done
21274 IFS=$as_save_IFS
21277 esac
21278 # We did not find ourselves, most probably we were run as `sh COMMAND'
21279 # in which case we are not to be found in the path.
21280 if test "x$as_myself" = x; then
21281 as_myself=$0
21283 if test ! -f "$as_myself"; then
21284 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21285 { (exit 1); exit 1; }
21288 # Work around bugs in pre-3.0 UWIN ksh.
21289 for as_var in ENV MAIL MAILPATH
21290 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21291 done
21292 PS1='$ '
21293 PS2='> '
21294 PS4='+ '
21296 # NLS nuisances.
21297 for as_var in \
21298 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21299 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21300 LC_TELEPHONE LC_TIME
21302 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21303 eval $as_var=C; export $as_var
21304 else
21305 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21307 done
21309 # Required to use basename.
21310 if expr a : '\(a\)' >/dev/null 2>&1 &&
21311 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21312 as_expr=expr
21313 else
21314 as_expr=false
21317 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21318 as_basename=basename
21319 else
21320 as_basename=false
21324 # Name of the executable.
21325 as_me=`$as_basename -- "$0" ||
21326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21327 X"$0" : 'X\(//\)$' \| \
21328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21329 echo X/"$0" |
21330 sed '/^.*\/\([^/][^/]*\)\/*$/{
21331 s//\1/
21334 /^X\/\(\/\/\)$/{
21335 s//\1/
21338 /^X\/\(\/\).*/{
21339 s//\1/
21342 s/.*/./; q'`
21344 # CDPATH.
21345 $as_unset CDPATH
21349 as_lineno_1=$LINENO
21350 as_lineno_2=$LINENO
21351 test "x$as_lineno_1" != "x$as_lineno_2" &&
21352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21354 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21355 # uniformly replaced by the line number. The first 'sed' inserts a
21356 # line-number line after each line using $LINENO; the second 'sed'
21357 # does the real work. The second script uses 'N' to pair each
21358 # line-number line with the line containing $LINENO, and appends
21359 # trailing '-' during substitution so that $LINENO is not a special
21360 # case at line end.
21361 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21362 # scripts with optimization help from Paolo Bonzini. Blame Lee
21363 # E. McMahon (1931-1989) for sed's syntax. :-)
21364 sed -n '
21366 /[$]LINENO/=
21367 ' <$as_myself |
21368 sed '
21369 s/[$]LINENO.*/&-/
21370 t lineno
21372 :lineno
21374 :loop
21375 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21376 t loop
21377 s/-\n.*//
21378 ' >$as_me.lineno &&
21379 chmod +x "$as_me.lineno" ||
21380 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21381 { (exit 1); exit 1; }; }
21383 # Don't try to exec as it changes $[0], causing all sort of problems
21384 # (the dirname of $[0] is not the place where we might find the
21385 # original and so on. Autoconf is especially sensitive to this).
21386 . "./$as_me.lineno"
21387 # Exit status is that of the last command.
21388 exit
21392 if (dirname -- /) >/dev/null 2>&1; then
21393 as_dirname=dirname
21394 else
21395 as_dirname=false
21398 ECHO_C= ECHO_N= ECHO_T=
21399 case `echo -n x` in
21400 -n*)
21401 case `echo 'x\c'` in
21402 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21403 *) ECHO_C='\c';;
21404 esac;;
21406 ECHO_N='-n';;
21407 esac
21409 if expr a : '\(a\)' >/dev/null 2>&1 &&
21410 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21411 as_expr=expr
21412 else
21413 as_expr=false
21416 rm -f conf$$ conf$$.exe conf$$.file
21417 if test -d conf$$.dir; then
21418 rm -f conf$$.dir/conf$$.file
21419 else
21420 rm -f conf$$.dir
21421 mkdir conf$$.dir
21423 echo >conf$$.file
21424 if ln -s conf$$.file conf$$ 2>/dev/null; then
21425 as_ln_s='ln -s'
21426 # ... but there are two gotchas:
21427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21429 # In both cases, we have to default to `cp -p'.
21430 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21431 as_ln_s='cp -p'
21432 elif ln conf$$.file conf$$ 2>/dev/null; then
21433 as_ln_s=ln
21434 else
21435 as_ln_s='cp -p'
21437 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21438 rmdir conf$$.dir 2>/dev/null
21440 if mkdir -p . 2>/dev/null; then
21441 as_mkdir_p=:
21442 else
21443 test -d ./-p && rmdir ./-p
21444 as_mkdir_p=false
21447 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
21448 # systems may use methods other than mode bits to determine executability.
21449 cat >conf$$.file <<_ASEOF
21450 #! /bin/sh
21451 exit 0
21452 _ASEOF
21453 chmod +x conf$$.file
21454 if test -x conf$$.file >/dev/null 2>&1; then
21455 as_executable_p="test -x"
21456 else
21457 as_executable_p=:
21459 rm -f conf$$.file
21461 # Sed expression to map a string onto a valid CPP name.
21462 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21464 # Sed expression to map a string onto a valid variable name.
21465 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21468 exec 6>&1
21470 # Save the log message, to keep $[0] and so on meaningful, and to
21471 # report actual input values of CONFIG_FILES etc. instead of their
21472 # values after options handling.
21473 ac_log="
21474 This file was extended by Wine $as_me 0.9.14, which was
21475 generated by GNU Autoconf 2.59d. Invocation command line was
21477 CONFIG_FILES = $CONFIG_FILES
21478 CONFIG_HEADERS = $CONFIG_HEADERS
21479 CONFIG_LINKS = $CONFIG_LINKS
21480 CONFIG_COMMANDS = $CONFIG_COMMANDS
21481 $ $0 $@
21483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21486 _ACEOF
21488 cat >>$CONFIG_STATUS <<_ACEOF
21489 # Files that config.status was made for.
21490 config_files="$ac_config_files"
21491 config_headers="$ac_config_headers"
21492 config_commands="$ac_config_commands"
21494 _ACEOF
21496 cat >>$CONFIG_STATUS <<\_ACEOF
21497 ac_cs_usage="\
21498 \`$as_me' instantiates files from templates according to the
21499 current configuration.
21501 Usage: $0 [OPTIONS] [FILE]...
21503 -h, --help print this help, then exit
21504 -V, --version print version number, then exit
21505 -q, --quiet do not print progress messages
21506 -d, --debug don't remove temporary files
21507 --recheck update $as_me by reconfiguring in the same conditions
21508 --file=FILE[:TEMPLATE]
21509 instantiate the configuration file FILE
21510 --header=FILE[:TEMPLATE]
21511 instantiate the configuration header FILE
21513 Configuration files:
21514 $config_files
21516 Configuration headers:
21517 $config_headers
21519 Configuration commands:
21520 $config_commands
21522 Report bugs to <bug-autoconf@gnu.org>."
21524 _ACEOF
21525 cat >>$CONFIG_STATUS <<_ACEOF
21526 ac_cs_version="\\
21527 Wine config.status 0.9.14
21528 configured by $0, generated by GNU Autoconf 2.59d,
21529 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21531 Copyright (C) 2006 Free Software Foundation, Inc.
21532 This config.status script is free software; the Free Software Foundation
21533 gives unlimited permission to copy, distribute and modify it."
21535 ac_pwd='$ac_pwd'
21536 srcdir='$srcdir'
21537 INSTALL='$INSTALL'
21538 _ACEOF
21540 cat >>$CONFIG_STATUS <<\_ACEOF
21541 # If no file are specified by the user, then we need to provide default
21542 # value. By we need to know if files were specified by the user.
21543 ac_need_defaults=:
21544 while test $# != 0
21546 case $1 in
21547 --*=*)
21548 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21549 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21550 ac_shift=:
21553 ac_option=$1
21554 ac_optarg=$2
21555 ac_shift=shift
21557 esac
21559 case $ac_option in
21560 # Handling of the options.
21561 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21562 ac_cs_recheck=: ;;
21563 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21564 echo "$ac_cs_version"; exit ;;
21565 --debug | --debu | --deb | --de | --d | -d )
21566 debug=: ;;
21567 --file | --fil | --fi | --f )
21568 $ac_shift
21569 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21570 ac_need_defaults=false;;
21571 --header | --heade | --head | --hea )
21572 $ac_shift
21573 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21574 ac_need_defaults=false;;
21575 --he | --h)
21576 # Conflict between --help and --header
21577 { echo "$as_me: error: ambiguous option: $1
21578 Try \`$0 --help' for more information." >&2
21579 { (exit 1); exit 1; }; };;
21580 --help | --hel | -h )
21581 echo "$ac_cs_usage"; exit ;;
21582 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21583 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21584 ac_cs_silent=: ;;
21586 # This is an error.
21587 -*) { echo "$as_me: error: unrecognized option: $1
21588 Try \`$0 --help' for more information." >&2
21589 { (exit 1); exit 1; }; } ;;
21591 *) ac_config_targets="$ac_config_targets $1"
21592 ac_need_defaults=false ;;
21594 esac
21595 shift
21596 done
21598 ac_configure_extra_args=
21600 if $ac_cs_silent; then
21601 exec 6>/dev/null
21602 ac_configure_extra_args="$ac_configure_extra_args --silent"
21605 _ACEOF
21606 cat >>$CONFIG_STATUS <<_ACEOF
21607 if \$ac_cs_recheck; then
21608 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21609 CONFIG_SHELL=$SHELL
21610 export CONFIG_SHELL
21611 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21614 _ACEOF
21615 cat >>$CONFIG_STATUS <<\_ACEOF
21616 exec 5>>config.log
21618 echo
21619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21620 ## Running $as_me. ##
21621 _ASBOX
21622 echo "$ac_log"
21623 } >&5
21625 _ACEOF
21626 cat >>$CONFIG_STATUS <<_ACEOF
21627 _ACEOF
21629 cat >>$CONFIG_STATUS <<\_ACEOF
21631 # Handling of arguments.
21632 for ac_config_target in $ac_config_targets
21634 case $ac_config_target in
21635 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21636 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
21637 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
21638 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
21639 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
21640 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21641 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21642 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21643 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21644 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21645 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21646 "libs/Makelib.rules") CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
21647 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21648 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21649 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21650 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21651 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21652 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21653 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21654 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21655 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21656 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21657 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21658 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21659 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21660 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21661 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21662 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21663 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21664 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21665 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21666 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21667 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21668 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21669 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21670 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21671 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21672 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21673 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21674 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21675 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21676 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21677 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21678 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21679 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21680 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21681 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21682 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21683 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21684 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21685 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21686 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21687 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21688 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21689 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21690 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21691 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21692 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21693 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21694 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21695 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21696 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21697 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21698 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21699 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21700 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21701 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21702 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21703 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21704 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21705 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21706 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21707 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21708 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21709 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21710 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21711 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
21712 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
21713 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21714 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
21715 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21716 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21717 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21718 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21719 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21720 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21721 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21722 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21723 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21724 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21725 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21726 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
21727 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
21728 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21729 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21730 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21731 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21732 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21733 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21734 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21735 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21736 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21737 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21738 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21739 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21740 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21741 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21742 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21743 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21744 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21745 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21746 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21747 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21748 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21749 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21750 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21751 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21752 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21753 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21754 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21755 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21756 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21757 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21758 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21759 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21760 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21761 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21762 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21763 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21764 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21765 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21766 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21767 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21768 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21769 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21770 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21771 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21772 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21773 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21774 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21775 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21776 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21777 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21778 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21779 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21780 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21781 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21782 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21783 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21784 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21785 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21786 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21787 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21788 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21789 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21790 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21791 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21792 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21793 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21794 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21795 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21796 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21797 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21798 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21799 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21800 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21801 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21802 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21803 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21804 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21805 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21806 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21807 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21808 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21809 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21810 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21811 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21812 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21813 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21814 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21815 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21816 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21817 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21818 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21819 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21820 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21821 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21822 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21823 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21824 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21825 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21826 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21827 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21828 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21829 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21830 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21831 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21832 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21833 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21834 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
21835 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
21836 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21837 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21838 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21839 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21840 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21841 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21842 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21843 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21844 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21845 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21846 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21847 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21848 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21849 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21850 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21851 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21852 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21853 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21854 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21855 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21856 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21857 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21858 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
21859 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21860 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21861 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21862 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21863 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21864 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21865 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21866 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21867 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21868 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21869 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21870 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21871 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21872 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21873 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21874 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21875 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21876 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21877 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21878 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21879 "dlls/x11drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
21880 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21881 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21882 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21883 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21884 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21885 "libs/unicode/Makefile") CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
21886 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21887 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21888 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21889 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21890 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21891 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21892 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21893 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21894 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21895 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21896 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21897 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21898 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21899 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21900 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21901 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21902 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21903 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21904 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21905 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21906 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21907 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21908 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21909 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21910 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
21911 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21912 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21913 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21914 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21915 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21916 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21917 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21918 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21919 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21920 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21921 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21922 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21923 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21924 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21925 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21926 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21927 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21928 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
21929 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21930 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21931 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21932 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21933 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21935 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21937 { (exit 1); exit 1; }; };;
21938 esac
21939 done
21942 # If the user did not use the arguments to specify the items to instantiate,
21943 # then the envvar interface is used. Set only those that are not.
21944 # We use the long form for the default assignment because of an extremely
21945 # bizarre bug on SunOS 4.1.3.
21946 if $ac_need_defaults; then
21947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21952 # Have a temporary directory for convenience. Make it in the build tree
21953 # simply because there is no reason against having it here, and in addition,
21954 # creating and moving files from /tmp can sometimes cause problems.
21955 # Hook for its removal unless debugging.
21956 # Note that there is a small window in which the directory will not be cleaned:
21957 # after its creation but before its name has been assigned to `$tmp'.
21958 $debug ||
21960 tmp=
21961 trap 'exit_status=$?
21962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21964 trap '{ (exit 1); exit 1; }' 1 2 13 15
21966 # Create a (secure) tmp directory for tmp files.
21969 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21970 test -n "$tmp" && test -d "$tmp"
21971 } ||
21973 tmp=./conf$$-$RANDOM
21974 (umask 077 && mkdir "$tmp")
21975 } ||
21977 echo "$me: cannot create a temporary directory in ." >&2
21978 { (exit 1); exit 1; }
21982 # Set up the sed scripts for CONFIG_FILES section.
21985 # No need to generate the scripts if there are no CONFIG_FILES.
21986 # This happens for instance when ./config.status config.h
21987 if test -n "$CONFIG_FILES"; then
21989 _ACEOF
21991 # Create sed commands to just substitute file output variables.
21993 # Remaining file output variables are in a fragment that also has non-file
21994 # output varibles.
21998 ac_delim='%!_!# '
21999 for ac_last_try in false false false false false :; do
22000 cat >conf$$subs.sed <<_ACEOF
22001 SHELL!$SHELL$ac_delim
22002 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22003 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22004 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22005 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22006 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22007 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22008 exec_prefix!$exec_prefix$ac_delim
22009 prefix!$prefix$ac_delim
22010 program_transform_name!$program_transform_name$ac_delim
22011 bindir!$bindir$ac_delim
22012 sbindir!$sbindir$ac_delim
22013 libexecdir!$libexecdir$ac_delim
22014 datarootdir!$datarootdir$ac_delim
22015 datadir!$datadir$ac_delim
22016 sysconfdir!$sysconfdir$ac_delim
22017 sharedstatedir!$sharedstatedir$ac_delim
22018 localstatedir!$localstatedir$ac_delim
22019 includedir!$includedir$ac_delim
22020 oldincludedir!$oldincludedir$ac_delim
22021 docdir!$docdir$ac_delim
22022 infodir!$infodir$ac_delim
22023 htmldir!$htmldir$ac_delim
22024 dvidir!$dvidir$ac_delim
22025 pdfdir!$pdfdir$ac_delim
22026 psdir!$psdir$ac_delim
22027 libdir!$libdir$ac_delim
22028 localedir!$localedir$ac_delim
22029 mandir!$mandir$ac_delim
22030 DEFS!$DEFS$ac_delim
22031 ECHO_C!$ECHO_C$ac_delim
22032 ECHO_N!$ECHO_N$ac_delim
22033 ECHO_T!$ECHO_T$ac_delim
22034 LIBS!$LIBS$ac_delim
22035 build_alias!$build_alias$ac_delim
22036 host_alias!$host_alias$ac_delim
22037 target_alias!$target_alias$ac_delim
22038 build!$build$ac_delim
22039 build_cpu!$build_cpu$ac_delim
22040 build_vendor!$build_vendor$ac_delim
22041 build_os!$build_os$ac_delim
22042 host!$host$ac_delim
22043 host_cpu!$host_cpu$ac_delim
22044 host_vendor!$host_vendor$ac_delim
22045 host_os!$host_os$ac_delim
22046 WIN16_FILES!$WIN16_FILES$ac_delim
22047 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22048 SET_MAKE!$SET_MAKE$ac_delim
22049 CC!$CC$ac_delim
22050 CFLAGS!$CFLAGS$ac_delim
22051 LDFLAGS!$LDFLAGS$ac_delim
22052 CPPFLAGS!$CPPFLAGS$ac_delim
22053 ac_ct_CC!$ac_ct_CC$ac_delim
22054 EXEEXT!$EXEEXT$ac_delim
22055 OBJEXT!$OBJEXT$ac_delim
22056 CXX!$CXX$ac_delim
22057 CXXFLAGS!$CXXFLAGS$ac_delim
22058 ac_ct_CXX!$ac_ct_CXX$ac_delim
22059 CPPBIN!$CPPBIN$ac_delim
22060 TOOLSDIR!$TOOLSDIR$ac_delim
22061 XMKMF!$XMKMF$ac_delim
22062 CPP!$CPP$ac_delim
22063 X_CFLAGS!$X_CFLAGS$ac_delim
22064 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22065 X_LIBS!$X_LIBS$ac_delim
22066 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22067 LEX!$LEX$ac_delim
22068 LEXLIB!$LEXLIB$ac_delim
22069 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
22070 XLEX!$XLEX$ac_delim
22071 BISON!$BISON$ac_delim
22072 AS!$AS$ac_delim
22073 ac_ct_AS!$ac_ct_AS$ac_delim
22074 LD!$LD$ac_delim
22075 AR!$AR$ac_delim
22076 RANLIB!$RANLIB$ac_delim
22077 STRIP!$STRIP$ac_delim
22078 WINDRES!$WINDRES$ac_delim
22079 LN_S!$LN_S$ac_delim
22080 _ACEOF
22082 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 79; then
22083 break
22084 elif $ac_last_try; then
22085 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22086 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22087 { (exit 1); exit 1; }; }
22088 else
22089 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22091 done
22093 ac_eof=
22094 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
22095 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
22096 ac_eof=`expr 0$ac_eof + 1`
22099 cat >>$CONFIG_STATUS <<_ACEOF
22100 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22102 /^[ ]*@MAKE_RULES@[ ]*$/{
22103 r $MAKE_RULES
22106 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22107 r $MAKE_DLL_RULES
22110 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22111 r $MAKE_IMPLIB_RULES
22114 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22115 r $MAKE_TEST_RULES
22118 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
22119 r $MAKE_LIB_RULES
22122 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22123 r $MAKE_PROG_RULES
22126 _ACEOF
22127 sed '
22128 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22129 s/^/s,@/; s/!/@,|#_!!_#|/
22132 s/'"$ac_delim"'$/,g/; t
22133 s/$/\\/; p
22134 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22135 ' >>$CONFIG_STATUS <conf$$subs.sed
22136 rm -f conf$$subs.sed
22137 cat >>$CONFIG_STATUS <<_ACEOF
22138 CEOF$ac_eof
22139 _ACEOF
22142 ac_delim='%!_!# '
22143 for ac_last_try in false false false false false :; do
22144 cat >conf$$subs.sed <<_ACEOF
22145 LN!$LN$ac_delim
22146 GREP!$GREP$ac_delim
22147 EGREP!$EGREP$ac_delim
22148 LDCONFIG!$LDCONFIG$ac_delim
22149 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22150 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22151 INSTALL_DATA!$INSTALL_DATA$ac_delim
22152 LINT!$LINT$ac_delim
22153 LINTFLAGS!$LINTFLAGS$ac_delim
22154 FONTFORGE!$FONTFORGE$ac_delim
22155 PKG_CONFIG!$PKG_CONFIG$ac_delim
22156 PRELINK!$PRELINK$ac_delim
22157 LIBPTHREAD!$LIBPTHREAD$ac_delim
22158 XLIB!$XLIB$ac_delim
22159 XFILES!$XFILES$ac_delim
22160 OPENGLFILES!$OPENGLFILES$ac_delim
22161 GLU32FILES!$GLU32FILES$ac_delim
22162 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22163 GLUT_LIBS!$GLUT_LIBS$ac_delim
22164 GLUT32FILES!$GLUT32FILES$ac_delim
22165 NASLIBS!$NASLIBS$ac_delim
22166 XML2LIBS!$XML2LIBS$ac_delim
22167 XML2INCL!$XML2INCL$ac_delim
22168 XSLTLIBS!$XSLTLIBS$ac_delim
22169 XSLTINCL!$XSLTINCL$ac_delim
22170 HALINCL!$HALINCL$ac_delim
22171 CURSESLIBS!$CURSESLIBS$ac_delim
22172 sane_devel!$sane_devel$ac_delim
22173 SANELIBS!$SANELIBS$ac_delim
22174 SANEINCL!$SANEINCL$ac_delim
22175 gphoto2_devel!$gphoto2_devel$ac_delim
22176 gphoto2port_devel!$gphoto2port_devel$ac_delim
22177 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22178 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22179 ICULIBS!$ICULIBS$ac_delim
22180 RESOLVLIBS!$RESOLVLIBS$ac_delim
22181 LCMSLIBS!$LCMSLIBS$ac_delim
22182 LDAPLIBS!$LDAPLIBS$ac_delim
22183 FREETYPELIBS!$FREETYPELIBS$ac_delim
22184 FREETYPEINCL!$FREETYPEINCL$ac_delim
22185 ft_devel!$ft_devel$ac_delim
22186 ft_devel2!$ft_devel2$ac_delim
22187 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22188 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22189 ARTSLIBS!$ARTSLIBS$ac_delim
22190 ARTSINCL!$ARTSINCL$ac_delim
22191 ESDCONFIG!$ESDCONFIG$ac_delim
22192 ESDLIBS!$ESDLIBS$ac_delim
22193 ESDINCL!$ESDINCL$ac_delim
22194 ALSALIBS!$ALSALIBS$ac_delim
22195 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22196 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22197 BUILTINFLAG!$BUILTINFLAG$ac_delim
22198 DLLEXT!$DLLEXT$ac_delim
22199 DLLFLAGS!$DLLFLAGS$ac_delim
22200 DLLIBS!$DLLIBS$ac_delim
22201 LDSHARED!$LDSHARED$ac_delim
22202 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22203 LIBEXT!$LIBEXT$ac_delim
22204 IMPLIBEXT!$IMPLIBEXT$ac_delim
22205 DLLTOOL!$DLLTOOL$ac_delim
22206 DLLWRAP!$DLLWRAP$ac_delim
22207 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22208 LDEXERPATH!$LDEXERPATH$ac_delim
22209 LDDLLRPATH!$LDDLLRPATH$ac_delim
22210 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22211 IOKITLIB!$IOKITLIB$ac_delim
22212 CROSSTEST!$CROSSTEST$ac_delim
22213 CROSSCC!$CROSSCC$ac_delim
22214 CROSSWINDRES!$CROSSWINDRES$ac_delim
22215 LDPATH!$LDPATH$ac_delim
22216 CRTLIBS!$CRTLIBS$ac_delim
22217 SOCKETLIBS!$SOCKETLIBS$ac_delim
22218 MAIN_BINARY!$MAIN_BINARY$ac_delim
22219 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22220 LDD!$LDD$ac_delim
22221 LIBOBJS!$LIBOBJS$ac_delim
22222 LTLIBOBJS!$LTLIBOBJS$ac_delim
22223 _ACEOF
22225 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 78; then
22226 break
22227 elif $ac_last_try; then
22228 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22229 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22230 { (exit 1); exit 1; }; }
22231 else
22232 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22234 done
22236 ac_eof=
22237 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
22238 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
22239 ac_eof=`expr 0$ac_eof + 1`
22242 cat >>$CONFIG_STATUS <<_ACEOF
22243 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22245 _ACEOF
22246 sed '
22247 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22248 s/^/s,@/; s/!/@,|#_!!_#|/
22251 s/'"$ac_delim"'$/,g/; t
22252 s/$/\\/; p
22253 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22254 ' >>$CONFIG_STATUS <conf$$subs.sed
22255 rm -f conf$$subs.sed
22256 cat >>$CONFIG_STATUS <<_ACEOF
22257 :end
22258 s/|#_!!_#|//g
22259 CEOF$ac_eof
22260 _ACEOF
22263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22265 # trailing colons and then remove the whole line if VPATH becomes empty
22266 # (actually we leave an empty line to preserve line numbers).
22267 if test "x$srcdir" = x.; then
22268 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22269 s/:*\$(srcdir):*/:/
22270 s/:*\${srcdir}:*/:/
22271 s/:*@srcdir@:*/:/
22272 s/^\([^=]*=[ ]*\):*/\1/
22273 s/:*$//
22274 s/^[^=]*=[ ]*$//
22278 cat >>$CONFIG_STATUS <<\_ACEOF
22279 fi # test -n "$CONFIG_FILES"
22282 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22284 case $ac_tag in
22285 :[FHLC]) ac_mode=$ac_tag; continue;;
22286 esac
22287 case $ac_mode$ac_tag in
22288 :[FHL]*:*);;
22289 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22290 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22291 { (exit 1); exit 1; }; };;
22292 :[FH]-) ac_tag=-:-;;
22293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22294 esac
22295 ac_save_IFS=$IFS
22296 IFS=:
22297 set x $ac_tag
22298 IFS=$ac_save_IFS
22299 shift
22300 ac_file=$1
22301 shift
22303 case $ac_mode in
22304 :L) ac_source=$1;;
22305 :[FH])
22306 ac_file_inputs=
22307 for ac_f
22309 case $ac_f in
22310 -) ac_f="$tmp/stdin";;
22311 *) # Look for the file first in the build tree, then in the source tree
22312 # (if the path is not absolute). The absolute path cannot be DOS-style,
22313 # because $ac_f cannot contain `:'.
22314 test -f "$ac_f" ||
22315 case $ac_f in
22316 [\\/$]*) false;;
22317 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22318 esac ||
22319 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22320 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22321 { (exit 1); exit 1; }; };;
22322 esac
22323 ac_file_inputs="$ac_file_inputs $ac_f"
22324 done
22326 # Let's still pretend it is `configure' which instantiates (i.e., don't
22327 # use $as_me), people would be surprised to read:
22328 # /* config.h. Generated by config.status. */
22329 configure_input="Generated from "`IFS=:
22330 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22331 if test x"$ac_file" != x-; then
22332 configure_input="$ac_file. $configure_input"
22333 { echo "$as_me:$LINENO: creating $ac_file" >&5
22334 echo "$as_me: creating $ac_file" >&6;}
22337 case $ac_tag in
22338 *:-:* | *:-) cat >"$tmp/stdin";;
22339 esac
22341 esac
22343 ac_dir=`$as_dirname -- "$ac_file" ||
22344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22345 X"$ac_file" : 'X\(//\)[^/]' \| \
22346 X"$ac_file" : 'X\(//\)$' \| \
22347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22348 echo X"$ac_file" |
22349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22350 s//\1/
22353 /^X\(\/\/\)[^/].*/{
22354 s//\1/
22357 /^X\(\/\/\)$/{
22358 s//\1/
22361 /^X\(\/\).*/{
22362 s//\1/
22365 s/.*/./; q'`
22366 { as_dir="$ac_dir"
22367 case $as_dir in #(
22368 -*) as_dir=./$as_dir;;
22369 esac
22370 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22371 as_dirs=
22372 while :; do
22373 case $as_dir in #(
22374 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22375 *) as_qdir=$as_dir;;
22376 esac
22377 as_dirs="'$as_qdir' $as_dirs"
22378 as_dir=`$as_dirname -- "$as_dir" ||
22379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22380 X"$as_dir" : 'X\(//\)[^/]' \| \
22381 X"$as_dir" : 'X\(//\)$' \| \
22382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22383 echo X"$as_dir" |
22384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22385 s//\1/
22388 /^X\(\/\/\)[^/].*/{
22389 s//\1/
22392 /^X\(\/\/\)$/{
22393 s//\1/
22396 /^X\(\/\).*/{
22397 s//\1/
22400 s/.*/./; q'`
22401 test -d "$as_dir" && break
22402 done
22403 test -z "$as_dirs" || eval "mkdir $as_dirs"
22404 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22405 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22406 { (exit 1); exit 1; }; }; }
22407 ac_builddir=.
22409 case "$ac_dir" in
22410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22413 # A ".." for each directory in $ac_dir_suffix.
22414 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22415 case $ac_top_builddir_sub in
22416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22418 esac ;;
22419 esac
22420 ac_abs_top_builddir=$ac_pwd
22421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22422 # for backward compatibility:
22423 ac_top_builddir=$ac_top_build_prefix
22425 case $srcdir in
22426 .) # We are building in place.
22427 ac_srcdir=.
22428 ac_top_srcdir=$ac_top_builddir_sub
22429 ac_abs_top_srcdir=$ac_pwd ;;
22430 [\\/]* | ?:[\\/]* ) # Absolute name.
22431 ac_srcdir=$srcdir$ac_dir_suffix;
22432 ac_top_srcdir=$srcdir
22433 ac_abs_top_srcdir=$srcdir ;;
22434 *) # Relative name.
22435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22436 ac_top_srcdir=$ac_top_build_prefix$srcdir
22437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22438 esac
22439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22442 case $ac_mode in
22445 # CONFIG_FILE
22448 case $INSTALL in
22449 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22450 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22451 esac
22452 _ACEOF
22454 cat >>$CONFIG_STATUS <<\_ACEOF
22455 # If the template does not know about datarootdir, expand it.
22456 # FIXME: This hack should be removed a few years after 2.60.
22457 ac_datarootdir_hack=
22459 case `sed -n '/datarootdir/ {
22463 /@datadir@/p
22464 /@docdir@/p
22465 /@infodir@/p
22466 /@localedir@/p
22467 /@mandir@/p
22468 ' $ac_file_inputs` in
22469 *datarootdir*) ;;
22470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22471 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22472 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22473 _ACEOF
22474 cat >>$CONFIG_STATUS <<_ACEOF
22475 ac_datarootdir_hack='
22476 s&@datadir@&$datadir&g
22477 s&@docdir@&$docdir&g
22478 s&@infodir@&$infodir&g
22479 s&@localedir@&$localedir&g
22480 s&@mandir@&$mandir&g
22481 s&\\\${datarootdir}&$datarootdir&g' ;;
22482 esac
22483 _ACEOF
22485 # Neutralize VPATH when `$srcdir' = `.'.
22486 # Shell code in configure.ac might set extrasub.
22487 # FIXME: do we really want to maintain this feature?
22488 cat >>$CONFIG_STATUS <<_ACEOF
22489 sed "$ac_vpsub
22490 $extrasub
22491 _ACEOF
22492 cat >>$CONFIG_STATUS <<\_ACEOF
22494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22495 s&@configure_input@&$configure_input&;t t
22496 s&@top_builddir@&$ac_top_builddir_sub&;t t
22497 s&@srcdir@&$ac_srcdir&;t t
22498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22499 s&@top_srcdir@&$ac_top_srcdir&;t t
22500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22501 s&@builddir@&$ac_builddir&;t t
22502 s&@abs_builddir@&$ac_abs_builddir&;t t
22503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22504 s&@INSTALL@&$ac_INSTALL&;t t
22505 $ac_datarootdir_hack
22506 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22508 rm -f "$tmp/stdin"
22509 case $ac_file in
22510 -) cat "$tmp/out"; rm -f "$tmp/out";;
22511 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22512 esac
22516 # CONFIG_HEADER
22519 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22520 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22521 # PARAMS is the parameter list in the macro definition--in most cases, it's
22522 # just an empty string.
22524 ac_dA='s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ]*'
22525 ac_dB='\)[ (].*$,\1define\2'
22526 ac_dC=' '
22527 ac_dD=' ,'
22529 ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
22530 _ACEOF
22532 # Transform confdefs.h into a sed script `conftest.defines', that
22533 # substitutes the proper values into config.h.in to produce config.h.
22534 rm -f conftest.defines conftest.tail
22535 # First, append a space to every undef/define line, to ease matching.
22536 echo 's/$/ /' >conftest.defines
22537 # Then, protect against being on the right side of a sed subst, or in
22538 # an unquoted here document, in config.status. If some macros were
22539 # called several times there might be several #defines for the same
22540 # symbol, which is useless. But do not sort them, since the last
22541 # AC_DEFINE must be honored.
22542 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22543 uniq confdefs.h |
22544 sed -n '
22545 t rset
22546 :rset
22547 s/^[ ]*#[ ]*define[ ][ ]*//
22548 t ok
22551 s/[\\&,]/\\&/g
22552 s/[\\$`]/\\&/g
22553 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
22554 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
22555 ' >>conftest.defines
22557 # Remove the space that was appended to ease matching.
22558 # Then replace #undef with comments. This is necessary, for
22559 # example, in the case of _POSIX_SOURCE, which is predefined and required
22560 # on some systems where configure will not decide to define it.
22561 # (The regexp can be short, since the line contains either #define or #undef.)
22562 echo 's/ $//
22563 s,^[ #]*u.*,/* & */,' >>conftest.defines
22565 # Break up conftest.defines:
22566 ac_max_sed_lines=96
22568 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22569 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22570 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22571 # et cetera.
22572 ac_in='$ac_file_inputs'
22573 ac_out='"$tmp/out1"'
22574 ac_nxt='"$tmp/out2"'
22576 while :
22578 # Write a here document:
22579 echo ' # First, check the format of the line:
22580 cat >"$tmp/defines.sed" <<CEOF
22581 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_regexp[ ]*$/b def
22582 /^[ ]*#[ ]*define[ ][ ]*$ac_word_regexp[( ]/b def
22584 :def' >>$CONFIG_STATUS
22585 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22586 echo 'CEOF
22587 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22588 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22589 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22590 grep . conftest.tail >/dev/null || break
22591 rm -f conftest.defines
22592 mv conftest.tail conftest.defines
22593 done
22594 rm -f conftest.defines conftest.tail
22596 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22597 cat >>$CONFIG_STATUS <<\_ACEOF
22598 if test x"$ac_file" != x-; then
22599 echo "/* $configure_input */" >"$tmp/config.h"
22600 cat "$ac_result" >>"$tmp/config.h"
22601 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22602 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22603 echo "$as_me: $ac_file is unchanged" >&6;}
22604 else
22605 rm -f $ac_file
22606 mv "$tmp/config.h" $ac_file
22608 else
22609 echo "/* $configure_input */"
22610 cat "$ac_result"
22612 rm -f "$tmp/out12"
22615 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22616 echo "$as_me: executing $ac_file commands" >&6;}
22618 esac
22621 case $ac_file$ac_mode in
22622 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
22623 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
22624 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
22625 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
22626 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
22627 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
22628 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
22629 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
22630 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22631 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22632 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22633 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22635 esac
22636 done # for ac_tag
22639 { (exit 0); exit 0; }
22640 _ACEOF
22641 chmod +x $CONFIG_STATUS
22642 ac_clean_files=$ac_clean_files_save
22645 # configure is writing to config.log, and then calls config.status.
22646 # config.status does its own redirection, appending to config.log.
22647 # Unfortunately, on DOS this fails, as config.log is still kept open
22648 # by configure, so config.status won't be able to write to it; its
22649 # output is simply discarded. So we exec the FD to /dev/null,
22650 # effectively closing config.log, so it can be properly (re)opened and
22651 # appended to by config.status. When coming back to configure, we
22652 # need to make the FD available again.
22653 if test "$no_create" != yes; then
22654 ac_cs_success=:
22655 ac_config_status_args=
22656 test "$silent" = yes &&
22657 ac_config_status_args="$ac_config_status_args --quiet"
22658 exec 5>/dev/null
22659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22660 exec 5>>config.log
22661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22662 # would make configure fail if this is the last instruction.
22663 $ac_cs_success || { (exit 1); exit 1; }
22667 exitcode=0
22668 if test "$have_x" = "no"
22669 then
22670 echo
22671 echo "*** Warning: X development files not found. Wine will be built without"
22672 echo "*** X support, which currently does not work, and would probably not be"
22673 echo "*** what you want anyway. You will need to install devel packages of"
22674 echo "*** Xlib/Xfree86 at the very least."
22675 exitcode=1
22678 if test "$wine_cv_opengl_version_OK" = "no"
22679 then
22680 echo
22681 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
22682 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
22683 exitcode=1
22686 if test "$wine_cv_msg_freetype" = "yes"
22687 then
22688 echo
22689 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
22690 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
22691 echo "*** freetype-devel package (or its equivalent on your distribution) to"
22692 echo "*** enable Wine to use TrueType fonts."
22693 exitcode=1
22696 if test "$wine_cv_msg_fonts" = "yes"
22697 then
22698 echo
22699 echo "*** Warning: FreeType or FontForge is missing."
22700 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
22701 exitcode=1
22704 if test -z "$ALSALIBS" -a \
22705 -z "$ARTSC_LIBS" -a \
22706 -z "$AUDIOIOLIBS" -a \
22707 -z "$NASLIBS" -a \
22708 -z "$ESD_LIBS" -a \
22709 -z "$ac_cv_lib_soname_jack" -a \
22710 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22711 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22712 "$ac_cv_header_soundcard_h" != "yes"
22713 then
22714 echo "*** No sound system was found. Windows applications will be silent."
22715 echo "*** The currently supported sound systems are:"
22716 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
22717 exitcode=1
22720 echo
22721 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22722 echo
22724 exit $exitcode