push aea352fc3df615e3f4b48daf6f897ea93ad1fffd
[wine/hacks.git] / configure
blobdf90adce1bc59ed3666ad36e5e40bfb9a72eaeda
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.39.
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 more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.39'
578 PACKAGE_STRING='Wine 0.9.39'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 NASLIBS
716 XML2LIBS
717 XML2INCL
718 XSLTLIBS
719 XSLTINCL
720 HALINCL
721 sane_devel
722 SANEINCL
723 gphoto2_devel
724 gphoto2port_devel
725 GPHOTO2LIBS
726 GPHOTO2INCL
727 ICULIBS
728 RESOLVLIBS
729 LCMSLIBS
730 LDAPLIBS
731 FREETYPELIBS
732 FREETYPEINCL
733 ft_devel
734 ft_devel2
735 FONTSSUBDIRS
736 ESDCONFIG
737 ESDLIBS
738 ESDINCL
739 ALSALIBS
740 AUDIOIOLIBS
741 EXTRACFLAGS
742 BUILTINFLAG
743 DLLEXT
744 DLLFLAGS
745 LDSHARED
746 LDDLLFLAGS
747 LIBEXT
748 IMPLIBEXT
749 LDRPATH_INSTALL
750 LDRPATH_LOCAL
751 DLLTOOL
752 DLLWRAP
753 MINGWAR
754 COREFOUNDATIONLIB
755 IOKITLIB
756 LDEXECFLAGS
757 DISKARBITRATIONLIB
758 COREAUDIO
759 CARBONLIB
760 CROSSTEST
761 CROSSCC
762 CROSSWINDRES
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
769 LIBDL
770 LIBPOLL
771 DEPENDENCIES
772 LIBOBJS
773 LTLIBOBJS'
774 ac_subst_files='MAKE_RULES
775 MAKE_DLL_RULES
776 MAKE_IMPLIB_RULES
777 MAKE_TEST_RULES
778 MAKE_PROG_RULES'
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
788 CXXFLAGS
790 XMKMF
791 CPP'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1128 --x)
1129 # Obsolete; use --with-x.
1130 with_x=yes ;;
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 esac
1169 done
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1190 done
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1206 cross_compiling=yes
1210 ac_tool_prefix=
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 echo X"$0" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures Wine 0.9.39 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1347 _ACEOF
1349 cat <<\_ACEOF
1351 X features:
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1355 System types:
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.39:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 binaries)
1373 --disable-tests do not build the testsuites
1375 Optional Packages:
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1393 CPP C preprocessor
1395 Use these variables to override the choices made by `configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1398 Report bugs to <wine-devel@winehq.org>.
1399 _ACEOF
1400 ac_status=$?
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406 test -d "$ac_dir" || continue
1407 ac_builddir=.
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1449 else
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 fi || ac_status=$?
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1453 done
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1458 cat <<\_ACEOF
1459 Wine configure 0.9.39
1460 generated by GNU Autoconf 2.61
1462 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1464 This configure script is free software; the Free Software Foundation
1465 gives unlimited permission to copy, distribute and modify it.
1466 _ACEOF
1467 exit
1469 cat >config.log <<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.39, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1476 $ $0 $@
1478 _ACEOF
1479 exec 5>>config.log
1481 cat <<_ASUNAME
1482 ## --------- ##
1483 ## Platform. ##
1484 ## --------- ##
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503 _ASUNAME
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 for as_dir in $PATH
1508 IFS=$as_save_IFS
1509 test -z "$as_dir" && as_dir=.
1510 echo "PATH: $as_dir"
1511 done
1512 IFS=$as_save_IFS
1514 } >&5
1516 cat >&5 <<_ACEOF
1519 ## ----------- ##
1520 ## Core tests. ##
1521 ## ----------- ##
1523 _ACEOF
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_configure_args=
1532 ac_configure_args0=
1533 ac_configure_args1=
1534 ac_must_keep_next=false
1535 for ac_pass in 1 2
1537 for ac_arg
1539 case $ac_arg in
1540 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542 | -silent | --silent | --silen | --sile | --sil)
1543 continue ;;
1544 *\'*)
1545 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 esac
1547 case $ac_pass in
1548 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true; then
1552 ac_must_keep_next=false # Got value, back to normal.
1553 else
1554 case $ac_arg in
1555 *=* | --config-cache | -C | -disable-* | --disable-* \
1556 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1557 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1558 | -with-* | --with-* | -without-* | --without-* | --x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 esac
1563 -* ) ac_must_keep_next=true ;;
1564 esac
1566 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 esac
1569 done
1570 done
1571 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1572 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1582 echo
1584 cat <<\_ASBOX
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1588 _ASBOX
1589 echo
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1594 case $ac_val in #(
1595 *${as_nl}*)
1596 case $ac_var in #(
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1599 esac
1600 case $ac_var in #(
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1603 esac ;;
1604 esac
1605 done
1606 (set) 2>&1 |
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1609 sed -n \
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 ;; #(
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1616 esac |
1617 sort
1619 echo
1621 cat <<\_ASBOX
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1625 _ASBOX
1626 echo
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1630 case $ac_val in
1631 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 esac
1633 echo "$ac_var='\''$ac_val'\''"
1634 done | sort
1635 echo
1637 if test -n "$ac_subst_files"; then
1638 cat <<\_ASBOX
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1642 _ASBOX
1643 echo
1644 for ac_var in $ac_subst_files
1646 eval ac_val=\$$ac_var
1647 case $ac_val in
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 esac
1650 echo "$ac_var='\''$ac_val'\''"
1651 done | sort
1652 echo
1655 if test -s confdefs.h; then
1656 cat <<\_ASBOX
1657 ## ----------- ##
1658 ## confdefs.h. ##
1659 ## ----------- ##
1660 _ASBOX
1661 echo
1662 cat confdefs.h
1663 echo
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1668 } >&5
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 exit $exit_status
1673 for ac_signal in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 done
1676 ac_signal=0
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 _ACEOF
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 _ACEOF
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 _ACEOF
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x "$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE; then
1713 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1714 else
1715 set x "$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1718 shift
1719 for ac_site_file
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1725 . "$ac_site_file"
1727 done
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1735 case $cache_file in
1736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1737 *) . "./$cache_file";;
1738 esac
1740 else
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1743 >$cache_file
1746 # Check that the precious variables saved in the cache have kept the same
1747 # value.
1748 ac_cache_corrupted=false
1749 for ac_var in $ac_precious_vars; do
1750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1751 eval ac_new_set=\$ac_env_${ac_var}_set
1752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1753 eval ac_new_val=\$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1755 set,)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,set)
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted=: ;;
1763 ,);;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted=:
1773 fi;;
1774 esac
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1777 case $ac_new_val in
1778 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg=$ac_var=$ac_new_val ;;
1780 esac
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1784 esac
1786 done
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1819 ac_ext=c
1820 ac_cpp='$CPP $CPPFLAGS'
1821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1827 ac_config_headers="$ac_config_headers include/config.h"
1829 ac_aux_dir=
1830 for ac_dir in tools "$srcdir"/tools; do
1831 if test -f "$ac_dir/install-sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install-sh -c"
1834 break
1835 elif test -f "$ac_dir/install.sh"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/install.sh -c"
1838 break
1839 elif test -f "$ac_dir/shtool"; then
1840 ac_aux_dir=$ac_dir
1841 ac_install_sh="$ac_aux_dir/shtool install -c"
1842 break
1844 done
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval=$with_wine_tools;
1885 # Check whether --enable-tests was given.
1886 if test "${enable_tests+set}" = set; then
1887 enableval=$enable_tests;
1891 # Make sure we can run config.sub.
1892 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1893 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1894 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1895 { (exit 1); exit 1; }; }
1897 { echo "$as_me:$LINENO: checking build system type" >&5
1898 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1899 if test "${ac_cv_build+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 else
1902 ac_build_alias=$build_alias
1903 test "x$ac_build_alias" = x &&
1904 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1905 test "x$ac_build_alias" = x &&
1906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908 { (exit 1); exit 1; }; }
1909 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1910 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1911 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1912 { (exit 1); exit 1; }; }
1915 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916 echo "${ECHO_T}$ac_cv_build" >&6; }
1917 case $ac_cv_build in
1918 *-*-*) ;;
1919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1920 echo "$as_me: error: invalid value of canonical build" >&2;}
1921 { (exit 1); exit 1; }; };;
1922 esac
1923 build=$ac_cv_build
1924 ac_save_IFS=$IFS; IFS='-'
1925 set x $ac_cv_build
1926 shift
1927 build_cpu=$1
1928 build_vendor=$2
1929 shift; shift
1930 # Remember, the first character of IFS is used to create $*,
1931 # except with old shells:
1932 build_os=$*
1933 IFS=$ac_save_IFS
1934 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1937 { echo "$as_me:$LINENO: checking host system type" >&5
1938 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1939 if test "${ac_cv_host+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 else
1942 if test "x$host_alias" = x; then
1943 ac_cv_host=$ac_cv_build
1944 else
1945 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1952 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1953 echo "${ECHO_T}$ac_cv_host" >&6; }
1954 case $ac_cv_host in
1955 *-*-*) ;;
1956 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1957 echo "$as_me: error: invalid value of canonical host" >&2;}
1958 { (exit 1); exit 1; }; };;
1959 esac
1960 host=$ac_cv_host
1961 ac_save_IFS=$IFS; IFS='-'
1962 set x $ac_cv_host
1963 shift
1964 host_cpu=$1
1965 host_vendor=$2
1966 shift; shift
1967 # Remember, the first character of IFS is used to create $*,
1968 # except with old shells:
1969 host_os=$*
1970 IFS=$ac_save_IFS
1971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1974 case $host in
1975 x86_64*linux*)
1976 if test "x$enable_win64" != "xyes"
1977 then
1978 test -n "$CC" || CC="gcc -m32"
1979 test -n "$LD" || LD="ld -m elf_i386"
1980 test -n "$AS" || AS="as --32"
1981 host_cpu="i386"
1984 esac
1986 case $host_cpu in
1987 *i[3456789]86*)
1988 if test "x$enable_win16" != "xno"
1989 then
1990 enable_win16="yes"
1993 esac
1995 WIN16_FILES="\$(WIN16_FILES)"
1997 WIN16_INSTALL="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2000 then
2001 WIN16_FILES=""
2002 WIN16_INSTALL=""
2005 if test "x$enable_tests" == "xno"
2006 then
2007 TESTSUBDIRS=""
2009 WINETEST=""
2011 else
2012 TESTSUBDIRS="\$(TESTSUBDIRS)"
2014 WINETEST="winetest"
2018 case "$srcdir" in
2019 .) ;;
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2026 fi ;;
2027 esac
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 else
2036 cat >conftest.make <<\_ACEOF
2037 SHELL = /bin/sh
2038 all:
2039 @echo '@@@%%%=$(MAKE)=@@@%%%'
2040 _ACEOF
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 *@@@%%%=?*=@@@%%%*)
2044 eval ac_cv_prog_make_${ac_make}_set=yes;;
2046 eval ac_cv_prog_make_${ac_make}_set=no;;
2047 esac
2048 rm -f conftest.make
2050 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2053 SET_MAKE=
2054 else
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE="MAKE=${MAKE-make}"
2060 ac_ext=c
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 else
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2087 done
2088 done
2089 IFS=$as_save_IFS
2093 CC=$ac_cv_prog_CC
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2097 else
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2105 ac_ct_CC=$CC
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc; ac_word=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 break 2
2127 done
2128 done
2129 IFS=$as_save_IFS
2133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2137 else
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x; then
2143 CC=""
2144 else
2145 case $cross_compiling:$ac_tool_warned in
2146 yes:)
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned=yes ;;
2154 esac
2155 CC=$ac_ct_CC
2157 else
2158 CC="$ac_cv_prog_CC"
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy ${ac_tool_prefix}cc; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 break 2
2184 done
2185 done
2186 IFS=$as_save_IFS
2190 CC=$ac_cv_prog_CC
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2194 else
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc; ac_word=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 else
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 else
2213 ac_prog_rejected=no
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 for as_dir in $PATH
2217 IFS=$as_save_IFS
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected=yes
2223 continue
2225 ac_cv_prog_CC="cc"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2229 done
2230 done
2231 IFS=$as_save_IFS
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy $ac_cv_prog_CC
2236 shift
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2241 shift
2242 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2247 CC=$ac_cv_prog_CC
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2251 else
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 else
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC="$CC" # Let the user override the test.
2271 else
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 for as_dir in $PATH
2275 IFS=$as_save_IFS
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 break 2
2283 done
2284 done
2285 IFS=$as_save_IFS
2289 CC=$ac_cv_prog_CC
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2293 else
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2300 done
2302 if test -z "$CC"; then
2303 ac_ct_CC=$CC
2304 for ac_prog in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy $ac_prog; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2315 else
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 break 2
2327 done
2328 done
2329 IFS=$as_save_IFS
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2344 done
2346 if test "x$ac_ct_CC" = x; then
2347 CC=""
2348 else
2349 case $cross_compiling:$ac_tool_warned in
2350 yes:)
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned=yes ;;
2358 esac
2359 CC=$ac_ct_CC
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (ac_try="$ac_compiler --version >&5"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2386 case "(($ac_try" in
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2389 esac
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2392 ac_status=$?
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try="$ac_compiler -V >&5"
2396 case "(($ac_try" in
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2399 esac
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2402 ac_status=$?
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2407 /* confdefs.h. */
2408 _ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2414 main ()
2418 return 0;
2420 _ACEOF
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2425 # of exeext.
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2438 ac_rmfiles=
2439 for ac_file in $ac_files
2441 case $ac_file in
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2444 esac
2445 done
2446 rm -f $ac_rmfiles
2448 if { (ac_try="$ac_link_default"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2462 # Autoconf.
2463 for ac_file in $ac_files ''
2465 test -f "$ac_file" || continue
2466 case $ac_file in
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2469 [ab].out )
2470 # We found the default executable, but exeext='' is most
2471 # certainly right.
2472 break;;
2473 *.* )
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2475 then :; else
2476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2482 # actually working.
2483 break;;
2485 break;;
2486 esac
2487 done
2488 test "$ac_cv_exeext" = no && ac_cv_exeext=
2490 else
2491 ac_file=''
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2523 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2526 cross_compiling=no
2527 else
2528 if test "$cross_compiling" = maybe; then
2529 cross_compiling=yes
2530 else
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details." >&5
2534 echo "$as_me: error: cannot run C compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe'), while it won't with
2568 # `rm'.
2569 for ac_file in conftest.exe conftest conftest.*; do
2570 test -f "$ac_file" || continue
2571 case $ac_file in
2572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2573 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2574 break;;
2575 * ) break;;
2576 esac
2577 done
2578 else
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.$ac_ext
2591 EXEEXT=$ac_cv_exeext
2592 ac_exeext=$EXEEXT
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2598 cat >conftest.$ac_ext <<_ACEOF
2599 /* confdefs.h. */
2600 _ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2606 main ()
2610 return 0;
2612 _ACEOF
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try="$ac_compile"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2626 case $ac_file in
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2629 break;;
2630 esac
2631 done
2632 else
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2648 ac_objext=$OBJEXT
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2662 main ()
2664 #ifndef __GNUC__
2665 choke me
2666 #endif
2669 return 0;
2671 _ACEOF
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2680 ac_status=$?
2681 grep -v '^ *+' conftest.er1 >conftest.err
2682 rm -f conftest.er1
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2689 ac_compiler_gnu=yes
2690 else
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_compiler_gnu=no
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2707 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 else
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2713 ac_cv_prog_cc_g=no
2714 CFLAGS="-g"
2715 cat >conftest.$ac_ext <<_ACEOF
2716 /* confdefs.h. */
2717 _ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2723 main ()
2727 return 0;
2729 _ACEOF
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2732 case "(($ac_try" in
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2735 esac
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2738 ac_status=$?
2739 grep -v '^ *+' conftest.er1 >conftest.err
2740 rm -f conftest.er1
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2747 ac_cv_prog_cc_g=yes
2748 else
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 CFLAGS=""
2753 cat >conftest.$ac_ext <<_ACEOF
2754 /* confdefs.h. */
2755 _ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2761 main ()
2765 return 0;
2767 _ACEOF
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2776 ac_status=$?
2777 grep -v '^ *+' conftest.er1 >conftest.err
2778 rm -f conftest.er1
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2786 else
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2791 CFLAGS="-g"
2792 cat >conftest.$ac_ext <<_ACEOF
2793 /* confdefs.h. */
2794 _ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2800 main ()
2804 return 0;
2806 _ACEOF
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2815 ac_status=$?
2816 grep -v '^ *+' conftest.er1 >conftest.err
2817 rm -f conftest.er1
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2824 ac_cv_prog_cc_g=yes
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2847 CFLAGS="-g -O2"
2848 else
2849 CFLAGS="-g"
2851 else
2852 if test "$GCC" = yes; then
2853 CFLAGS="-O2"
2854 else
2855 CFLAGS=
2858 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2859 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 else
2863 ac_cv_prog_cc_c89=no
2864 ac_save_CC=$CC
2865 cat >conftest.$ac_ext <<_ACEOF
2866 /* confdefs.h. */
2867 _ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2871 #include <stdarg.h>
2872 #include <stdio.h>
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2879 char **p;
2880 int i;
2882 return p[i];
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2886 char *s;
2887 va_list v;
2888 va_start (v,p);
2889 s = g (p, va_arg (v,int));
2890 va_end (v);
2891 return s;
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2905 #define FOO(x) 'x'
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2912 int argc;
2913 char **argv;
2915 main ()
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2919 return 0;
2921 _ACEOF
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2928 case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931 esac
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2934 ac_status=$?
2935 grep -v '^ *+' conftest.er1 >conftest.err
2936 rm -f conftest.er1
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2944 else
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x$ac_cv_prog_cc_c89" != "xno" && break
2953 done
2954 rm -f conftest.$ac_ext
2955 CC=$ac_save_CC
2958 # AC_CACHE_VAL
2959 case "x$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result: none needed" >&5
2962 echo "${ECHO_T}none needed" >&6; } ;;
2963 xno)
2964 { echo "$as_me:$LINENO: result: unsupported" >&5
2965 echo "${ECHO_T}unsupported" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2970 esac
2973 ac_ext=c
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 ac_ext=cpp
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2986 CXX=$CCC
2987 else
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 else
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 break 2
3012 done
3013 done
3014 IFS=$as_save_IFS
3018 CXX=$ac_cv_prog_CXX
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3022 else
3023 { echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6; }
3028 test -n "$CXX" && break
3029 done
3031 if test -z "$CXX"; then
3032 ac_ct_CXX=$CXX
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 else
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3044 else
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3048 IFS=$as_save_IFS
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 break 2
3056 done
3057 done
3058 IFS=$as_save_IFS
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3066 else
3067 { echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6; }
3072 test -n "$ac_ct_CXX" && break
3073 done
3075 if test "x$ac_ct_CXX" = x; then
3076 CXX="g++"
3077 else
3078 case $cross_compiling:$ac_tool_warned in
3079 yes:)
3080 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3081 whose name does not start with the host triplet. If you think this
3082 configuration is useful to you, please write to autoconf@gnu.org." >&5
3083 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3084 whose name does not start with the host triplet. If you think this
3085 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3086 ac_tool_warned=yes ;;
3087 esac
3088 CXX=$ac_ct_CXX
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3114 ac_status=$?
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3124 ac_status=$?
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 else
3133 cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h. */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3141 main ()
3143 #ifndef __GNUC__
3144 choke me
3145 #endif
3148 return 0;
3150 _ACEOF
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3153 case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3156 esac
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3159 ac_status=$?
3160 grep -v '^ *+' conftest.er1 >conftest.err
3161 rm -f conftest.er1
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3168 ac_compiler_gnu=yes
3169 else
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_compiler_gnu=no
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3186 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 else
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3192 ac_cv_prog_cxx_g=no
3193 CXXFLAGS="-g"
3194 cat >conftest.$ac_ext <<_ACEOF
3195 /* confdefs.h. */
3196 _ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3202 main ()
3206 return 0;
3208 _ACEOF
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3211 case "(($ac_try" in
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3214 esac
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3227 else
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 CXXFLAGS=""
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h. */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3240 main ()
3244 return 0;
3246 _ACEOF
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3249 case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3252 esac
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3265 else
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3270 CXXFLAGS="-g"
3271 cat >conftest.$ac_ext <<_ACEOF
3272 /* confdefs.h. */
3273 _ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3279 main ()
3283 return 0;
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3288 case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3291 esac
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3294 ac_status=$?
3295 grep -v '^ *+' conftest.er1 >conftest.err
3296 rm -f conftest.er1
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3304 else
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3326 CXXFLAGS="-g -O2"
3327 else
3328 CXXFLAGS="-g"
3330 else
3331 if test "$GXX" = yes; then
3332 CXXFLAGS="-O2"
3333 else
3334 CXXFLAGS=
3337 ac_ext=c
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 else
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3375 else
3376 { echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 else
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp"
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3405 done
3406 done
3407 IFS=$as_save_IFS
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3415 else
3416 { echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6; }
3420 if test "x$ac_ct_CPPBIN" = x; then
3421 CPPBIN="cpp"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3426 whose name does not start with the host triplet. If you think this
3427 configuration is useful to you, please write to autoconf@gnu.org." >&5
3428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3429 whose name does not start with the host triplet. If you think this
3430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3431 ac_tool_warned=yes ;;
3432 esac
3433 CPPBIN=$ac_ct_CPPBIN
3435 else
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3441 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3448 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3449 { (exit 1); exit 1; }; }
3450 else
3451 wine_cv_toolsdir="\$(TOPOBJDIR)"
3453 elif test -d "$with_wine_tools/tools/winebuild"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3457 esac
3458 else
3459 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3460 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3479 CPP=
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 else
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3488 ac_preproc_ok=false
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3498 /* confdefs.h. */
3499 _ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #ifdef __STDC__
3504 # include <limits.h>
3505 #else
3506 # include <assert.h>
3507 #endif
3508 Syntax error
3509 _ACEOF
3510 if { (ac_try="$ac_cpp conftest.$ac_ext"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3517 ac_status=$?
3518 grep -v '^ *+' conftest.er1 >conftest.err
3519 rm -f conftest.er1
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3525 }; then
3527 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3532 continue
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h. */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3546 _ACEOF
3547 if { (ac_try="$ac_cpp conftest.$ac_ext"
3548 case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551 esac
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 }; then
3563 # Broken: success on invalid input.
3564 continue
3565 else
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3570 ac_preproc_ok=:
3571 break
3574 rm -f conftest.err conftest.$ac_ext
3576 done
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3580 break
3583 done
3584 ac_cv_prog_CPP=$CPP
3587 CPP=$ac_cv_prog_CPP
3588 else
3589 ac_cv_prog_CPP=$CPP
3591 { echo "$as_me:$LINENO: result: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3593 ac_preproc_ok=false
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3603 /* confdefs.h. */
3604 _ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3608 #ifdef __STDC__
3609 # include <limits.h>
3610 #else
3611 # include <assert.h>
3612 #endif
3613 Syntax error
3614 _ACEOF
3615 if { (ac_try="$ac_cpp conftest.$ac_ext"
3616 case "(($ac_try" in
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3619 esac
3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3622 ac_status=$?
3623 grep -v '^ *+' conftest.er1 >conftest.err
3624 rm -f conftest.er1
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 }; then
3632 else
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3637 continue
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3645 /* confdefs.h. */
3646 _ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3651 _ACEOF
3652 if { (ac_try="$ac_cpp conftest.$ac_ext"
3653 case "(($ac_try" in
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3656 esac
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3659 ac_status=$?
3660 grep -v '^ *+' conftest.er1 >conftest.err
3661 rm -f conftest.er1
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3667 }; then
3668 # Broken: success on invalid input.
3669 continue
3670 else
3671 echo "$as_me: failed program was:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3675 ac_preproc_ok=:
3676 break
3679 rm -f conftest.err conftest.$ac_ext
3681 done
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3686 else
3687 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3688 See \`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3694 ac_ext=c
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3707 withval=$with_x;
3710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3713 have_x=disabled
3714 else
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 else
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3726 cd conftest.dir
3727 cat >Imakefile <<'_ACEOF'
3728 incroot:
3729 @echo incroot='${INCROOT}'
3730 usrlibdir:
3731 @echo usrlibdir='${USRLIBDIR}'
3732 libdir:
3733 @echo libdir='${LIBDIR}'
3734 _ACEOF
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3739 done
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3746 done
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3753 esac
3754 case $ac_im_usrlibdir in
3755 /usr/lib | /lib) ;;
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3757 esac
3759 cd ..
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3765 ac_x_header_dirs='
3766 /usr/X11/include
3767 /usr/X11R6/include
3768 /usr/X11R5/include
3769 /usr/X11R4/include
3771 /usr/include/X11
3772 /usr/include/X11R6
3773 /usr/include/X11R5
3774 /usr/include/X11R4
3776 /usr/local/X11/include
3777 /usr/local/X11R6/include
3778 /usr/local/X11R5/include
3779 /usr/local/X11R4/include
3781 /usr/local/include/X11
3782 /usr/local/include/X11R6
3783 /usr/local/include/X11R5
3784 /usr/local/include/X11R4
3786 /usr/X386/include
3787 /usr/x386/include
3788 /usr/XFree86/include/X11
3790 /usr/include
3791 /usr/local/include
3792 /usr/unsupported/include
3793 /usr/athena/include
3794 /usr/local/x11r5/include
3795 /usr/lpp/Xamples/include
3797 /usr/openwin/include
3798 /usr/openwin/share/include'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3804 /* confdefs.h. */
3805 _ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3810 _ACEOF
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3812 case "(($ac_try" in
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3815 esac
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3818 ac_status=$?
3819 grep -v '^ *+' conftest.er1 >conftest.err
3820 rm -f conftest.er1
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3826 }; then
3827 # We can compile using X headers with no special include directory.
3828 ac_x_includes=
3829 else
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3836 break
3838 done
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to $LIBS permanently.
3848 ac_save_LIBS=$LIBS
3849 LIBS="-lX11 $LIBS"
3850 cat >conftest.$ac_ext <<_ACEOF
3851 /* confdefs.h. */
3852 _ACEOF
3853 cat confdefs.h >>conftest.$ac_ext
3854 cat >>conftest.$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3858 main ()
3860 XrmInitialize ()
3862 return 0;
3864 _ACEOF
3865 rm -f conftest.$ac_objext conftest$ac_exeext
3866 if { (ac_try="$ac_link"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3873 ac_status=$?
3874 grep -v '^ *+' conftest.er1 >conftest.err
3875 rm -f conftest.er1
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3883 LIBS=$ac_save_LIBS
3884 # We can link X programs with no special library path.
3885 ac_x_libraries=
3886 else
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3890 LIBS=$ac_save_LIBS
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3897 break 2
3899 done
3900 done
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3908 no,* | *,no | *\'*)
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3916 esac
3918 ;; #(
3919 *) have_x=yes;;
3920 esac
3921 eval "$ac_cv_have_x"
3922 fi # $with_x != no
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3927 no_x=yes
3928 else
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3945 _ACEOF
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3948 else
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3964 /* confdefs.h. */
3965 _ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3980 case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3983 esac
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3986 ac_status=$?
3987 grep -v '^ *+' conftest.er1 >conftest.err
3988 rm -f conftest.er1
3989 cat conftest.err >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest$ac_exeext &&
3995 $as_test_x conftest$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS="$X_LIBS -R$x_libraries"
3999 else
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4003 LIBS="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.$ac_ext <<_ACEOF
4005 /* confdefs.h. */
4006 _ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4012 main ()
4016 return 0;
4018 _ACEOF
4019 rm -f conftest.$ac_objext conftest$ac_exeext
4020 if { (ac_try="$ac_link"
4021 case "(($ac_try" in
4022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4024 esac
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4027 ac_status=$?
4028 grep -v '^ *+' conftest.er1 >conftest.err
4029 rm -f conftest.er1
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4040 else
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4055 LIBS=$ac_xsave_LIBS
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4064 else
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4079 #ifdef __cplusplus
4080 extern "C"
4081 #endif
4082 char XOpenDisplay ();
4084 main ()
4086 return XOpenDisplay ();
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4099 ac_status=$?
4100 grep -v '^ *+' conftest.er1 >conftest.err
4101 rm -f conftest.er1
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4110 else
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 else
4119 ac_check_lib_save_LIBS=$LIBS
4120 LIBS="-ldnet $LIBS"
4121 cat >conftest.$ac_ext <<_ACEOF
4122 /* confdefs.h. */
4123 _ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4131 #ifdef __cplusplus
4132 extern "C"
4133 #endif
4134 char dnet_ntoa ();
4136 main ()
4138 return dnet_ntoa ();
4140 return 0;
4142 _ACEOF
4143 rm -f conftest.$ac_objext conftest$ac_exeext
4144 if { (ac_try="$ac_link"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4151 ac_status=$?
4152 grep -v '^ *+' conftest.er1 >conftest.err
4153 rm -f conftest.er1
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4162 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 else
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4197 #ifdef __cplusplus
4198 extern "C"
4199 #endif
4200 char dnet_ntoa ();
4202 main ()
4204 return dnet_ntoa ();
4206 return 0;
4208 _ACEOF
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4211 case "(($ac_try" in
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4214 esac
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4217 ac_status=$?
4218 grep -v '^ *+' conftest.er1 >conftest.err
4219 rm -f conftest.er1
4220 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest$ac_exeext &&
4226 $as_test_x conftest$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4228 else
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa=no
4235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4236 conftest$ac_exeext conftest.$ac_ext
4237 LIBS=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4249 conftest$ac_exeext conftest.$ac_ext
4250 LIBS="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4255 # needs -lnsl.
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 else
4265 cat >conftest.$ac_ext <<_ACEOF
4266 /* confdefs.h. */
4267 _ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4280 #ifdef __STDC__
4281 # include <limits.h>
4282 #else
4283 # include <assert.h>
4284 #endif
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4291 #ifdef __cplusplus
4292 extern "C"
4293 #endif
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4299 choke me
4300 #endif
4303 main ()
4305 return gethostbyname ();
4307 return 0;
4309 _ACEOF
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4312 case "(($ac_try" in
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4315 esac
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4318 ac_status=$?
4319 grep -v '^ *+' conftest.er1 >conftest.err
4320 rm -f conftest.er1
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4328 ac_cv_func_gethostbyname=yes
4329 else
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 else
4348 ac_check_lib_save_LIBS=$LIBS
4349 LIBS="-lnsl $LIBS"
4350 cat >conftest.$ac_ext <<_ACEOF
4351 /* confdefs.h. */
4352 _ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4360 #ifdef __cplusplus
4361 extern "C"
4362 #endif
4363 char gethostbyname ();
4365 main ()
4367 return gethostbyname ();
4369 return 0;
4371 _ACEOF
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4374 case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4380 ac_status=$?
4381 grep -v '^ *+' conftest.er1 >conftest.err
4382 rm -f conftest.er1
4383 cat conftest.err >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest$ac_exeext &&
4389 $as_test_x conftest$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname=yes
4391 else
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname=no
4398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4399 conftest$ac_exeext conftest.$ac_ext
4400 LIBS=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 else
4414 ac_check_lib_save_LIBS=$LIBS
4415 LIBS="-lbsd $LIBS"
4416 cat >conftest.$ac_ext <<_ACEOF
4417 /* confdefs.h. */
4418 _ACEOF
4419 cat confdefs.h >>conftest.$ac_ext
4420 cat >>conftest.$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4426 #ifdef __cplusplus
4427 extern "C"
4428 #endif
4429 char gethostbyname ();
4431 main ()
4433 return gethostbyname ();
4435 return 0;
4437 _ACEOF
4438 rm -f conftest.$ac_objext conftest$ac_exeext
4439 if { (ac_try="$ac_link"
4440 case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4446 ac_status=$?
4447 grep -v '^ *+' conftest.er1 >conftest.err
4448 rm -f conftest.er1
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4457 else
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4504 #ifdef __STDC__
4505 # include <limits.h>
4506 #else
4507 # include <assert.h>
4508 #endif
4510 #undef connect
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4515 #ifdef __cplusplus
4516 extern "C"
4517 #endif
4518 char connect ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4523 choke me
4524 #endif
4527 main ()
4529 return connect ();
4531 return 0;
4533 _ACEOF
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4542 ac_status=$?
4543 grep -v '^ *+' conftest.er1 >conftest.err
4544 rm -f conftest.er1
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_connect=yes
4553 else
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_connect=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 else
4572 ac_check_lib_save_LIBS=$LIBS
4573 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.$ac_ext <<_ACEOF
4575 /* confdefs.h. */
4576 _ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4584 #ifdef __cplusplus
4585 extern "C"
4586 #endif
4587 char connect ();
4589 main ()
4591 return connect ();
4593 return 0;
4595 _ACEOF
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4604 ac_status=$?
4605 grep -v '^ *+' conftest.er1 >conftest.err
4606 rm -f conftest.er1
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4615 else
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 else
4640 cat >conftest.$ac_ext <<_ACEOF
4641 /* confdefs.h. */
4642 _ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4655 #ifdef __STDC__
4656 # include <limits.h>
4657 #else
4658 # include <assert.h>
4659 #endif
4661 #undef remove
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4666 #ifdef __cplusplus
4667 extern "C"
4668 #endif
4669 char remove ();
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4674 choke me
4675 #endif
4678 main ()
4680 return remove ();
4682 return 0;
4684 _ACEOF
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4693 ac_status=$?
4694 grep -v '^ *+' conftest.er1 >conftest.err
4695 rm -f conftest.er1
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest$ac_exeext &&
4702 $as_test_x conftest$ac_exeext; then
4703 ac_cv_func_remove=yes
4704 else
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.$ac_ext >&5
4708 ac_cv_func_remove=no
4711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4712 conftest$ac_exeext conftest.$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 else
4723 ac_check_lib_save_LIBS=$LIBS
4724 LIBS="-lposix $LIBS"
4725 cat >conftest.$ac_ext <<_ACEOF
4726 /* confdefs.h. */
4727 _ACEOF
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4735 #ifdef __cplusplus
4736 extern "C"
4737 #endif
4738 char remove ();
4740 main ()
4742 return remove ();
4744 return 0;
4746 _ACEOF
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4748 if { (ac_try="$ac_link"
4749 case "(($ac_try" in
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4752 esac
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4766 else
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 cat >conftest.$ac_ext <<_ACEOF
4792 /* confdefs.h. */
4793 _ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4806 #ifdef __STDC__
4807 # include <limits.h>
4808 #else
4809 # include <assert.h>
4810 #endif
4812 #undef shmat
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4817 #ifdef __cplusplus
4818 extern "C"
4819 #endif
4820 char shmat ();
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4825 choke me
4826 #endif
4829 main ()
4831 return shmat ();
4833 return 0;
4835 _ACEOF
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4838 case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4844 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest$ac_exeext &&
4853 $as_test_x conftest$ac_exeext; then
4854 ac_cv_func_shmat=yes
4855 else
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4859 ac_cv_func_shmat=no
4862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4863 conftest$ac_exeext conftest.$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 else
4874 ac_check_lib_save_LIBS=$LIBS
4875 LIBS="-lipc $LIBS"
4876 cat >conftest.$ac_ext <<_ACEOF
4877 /* confdefs.h. */
4878 _ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4886 #ifdef __cplusplus
4887 extern "C"
4888 #endif
4889 char shmat ();
4891 main ()
4893 return shmat ();
4895 return 0;
4897 _ACEOF
4898 rm -f conftest.$ac_objext conftest$ac_exeext
4899 if { (ac_try="$ac_link"
4900 case "(($ac_try" in
4901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4903 esac
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4906 ac_status=$?
4907 grep -v '^ *+' conftest.er1 >conftest.err
4908 rm -f conftest.er1
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4917 else
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 else
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4954 /* confdefs.h. */
4955 _ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4963 #ifdef __cplusplus
4964 extern "C"
4965 #endif
4966 char IceConnectionNumber ();
4968 main ()
4970 return IceConnectionNumber ();
4972 return 0;
4974 _ACEOF
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4977 case "(($ac_try" in
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4980 esac
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest$ac_exeext &&
4992 $as_test_x conftest$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber=yes
4994 else
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber=no
5001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5002 conftest$ac_exeext conftest.$ac_ext
5003 LIBS=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS=$ac_save_LDFLAGS
5016 for ac_prog in flex
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy $ac_prog; ac_word=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 else
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 FLEX=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5049 else
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5056 done
5057 test -n "$FLEX" || FLEX="none"
5059 if test "$FLEX" = "none"
5060 then
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy $ac_prog; ac_word=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 else
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 BISON=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5099 else
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5106 done
5107 test -n "$BISON" || BISON="none"
5109 if test "$BISON" = "none"
5110 then
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 else
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS="$AS" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 AS=$ac_cv_prog_AS
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5150 else
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5157 done
5159 if test -z "$AS"; then
5160 ac_ct_AS=$AS
5161 for ac_prog in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5194 else
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5201 done
5203 if test "x$ac_ct_AS" = x; then
5204 AS="as"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 AS=$ac_ct_AS
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}ld; ac_word=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD="$LD" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 LD=$ac_cv_prog_LD
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5252 else
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5260 ac_ct_LD=$LD
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld; ac_word=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 else
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5292 else
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x; then
5298 LD="ld"
5299 else
5300 case $cross_compiling:$ac_tool_warned in
5301 yes:)
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 LD=$ac_ct_LD
5312 else
5313 LD="$ac_cv_prog_LD"
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy ${ac_tool_prefix}ar; ac_word=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 else
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR="$AR" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5330 IFS=$as_save_IFS
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 break 2
5338 done
5339 done
5340 IFS=$as_save_IFS
5344 AR=$ac_cv_prog_AR
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5356 ac_ct_AR=$AR
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy ar; ac_word=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5388 else
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x; then
5394 AR="ar"
5395 else
5396 case $cross_compiling:$ac_tool_warned in
5397 yes:)
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned=yes ;;
5405 esac
5406 AR=$ac_ct_AR
5408 else
5409 AR="$ac_cv_prog_AR"
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 else
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 RANLIB=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5444 else
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib; ac_word=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5484 else
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x; then
5490 RANLIB=":"
5491 else
5492 case $cross_compiling:$ac_tool_warned in
5493 yes:)
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502 RANLIB=$ac_ct_RANLIB
5504 else
5505 RANLIB="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy ${ac_tool_prefix}strip; ac_word=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 STRIP=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5540 else
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5548 ac_ct_STRIP=$STRIP
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip; ac_word=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 else
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5580 else
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x; then
5586 STRIP="strip"
5587 else
5588 case $cross_compiling:$ac_tool_warned in
5589 yes:)
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598 STRIP=$ac_ct_STRIP
5600 else
5601 STRIP="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy ${ac_tool_prefix}windres; ac_word=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 else
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 WINDRES=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5636 else
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres; ac_word=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 else
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5668 IFS=$as_save_IFS
5672 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5676 else
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x; then
5682 WINDRES="false"
5683 else
5684 case $cross_compiling:$ac_tool_warned in
5685 yes:)
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned=yes ;;
5693 esac
5694 WINDRES=$ac_ct_WINDRES
5696 else
5697 WINDRES="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5702 LN_S=$as_ln_s
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5706 else
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.file
5714 echo >conf$$.file
5715 if ln conf$$.file conf$$ 2>/dev/null; then
5716 LN=ln
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5720 else
5721 LN="cp -p"
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 else
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy grep ggrep; ac_prog_name=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 else
5738 ac_path_GREP_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in grep ggrep; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5752 *GNU*)
5753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5755 ac_count=0
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5757 while :
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5765 ac_count=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP="$ac_path_GREP"
5769 ac_path_GREP_max=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5773 done
5774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 esac
5778 $ac_path_GREP_found && break 3
5779 done
5780 done
5782 done
5783 IFS=$as_save_IFS
5788 GREP="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5795 else
5796 ac_cv_path_GREP=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 else
5811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5812 then ac_cv_path_EGREP="$GREP -E"
5813 else
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy egrep; ac_prog_name=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 else
5820 ac_path_EGREP_found=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_prog in egrep; do
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5834 *GNU*)
5835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5837 ac_count=0
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5839 while :
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5847 ac_count=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP="$ac_path_EGREP"
5851 ac_path_EGREP_max=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5855 done
5856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5857 esac
5860 $ac_path_EGREP_found && break 3
5861 done
5862 done
5864 done
5865 IFS=$as_save_IFS
5870 EGREP="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5877 else
5878 ac_cv_path_EGREP=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig; ac_word=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 else
5896 case $LDCONFIG in
5897 [\\/]* | ?:[\\/]*)
5898 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in /sbin /usr/sbin $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5918 esac
5920 LDCONFIG=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5924 else
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5936 # AIX /bin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 else
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 # Account for people who put trailing slashes in PATH elements.
5955 case $as_dir/ in
5956 ./ | .// | /cC/* | \
5957 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5958 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5959 /usr/ucb/* ) ;;
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5963 # by default.
5964 for ac_prog in ginstall scoinst install; do
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5975 else
5976 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5977 break 3
5980 done
5981 done
5983 esac
5984 done
5985 IFS=$as_save_IFS
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL=$ac_cv_path_install
5991 else
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6010 case "$INSTALL" in
6011 [\\/$]* | ?:[\\/]* ) ;;
6012 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6013 esac
6015 for ac_prog in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 else
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 LINT=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6048 else
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6055 done
6057 if test "$LINT" = "lint"
6058 then
6059 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy $ac_prog; ac_word=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 else
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 FONTFORGE=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6097 else
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6104 done
6105 test -n "$FONTFORGE" || FONTFORGE="false"
6107 for ac_prog in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy $ac_prog; ac_word=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 else
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6140 else
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6147 done
6148 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6151 case $host_cpu in
6152 *i[3456789]86*)
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink; ac_word=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 else
6160 case $PRELINK in
6161 [\\/]* | ?:[\\/]*)
6162 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 for as_dir in /sbin /usr/sbin $PATH
6168 IFS=$as_save_IFS
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 break 2
6176 done
6177 done
6178 IFS=$as_save_IFS
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6182 esac
6184 PRELINK=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6188 else
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6195 esac
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 else
6204 ac_check_lib_save_LIBS=$LIBS
6205 LIBS="-li386 $LIBS"
6206 cat >conftest.$ac_ext <<_ACEOF
6207 /* confdefs.h. */
6208 _ACEOF
6209 cat confdefs.h >>conftest.$ac_ext
6210 cat >>conftest.$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6216 #ifdef __cplusplus
6217 extern "C"
6218 #endif
6219 char i386_set_ldt ();
6221 main ()
6223 return i386_set_ldt ();
6225 return 0;
6227 _ACEOF
6228 rm -f conftest.$ac_objext conftest$ac_exeext
6229 if { (ac_try="$ac_link"
6230 case "(($ac_try" in
6231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6233 esac
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6236 ac_status=$?
6237 grep -v '^ *+' conftest.er1 >conftest.err
6238 rm -f conftest.er1
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6247 else
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6263 _ACEOF
6265 LIBS="-li386 $LIBS"
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 else
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6278 /* confdefs.h. */
6279 _ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6287 #ifdef __cplusplus
6288 extern "C"
6289 #endif
6290 char _oss_ioctl ();
6292 main ()
6294 return _oss_ioctl ();
6296 return 0;
6298 _ACEOF
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6301 case "(($ac_try" in
6302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303 *) ac_try_echo=$ac_try;;
6304 esac
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6307 ac_status=$?
6308 grep -v '^ *+' conftest.er1 >conftest.err
6309 rm -f conftest.er1
6310 cat conftest.err >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest$ac_exeext &&
6316 $as_test_x conftest$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl=yes
6318 else
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl=no
6325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6326 conftest$ac_exeext conftest.$ac_ext
6327 LIBS=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h <<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6334 _ACEOF
6336 LIBS="-lossaudio $LIBS"
6341 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6342 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6343 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 else
6346 ac_check_lib_save_LIBS=$LIBS
6347 LIBS="-lxpg4 $LIBS"
6348 cat >conftest.$ac_ext <<_ACEOF
6349 /* confdefs.h. */
6350 _ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6358 #ifdef __cplusplus
6359 extern "C"
6360 #endif
6361 char _xpg4_setrunelocale ();
6363 main ()
6365 return _xpg4_setrunelocale ();
6367 return 0;
6369 _ACEOF
6370 rm -f conftest.$ac_objext conftest$ac_exeext
6371 if { (ac_try="$ac_link"
6372 case "(($ac_try" in
6373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6374 *) ac_try_echo=$ac_try;;
6375 esac
6376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 (eval "$ac_link") 2>conftest.er1
6378 ac_status=$?
6379 grep -v '^ *+' conftest.er1 >conftest.err
6380 rm -f conftest.er1
6381 cat conftest.err >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && {
6384 test -z "$ac_c_werror_flag" ||
6385 test ! -s conftest.err
6386 } && test -s conftest$ac_exeext &&
6387 $as_test_x conftest$ac_exeext; then
6388 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6389 else
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6401 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6402 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_LIBXPG4 1
6405 _ACEOF
6407 LIBS="-lxpg4 $LIBS"
6411 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6412 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6413 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 else
6416 ac_check_lib_save_LIBS=$LIBS
6417 LIBS="-lpthread $LIBS"
6418 cat >conftest.$ac_ext <<_ACEOF
6419 /* confdefs.h. */
6420 _ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6428 #ifdef __cplusplus
6429 extern "C"
6430 #endif
6431 char pthread_create ();
6433 main ()
6435 return pthread_create ();
6437 return 0;
6439 _ACEOF
6440 rm -f conftest.$ac_objext conftest$ac_exeext
6441 if { (ac_try="$ac_link"
6442 case "(($ac_try" in
6443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6445 esac
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_link") 2>conftest.er1
6448 ac_status=$?
6449 grep -v '^ *+' conftest.er1 >conftest.err
6450 rm -f conftest.er1
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest$ac_exeext &&
6457 $as_test_x conftest$ac_exeext; then
6458 ac_cv_lib_pthread_pthread_create=yes
6459 else
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6463 ac_cv_lib_pthread_pthread_create=no
6466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6467 conftest$ac_exeext conftest.$ac_ext
6468 LIBS=$ac_check_lib_save_LIBS
6470 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6471 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6472 if test $ac_cv_lib_pthread_pthread_create = yes; then
6473 LIBPTHREAD="-lpthread"
6478 XLIB=""
6480 XFILES=""
6482 OPENGLFILES=""
6484 GLU32FILES=""
6486 OPENGL_LIBS=""
6488 QUARTZFILES=""
6492 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6493 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6494 if test "${ac_cv_header_stdc+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 else
6497 cat >conftest.$ac_ext <<_ACEOF
6498 /* confdefs.h. */
6499 _ACEOF
6500 cat confdefs.h >>conftest.$ac_ext
6501 cat >>conftest.$ac_ext <<_ACEOF
6502 /* end confdefs.h. */
6503 #include <stdlib.h>
6504 #include <stdarg.h>
6505 #include <string.h>
6506 #include <float.h>
6509 main ()
6513 return 0;
6515 _ACEOF
6516 rm -f conftest.$ac_objext
6517 if { (ac_try="$ac_compile"
6518 case "(($ac_try" in
6519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6521 esac
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_compile") 2>conftest.er1
6524 ac_status=$?
6525 grep -v '^ *+' conftest.er1 >conftest.err
6526 rm -f conftest.er1
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } && {
6530 test -z "$ac_c_werror_flag" ||
6531 test ! -s conftest.err
6532 } && test -s conftest.$ac_objext; then
6533 ac_cv_header_stdc=yes
6534 else
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_header_stdc=no
6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 if test $ac_cv_header_stdc = yes; then
6544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <string.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "memchr" >/dev/null 2>&1; then
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6566 cat >conftest.$ac_ext <<_ACEOF
6567 /* confdefs.h. */
6568 _ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6572 #include <stdlib.h>
6574 _ACEOF
6575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6576 $EGREP "free" >/dev/null 2>&1; then
6578 else
6579 ac_cv_header_stdc=no
6581 rm -f conftest*
6585 if test $ac_cv_header_stdc = yes; then
6586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6587 if test "$cross_compiling" = yes; then
6589 else
6590 cat >conftest.$ac_ext <<_ACEOF
6591 /* confdefs.h. */
6592 _ACEOF
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6596 #include <ctype.h>
6597 #include <stdlib.h>
6598 #if ((' ' & 0x0FF) == 0x020)
6599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6601 #else
6602 # define ISLOWER(c) \
6603 (('a' <= (c) && (c) <= 'i') \
6604 || ('j' <= (c) && (c) <= 'r') \
6605 || ('s' <= (c) && (c) <= 'z'))
6606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6607 #endif
6609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6611 main ()
6613 int i;
6614 for (i = 0; i < 256; i++)
6615 if (XOR (islower (i), ISLOWER (i))
6616 || toupper (i) != TOUPPER (i))
6617 return 2;
6618 return 0;
6620 _ACEOF
6621 rm -f conftest$ac_exeext
6622 if { (ac_try="$ac_link"
6623 case "(($ac_try" in
6624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6625 *) ac_try_echo=$ac_try;;
6626 esac
6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6628 (eval "$ac_link") 2>&5
6629 ac_status=$?
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6632 { (case "(($ac_try" in
6633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6634 *) ac_try_echo=$ac_try;;
6635 esac
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_try") 2>&5
6638 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6642 else
6643 echo "$as_me: program exited with status $ac_status" >&5
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6647 ( exit $ac_status )
6648 ac_cv_header_stdc=no
6650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6656 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6657 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6658 if test $ac_cv_header_stdc = yes; then
6660 cat >>confdefs.h <<\_ACEOF
6661 #define STDC_HEADERS 1
6662 _ACEOF
6666 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 else
6685 cat >conftest.$ac_ext <<_ACEOF
6686 /* confdefs.h. */
6687 _ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 $ac_includes_default
6693 #include <$ac_header>
6694 _ACEOF
6695 rm -f conftest.$ac_objext
6696 if { (ac_try="$ac_compile"
6697 case "(($ac_try" in
6698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6699 *) ac_try_echo=$ac_try;;
6700 esac
6701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6702 (eval "$ac_compile") 2>conftest.er1
6703 ac_status=$?
6704 grep -v '^ *+' conftest.er1 >conftest.err
6705 rm -f conftest.er1
6706 cat conftest.err >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && {
6709 test -z "$ac_c_werror_flag" ||
6710 test ! -s conftest.err
6711 } && test -s conftest.$ac_objext; then
6712 eval "$as_ac_Header=yes"
6713 else
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 eval "$as_ac_Header=no"
6720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6722 ac_res=`eval echo '${'$as_ac_Header'}'`
6723 { echo "$as_me:$LINENO: result: $ac_res" >&5
6724 echo "${ECHO_T}$ac_res" >&6; }
6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6726 cat >>confdefs.h <<_ACEOF
6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6728 _ACEOF
6732 done
6844 for ac_header in \
6845 AudioUnit/AudioUnit.h \
6846 Carbon/Carbon.h \
6847 CoreAudio/CoreAudio.h \
6848 DiskArbitration/DiskArbitration.h \
6849 IOKit/IOKitLib.h \
6850 alsa/asoundlib.h \
6851 arpa/inet.h \
6852 arpa/nameser.h \
6853 asm/types.h \
6854 capi20.h \
6855 cups/cups.h \
6856 curses.h \
6857 direct.h \
6858 dlfcn.h \
6859 elf.h \
6860 float.h \
6861 fontconfig/fontconfig.h \
6862 getopt.h \
6863 ieeefp.h \
6864 io.h \
6865 jack/jack.h \
6866 jpeglib.h \
6867 lber.h \
6868 lcms.h \
6869 lcms/lcms.h \
6870 ldap.h \
6871 libaudioio.h \
6872 link.h \
6873 linux/cdrom.h \
6874 linux/compiler.h \
6875 linux/hdreg.h \
6876 linux/input.h \
6877 linux/ioctl.h \
6878 linux/joystick.h \
6879 linux/major.h \
6880 linux/param.h \
6881 linux/serial.h \
6882 linux/ucdrom.h \
6883 mach/mach.h \
6884 mach/machine.h \
6885 machine/cpu.h \
6886 machine/limits.h \
6887 machine/soundcard.h \
6888 mntent.h \
6889 ncurses.h \
6890 netdb.h \
6891 netinet/in.h \
6892 netinet/in_systm.h \
6893 netinet/tcp.h \
6894 netinet/tcp_fsm.h \
6895 openssl/err.h \
6896 openssl/ssl.h \
6897 poll.h \
6898 process.h \
6899 pthread.h \
6900 pwd.h \
6901 regex.h \
6902 sched.h \
6903 scsi/scsi.h \
6904 scsi/scsi_ioctl.h \
6905 scsi/sg.h \
6906 soundcard.h \
6907 stdint.h \
6908 strings.h \
6909 sys/asoundlib.h \
6910 sys/cdio.h \
6911 sys/elf32.h \
6912 sys/epoll.h \
6913 sys/errno.h \
6914 sys/event.h \
6915 sys/exec_elf.h \
6916 sys/filio.h \
6917 sys/ioctl.h \
6918 sys/ipc.h \
6919 sys/limits.h \
6920 sys/link.h \
6921 sys/lwp.h \
6922 sys/mman.h \
6923 sys/modem.h \
6924 sys/msg.h \
6925 sys/mtio.h \
6926 sys/param.h \
6927 sys/poll.h \
6928 sys/prctl.h \
6929 sys/ptrace.h \
6930 sys/reg.h \
6931 sys/resource.h \
6932 sys/scsiio.h \
6933 sys/shm.h \
6934 sys/signal.h \
6935 sys/socket.h \
6936 sys/sockio.h \
6937 sys/soundcard.h \
6938 sys/statvfs.h \
6939 sys/strtio.h \
6940 sys/syscall.h \
6941 sys/sysctl.h \
6942 sys/time.h \
6943 sys/times.h \
6944 sys/uio.h \
6945 sys/un.h \
6946 sys/vm86.h \
6947 sys/wait.h \
6948 syscall.h \
6949 termios.h \
6950 unicode/ubidi.h \
6951 unistd.h \
6952 utime.h \
6953 valgrind/memcheck.h
6956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6963 ac_res=`eval echo '${'$as_ac_Header'}'`
6964 { echo "$as_me:$LINENO: result: $ac_res" >&5
6965 echo "${ECHO_T}$ac_res" >&6; }
6966 else
6967 # Is the header compilable?
6968 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6970 cat >conftest.$ac_ext <<_ACEOF
6971 /* confdefs.h. */
6972 _ACEOF
6973 cat confdefs.h >>conftest.$ac_ext
6974 cat >>conftest.$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6976 $ac_includes_default
6977 #include <$ac_header>
6978 _ACEOF
6979 rm -f conftest.$ac_objext
6980 if { (ac_try="$ac_compile"
6981 case "(($ac_try" in
6982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6984 esac
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_compile") 2>conftest.er1
6987 ac_status=$?
6988 grep -v '^ *+' conftest.er1 >conftest.err
6989 rm -f conftest.er1
6990 cat conftest.err >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } && {
6993 test -z "$ac_c_werror_flag" ||
6994 test ! -s conftest.err
6995 } && test -s conftest.$ac_objext; then
6996 ac_header_compiler=yes
6997 else
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 ac_header_compiler=no
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7006 echo "${ECHO_T}$ac_header_compiler" >&6; }
7008 # Is the header present?
7009 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7011 cat >conftest.$ac_ext <<_ACEOF
7012 /* confdefs.h. */
7013 _ACEOF
7014 cat confdefs.h >>conftest.$ac_ext
7015 cat >>conftest.$ac_ext <<_ACEOF
7016 /* end confdefs.h. */
7017 #include <$ac_header>
7018 _ACEOF
7019 if { (ac_try="$ac_cpp conftest.$ac_ext"
7020 case "(($ac_try" in
7021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7022 *) ac_try_echo=$ac_try;;
7023 esac
7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7026 ac_status=$?
7027 grep -v '^ *+' conftest.er1 >conftest.err
7028 rm -f conftest.er1
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } >/dev/null && {
7032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7033 test ! -s conftest.err
7034 }; then
7035 ac_header_preproc=yes
7036 else
7037 echo "$as_me: failed program was:" >&5
7038 sed 's/^/| /' conftest.$ac_ext >&5
7040 ac_header_preproc=no
7043 rm -f conftest.err conftest.$ac_ext
7044 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7045 echo "${ECHO_T}$ac_header_preproc" >&6; }
7047 # So? What about this header?
7048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7049 yes:no: )
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7054 ac_header_preproc=yes
7056 no:yes:* )
7057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7069 ( cat <<\_ASBOX
7070 ## ------------------------------------ ##
7071 ## Report this to wine-devel@winehq.org ##
7072 ## ------------------------------------ ##
7073 _ASBOX
7074 ) | sed "s/^/$as_me: WARNING: /" >&2
7076 esac
7077 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 else
7082 eval "$as_ac_Header=\$ac_header_preproc"
7084 ac_res=`eval echo '${'$as_ac_Header'}'`
7085 { echo "$as_me:$LINENO: result: $ac_res" >&5
7086 echo "${ECHO_T}$ac_res" >&6; }
7089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7090 cat >>confdefs.h <<_ACEOF
7091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7092 _ACEOF
7096 done
7098 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7099 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7100 if test "${ac_cv_header_stat_broken+set}" = set; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 else
7103 cat >conftest.$ac_ext <<_ACEOF
7104 /* confdefs.h. */
7105 _ACEOF
7106 cat confdefs.h >>conftest.$ac_ext
7107 cat >>conftest.$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7109 #include <sys/types.h>
7110 #include <sys/stat.h>
7112 #if defined S_ISBLK && defined S_IFDIR
7113 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7114 #endif
7116 #if defined S_ISBLK && defined S_IFCHR
7117 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7118 #endif
7120 #if defined S_ISLNK && defined S_IFREG
7121 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7122 #endif
7124 #if defined S_ISSOCK && defined S_IFREG
7125 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7126 #endif
7128 _ACEOF
7129 rm -f conftest.$ac_objext
7130 if { (ac_try="$ac_compile"
7131 case "(($ac_try" in
7132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7133 *) ac_try_echo=$ac_try;;
7134 esac
7135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7136 (eval "$ac_compile") 2>conftest.er1
7137 ac_status=$?
7138 grep -v '^ *+' conftest.er1 >conftest.err
7139 rm -f conftest.er1
7140 cat conftest.err >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } && {
7143 test -z "$ac_c_werror_flag" ||
7144 test ! -s conftest.err
7145 } && test -s conftest.$ac_objext; then
7146 ac_cv_header_stat_broken=no
7147 else
7148 echo "$as_me: failed program was:" >&5
7149 sed 's/^/| /' conftest.$ac_ext >&5
7151 ac_cv_header_stat_broken=yes
7154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7156 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7157 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7158 if test $ac_cv_header_stat_broken = yes; then
7160 cat >>confdefs.h <<\_ACEOF
7161 #define STAT_MACROS_BROKEN 1
7162 _ACEOF
7172 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 else
7180 cat >conftest.$ac_ext <<_ACEOF
7181 /* confdefs.h. */
7182 _ACEOF
7183 cat confdefs.h >>conftest.$ac_ext
7184 cat >>conftest.$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 #include <sys/types.h>
7187 #if HAVE_SYS_PARAM_H
7188 # include <sys/param.h>
7189 #endif
7191 #include <$ac_header>
7192 _ACEOF
7193 rm -f conftest.$ac_objext
7194 if { (ac_try="$ac_compile"
7195 case "(($ac_try" in
7196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197 *) ac_try_echo=$ac_try;;
7198 esac
7199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200 (eval "$ac_compile") 2>conftest.er1
7201 ac_status=$?
7202 grep -v '^ *+' conftest.er1 >conftest.err
7203 rm -f conftest.er1
7204 cat conftest.err >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); } && {
7207 test -z "$ac_c_werror_flag" ||
7208 test ! -s conftest.err
7209 } && test -s conftest.$ac_objext; then
7210 eval "$as_ac_Header=yes"
7211 else
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.$ac_ext >&5
7215 eval "$as_ac_Header=no"
7218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7220 ac_res=`eval echo '${'$as_ac_Header'}'`
7221 { echo "$as_me:$LINENO: result: $ac_res" >&5
7222 echo "${ECHO_T}$ac_res" >&6; }
7223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7224 cat >>confdefs.h <<_ACEOF
7225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7226 _ACEOF
7230 done
7239 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
7241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 else
7247 cat >conftest.$ac_ext <<_ACEOF
7248 /* confdefs.h. */
7249 _ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7254 #if HAVE_SYS_SOCKET_H
7255 # include <sys/socket.h>
7256 #endif
7258 #include <$ac_header>
7259 _ACEOF
7260 rm -f conftest.$ac_objext
7261 if { (ac_try="$ac_compile"
7262 case "(($ac_try" in
7263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7264 *) ac_try_echo=$ac_try;;
7265 esac
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_compile") 2>conftest.er1
7268 ac_status=$?
7269 grep -v '^ *+' conftest.er1 >conftest.err
7270 rm -f conftest.er1
7271 cat conftest.err >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } && {
7274 test -z "$ac_c_werror_flag" ||
7275 test ! -s conftest.err
7276 } && test -s conftest.$ac_objext; then
7277 eval "$as_ac_Header=yes"
7278 else
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 eval "$as_ac_Header=no"
7285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7287 ac_res=`eval echo '${'$as_ac_Header'}'`
7288 { echo "$as_me:$LINENO: result: $ac_res" >&5
7289 echo "${ECHO_T}$ac_res" >&6; }
7290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7291 cat >>confdefs.h <<_ACEOF
7292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 _ACEOF
7297 done
7301 for ac_header in linux/ipx.h
7303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7307 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 else
7309 cat >conftest.$ac_ext <<_ACEOF
7310 /* confdefs.h. */
7311 _ACEOF
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 #include <sys/types.h>
7316 #ifdef HAVE_ASM_TYPES_H
7317 # include <asm/types.h>
7318 #endif
7319 #if HAVE_SYS_SOCKET_H
7320 # include <sys/socket.h>
7321 #endif
7323 #include <$ac_header>
7324 _ACEOF
7325 rm -f conftest.$ac_objext
7326 if { (ac_try="$ac_compile"
7327 case "(($ac_try" in
7328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7329 *) ac_try_echo=$ac_try;;
7330 esac
7331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7332 (eval "$ac_compile") 2>conftest.er1
7333 ac_status=$?
7334 grep -v '^ *+' conftest.er1 >conftest.err
7335 rm -f conftest.er1
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } && {
7339 test -z "$ac_c_werror_flag" ||
7340 test ! -s conftest.err
7341 } && test -s conftest.$ac_objext; then
7342 eval "$as_ac_Header=yes"
7343 else
7344 echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.$ac_ext >&5
7347 eval "$as_ac_Header=no"
7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7352 ac_res=`eval echo '${'$as_ac_Header'}'`
7353 { echo "$as_me:$LINENO: result: $ac_res" >&5
7354 echo "${ECHO_T}$ac_res" >&6; }
7355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7356 cat >>confdefs.h <<_ACEOF
7357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7358 _ACEOF
7362 done
7366 for ac_header in resolv.h
7368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7373 else
7374 cat >conftest.$ac_ext <<_ACEOF
7375 /* confdefs.h. */
7376 _ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <sys/types.h>
7381 #if HAVE_SYS_SOCKET_H
7382 # include <sys/socket.h>
7383 #endif
7384 #if HAVE_NETINET_IN_H
7385 # include <netinet/in.h>
7386 #endif
7387 #if HAVE_ARPA_NAMESER_H
7388 # include <arpa/nameser.h>
7389 #endif
7391 #include <$ac_header>
7392 _ACEOF
7393 rm -f conftest.$ac_objext
7394 if { (ac_try="$ac_compile"
7395 case "(($ac_try" in
7396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7398 esac
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_compile") 2>conftest.er1
7401 ac_status=$?
7402 grep -v '^ *+' conftest.er1 >conftest.err
7403 rm -f conftest.er1
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest.$ac_objext; then
7410 eval "$as_ac_Header=yes"
7411 else
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 eval "$as_ac_Header=no"
7418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7420 ac_res=`eval echo '${'$as_ac_Header'}'`
7421 { echo "$as_me:$LINENO: result: $ac_res" >&5
7422 echo "${ECHO_T}$ac_res" >&6; }
7423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7424 cat >>confdefs.h <<_ACEOF
7425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 _ACEOF
7430 done
7434 for ac_header in ucontext.h
7436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 else
7442 cat >conftest.$ac_ext <<_ACEOF
7443 /* confdefs.h. */
7444 _ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h. */
7448 #include <signal.h>
7450 #include <$ac_header>
7451 _ACEOF
7452 rm -f conftest.$ac_objext
7453 if { (ac_try="$ac_compile"
7454 case "(($ac_try" in
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7457 esac
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_compile") 2>conftest.er1
7460 ac_status=$?
7461 grep -v '^ *+' conftest.er1 >conftest.err
7462 rm -f conftest.er1
7463 cat conftest.err >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } && {
7466 test -z "$ac_c_werror_flag" ||
7467 test ! -s conftest.err
7468 } && test -s conftest.$ac_objext; then
7469 eval "$as_ac_Header=yes"
7470 else
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7474 eval "$as_ac_Header=no"
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7479 ac_res=`eval echo '${'$as_ac_Header'}'`
7480 { echo "$as_me:$LINENO: result: $ac_res" >&5
7481 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h <<_ACEOF
7484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 _ACEOF
7489 done
7493 for ac_header in pthread_np.h
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #ifdef HAVE_PTHREAD_H
7508 #include <pthread.h>
7509 #endif
7511 #include <$ac_header>
7512 _ACEOF
7513 rm -f conftest.$ac_objext
7514 if { (ac_try="$ac_compile"
7515 case "(($ac_try" in
7516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7517 *) ac_try_echo=$ac_try;;
7518 esac
7519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7520 (eval "$ac_compile") 2>conftest.er1
7521 ac_status=$?
7522 grep -v '^ *+' conftest.er1 >conftest.err
7523 rm -f conftest.er1
7524 cat conftest.err >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } && {
7527 test -z "$ac_c_werror_flag" ||
7528 test ! -s conftest.err
7529 } && test -s conftest.$ac_objext; then
7530 eval "$as_ac_Header=yes"
7531 else
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 eval "$as_ac_Header=no"
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 ac_res=`eval echo '${'$as_ac_Header'}'`
7541 { echo "$as_me:$LINENO: result: $ac_res" >&5
7542 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7546 _ACEOF
7550 done
7554 for ac_header in linux/videodev.h
7556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 else
7562 cat >conftest.$ac_ext <<_ACEOF
7563 /* confdefs.h. */
7564 _ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #ifdef HAVE_SYS_TIME_H
7569 #include <sys/time.h>
7570 #endif
7571 #include <sys/types.h>
7572 #ifdef HAVE_ASM_TYPES_H
7573 #include <asm/types.h>
7574 #endif
7576 #include <$ac_header>
7577 _ACEOF
7578 rm -f conftest.$ac_objext
7579 if { (ac_try="$ac_compile"
7580 case "(($ac_try" in
7581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7582 *) ac_try_echo=$ac_try;;
7583 esac
7584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7585 (eval "$ac_compile") 2>conftest.er1
7586 ac_status=$?
7587 grep -v '^ *+' conftest.er1 >conftest.err
7588 rm -f conftest.er1
7589 cat conftest.err >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); } && {
7592 test -z "$ac_c_werror_flag" ||
7593 test ! -s conftest.err
7594 } && test -s conftest.$ac_objext; then
7595 eval "$as_ac_Header=yes"
7596 else
7597 echo "$as_me: failed program was:" >&5
7598 sed 's/^/| /' conftest.$ac_ext >&5
7600 eval "$as_ac_Header=no"
7603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7605 ac_res=`eval echo '${'$as_ac_Header'}'`
7606 { echo "$as_me:$LINENO: result: $ac_res" >&5
7607 echo "${ECHO_T}$ac_res" >&6; }
7608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7609 cat >>confdefs.h <<_ACEOF
7610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 _ACEOF
7615 done
7619 for ac_header in linux/capi.h
7621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 else
7627 cat >conftest.$ac_ext <<_ACEOF
7628 /* confdefs.h. */
7629 _ACEOF
7630 cat confdefs.h >>conftest.$ac_ext
7631 cat >>conftest.$ac_ext <<_ACEOF
7632 /* end confdefs.h. */
7633 #define __user
7635 #include <$ac_header>
7636 _ACEOF
7637 rm -f conftest.$ac_objext
7638 if { (ac_try="$ac_compile"
7639 case "(($ac_try" in
7640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7641 *) ac_try_echo=$ac_try;;
7642 esac
7643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7644 (eval "$ac_compile") 2>conftest.er1
7645 ac_status=$?
7646 grep -v '^ *+' conftest.er1 >conftest.err
7647 rm -f conftest.er1
7648 cat conftest.err >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } && {
7651 test -z "$ac_c_werror_flag" ||
7652 test ! -s conftest.err
7653 } && test -s conftest.$ac_objext; then
7654 eval "$as_ac_Header=yes"
7655 else
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7659 eval "$as_ac_Header=no"
7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7664 ac_res=`eval echo '${'$as_ac_Header'}'`
7665 { echo "$as_me:$LINENO: result: $ac_res" >&5
7666 echo "${ECHO_T}$ac_res" >&6; }
7667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7668 cat >>confdefs.h <<_ACEOF
7669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 _ACEOF
7674 done
7678 if test "$have_x" = "yes"
7679 then
7680 XLIB="-lXext -lX11"
7681 ac_save_CPPFLAGS="$CPPFLAGS"
7682 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7695 for ac_header in X11/Xlib.h \
7696 X11/XKBlib.h \
7697 X11/Xutil.h \
7698 X11/Xcursor/Xcursor.h \
7699 X11/extensions/shape.h \
7700 X11/extensions/XInput.h \
7701 X11/extensions/XShm.h \
7702 X11/extensions/Xinerama.h \
7703 X11/extensions/Xrandr.h \
7704 X11/extensions/Xrender.h \
7705 X11/extensions/xf86vmode.h
7707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 else
7713 cat >conftest.$ac_ext <<_ACEOF
7714 /* confdefs.h. */
7715 _ACEOF
7716 cat confdefs.h >>conftest.$ac_ext
7717 cat >>conftest.$ac_ext <<_ACEOF
7718 /* end confdefs.h. */
7719 #ifdef HAVE_X11_XLIB_H
7720 # include <X11/Xlib.h>
7721 #endif
7722 #ifdef HAVE_X11_XUTIL_H
7723 # include <X11/Xutil.h>
7724 #endif
7726 #include <$ac_header>
7727 _ACEOF
7728 rm -f conftest.$ac_objext
7729 if { (ac_try="$ac_compile"
7730 case "(($ac_try" in
7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732 *) ac_try_echo=$ac_try;;
7733 esac
7734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_compile") 2>conftest.er1
7736 ac_status=$?
7737 grep -v '^ *+' conftest.er1 >conftest.err
7738 rm -f conftest.er1
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } && {
7742 test -z "$ac_c_werror_flag" ||
7743 test ! -s conftest.err
7744 } && test -s conftest.$ac_objext; then
7745 eval "$as_ac_Header=yes"
7746 else
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7750 eval "$as_ac_Header=no"
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7755 ac_res=`eval echo '${'$as_ac_Header'}'`
7756 { echo "$as_me:$LINENO: result: $ac_res" >&5
7757 echo "${ECHO_T}$ac_res" >&6; }
7758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7759 cat >>confdefs.h <<_ACEOF
7760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7761 _ACEOF
7765 done
7768 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7769 then
7770 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7771 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7772 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 else
7775 ac_check_lib_save_LIBS=$LIBS
7776 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7777 cat >conftest.$ac_ext <<_ACEOF
7778 /* confdefs.h. */
7779 _ACEOF
7780 cat confdefs.h >>conftest.$ac_ext
7781 cat >>conftest.$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7784 /* Override any GCC internal prototype to avoid an error.
7785 Use char because int might match the return type of a GCC
7786 builtin and then its argument prototype would still apply. */
7787 #ifdef __cplusplus
7788 extern "C"
7789 #endif
7790 char XkbQueryExtension ();
7792 main ()
7794 return XkbQueryExtension ();
7796 return 0;
7798 _ACEOF
7799 rm -f conftest.$ac_objext conftest$ac_exeext
7800 if { (ac_try="$ac_link"
7801 case "(($ac_try" in
7802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7803 *) ac_try_echo=$ac_try;;
7804 esac
7805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7806 (eval "$ac_link") 2>conftest.er1
7807 ac_status=$?
7808 grep -v '^ *+' conftest.er1 >conftest.err
7809 rm -f conftest.er1
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest$ac_exeext &&
7816 $as_test_x conftest$ac_exeext; then
7817 ac_cv_lib_X11_XkbQueryExtension=yes
7818 else
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.$ac_ext >&5
7822 ac_cv_lib_X11_XkbQueryExtension=no
7825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7826 conftest$ac_exeext conftest.$ac_ext
7827 LIBS=$ac_check_lib_save_LIBS
7829 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7830 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7831 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7833 cat >>confdefs.h <<\_ACEOF
7834 #define HAVE_XKB 1
7835 _ACEOF
7841 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7842 then
7843 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7844 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7845 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 else
7848 ac_check_lib_save_LIBS=$LIBS
7849 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7850 cat >conftest.$ac_ext <<_ACEOF
7851 /* confdefs.h. */
7852 _ACEOF
7853 cat confdefs.h >>conftest.$ac_ext
7854 cat >>conftest.$ac_ext <<_ACEOF
7855 /* end confdefs.h. */
7857 /* Override any GCC internal prototype to avoid an error.
7858 Use char because int might match the return type of a GCC
7859 builtin and then its argument prototype would still apply. */
7860 #ifdef __cplusplus
7861 extern "C"
7862 #endif
7863 char XShmQueryExtension ();
7865 main ()
7867 return XShmQueryExtension ();
7869 return 0;
7871 _ACEOF
7872 rm -f conftest.$ac_objext conftest$ac_exeext
7873 if { (ac_try="$ac_link"
7874 case "(($ac_try" in
7875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7876 *) ac_try_echo=$ac_try;;
7877 esac
7878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7879 (eval "$ac_link") 2>conftest.er1
7880 ac_status=$?
7881 grep -v '^ *+' conftest.er1 >conftest.err
7882 rm -f conftest.er1
7883 cat conftest.err >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); } && {
7886 test -z "$ac_c_werror_flag" ||
7887 test ! -s conftest.err
7888 } && test -s conftest$ac_exeext &&
7889 $as_test_x conftest$ac_exeext; then
7890 ac_cv_lib_Xext_XShmQueryExtension=yes
7891 else
7892 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.$ac_ext >&5
7895 ac_cv_lib_Xext_XShmQueryExtension=no
7898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7899 conftest$ac_exeext conftest.$ac_ext
7900 LIBS=$ac_check_lib_save_LIBS
7902 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7903 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7904 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7906 cat >>confdefs.h <<\_ACEOF
7907 #define HAVE_LIBXXSHM 1
7908 _ACEOF
7914 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7915 then
7916 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7917 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7918 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 else
7921 ac_check_lib_save_LIBS=$LIBS
7922 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7923 cat >conftest.$ac_ext <<_ACEOF
7924 /* confdefs.h. */
7925 _ACEOF
7926 cat confdefs.h >>conftest.$ac_ext
7927 cat >>conftest.$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7930 /* Override any GCC internal prototype to avoid an error.
7931 Use char because int might match the return type of a GCC
7932 builtin and then its argument prototype would still apply. */
7933 #ifdef __cplusplus
7934 extern "C"
7935 #endif
7936 char XShapeQueryExtension ();
7938 main ()
7940 return XShapeQueryExtension ();
7942 return 0;
7944 _ACEOF
7945 rm -f conftest.$ac_objext conftest$ac_exeext
7946 if { (ac_try="$ac_link"
7947 case "(($ac_try" in
7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7949 *) ac_try_echo=$ac_try;;
7950 esac
7951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7952 (eval "$ac_link") 2>conftest.er1
7953 ac_status=$?
7954 grep -v '^ *+' conftest.er1 >conftest.err
7955 rm -f conftest.er1
7956 cat conftest.err >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } && {
7959 test -z "$ac_c_werror_flag" ||
7960 test ! -s conftest.err
7961 } && test -s conftest$ac_exeext &&
7962 $as_test_x conftest$ac_exeext; then
7963 ac_cv_lib_Xext_XShapeQueryExtension=yes
7964 else
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7968 ac_cv_lib_Xext_XShapeQueryExtension=no
7971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7972 conftest$ac_exeext conftest.$ac_ext
7973 LIBS=$ac_check_lib_save_LIBS
7975 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7976 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7977 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7979 cat >>confdefs.h <<\_ACEOF
7980 #define HAVE_LIBXSHAPE 1
7981 _ACEOF
7987 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7988 then
7989 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7990 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7991 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 else
7994 ac_check_lib_save_LIBS=$LIBS
7995 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7996 cat >conftest.$ac_ext <<_ACEOF
7997 /* confdefs.h. */
7998 _ACEOF
7999 cat confdefs.h >>conftest.$ac_ext
8000 cat >>conftest.$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8003 /* Override any GCC internal prototype to avoid an error.
8004 Use char because int might match the return type of a GCC
8005 builtin and then its argument prototype would still apply. */
8006 #ifdef __cplusplus
8007 extern "C"
8008 #endif
8009 char XF86VidModeQueryExtension ();
8011 main ()
8013 return XF86VidModeQueryExtension ();
8015 return 0;
8017 _ACEOF
8018 rm -f conftest.$ac_objext conftest$ac_exeext
8019 if { (ac_try="$ac_link"
8020 case "(($ac_try" in
8021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8022 *) ac_try_echo=$ac_try;;
8023 esac
8024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8025 (eval "$ac_link") 2>conftest.er1
8026 ac_status=$?
8027 grep -v '^ *+' conftest.er1 >conftest.err
8028 rm -f conftest.er1
8029 cat conftest.err >&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); } && {
8032 test -z "$ac_c_werror_flag" ||
8033 test ! -s conftest.err
8034 } && test -s conftest$ac_exeext &&
8035 $as_test_x conftest$ac_exeext; then
8036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8037 else
8038 echo "$as_me: failed program was:" >&5
8039 sed 's/^/| /' conftest.$ac_ext >&5
8041 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8045 conftest$ac_exeext conftest.$ac_ext
8046 LIBS=$ac_check_lib_save_LIBS
8048 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8049 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8050 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8052 cat >>confdefs.h <<\_ACEOF
8053 #define HAVE_LIBXXF86VM 1
8054 _ACEOF
8056 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8062 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8063 then
8064 cat >conftest.$ac_ext <<_ACEOF
8065 /* confdefs.h. */
8066 _ACEOF
8067 cat confdefs.h >>conftest.$ac_ext
8068 cat >>conftest.$ac_ext <<_ACEOF
8069 /* end confdefs.h. */
8070 #include <X11/Xlib.h>
8071 #include <X11/extensions/Xrandr.h>
8073 main ()
8075 static typeof(XRRSetScreenConfigAndRate) * func;
8077 return 0;
8079 _ACEOF
8080 rm -f conftest.$ac_objext
8081 if { (ac_try="$ac_compile"
8082 case "(($ac_try" in
8083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8084 *) ac_try_echo=$ac_try;;
8085 esac
8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8087 (eval "$ac_compile") 2>conftest.er1
8088 ac_status=$?
8089 grep -v '^ *+' conftest.er1 >conftest.err
8090 rm -f conftest.er1
8091 cat conftest.err >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } && {
8094 test -z "$ac_c_werror_flag" ||
8095 test ! -s conftest.err
8096 } && test -s conftest.$ac_objext; then
8098 cat >>confdefs.h <<\_ACEOF
8099 #define HAVE_LIBXRANDR 1
8100 _ACEOF
8102 else
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8112 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8113 then
8114 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8115 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8116 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 else
8119 ac_check_lib_save_LIBS=$LIBS
8120 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8121 cat >conftest.$ac_ext <<_ACEOF
8122 /* confdefs.h. */
8123 _ACEOF
8124 cat confdefs.h >>conftest.$ac_ext
8125 cat >>conftest.$ac_ext <<_ACEOF
8126 /* end confdefs.h. */
8128 /* Override any GCC internal prototype to avoid an error.
8129 Use char because int might match the return type of a GCC
8130 builtin and then its argument prototype would still apply. */
8131 #ifdef __cplusplus
8132 extern "C"
8133 #endif
8134 char XRenderSetPictureTransform ();
8136 main ()
8138 return XRenderSetPictureTransform ();
8140 return 0;
8142 _ACEOF
8143 rm -f conftest.$ac_objext conftest$ac_exeext
8144 if { (ac_try="$ac_link"
8145 case "(($ac_try" in
8146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8147 *) ac_try_echo=$ac_try;;
8148 esac
8149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8150 (eval "$ac_link") 2>conftest.er1
8151 ac_status=$?
8152 grep -v '^ *+' conftest.er1 >conftest.err
8153 rm -f conftest.er1
8154 cat conftest.err >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && {
8157 test -z "$ac_c_werror_flag" ||
8158 test ! -s conftest.err
8159 } && test -s conftest$ac_exeext &&
8160 $as_test_x conftest$ac_exeext; then
8161 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8162 else
8163 echo "$as_me: failed program was:" >&5
8164 sed 's/^/| /' conftest.$ac_ext >&5
8166 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8170 conftest$ac_exeext conftest.$ac_ext
8171 LIBS=$ac_check_lib_save_LIBS
8173 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8174 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8175 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8177 cat >>confdefs.h <<\_ACEOF
8178 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8179 _ACEOF
8185 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8186 then
8187 cat >conftest.$ac_ext <<_ACEOF
8188 /* confdefs.h. */
8189 _ACEOF
8190 cat confdefs.h >>conftest.$ac_ext
8191 cat >>conftest.$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8193 #include <X11/Xlib.h>
8194 #include <X11/extensions/Xinerama.h>
8196 main ()
8198 static typeof(XineramaQueryScreens) * func;
8200 return 0;
8202 _ACEOF
8203 rm -f conftest.$ac_objext
8204 if { (ac_try="$ac_compile"
8205 case "(($ac_try" in
8206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8207 *) ac_try_echo=$ac_try;;
8208 esac
8209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 (eval "$ac_compile") 2>conftest.er1
8211 ac_status=$?
8212 grep -v '^ *+' conftest.er1 >conftest.err
8213 rm -f conftest.er1
8214 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } && {
8217 test -z "$ac_c_werror_flag" ||
8218 test ! -s conftest.err
8219 } && test -s conftest.$ac_objext; then
8221 cat >>confdefs.h <<\_ACEOF
8222 #define HAVE_LIBXINERAMA 1
8223 _ACEOF
8225 else
8226 echo "$as_me: failed program was:" >&5
8227 sed 's/^/| /' conftest.$ac_ext >&5
8232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 if test "x$with_opengl" != "xno"
8237 then
8242 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8245 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 else
8250 cat >conftest.$ac_ext <<_ACEOF
8251 /* confdefs.h. */
8252 _ACEOF
8253 cat confdefs.h >>conftest.$ac_ext
8254 cat >>conftest.$ac_ext <<_ACEOF
8255 /* end confdefs.h. */
8256 #ifdef HAVE_GL_GLX_H
8257 # include <GL/glx.h>
8258 #endif
8260 #include <$ac_header>
8261 _ACEOF
8262 rm -f conftest.$ac_objext
8263 if { (ac_try="$ac_compile"
8264 case "(($ac_try" in
8265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8266 *) ac_try_echo=$ac_try;;
8267 esac
8268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8269 (eval "$ac_compile") 2>conftest.er1
8270 ac_status=$?
8271 grep -v '^ *+' conftest.er1 >conftest.err
8272 rm -f conftest.er1
8273 cat conftest.err >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } && {
8276 test -z "$ac_c_werror_flag" ||
8277 test ! -s conftest.err
8278 } && test -s conftest.$ac_objext; then
8279 eval "$as_ac_Header=yes"
8280 else
8281 echo "$as_me: failed program was:" >&5
8282 sed 's/^/| /' conftest.$ac_ext >&5
8284 eval "$as_ac_Header=no"
8287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8289 ac_res=`eval echo '${'$as_ac_Header'}'`
8290 { echo "$as_me:$LINENO: result: $ac_res" >&5
8291 echo "${ECHO_T}$ac_res" >&6; }
8292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8293 cat >>confdefs.h <<_ACEOF
8294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8295 _ACEOF
8299 done
8301 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8302 then
8303 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8304 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8305 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else
8308 cat >conftest.$ac_ext <<_ACEOF
8309 /* confdefs.h. */
8310 _ACEOF
8311 cat confdefs.h >>conftest.$ac_ext
8312 cat >>conftest.$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8314 #include <GL/gl.h>
8316 main ()
8318 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8320 return 0;
8322 _ACEOF
8323 rm -f conftest.$ac_objext
8324 if { (ac_try="$ac_compile"
8325 case "(($ac_try" in
8326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8327 *) ac_try_echo=$ac_try;;
8328 esac
8329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8330 (eval "$ac_compile") 2>conftest.er1
8331 ac_status=$?
8332 grep -v '^ *+' conftest.er1 >conftest.err
8333 rm -f conftest.er1
8334 cat conftest.err >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } && {
8337 test -z "$ac_c_werror_flag" ||
8338 test ! -s conftest.err
8339 } && test -s conftest.$ac_objext; then
8340 wine_cv_opengl_header_version_OK="yes"
8341 else
8342 echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.$ac_ext >&5
8345 wine_cv_opengl_header_version_OK="no"
8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8350 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8351 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8353 if test "$wine_cv_opengl_header_version_OK" = "yes"
8354 then
8355 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8356 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8357 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 else
8360 ac_check_lib_save_LIBS=$LIBS
8361 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8362 cat >conftest.$ac_ext <<_ACEOF
8363 /* confdefs.h. */
8364 _ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 /* Override any GCC internal prototype to avoid an error.
8370 Use char because int might match the return type of a GCC
8371 builtin and then its argument prototype would still apply. */
8372 #ifdef __cplusplus
8373 extern "C"
8374 #endif
8375 char glXCreateContext ();
8377 main ()
8379 return glXCreateContext ();
8381 return 0;
8383 _ACEOF
8384 rm -f conftest.$ac_objext conftest$ac_exeext
8385 if { (ac_try="$ac_link"
8386 case "(($ac_try" in
8387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8388 *) ac_try_echo=$ac_try;;
8389 esac
8390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8391 (eval "$ac_link") 2>conftest.er1
8392 ac_status=$?
8393 grep -v '^ *+' conftest.er1 >conftest.err
8394 rm -f conftest.er1
8395 cat conftest.err >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); } && {
8398 test -z "$ac_c_werror_flag" ||
8399 test ! -s conftest.err
8400 } && test -s conftest$ac_exeext &&
8401 $as_test_x conftest$ac_exeext; then
8402 ac_cv_lib_GL_glXCreateContext=yes
8403 else
8404 echo "$as_me: failed program was:" >&5
8405 sed 's/^/| /' conftest.$ac_ext >&5
8407 ac_cv_lib_GL_glXCreateContext=no
8410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8411 conftest$ac_exeext conftest.$ac_ext
8412 LIBS=$ac_check_lib_save_LIBS
8414 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8415 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8416 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8417 OPENGL_LIBS="-lGL"
8418 OPENGLFILES='$(OPENGLFILES)'
8420 cat >>confdefs.h <<\_ACEOF
8421 #define HAVE_OPENGL 1
8422 _ACEOF
8428 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8429 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8430 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 else
8433 ac_check_lib_save_LIBS=$LIBS
8434 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8435 $LIBS"
8436 cat >conftest.$ac_ext <<_ACEOF
8437 /* confdefs.h. */
8438 _ACEOF
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8443 /* Override any GCC internal prototype to avoid an error.
8444 Use char because int might match the return type of a GCC
8445 builtin and then its argument prototype would still apply. */
8446 #ifdef __cplusplus
8447 extern "C"
8448 #endif
8449 char gluLookAt ();
8451 main ()
8453 return gluLookAt ();
8455 return 0;
8457 _ACEOF
8458 rm -f conftest.$ac_objext conftest$ac_exeext
8459 if { (ac_try="$ac_link"
8460 case "(($ac_try" in
8461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8463 esac
8464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8465 (eval "$ac_link") 2>conftest.er1
8466 ac_status=$?
8467 grep -v '^ *+' conftest.er1 >conftest.err
8468 rm -f conftest.er1
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } && {
8472 test -z "$ac_c_werror_flag" ||
8473 test ! -s conftest.err
8474 } && test -s conftest$ac_exeext &&
8475 $as_test_x conftest$ac_exeext; then
8476 ac_cv_lib_GLU_gluLookAt=yes
8477 else
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_cv_lib_GLU_gluLookAt=no
8484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8485 conftest$ac_exeext conftest.$ac_ext
8486 LIBS=$ac_check_lib_save_LIBS
8488 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8489 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8490 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8491 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8492 GLU32FILES='$(GLU32FILES)'
8497 else
8498 wine_cv_opengl_headers_found="no"
8501 NASLIBS=""
8504 for ac_header in audio/audiolib.h
8506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8511 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 ac_res=`eval echo '${'$as_ac_Header'}'`
8514 { echo "$as_me:$LINENO: result: $ac_res" >&5
8515 echo "${ECHO_T}$ac_res" >&6; }
8516 else
8517 # Is the header compilable?
8518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8520 cat >conftest.$ac_ext <<_ACEOF
8521 /* confdefs.h. */
8522 _ACEOF
8523 cat confdefs.h >>conftest.$ac_ext
8524 cat >>conftest.$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8526 $ac_includes_default
8527 #include <$ac_header>
8528 _ACEOF
8529 rm -f conftest.$ac_objext
8530 if { (ac_try="$ac_compile"
8531 case "(($ac_try" in
8532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8533 *) ac_try_echo=$ac_try;;
8534 esac
8535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8536 (eval "$ac_compile") 2>conftest.er1
8537 ac_status=$?
8538 grep -v '^ *+' conftest.er1 >conftest.err
8539 rm -f conftest.er1
8540 cat conftest.err >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } && {
8543 test -z "$ac_c_werror_flag" ||
8544 test ! -s conftest.err
8545 } && test -s conftest.$ac_objext; then
8546 ac_header_compiler=yes
8547 else
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.$ac_ext >&5
8551 ac_header_compiler=no
8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8556 echo "${ECHO_T}$ac_header_compiler" >&6; }
8558 # Is the header present?
8559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8561 cat >conftest.$ac_ext <<_ACEOF
8562 /* confdefs.h. */
8563 _ACEOF
8564 cat confdefs.h >>conftest.$ac_ext
8565 cat >>conftest.$ac_ext <<_ACEOF
8566 /* end confdefs.h. */
8567 #include <$ac_header>
8568 _ACEOF
8569 if { (ac_try="$ac_cpp conftest.$ac_ext"
8570 case "(($ac_try" in
8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8573 esac
8574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8576 ac_status=$?
8577 grep -v '^ *+' conftest.er1 >conftest.err
8578 rm -f conftest.er1
8579 cat conftest.err >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } >/dev/null && {
8582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8583 test ! -s conftest.err
8584 }; then
8585 ac_header_preproc=yes
8586 else
8587 echo "$as_me: failed program was:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8590 ac_header_preproc=no
8593 rm -f conftest.err conftest.$ac_ext
8594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8595 echo "${ECHO_T}$ac_header_preproc" >&6; }
8597 # So? What about this header?
8598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8599 yes:no: )
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8604 ac_header_preproc=yes
8606 no:yes:* )
8607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8619 ( cat <<\_ASBOX
8620 ## ------------------------------------ ##
8621 ## Report this to wine-devel@winehq.org ##
8622 ## ------------------------------------ ##
8623 _ASBOX
8624 ) | sed "s/^/$as_me: WARNING: /" >&2
8626 esac
8627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 else
8632 eval "$as_ac_Header=\$ac_header_preproc"
8634 ac_res=`eval echo '${'$as_ac_Header'}'`
8635 { echo "$as_me:$LINENO: result: $ac_res" >&5
8636 echo "${ECHO_T}$ac_res" >&6; }
8639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8640 cat >>confdefs.h <<_ACEOF
8641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8642 _ACEOF
8644 for ac_header in audio/soundlib.h
8646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 else
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 #include <audio/audiolib.h>
8660 #include <$ac_header>
8661 _ACEOF
8662 rm -f conftest.$ac_objext
8663 if { (ac_try="$ac_compile"
8664 case "(($ac_try" in
8665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8666 *) ac_try_echo=$ac_try;;
8667 esac
8668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8669 (eval "$ac_compile") 2>conftest.er1
8670 ac_status=$?
8671 grep -v '^ *+' conftest.er1 >conftest.err
8672 rm -f conftest.er1
8673 cat conftest.err >&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } && {
8676 test -z "$ac_c_werror_flag" ||
8677 test ! -s conftest.err
8678 } && test -s conftest.$ac_objext; then
8679 eval "$as_ac_Header=yes"
8680 else
8681 echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.$ac_ext >&5
8684 eval "$as_ac_Header=no"
8687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8689 ac_res=`eval echo '${'$as_ac_Header'}'`
8690 { echo "$as_me:$LINENO: result: $ac_res" >&5
8691 echo "${ECHO_T}$ac_res" >&6; }
8692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8693 cat >>confdefs.h <<_ACEOF
8694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8695 _ACEOF
8699 done
8701 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8702 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8703 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8705 else
8706 ac_check_lib_save_LIBS=$LIBS
8707 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8708 cat >conftest.$ac_ext <<_ACEOF
8709 /* confdefs.h. */
8710 _ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8718 #ifdef __cplusplus
8719 extern "C"
8720 #endif
8721 char AuCreateFlow ();
8723 main ()
8725 return AuCreateFlow ();
8727 return 0;
8729 _ACEOF
8730 rm -f conftest.$ac_objext conftest$ac_exeext
8731 if { (ac_try="$ac_link"
8732 case "(($ac_try" in
8733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8735 esac
8736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_link") 2>conftest.er1
8738 ac_status=$?
8739 grep -v '^ *+' conftest.er1 >conftest.err
8740 rm -f conftest.er1
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } && {
8744 test -z "$ac_c_werror_flag" ||
8745 test ! -s conftest.err
8746 } && test -s conftest$ac_exeext &&
8747 $as_test_x conftest$ac_exeext; then
8748 ac_cv_lib_audio_AuCreateFlow=yes
8749 else
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 ac_cv_lib_audio_AuCreateFlow=no
8756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8757 conftest$ac_exeext conftest.$ac_ext
8758 LIBS=$ac_check_lib_save_LIBS
8760 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8761 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8762 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8764 cat >>confdefs.h <<\_ACEOF
8765 #define HAVE_NAS 1
8766 _ACEOF
8768 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8769 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8770 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 else
8773 ac_check_lib_save_LIBS=$LIBS
8774 LIBS="-lXau $X_LIBS $LIBS"
8775 cat >conftest.$ac_ext <<_ACEOF
8776 /* confdefs.h. */
8777 _ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8782 /* Override any GCC internal prototype to avoid an error.
8783 Use char because int might match the return type of a GCC
8784 builtin and then its argument prototype would still apply. */
8785 #ifdef __cplusplus
8786 extern "C"
8787 #endif
8788 char XauGetBestAuthByAddr ();
8790 main ()
8792 return XauGetBestAuthByAddr ();
8794 return 0;
8796 _ACEOF
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (ac_try="$ac_link"
8799 case "(($ac_try" in
8800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8801 *) ac_try_echo=$ac_try;;
8802 esac
8803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8804 (eval "$ac_link") 2>conftest.er1
8805 ac_status=$?
8806 grep -v '^ *+' conftest.er1 >conftest.err
8807 rm -f conftest.er1
8808 cat conftest.err >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } && {
8811 test -z "$ac_c_werror_flag" ||
8812 test ! -s conftest.err
8813 } && test -s conftest$ac_exeext &&
8814 $as_test_x conftest$ac_exeext; then
8815 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8816 else
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8820 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_lib_save_LIBS
8827 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8828 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8829 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8830 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8831 else
8832 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8840 done
8843 CPPFLAGS="$ac_save_CPPFLAGS"
8844 XFILES='$(XFILES)'
8845 else
8846 XLIB=""
8847 X_CFLAGS=""
8848 X_LIBS=""
8852 XML2LIBS=""
8854 XML2INCL=""
8856 XSLTLIBS=""
8858 XSLTINCL=""
8860 ac_save_CPPFLAGS="$CPPFLAGS"
8861 if test "$PKG_CONFIG" != "false"
8862 then
8863 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8864 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8865 else
8866 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
8867 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
8869 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8871 for ac_header in libxml/parser.h
8873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8880 ac_res=`eval echo '${'$as_ac_Header'}'`
8881 { echo "$as_me:$LINENO: result: $ac_res" >&5
8882 echo "${ECHO_T}$ac_res" >&6; }
8883 else
8884 # Is the header compilable?
8885 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8887 cat >conftest.$ac_ext <<_ACEOF
8888 /* confdefs.h. */
8889 _ACEOF
8890 cat confdefs.h >>conftest.$ac_ext
8891 cat >>conftest.$ac_ext <<_ACEOF
8892 /* end confdefs.h. */
8893 $ac_includes_default
8894 #include <$ac_header>
8895 _ACEOF
8896 rm -f conftest.$ac_objext
8897 if { (ac_try="$ac_compile"
8898 case "(($ac_try" in
8899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8901 esac
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_compile") 2>conftest.er1
8904 ac_status=$?
8905 grep -v '^ *+' conftest.er1 >conftest.err
8906 rm -f conftest.er1
8907 cat conftest.err >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_c_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest.$ac_objext; then
8913 ac_header_compiler=yes
8914 else
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.$ac_ext >&5
8918 ac_header_compiler=no
8921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8922 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8923 echo "${ECHO_T}$ac_header_compiler" >&6; }
8925 # Is the header present?
8926 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8928 cat >conftest.$ac_ext <<_ACEOF
8929 /* confdefs.h. */
8930 _ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8934 #include <$ac_header>
8935 _ACEOF
8936 if { (ac_try="$ac_cpp conftest.$ac_ext"
8937 case "(($ac_try" in
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8940 esac
8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8943 ac_status=$?
8944 grep -v '^ *+' conftest.er1 >conftest.err
8945 rm -f conftest.er1
8946 cat conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } >/dev/null && {
8949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8950 test ! -s conftest.err
8951 }; then
8952 ac_header_preproc=yes
8953 else
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.$ac_ext >&5
8957 ac_header_preproc=no
8960 rm -f conftest.err conftest.$ac_ext
8961 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8962 echo "${ECHO_T}$ac_header_preproc" >&6; }
8964 # So? What about this header?
8965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8966 yes:no: )
8967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8970 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8971 ac_header_preproc=yes
8973 no:yes:* )
8974 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8975 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8976 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8977 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8978 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8979 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8980 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8981 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8986 ( cat <<\_ASBOX
8987 ## ------------------------------------ ##
8988 ## Report this to wine-devel@winehq.org ##
8989 ## ------------------------------------ ##
8990 _ASBOX
8991 ) | sed "s/^/$as_me: WARNING: /" >&2
8993 esac
8994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 else
8999 eval "$as_ac_Header=\$ac_header_preproc"
9001 ac_res=`eval echo '${'$as_ac_Header'}'`
9002 { echo "$as_me:$LINENO: result: $ac_res" >&5
9003 echo "${ECHO_T}$ac_res" >&6; }
9006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9007 cat >>confdefs.h <<_ACEOF
9008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9009 _ACEOF
9010 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9011 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9012 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 else
9015 ac_check_lib_save_LIBS=$LIBS
9016 LIBS="-lxml2 $ac_xml_libs $LIBS"
9017 cat >conftest.$ac_ext <<_ACEOF
9018 /* confdefs.h. */
9019 _ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9027 #ifdef __cplusplus
9028 extern "C"
9029 #endif
9030 char xmlParseMemory ();
9032 main ()
9034 return xmlParseMemory ();
9036 return 0;
9038 _ACEOF
9039 rm -f conftest.$ac_objext conftest$ac_exeext
9040 if { (ac_try="$ac_link"
9041 case "(($ac_try" in
9042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9043 *) ac_try_echo=$ac_try;;
9044 esac
9045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9046 (eval "$ac_link") 2>conftest.er1
9047 ac_status=$?
9048 grep -v '^ *+' conftest.er1 >conftest.err
9049 rm -f conftest.er1
9050 cat conftest.err >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } && {
9053 test -z "$ac_c_werror_flag" ||
9054 test ! -s conftest.err
9055 } && test -s conftest$ac_exeext &&
9056 $as_test_x conftest$ac_exeext; then
9057 ac_cv_lib_xml2_xmlParseMemory=yes
9058 else
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.$ac_ext >&5
9062 ac_cv_lib_xml2_xmlParseMemory=no
9065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9066 conftest$ac_exeext conftest.$ac_ext
9067 LIBS=$ac_check_lib_save_LIBS
9069 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9070 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9071 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9073 cat >>confdefs.h <<\_ACEOF
9074 #define HAVE_LIBXML2 1
9075 _ACEOF
9077 XML2LIBS="$ac_xml_libs"
9078 XML2INCL="$ac_xml_cflags"
9081 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9082 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9083 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 else
9086 ac_check_lib_save_LIBS=$LIBS
9087 LIBS="-lxml2 $ac_xml_libs $LIBS"
9088 cat >conftest.$ac_ext <<_ACEOF
9089 /* confdefs.h. */
9090 _ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9098 #ifdef __cplusplus
9099 extern "C"
9100 #endif
9101 char xmlReadMemory ();
9103 main ()
9105 return xmlReadMemory ();
9107 return 0;
9109 _ACEOF
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9112 case "(($ac_try" in
9113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9114 *) ac_try_echo=$ac_try;;
9115 esac
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9118 ac_status=$?
9119 grep -v '^ *+' conftest.er1 >conftest.err
9120 rm -f conftest.er1
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest$ac_exeext &&
9127 $as_test_x conftest$ac_exeext; then
9128 ac_cv_lib_xml2_xmlReadMemory=yes
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9133 ac_cv_lib_xml2_xmlReadMemory=no
9136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_lib_save_LIBS
9140 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9141 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9142 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9144 cat >>confdefs.h <<\_ACEOF
9145 #define HAVE_XMLREADMEMORY 1
9146 _ACEOF
9150 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9151 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9152 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9154 else
9155 ac_check_lib_save_LIBS=$LIBS
9156 LIBS="-lxml2 $ac_xml_libs $LIBS"
9157 cat >conftest.$ac_ext <<_ACEOF
9158 /* confdefs.h. */
9159 _ACEOF
9160 cat confdefs.h >>conftest.$ac_ext
9161 cat >>conftest.$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9167 #ifdef __cplusplus
9168 extern "C"
9169 #endif
9170 char xmlNewDocPI ();
9172 main ()
9174 return xmlNewDocPI ();
9176 return 0;
9178 _ACEOF
9179 rm -f conftest.$ac_objext conftest$ac_exeext
9180 if { (ac_try="$ac_link"
9181 case "(($ac_try" in
9182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9183 *) ac_try_echo=$ac_try;;
9184 esac
9185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9186 (eval "$ac_link") 2>conftest.er1
9187 ac_status=$?
9188 grep -v '^ *+' conftest.er1 >conftest.err
9189 rm -f conftest.er1
9190 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } && {
9193 test -z "$ac_c_werror_flag" ||
9194 test ! -s conftest.err
9195 } && test -s conftest$ac_exeext &&
9196 $as_test_x conftest$ac_exeext; then
9197 ac_cv_lib_xml2_xmlNewDocPI=yes
9198 else
9199 echo "$as_me: failed program was:" >&5
9200 sed 's/^/| /' conftest.$ac_ext >&5
9202 ac_cv_lib_xml2_xmlNewDocPI=no
9205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_lib_save_LIBS
9209 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9210 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9211 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9213 cat >>confdefs.h <<\_ACEOF
9214 #define HAVE_XMLNEWDOCPI 1
9215 _ACEOF
9222 done
9224 CPPFLAGS="$ac_save_CPPFLAGS"
9225 if test "$PKG_CONFIG" != "false"
9226 then
9227 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9228 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9229 else
9230 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9231 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9233 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9236 for ac_header in libxslt/pattern.h libxslt/transform.h
9238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 else
9244 cat >conftest.$ac_ext <<_ACEOF
9245 /* confdefs.h. */
9246 _ACEOF
9247 cat confdefs.h >>conftest.$ac_ext
9248 cat >>conftest.$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9250 #ifdef HAVE_LIBXSLT_PATTERN_H
9251 # include <libxslt/pattern.h>
9252 #endif
9254 #include <$ac_header>
9255 _ACEOF
9256 rm -f conftest.$ac_objext
9257 if { (ac_try="$ac_compile"
9258 case "(($ac_try" in
9259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9260 *) ac_try_echo=$ac_try;;
9261 esac
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9263 (eval "$ac_compile") 2>conftest.er1
9264 ac_status=$?
9265 grep -v '^ *+' conftest.er1 >conftest.err
9266 rm -f conftest.er1
9267 cat conftest.err >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } && {
9270 test -z "$ac_c_werror_flag" ||
9271 test ! -s conftest.err
9272 } && test -s conftest.$ac_objext; then
9273 eval "$as_ac_Header=yes"
9274 else
9275 echo "$as_me: failed program was:" >&5
9276 sed 's/^/| /' conftest.$ac_ext >&5
9278 eval "$as_ac_Header=no"
9281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9283 ac_res=`eval echo '${'$as_ac_Header'}'`
9284 { echo "$as_me:$LINENO: result: $ac_res" >&5
9285 echo "${ECHO_T}$ac_res" >&6; }
9286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9287 cat >>confdefs.h <<_ACEOF
9288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9289 _ACEOF
9290 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9291 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9292 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 else
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-lxslt $ac_xslt_libs $LIBS"
9297 cat >conftest.$ac_ext <<_ACEOF
9298 /* confdefs.h. */
9299 _ACEOF
9300 cat confdefs.h >>conftest.$ac_ext
9301 cat >>conftest.$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char xsltCompilePattern ();
9312 main ()
9314 return xsltCompilePattern ();
9316 return 0;
9318 _ACEOF
9319 rm -f conftest.$ac_objext conftest$ac_exeext
9320 if { (ac_try="$ac_link"
9321 case "(($ac_try" in
9322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9323 *) ac_try_echo=$ac_try;;
9324 esac
9325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9326 (eval "$ac_link") 2>conftest.er1
9327 ac_status=$?
9328 grep -v '^ *+' conftest.er1 >conftest.err
9329 rm -f conftest.er1
9330 cat conftest.err >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } && {
9333 test -z "$ac_c_werror_flag" ||
9334 test ! -s conftest.err
9335 } && test -s conftest$ac_exeext &&
9336 $as_test_x conftest$ac_exeext; then
9337 ac_cv_lib_xslt_xsltCompilePattern=yes
9338 else
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 ac_cv_lib_xslt_xsltCompilePattern=no
9345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9350 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9351 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9353 cat >>confdefs.h <<\_ACEOF
9354 #define HAVE_LIBXSLT 1
9355 _ACEOF
9357 XSLTLIBS="$ac_xslt_libs"
9358 XSLTINCL="$ac_xslt_cflags"
9364 done
9366 CPPFLAGS="$ac_save_CPPFLAGS"
9368 HALINCL=""
9370 if test "$PKG_CONFIG" != "false"
9371 then
9372 ac_save_CPPFLAGS="$CPPFLAGS"
9373 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9374 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9375 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9378 for ac_header in dbus/dbus.h hal/libhal.h
9380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9382 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 ac_res=`eval echo '${'$as_ac_Header'}'`
9388 { echo "$as_me:$LINENO: result: $ac_res" >&5
9389 echo "${ECHO_T}$ac_res" >&6; }
9390 else
9391 # Is the header compilable?
9392 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9394 cat >conftest.$ac_ext <<_ACEOF
9395 /* confdefs.h. */
9396 _ACEOF
9397 cat confdefs.h >>conftest.$ac_ext
9398 cat >>conftest.$ac_ext <<_ACEOF
9399 /* end confdefs.h. */
9400 $ac_includes_default
9401 #include <$ac_header>
9402 _ACEOF
9403 rm -f conftest.$ac_objext
9404 if { (ac_try="$ac_compile"
9405 case "(($ac_try" in
9406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9407 *) ac_try_echo=$ac_try;;
9408 esac
9409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9410 (eval "$ac_compile") 2>conftest.er1
9411 ac_status=$?
9412 grep -v '^ *+' conftest.er1 >conftest.err
9413 rm -f conftest.er1
9414 cat conftest.err >&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 (exit $ac_status); } && {
9417 test -z "$ac_c_werror_flag" ||
9418 test ! -s conftest.err
9419 } && test -s conftest.$ac_objext; then
9420 ac_header_compiler=yes
9421 else
9422 echo "$as_me: failed program was:" >&5
9423 sed 's/^/| /' conftest.$ac_ext >&5
9425 ac_header_compiler=no
9428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9429 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9430 echo "${ECHO_T}$ac_header_compiler" >&6; }
9432 # Is the header present?
9433 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9435 cat >conftest.$ac_ext <<_ACEOF
9436 /* confdefs.h. */
9437 _ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9441 #include <$ac_header>
9442 _ACEOF
9443 if { (ac_try="$ac_cpp conftest.$ac_ext"
9444 case "(($ac_try" in
9445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9446 *) ac_try_echo=$ac_try;;
9447 esac
9448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9450 ac_status=$?
9451 grep -v '^ *+' conftest.er1 >conftest.err
9452 rm -f conftest.er1
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } >/dev/null && {
9456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9457 test ! -s conftest.err
9458 }; then
9459 ac_header_preproc=yes
9460 else
9461 echo "$as_me: failed program was:" >&5
9462 sed 's/^/| /' conftest.$ac_ext >&5
9464 ac_header_preproc=no
9467 rm -f conftest.err conftest.$ac_ext
9468 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9469 echo "${ECHO_T}$ac_header_preproc" >&6; }
9471 # So? What about this header?
9472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9473 yes:no: )
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9478 ac_header_preproc=yes
9480 no:yes:* )
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9493 ( cat <<\_ASBOX
9494 ## ------------------------------------ ##
9495 ## Report this to wine-devel@winehq.org ##
9496 ## ------------------------------------ ##
9497 _ASBOX
9498 ) | sed "s/^/$as_me: WARNING: /" >&2
9500 esac
9501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 else
9506 eval "$as_ac_Header=\$ac_header_preproc"
9508 ac_res=`eval echo '${'$as_ac_Header'}'`
9509 { echo "$as_me:$LINENO: result: $ac_res" >&5
9510 echo "${ECHO_T}$ac_res" >&6; }
9513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9514 cat >>confdefs.h <<_ACEOF
9515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9516 _ACEOF
9520 done
9522 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9523 then
9524 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9525 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9526 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9527 echo $ECHO_N "(cached) $ECHO_C" >&6
9528 else
9529 ac_check_lib_save_LIBS=$LIBS
9530 LIBS="-lhal $LIBS"
9531 cat >conftest.$ac_ext <<_ACEOF
9532 /* confdefs.h. */
9533 _ACEOF
9534 cat confdefs.h >>conftest.$ac_ext
9535 cat >>conftest.$ac_ext <<_ACEOF
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char libhal_ctx_new ();
9546 main ()
9548 return libhal_ctx_new ();
9550 return 0;
9552 _ACEOF
9553 rm -f conftest.$ac_objext conftest$ac_exeext
9554 if { (ac_try="$ac_link"
9555 case "(($ac_try" in
9556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9557 *) ac_try_echo=$ac_try;;
9558 esac
9559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9560 (eval "$ac_link") 2>conftest.er1
9561 ac_status=$?
9562 grep -v '^ *+' conftest.er1 >conftest.err
9563 rm -f conftest.er1
9564 cat conftest.err >&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } && {
9567 test -z "$ac_c_werror_flag" ||
9568 test ! -s conftest.err
9569 } && test -s conftest$ac_exeext &&
9570 $as_test_x conftest$ac_exeext; then
9571 ac_cv_lib_hal_libhal_ctx_new=yes
9572 else
9573 echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.$ac_ext >&5
9576 ac_cv_lib_hal_libhal_ctx_new=no
9579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_lib_save_LIBS
9583 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9584 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9585 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9586 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9587 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9588 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9590 else
9591 ac_check_lib_save_LIBS=$LIBS
9592 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9593 cat >conftest.$ac_ext <<_ACEOF
9594 /* confdefs.h. */
9595 _ACEOF
9596 cat confdefs.h >>conftest.$ac_ext
9597 cat >>conftest.$ac_ext <<_ACEOF
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char dbus_connection_close ();
9608 main ()
9610 return dbus_connection_close ();
9612 return 0;
9614 _ACEOF
9615 rm -f conftest.$ac_objext conftest$ac_exeext
9616 if { (ac_try="$ac_link"
9617 case "(($ac_try" in
9618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9619 *) ac_try_echo=$ac_try;;
9620 esac
9621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9622 (eval "$ac_link") 2>conftest.er1
9623 ac_status=$?
9624 grep -v '^ *+' conftest.er1 >conftest.err
9625 rm -f conftest.er1
9626 cat conftest.err >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); } && {
9629 test -z "$ac_c_werror_flag" ||
9630 test ! -s conftest.err
9631 } && test -s conftest$ac_exeext &&
9632 $as_test_x conftest$ac_exeext; then
9633 ac_cv_lib_dbus_1_dbus_connection_close=yes
9634 else
9635 echo "$as_me: failed program was:" >&5
9636 sed 's/^/| /' conftest.$ac_ext >&5
9638 ac_cv_lib_dbus_1_dbus_connection_close=no
9641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9642 conftest$ac_exeext conftest.$ac_ext
9643 LIBS=$ac_check_lib_save_LIBS
9645 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9646 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9647 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9649 cat >>confdefs.h <<\_ACEOF
9650 #define HAVE_LIBHAL 1
9651 _ACEOF
9653 HALINCL="$ac_hal_cflags"
9659 CPPFLAGS="$ac_save_CPPFLAGS"
9662 CURSESLIBS=""
9663 if test "$ac_cv_header_ncurses_h" = "yes"
9664 then
9665 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9666 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9667 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lncurses $LIBS"
9672 cat >conftest.$ac_ext <<_ACEOF
9673 /* confdefs.h. */
9674 _ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char waddch ();
9687 main ()
9689 return waddch ();
9691 return 0;
9693 _ACEOF
9694 rm -f conftest.$ac_objext conftest$ac_exeext
9695 if { (ac_try="$ac_link"
9696 case "(($ac_try" in
9697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9698 *) ac_try_echo=$ac_try;;
9699 esac
9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9701 (eval "$ac_link") 2>conftest.er1
9702 ac_status=$?
9703 grep -v '^ *+' conftest.er1 >conftest.err
9704 rm -f conftest.er1
9705 cat conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } && {
9708 test -z "$ac_c_werror_flag" ||
9709 test ! -s conftest.err
9710 } && test -s conftest$ac_exeext &&
9711 $as_test_x conftest$ac_exeext; then
9712 ac_cv_lib_ncurses_waddch=yes
9713 else
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.$ac_ext >&5
9717 ac_cv_lib_ncurses_waddch=no
9720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9725 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9726 if test $ac_cv_lib_ncurses_waddch = yes; then
9727 CURSESLIBS="-lncurses"
9730 elif test "$ac_cv_header_curses_h" = "yes"
9731 then
9732 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9733 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9734 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9736 else
9737 ac_check_lib_save_LIBS=$LIBS
9738 LIBS="-lcurses $LIBS"
9739 cat >conftest.$ac_ext <<_ACEOF
9740 /* confdefs.h. */
9741 _ACEOF
9742 cat confdefs.h >>conftest.$ac_ext
9743 cat >>conftest.$ac_ext <<_ACEOF
9744 /* end confdefs.h. */
9746 /* Override any GCC internal prototype to avoid an error.
9747 Use char because int might match the return type of a GCC
9748 builtin and then its argument prototype would still apply. */
9749 #ifdef __cplusplus
9750 extern "C"
9751 #endif
9752 char waddch ();
9754 main ()
9756 return waddch ();
9758 return 0;
9760 _ACEOF
9761 rm -f conftest.$ac_objext conftest$ac_exeext
9762 if { (ac_try="$ac_link"
9763 case "(($ac_try" in
9764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9765 *) ac_try_echo=$ac_try;;
9766 esac
9767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9768 (eval "$ac_link") 2>conftest.er1
9769 ac_status=$?
9770 grep -v '^ *+' conftest.er1 >conftest.err
9771 rm -f conftest.er1
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } && {
9775 test -z "$ac_c_werror_flag" ||
9776 test ! -s conftest.err
9777 } && test -s conftest$ac_exeext &&
9778 $as_test_x conftest$ac_exeext; then
9779 ac_cv_lib_curses_waddch=yes
9780 else
9781 echo "$as_me: failed program was:" >&5
9782 sed 's/^/| /' conftest.$ac_ext >&5
9784 ac_cv_lib_curses_waddch=no
9787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9788 conftest$ac_exeext conftest.$ac_ext
9789 LIBS=$ac_check_lib_save_LIBS
9791 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9792 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9793 if test $ac_cv_lib_curses_waddch = yes; then
9794 CURSESLIBS="-lcurses"
9798 ac_save_LIBS="$LIBS"
9799 LIBS="$LIBS $CURSESLIBS"
9801 for ac_func in mousemask
9803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9808 else
9809 cat >conftest.$ac_ext <<_ACEOF
9810 /* confdefs.h. */
9811 _ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9817 #define $ac_func innocuous_$ac_func
9819 /* System header to define __stub macros and hopefully few prototypes,
9820 which can conflict with char $ac_func (); below.
9821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9822 <limits.h> exists even on freestanding compilers. */
9824 #ifdef __STDC__
9825 # include <limits.h>
9826 #else
9827 # include <assert.h>
9828 #endif
9830 #undef $ac_func
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char $ac_func ();
9839 /* The GNU C library defines this for functions which it implements
9840 to always fail with ENOSYS. Some functions are actually named
9841 something starting with __ and the normal name is an alias. */
9842 #if defined __stub_$ac_func || defined __stub___$ac_func
9843 choke me
9844 #endif
9847 main ()
9849 return $ac_func ();
9851 return 0;
9853 _ACEOF
9854 rm -f conftest.$ac_objext conftest$ac_exeext
9855 if { (ac_try="$ac_link"
9856 case "(($ac_try" in
9857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9858 *) ac_try_echo=$ac_try;;
9859 esac
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_link") 2>conftest.er1
9862 ac_status=$?
9863 grep -v '^ *+' conftest.er1 >conftest.err
9864 rm -f conftest.er1
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest$ac_exeext &&
9871 $as_test_x conftest$ac_exeext; then
9872 eval "$as_ac_var=yes"
9873 else
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5
9877 eval "$as_ac_var=no"
9880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9881 conftest$ac_exeext conftest.$ac_ext
9883 ac_res=`eval echo '${'$as_ac_var'}'`
9884 { echo "$as_me:$LINENO: result: $ac_res" >&5
9885 echo "${ECHO_T}$ac_res" >&6; }
9886 if test `eval echo '${'$as_ac_var'}'` = yes; then
9887 cat >>confdefs.h <<_ACEOF
9888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9889 _ACEOF
9892 done
9894 LIBS="$ac_save_LIBS"
9896 # Extract the first word of "sane-config", so it can be a program name with args.
9897 set dummy sane-config; ac_word=$2
9898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9900 if test "${ac_cv_prog_sane_devel+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 else
9903 if test -n "$sane_devel"; then
9904 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9905 else
9906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9907 for as_dir in $PATH
9909 IFS=$as_save_IFS
9910 test -z "$as_dir" && as_dir=.
9911 for ac_exec_ext in '' $ac_executable_extensions; do
9912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9913 ac_cv_prog_sane_devel="sane-config"
9914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9915 break 2
9917 done
9918 done
9919 IFS=$as_save_IFS
9921 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9924 sane_devel=$ac_cv_prog_sane_devel
9925 if test -n "$sane_devel"; then
9926 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9927 echo "${ECHO_T}$sane_devel" >&6; }
9928 else
9929 { echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6; }
9934 SANEINCL=""
9936 if test "$sane_devel" != "no"
9937 then
9938 SANEINCL="`$sane_devel --cflags`"
9939 ac_save_CPPFLAGS="$CPPFLAGS"
9940 CPPFLAGS="$CPPFLAGS $SANEINCL"
9941 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9942 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9943 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9944 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9948 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9949 else
9950 # Is the header compilable?
9951 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9952 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9953 cat >conftest.$ac_ext <<_ACEOF
9954 /* confdefs.h. */
9955 _ACEOF
9956 cat confdefs.h >>conftest.$ac_ext
9957 cat >>conftest.$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9959 $ac_includes_default
9960 #include <sane/sane.h>
9961 _ACEOF
9962 rm -f conftest.$ac_objext
9963 if { (ac_try="$ac_compile"
9964 case "(($ac_try" in
9965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9967 esac
9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 (eval "$ac_compile") 2>conftest.er1
9970 ac_status=$?
9971 grep -v '^ *+' conftest.er1 >conftest.err
9972 rm -f conftest.er1
9973 cat conftest.err >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } && {
9976 test -z "$ac_c_werror_flag" ||
9977 test ! -s conftest.err
9978 } && test -s conftest.$ac_objext; then
9979 ac_header_compiler=yes
9980 else
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.$ac_ext >&5
9984 ac_header_compiler=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9989 echo "${ECHO_T}$ac_header_compiler" >&6; }
9991 # Is the header present?
9992 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9993 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9994 cat >conftest.$ac_ext <<_ACEOF
9995 /* confdefs.h. */
9996 _ACEOF
9997 cat confdefs.h >>conftest.$ac_ext
9998 cat >>conftest.$ac_ext <<_ACEOF
9999 /* end confdefs.h. */
10000 #include <sane/sane.h>
10001 _ACEOF
10002 if { (ac_try="$ac_cpp conftest.$ac_ext"
10003 case "(($ac_try" in
10004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10005 *) ac_try_echo=$ac_try;;
10006 esac
10007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10009 ac_status=$?
10010 grep -v '^ *+' conftest.er1 >conftest.err
10011 rm -f conftest.er1
10012 cat conftest.err >&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } >/dev/null && {
10015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10016 test ! -s conftest.err
10017 }; then
10018 ac_header_preproc=yes
10019 else
10020 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.$ac_ext >&5
10023 ac_header_preproc=no
10026 rm -f conftest.err conftest.$ac_ext
10027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10028 echo "${ECHO_T}$ac_header_preproc" >&6; }
10030 # So? What about this header?
10031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10032 yes:no: )
10033 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10034 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10035 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10036 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10037 ac_header_preproc=yes
10039 no:yes:* )
10040 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10041 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10043 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10044 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10045 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10046 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10047 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10048 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10049 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10050 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10051 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10052 ( cat <<\_ASBOX
10053 ## ------------------------------------ ##
10054 ## Report this to wine-devel@winehq.org ##
10055 ## ------------------------------------ ##
10056 _ASBOX
10057 ) | sed "s/^/$as_me: WARNING: /" >&2
10059 esac
10060 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10063 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 else
10065 ac_cv_header_sane_sane_h=$ac_header_preproc
10067 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10068 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10071 if test $ac_cv_header_sane_sane_h = yes; then
10073 cat >>confdefs.h <<\_ACEOF
10074 #define HAVE_SANE 1
10075 _ACEOF
10077 else
10078 SANEINCL=""
10082 CPPFLAGS="$ac_save_CPPFLAGS"
10085 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10086 set dummy gphoto2-config; ac_word=$2
10087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10089 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 else
10092 if test -n "$gphoto2_devel"; then
10093 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10094 else
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10098 IFS=$as_save_IFS
10099 test -z "$as_dir" && as_dir=.
10100 for ac_exec_ext in '' $ac_executable_extensions; do
10101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10102 ac_cv_prog_gphoto2_devel="gphoto2-config"
10103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10104 break 2
10106 done
10107 done
10108 IFS=$as_save_IFS
10110 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10113 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10114 if test -n "$gphoto2_devel"; then
10115 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10116 echo "${ECHO_T}$gphoto2_devel" >&6; }
10117 else
10118 { echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6; }
10123 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10124 set dummy gphoto2-port-config; ac_word=$2
10125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10127 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 if test -n "$gphoto2port_devel"; then
10131 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10132 else
10133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10134 for as_dir in $PATH
10136 IFS=$as_save_IFS
10137 test -z "$as_dir" && as_dir=.
10138 for ac_exec_ext in '' $ac_executable_extensions; do
10139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10140 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10142 break 2
10144 done
10145 done
10146 IFS=$as_save_IFS
10148 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10151 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10152 if test -n "$gphoto2port_devel"; then
10153 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10154 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10155 else
10156 { echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6; }
10161 GPHOTO2LIBS=""
10163 GPHOTO2INCL=""
10165 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10166 then
10167 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10168 GPHOTO2LIBS=""
10169 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10171 case "$i" in
10172 -L/usr/lib|-L/usr/lib64) ;;
10173 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10174 esac
10175 done
10176 ac_save_CPPFLAGS="$CPPFLAGS"
10177 ac_save_LIBS="$LIBS"
10178 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10179 LIBS="$LIBS $GPHOTO2LIBS"
10180 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10181 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10182 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10183 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10184 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10187 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10188 else
10189 # Is the header compilable?
10190 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10191 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10192 cat >conftest.$ac_ext <<_ACEOF
10193 /* confdefs.h. */
10194 _ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 $ac_includes_default
10199 #include <gphoto2-camera.h>
10200 _ACEOF
10201 rm -f conftest.$ac_objext
10202 if { (ac_try="$ac_compile"
10203 case "(($ac_try" in
10204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10205 *) ac_try_echo=$ac_try;;
10206 esac
10207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10208 (eval "$ac_compile") 2>conftest.er1
10209 ac_status=$?
10210 grep -v '^ *+' conftest.er1 >conftest.err
10211 rm -f conftest.er1
10212 cat conftest.err >&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); } && {
10215 test -z "$ac_c_werror_flag" ||
10216 test ! -s conftest.err
10217 } && test -s conftest.$ac_objext; then
10218 ac_header_compiler=yes
10219 else
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_header_compiler=no
10226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10227 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10228 echo "${ECHO_T}$ac_header_compiler" >&6; }
10230 # Is the header present?
10231 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10232 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10233 cat >conftest.$ac_ext <<_ACEOF
10234 /* confdefs.h. */
10235 _ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10239 #include <gphoto2-camera.h>
10240 _ACEOF
10241 if { (ac_try="$ac_cpp conftest.$ac_ext"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10245 esac
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } >/dev/null && {
10254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10255 test ! -s conftest.err
10256 }; then
10257 ac_header_preproc=yes
10258 else
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.$ac_ext >&5
10262 ac_header_preproc=no
10265 rm -f conftest.err conftest.$ac_ext
10266 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10267 echo "${ECHO_T}$ac_header_preproc" >&6; }
10269 # So? What about this header?
10270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10271 yes:no: )
10272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10273 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10275 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10276 ac_header_preproc=yes
10278 no:yes:* )
10279 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10280 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10282 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10284 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10286 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10288 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10289 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10290 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10291 ( cat <<\_ASBOX
10292 ## ------------------------------------ ##
10293 ## Report this to wine-devel@winehq.org ##
10294 ## ------------------------------------ ##
10295 _ASBOX
10296 ) | sed "s/^/$as_me: WARNING: /" >&2
10298 esac
10299 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10300 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10301 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 else
10304 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10306 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10307 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10310 if test $ac_cv_header_gphoto2_camera_h = yes; then
10311 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10312 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10313 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10315 else
10316 ac_check_lib_save_LIBS=$LIBS
10317 LIBS="-lgphoto2 $LIBS"
10318 cat >conftest.$ac_ext <<_ACEOF
10319 /* confdefs.h. */
10320 _ACEOF
10321 cat confdefs.h >>conftest.$ac_ext
10322 cat >>conftest.$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10328 #ifdef __cplusplus
10329 extern "C"
10330 #endif
10331 char gp_camera_new ();
10333 main ()
10335 return gp_camera_new ();
10337 return 0;
10339 _ACEOF
10340 rm -f conftest.$ac_objext conftest$ac_exeext
10341 if { (ac_try="$ac_link"
10342 case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10345 esac
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_link") 2>conftest.er1
10348 ac_status=$?
10349 grep -v '^ *+' conftest.er1 >conftest.err
10350 rm -f conftest.er1
10351 cat conftest.err >&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } && {
10354 test -z "$ac_c_werror_flag" ||
10355 test ! -s conftest.err
10356 } && test -s conftest$ac_exeext &&
10357 $as_test_x conftest$ac_exeext; then
10358 ac_cv_lib_gphoto2_gp_camera_new=yes
10359 else
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10363 ac_cv_lib_gphoto2_gp_camera_new=no
10366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10367 conftest$ac_exeext conftest.$ac_ext
10368 LIBS=$ac_check_lib_save_LIBS
10370 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10371 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10372 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10374 cat >>confdefs.h <<\_ACEOF
10375 #define HAVE_GPHOTO2 1
10376 _ACEOF
10378 else
10379 GPHOTO2LIBS=""
10380 GPHOTO2INCL=""
10383 else
10384 GPHOTO2LIBS=""
10385 GPHOTO2INCL=""
10389 LIBS="$ac_save_LIBS"
10390 CPPFLAGS="$ac_save_CPPFLAGS"
10393 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10394 then
10395 saved_libs="$LIBS"
10396 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10397 if test -n "$ICU_LIB_DIR"
10398 then
10399 icu_libs="-L$ICU_LIB_DIR $icu_libs"
10401 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10402 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10403 LIBS="$saved_libs $icu_libs"
10404 if test "$cross_compiling" = yes; then
10405 { echo "$as_me:$LINENO: result: no" >&5
10406 echo "${ECHO_T}no" >&6; }
10407 else
10408 cat >conftest.$ac_ext <<_ACEOF
10409 /* confdefs.h. */
10410 _ACEOF
10411 cat confdefs.h >>conftest.$ac_ext
10412 cat >>conftest.$ac_ext <<_ACEOF
10413 /* end confdefs.h. */
10414 #include <unicode/ubidi.h>
10416 main ()
10418 ubidi_open()
10420 return 0;
10422 _ACEOF
10423 rm -f conftest$ac_exeext
10424 if { (ac_try="$ac_link"
10425 case "(($ac_try" in
10426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10427 *) ac_try_echo=$ac_try;;
10428 esac
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_link") 2>&5
10431 ac_status=$?
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10434 { (case "(($ac_try" in
10435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10436 *) ac_try_echo=$ac_try;;
10437 esac
10438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10439 (eval "$ac_try") 2>&5
10440 ac_status=$?
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10444 cat >>confdefs.h <<\_ACEOF
10445 #define HAVE_ICU 1
10446 _ACEOF
10448 ICULIBS="$icu_libs"
10450 { echo "$as_me:$LINENO: result: yes" >&5
10451 echo "${ECHO_T}yes" >&6; }
10452 else
10453 echo "$as_me: program exited with status $ac_status" >&5
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.$ac_ext >&5
10457 ( exit $ac_status )
10458 { echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6; }
10461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10465 LIBS="$saved_libs"
10468 RESOLVLIBS=""
10470 if test "$ac_cv_header_resolv_h" = "yes"
10471 then
10472 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10473 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10474 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 else
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lresolv $LIBS"
10479 cat >conftest.$ac_ext <<_ACEOF
10480 /* confdefs.h. */
10481 _ACEOF
10482 cat confdefs.h >>conftest.$ac_ext
10483 cat >>conftest.$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10489 #ifdef __cplusplus
10490 extern "C"
10491 #endif
10492 char res_query ();
10494 main ()
10496 return res_query ();
10498 return 0;
10500 _ACEOF
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (ac_try="$ac_link"
10503 case "(($ac_try" in
10504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10505 *) ac_try_echo=$ac_try;;
10506 esac
10507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10508 (eval "$ac_link") 2>conftest.er1
10509 ac_status=$?
10510 grep -v '^ *+' conftest.er1 >conftest.err
10511 rm -f conftest.er1
10512 cat conftest.err >&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } && {
10515 test -z "$ac_c_werror_flag" ||
10516 test ! -s conftest.err
10517 } && test -s conftest$ac_exeext &&
10518 $as_test_x conftest$ac_exeext; then
10519 ac_cv_lib_resolv_res_query=yes
10520 else
10521 echo "$as_me: failed program was:" >&5
10522 sed 's/^/| /' conftest.$ac_ext >&5
10524 ac_cv_lib_resolv_res_query=no
10527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10528 conftest$ac_exeext conftest.$ac_ext
10529 LIBS=$ac_check_lib_save_LIBS
10531 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10532 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10533 if test $ac_cv_lib_resolv_res_query = yes; then
10535 cat >>confdefs.h <<\_ACEOF
10536 #define HAVE_RESOLV 1
10537 _ACEOF
10539 RESOLVLIBS="-lresolv"
10544 LCMSLIBS=""
10546 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10547 then
10548 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10549 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10550 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10551 echo $ECHO_N "(cached) $ECHO_C" >&6
10552 else
10553 ac_check_lib_save_LIBS=$LIBS
10554 LIBS="-llcms $LIBS"
10555 cat >conftest.$ac_ext <<_ACEOF
10556 /* confdefs.h. */
10557 _ACEOF
10558 cat confdefs.h >>conftest.$ac_ext
10559 cat >>conftest.$ac_ext <<_ACEOF
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10565 #ifdef __cplusplus
10566 extern "C"
10567 #endif
10568 char cmsOpenProfileFromFile ();
10570 main ()
10572 return cmsOpenProfileFromFile ();
10574 return 0;
10576 _ACEOF
10577 rm -f conftest.$ac_objext conftest$ac_exeext
10578 if { (ac_try="$ac_link"
10579 case "(($ac_try" in
10580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10581 *) ac_try_echo=$ac_try;;
10582 esac
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_link") 2>conftest.er1
10585 ac_status=$?
10586 grep -v '^ *+' conftest.er1 >conftest.err
10587 rm -f conftest.er1
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } && {
10591 test -z "$ac_c_werror_flag" ||
10592 test ! -s conftest.err
10593 } && test -s conftest$ac_exeext &&
10594 $as_test_x conftest$ac_exeext; then
10595 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10596 else
10597 echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.$ac_ext >&5
10600 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_lib_save_LIBS
10607 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10608 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10609 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10611 cat >>confdefs.h <<\_ACEOF
10612 #define HAVE_LCMS 1
10613 _ACEOF
10615 LCMSLIBS="-llcms"
10620 LDAPLIBS=""
10622 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10623 then
10624 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10625 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10626 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 else
10629 ac_check_lib_save_LIBS=$LIBS
10630 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10641 #ifdef __cplusplus
10642 extern "C"
10643 #endif
10644 char ldap_initialize ();
10646 main ()
10648 return ldap_initialize ();
10650 return 0;
10652 _ACEOF
10653 rm -f conftest.$ac_objext conftest$ac_exeext
10654 if { (ac_try="$ac_link"
10655 case "(($ac_try" in
10656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 *) ac_try_echo=$ac_try;;
10658 esac
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_link") 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } && {
10667 test -z "$ac_c_werror_flag" ||
10668 test ! -s conftest.err
10669 } && test -s conftest$ac_exeext &&
10670 $as_test_x conftest$ac_exeext; then
10671 ac_cv_lib_ldap_r_ldap_initialize=yes
10672 else
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.$ac_ext >&5
10676 ac_cv_lib_ldap_r_ldap_initialize=no
10679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10680 conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_lib_save_LIBS
10683 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10684 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10685 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10686 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10687 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10688 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 else
10691 ac_check_lib_save_LIBS=$LIBS
10692 LIBS="-llber $LIBPTHREAD $LIBS"
10693 cat >conftest.$ac_ext <<_ACEOF
10694 /* confdefs.h. */
10695 _ACEOF
10696 cat confdefs.h >>conftest.$ac_ext
10697 cat >>conftest.$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10703 #ifdef __cplusplus
10704 extern "C"
10705 #endif
10706 char ber_init ();
10708 main ()
10710 return ber_init ();
10712 return 0;
10714 _ACEOF
10715 rm -f conftest.$ac_objext conftest$ac_exeext
10716 if { (ac_try="$ac_link"
10717 case "(($ac_try" in
10718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10719 *) ac_try_echo=$ac_try;;
10720 esac
10721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10722 (eval "$ac_link") 2>conftest.er1
10723 ac_status=$?
10724 grep -v '^ *+' conftest.er1 >conftest.err
10725 rm -f conftest.er1
10726 cat conftest.err >&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } && {
10729 test -z "$ac_c_werror_flag" ||
10730 test ! -s conftest.err
10731 } && test -s conftest$ac_exeext &&
10732 $as_test_x conftest$ac_exeext; then
10733 ac_cv_lib_lber_ber_init=yes
10734 else
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.$ac_ext >&5
10738 ac_cv_lib_lber_ber_init=no
10741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10746 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10747 if test $ac_cv_lib_lber_ber_init = yes; then
10749 cat >>confdefs.h <<\_ACEOF
10750 #define HAVE_LDAP 1
10751 _ACEOF
10753 LDAPLIBS="-lldap_r -llber"
10758 ac_wine_check_funcs_save_LIBS="$LIBS"
10759 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10764 for ac_func in \
10765 ldap_count_references \
10766 ldap_first_reference \
10767 ldap_next_reference \
10768 ldap_parse_reference
10770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 else
10776 cat >conftest.$ac_ext <<_ACEOF
10777 /* confdefs.h. */
10778 _ACEOF
10779 cat confdefs.h >>conftest.$ac_ext
10780 cat >>conftest.$ac_ext <<_ACEOF
10781 /* end confdefs.h. */
10782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10784 #define $ac_func innocuous_$ac_func
10786 /* System header to define __stub macros and hopefully few prototypes,
10787 which can conflict with char $ac_func (); below.
10788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10789 <limits.h> exists even on freestanding compilers. */
10791 #ifdef __STDC__
10792 # include <limits.h>
10793 #else
10794 # include <assert.h>
10795 #endif
10797 #undef $ac_func
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char $ac_func ();
10806 /* The GNU C library defines this for functions which it implements
10807 to always fail with ENOSYS. Some functions are actually named
10808 something starting with __ and the normal name is an alias. */
10809 #if defined __stub_$ac_func || defined __stub___$ac_func
10810 choke me
10811 #endif
10814 main ()
10816 return $ac_func ();
10818 return 0;
10820 _ACEOF
10821 rm -f conftest.$ac_objext conftest$ac_exeext
10822 if { (ac_try="$ac_link"
10823 case "(($ac_try" in
10824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10825 *) ac_try_echo=$ac_try;;
10826 esac
10827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10828 (eval "$ac_link") 2>conftest.er1
10829 ac_status=$?
10830 grep -v '^ *+' conftest.er1 >conftest.err
10831 rm -f conftest.er1
10832 cat conftest.err >&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } && {
10835 test -z "$ac_c_werror_flag" ||
10836 test ! -s conftest.err
10837 } && test -s conftest$ac_exeext &&
10838 $as_test_x conftest$ac_exeext; then
10839 eval "$as_ac_var=yes"
10840 else
10841 echo "$as_me: failed program was:" >&5
10842 sed 's/^/| /' conftest.$ac_ext >&5
10844 eval "$as_ac_var=no"
10847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10848 conftest$ac_exeext conftest.$ac_ext
10850 ac_res=`eval echo '${'$as_ac_var'}'`
10851 { echo "$as_me:$LINENO: result: $ac_res" >&5
10852 echo "${ECHO_T}$ac_res" >&6; }
10853 if test `eval echo '${'$as_ac_var'}'` = yes; then
10854 cat >>confdefs.h <<_ACEOF
10855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10856 _ACEOF
10859 done
10861 LIBS="$ac_wine_check_funcs_save_LIBS"
10864 FREETYPELIBS=""
10866 FREETYPEINCL=""
10868 # Extract the first word of "freetype-config", so it can be a program name with args.
10869 set dummy freetype-config; ac_word=$2
10870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10872 if test "${ac_cv_prog_ft_devel+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875 if test -n "$ft_devel"; then
10876 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10877 else
10878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10879 for as_dir in $PATH
10881 IFS=$as_save_IFS
10882 test -z "$as_dir" && as_dir=.
10883 for ac_exec_ext in '' $ac_executable_extensions; do
10884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10885 ac_cv_prog_ft_devel="freetype-config"
10886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10887 break 2
10889 done
10890 done
10891 IFS=$as_save_IFS
10893 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10896 ft_devel=$ac_cv_prog_ft_devel
10897 if test -n "$ft_devel"; then
10898 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10899 echo "${ECHO_T}$ft_devel" >&6; }
10900 else
10901 { echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6; }
10906 if test "$ft_devel" = "no"
10907 then
10908 # Extract the first word of "freetype2-config", so it can be a program name with args.
10909 set dummy freetype2-config; ac_word=$2
10910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10912 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 else
10915 if test -n "$ft_devel2"; then
10916 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10917 else
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10921 IFS=$as_save_IFS
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10925 ac_cv_prog_ft_devel2="freetype2-config"
10926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10927 break 2
10929 done
10930 done
10931 IFS=$as_save_IFS
10933 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10936 ft_devel2=$ac_cv_prog_ft_devel2
10937 if test -n "$ft_devel2"; then
10938 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10939 echo "${ECHO_T}$ft_devel2" >&6; }
10940 else
10941 { echo "$as_me:$LINENO: result: no" >&5
10942 echo "${ECHO_T}no" >&6; }
10946 if test "$ft_devel2" = "freetype2-config"
10947 then
10948 ft_devel=$ft_devel2
10952 if test "$ft_devel" = "no"
10953 then
10954 wine_cv_msg_freetype=yes
10955 else
10956 FREETYPELIBS=`$ft_devel --libs`
10957 FREETYPEINCL=`$ft_devel --cflags`
10958 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10959 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10960 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 else
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10965 cat >conftest.$ac_ext <<_ACEOF
10966 /* confdefs.h. */
10967 _ACEOF
10968 cat confdefs.h >>conftest.$ac_ext
10969 cat >>conftest.$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10975 #ifdef __cplusplus
10976 extern "C"
10977 #endif
10978 char FT_Init_FreeType ();
10980 main ()
10982 return FT_Init_FreeType ();
10984 return 0;
10986 _ACEOF
10987 rm -f conftest.$ac_objext conftest$ac_exeext
10988 if { (ac_try="$ac_link"
10989 case "(($ac_try" in
10990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10992 esac
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_link") 2>conftest.er1
10995 ac_status=$?
10996 grep -v '^ *+' conftest.er1 >conftest.err
10997 rm -f conftest.er1
10998 cat conftest.err >&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && {
11001 test -z "$ac_c_werror_flag" ||
11002 test ! -s conftest.err
11003 } && test -s conftest$ac_exeext &&
11004 $as_test_x conftest$ac_exeext; then
11005 ac_cv_lib_freetype_FT_Init_FreeType=yes
11006 else
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11010 ac_cv_lib_freetype_FT_Init_FreeType=no
11013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11018 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11019 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11020 ft_lib=yes
11021 else
11022 ft_lib=no
11025 if test "$ft_lib" = "no"
11026 then
11027 wine_cv_msg_freetype=yes
11028 FREETYPELIBS=""
11029 FREETYPEINCL=""
11030 else
11031 ac_save_CPPFLAGS="$CPPFLAGS"
11032 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11044 for ac_header in ft2build.h \
11045 freetype/freetype.h \
11046 freetype/ftglyph.h \
11047 freetype/tttables.h \
11048 freetype/ftnames.h \
11049 freetype/ftsnames.h \
11050 freetype/ttnameid.h \
11051 freetype/ftoutln.h \
11052 freetype/ftwinfnt.h \
11053 freetype/ftmodapi.h \
11054 freetype/internal/sfnt.h
11056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 else
11062 cat >conftest.$ac_ext <<_ACEOF
11063 /* confdefs.h. */
11064 _ACEOF
11065 cat confdefs.h >>conftest.$ac_ext
11066 cat >>conftest.$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11068 #if HAVE_FT2BUILD_H
11069 #include <ft2build.h>
11070 #endif
11072 #include <$ac_header>
11073 _ACEOF
11074 rm -f conftest.$ac_objext
11075 if { (ac_try="$ac_compile"
11076 case "(($ac_try" in
11077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11078 *) ac_try_echo=$ac_try;;
11079 esac
11080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11081 (eval "$ac_compile") 2>conftest.er1
11082 ac_status=$?
11083 grep -v '^ *+' conftest.er1 >conftest.err
11084 rm -f conftest.er1
11085 cat conftest.err >&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && {
11088 test -z "$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11090 } && test -s conftest.$ac_objext; then
11091 eval "$as_ac_Header=yes"
11092 else
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.$ac_ext >&5
11096 eval "$as_ac_Header=no"
11099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11101 ac_res=`eval echo '${'$as_ac_Header'}'`
11102 { echo "$as_me:$LINENO: result: $ac_res" >&5
11103 echo "${ECHO_T}$ac_res" >&6; }
11104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11105 cat >>confdefs.h <<_ACEOF
11106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11107 _ACEOF
11111 done
11113 cat >conftest.$ac_ext <<_ACEOF
11114 /* confdefs.h. */
11115 _ACEOF
11116 cat confdefs.h >>conftest.$ac_ext
11117 cat >>conftest.$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 #include <ft2build.h>
11120 #include <freetype/fttrigon.h>
11121 _ACEOF
11122 if { (ac_try="$ac_cpp conftest.$ac_ext"
11123 case "(($ac_try" in
11124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11125 *) ac_try_echo=$ac_try;;
11126 esac
11127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11129 ac_status=$?
11130 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1
11132 cat conftest.err >&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } >/dev/null && {
11135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11136 test ! -s conftest.err
11137 }; then
11139 cat >>confdefs.h <<\_ACEOF
11140 #define HAVE_FREETYPE_FTTRIGON_H 1
11141 _ACEOF
11143 wine_cv_fttrigon=yes
11144 else
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 wine_cv_fttrigon=no
11151 rm -f conftest.err conftest.$ac_ext
11152 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11153 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11154 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 else
11157 cat >conftest.$ac_ext <<_ACEOF
11158 /* confdefs.h. */
11159 _ACEOF
11160 cat confdefs.h >>conftest.$ac_ext
11161 cat >>conftest.$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11163 #include <freetype/ftmodapi.h>
11165 typedef FT_TrueTypeEngineType ac__type_new_;
11167 main ()
11169 if ((ac__type_new_ *) 0)
11170 return 0;
11171 if (sizeof (ac__type_new_))
11172 return 0;
11174 return 0;
11176 _ACEOF
11177 rm -f conftest.$ac_objext
11178 if { (ac_try="$ac_compile"
11179 case "(($ac_try" in
11180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11181 *) ac_try_echo=$ac_try;;
11182 esac
11183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11184 (eval "$ac_compile") 2>conftest.er1
11185 ac_status=$?
11186 grep -v '^ *+' conftest.er1 >conftest.err
11187 rm -f conftest.er1
11188 cat conftest.err >&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); } && {
11191 test -z "$ac_c_werror_flag" ||
11192 test ! -s conftest.err
11193 } && test -s conftest.$ac_objext; then
11194 ac_cv_type_FT_TrueTypeEngineType=yes
11195 else
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.$ac_ext >&5
11199 ac_cv_type_FT_TrueTypeEngineType=no
11202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11204 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11205 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11206 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11208 cat >>confdefs.h <<_ACEOF
11209 #define HAVE_FT_TRUETYPEENGINETYPE 1
11210 _ACEOF
11215 ac_save_CFLAGS="$CFLAGS"
11216 CFLAGS="$CFLAGS $FREETYPELIBS"
11218 for ac_func in FT_Load_Sfnt_Table
11220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 else
11226 cat >conftest.$ac_ext <<_ACEOF
11227 /* confdefs.h. */
11228 _ACEOF
11229 cat confdefs.h >>conftest.$ac_ext
11230 cat >>conftest.$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11234 #define $ac_func innocuous_$ac_func
11236 /* System header to define __stub macros and hopefully few prototypes,
11237 which can conflict with char $ac_func (); below.
11238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11239 <limits.h> exists even on freestanding compilers. */
11241 #ifdef __STDC__
11242 # include <limits.h>
11243 #else
11244 # include <assert.h>
11245 #endif
11247 #undef $ac_func
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11252 #ifdef __cplusplus
11253 extern "C"
11254 #endif
11255 char $ac_func ();
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined __stub_$ac_func || defined __stub___$ac_func
11260 choke me
11261 #endif
11264 main ()
11266 return $ac_func ();
11268 return 0;
11270 _ACEOF
11271 rm -f conftest.$ac_objext conftest$ac_exeext
11272 if { (ac_try="$ac_link"
11273 case "(($ac_try" in
11274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11275 *) ac_try_echo=$ac_try;;
11276 esac
11277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11278 (eval "$ac_link") 2>conftest.er1
11279 ac_status=$?
11280 grep -v '^ *+' conftest.er1 >conftest.err
11281 rm -f conftest.er1
11282 cat conftest.err >&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } && {
11285 test -z "$ac_c_werror_flag" ||
11286 test ! -s conftest.err
11287 } && test -s conftest$ac_exeext &&
11288 $as_test_x conftest$ac_exeext; then
11289 eval "$as_ac_var=yes"
11290 else
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.$ac_ext >&5
11294 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11298 conftest$ac_exeext conftest.$ac_ext
11300 ac_res=`eval echo '${'$as_ac_var'}'`
11301 { echo "$as_me:$LINENO: result: $ac_res" >&5
11302 echo "${ECHO_T}$ac_res" >&6; }
11303 if test `eval echo '${'$as_ac_var'}'` = yes; then
11304 cat >>confdefs.h <<_ACEOF
11305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11306 _ACEOF
11309 done
11311 CFLAGS="$ac_save_CFLAGS"
11312 CPPFLAGS="$ac_save_CPPFLAGS"
11313 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11314 then
11316 cat >>confdefs.h <<\_ACEOF
11317 #define HAVE_FREETYPE 1
11318 _ACEOF
11320 wine_cv_msg_freetype=no
11321 else
11322 FREETYPELIBS=""
11323 FREETYPEINCL=""
11324 wine_cv_msg_freetype=yes
11329 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11330 then
11331 FONTSSUBDIRS="fonts"
11335 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11336 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11337 if test "${ac_cv_c_ppdev+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 else
11340 cat >conftest.$ac_ext <<_ACEOF
11341 /* confdefs.h. */
11342 _ACEOF
11343 cat confdefs.h >>conftest.$ac_ext
11344 cat >>conftest.$ac_ext <<_ACEOF
11345 /* end confdefs.h. */
11346 #include <linux/ppdev.h>
11348 main ()
11350 ioctl (1,PPCLAIM,0)
11352 return 0;
11354 _ACEOF
11355 rm -f conftest.$ac_objext
11356 if { (ac_try="$ac_compile"
11357 case "(($ac_try" in
11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11360 esac
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_compile") 2>conftest.er1
11363 ac_status=$?
11364 grep -v '^ *+' conftest.er1 >conftest.err
11365 rm -f conftest.er1
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && {
11369 test -z "$ac_c_werror_flag" ||
11370 test ! -s conftest.err
11371 } && test -s conftest.$ac_objext; then
11372 ac_cv_c_ppdev="yes"
11373 else
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.$ac_ext >&5
11377 ac_cv_c_ppdev="no"
11380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11382 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11383 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11384 if test "$ac_cv_c_ppdev" = "yes"
11385 then
11387 cat >>confdefs.h <<\_ACEOF
11388 #define HAVE_PPDEV 1
11389 _ACEOF
11393 { echo "$as_me:$LINENO: checking for va_copy" >&5
11394 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11395 if test "${ac_cv_c_va_copy+set}" = set; then
11396 echo $ECHO_N "(cached) $ECHO_C" >&6
11397 else
11398 cat >conftest.$ac_ext <<_ACEOF
11399 /* confdefs.h. */
11400 _ACEOF
11401 cat confdefs.h >>conftest.$ac_ext
11402 cat >>conftest.$ac_ext <<_ACEOF
11403 /* end confdefs.h. */
11404 #include <stdarg.h>
11406 main ()
11408 va_list ap1, ap2; va_copy(ap1,ap2);
11410 return 0;
11412 _ACEOF
11413 rm -f conftest.$ac_objext conftest$ac_exeext
11414 if { (ac_try="$ac_link"
11415 case "(($ac_try" in
11416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11418 esac
11419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_link") 2>conftest.er1
11421 ac_status=$?
11422 grep -v '^ *+' conftest.er1 >conftest.err
11423 rm -f conftest.er1
11424 cat conftest.err >&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } && {
11427 test -z "$ac_c_werror_flag" ||
11428 test ! -s conftest.err
11429 } && test -s conftest$ac_exeext &&
11430 $as_test_x conftest$ac_exeext; then
11431 ac_cv_c_va_copy="yes"
11432 else
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11436 ac_cv_c_va_copy="no"
11439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11440 conftest$ac_exeext conftest.$ac_ext
11443 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11444 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11445 if test "$ac_cv_c_va_copy" = "yes"
11446 then
11448 cat >>confdefs.h <<\_ACEOF
11449 #define HAVE_VA_COPY 1
11450 _ACEOF
11453 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11454 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11455 if test "${ac_cv_c___va_copy+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11457 else
11458 cat >conftest.$ac_ext <<_ACEOF
11459 /* confdefs.h. */
11460 _ACEOF
11461 cat confdefs.h >>conftest.$ac_ext
11462 cat >>conftest.$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 #include <stdarg.h>
11466 main ()
11468 va_list ap1, ap2; __va_copy(ap1,ap2);
11470 return 0;
11472 _ACEOF
11473 rm -f conftest.$ac_objext conftest$ac_exeext
11474 if { (ac_try="$ac_link"
11475 case "(($ac_try" in
11476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11477 *) ac_try_echo=$ac_try;;
11478 esac
11479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11480 (eval "$ac_link") 2>conftest.er1
11481 ac_status=$?
11482 grep -v '^ *+' conftest.er1 >conftest.err
11483 rm -f conftest.er1
11484 cat conftest.err >&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); } && {
11487 test -z "$ac_c_werror_flag" ||
11488 test ! -s conftest.err
11489 } && test -s conftest$ac_exeext &&
11490 $as_test_x conftest$ac_exeext; then
11491 ac_cv_c___va_copy="yes"
11492 else
11493 echo "$as_me: failed program was:" >&5
11494 sed 's/^/| /' conftest.$ac_ext >&5
11496 ac_cv_c___va_copy="no"
11499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11500 conftest$ac_exeext conftest.$ac_ext
11503 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11504 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11505 if test "$ac_cv_c___va_copy" = "yes"
11506 then
11508 cat >>confdefs.h <<\_ACEOF
11509 #define HAVE___VA_COPY 1
11510 _ACEOF
11514 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11515 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11516 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 else
11519 cat >conftest.$ac_ext <<_ACEOF
11520 /* confdefs.h. */
11521 _ACEOF
11522 cat confdefs.h >>conftest.$ac_ext
11523 cat >>conftest.$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <setjmp.h>
11527 main ()
11529 sigjmp_buf buf;
11530 sigsetjmp( buf, 1 );
11531 siglongjmp( buf, 1 );
11533 return 0;
11535 _ACEOF
11536 rm -f conftest.$ac_objext conftest$ac_exeext
11537 if { (ac_try="$ac_link"
11538 case "(($ac_try" in
11539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11540 *) ac_try_echo=$ac_try;;
11541 esac
11542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11543 (eval "$ac_link") 2>conftest.er1
11544 ac_status=$?
11545 grep -v '^ *+' conftest.er1 >conftest.err
11546 rm -f conftest.er1
11547 cat conftest.err >&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); } && {
11550 test -z "$ac_c_werror_flag" ||
11551 test ! -s conftest.err
11552 } && test -s conftest$ac_exeext &&
11553 $as_test_x conftest$ac_exeext; then
11554 ac_cv_c_sigsetjmp="yes"
11555 else
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 ac_cv_c_sigsetjmp="no"
11562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11563 conftest$ac_exeext conftest.$ac_ext
11566 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11567 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11568 if test "$ac_cv_c_sigsetjmp" = "yes"
11569 then
11571 cat >>confdefs.h <<\_ACEOF
11572 #define HAVE_SIGSETJMP 1
11573 _ACEOF
11577 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11578 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11579 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11580 echo $ECHO_N "(cached) $ECHO_C" >&6
11581 else
11582 cat >conftest.$ac_ext <<_ACEOF
11583 /* confdefs.h. */
11584 _ACEOF
11585 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11588 #define _GNU_SOURCE
11589 #include <pthread.h>
11591 typedef pthread_rwlock_t ac__type_new_;
11593 main ()
11595 if ((ac__type_new_ *) 0)
11596 return 0;
11597 if (sizeof (ac__type_new_))
11598 return 0;
11600 return 0;
11602 _ACEOF
11603 rm -f conftest.$ac_objext
11604 if { (ac_try="$ac_compile"
11605 case "(($ac_try" in
11606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11607 *) ac_try_echo=$ac_try;;
11608 esac
11609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11610 (eval "$ac_compile") 2>conftest.er1
11611 ac_status=$?
11612 grep -v '^ *+' conftest.er1 >conftest.err
11613 rm -f conftest.er1
11614 cat conftest.err >&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); } && {
11617 test -z "$ac_c_werror_flag" ||
11618 test ! -s conftest.err
11619 } && test -s conftest.$ac_objext; then
11620 ac_cv_type_pthread_rwlock_t=yes
11621 else
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.$ac_ext >&5
11625 ac_cv_type_pthread_rwlock_t=no
11628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11630 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11631 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11632 if test $ac_cv_type_pthread_rwlock_t = yes; then
11634 cat >>confdefs.h <<_ACEOF
11635 #define HAVE_PTHREAD_RWLOCK_T 1
11636 _ACEOF
11640 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11641 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11642 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 else
11645 cat >conftest.$ac_ext <<_ACEOF
11646 /* confdefs.h. */
11647 _ACEOF
11648 cat confdefs.h >>conftest.$ac_ext
11649 cat >>conftest.$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 #define _GNU_SOURCE
11652 #include <pthread.h>
11654 typedef pthread_rwlockattr_t ac__type_new_;
11656 main ()
11658 if ((ac__type_new_ *) 0)
11659 return 0;
11660 if (sizeof (ac__type_new_))
11661 return 0;
11663 return 0;
11665 _ACEOF
11666 rm -f conftest.$ac_objext
11667 if { (ac_try="$ac_compile"
11668 case "(($ac_try" in
11669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11671 esac
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_compile") 2>conftest.er1
11674 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } && {
11680 test -z "$ac_c_werror_flag" ||
11681 test ! -s conftest.err
11682 } && test -s conftest.$ac_objext; then
11683 ac_cv_type_pthread_rwlockattr_t=yes
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_cv_type_pthread_rwlockattr_t=no
11691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11693 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11694 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11695 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11697 cat >>confdefs.h <<_ACEOF
11698 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11699 _ACEOF
11705 ac_wine_check_funcs_save_LIBS="$LIBS"
11706 LIBS="$LIBS $LIBPTHREAD"
11711 for ac_func in \
11712 pthread_attr_get_np \
11713 pthread_getattr_np \
11714 pthread_get_stackaddr_np \
11715 pthread_get_stacksize_np
11717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 else
11723 cat >conftest.$ac_ext <<_ACEOF
11724 /* confdefs.h. */
11725 _ACEOF
11726 cat confdefs.h >>conftest.$ac_ext
11727 cat >>conftest.$ac_ext <<_ACEOF
11728 /* end confdefs.h. */
11729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11731 #define $ac_func innocuous_$ac_func
11733 /* System header to define __stub macros and hopefully few prototypes,
11734 which can conflict with char $ac_func (); below.
11735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11736 <limits.h> exists even on freestanding compilers. */
11738 #ifdef __STDC__
11739 # include <limits.h>
11740 #else
11741 # include <assert.h>
11742 #endif
11744 #undef $ac_func
11746 /* Override any GCC internal prototype to avoid an error.
11747 Use char because int might match the return type of a GCC
11748 builtin and then its argument prototype would still apply. */
11749 #ifdef __cplusplus
11750 extern "C"
11751 #endif
11752 char $ac_func ();
11753 /* The GNU C library defines this for functions which it implements
11754 to always fail with ENOSYS. Some functions are actually named
11755 something starting with __ and the normal name is an alias. */
11756 #if defined __stub_$ac_func || defined __stub___$ac_func
11757 choke me
11758 #endif
11761 main ()
11763 return $ac_func ();
11765 return 0;
11767 _ACEOF
11768 rm -f conftest.$ac_objext conftest$ac_exeext
11769 if { (ac_try="$ac_link"
11770 case "(($ac_try" in
11771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11773 esac
11774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11775 (eval "$ac_link") 2>conftest.er1
11776 ac_status=$?
11777 grep -v '^ *+' conftest.er1 >conftest.err
11778 rm -f conftest.er1
11779 cat conftest.err >&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } && {
11782 test -z "$ac_c_werror_flag" ||
11783 test ! -s conftest.err
11784 } && test -s conftest$ac_exeext &&
11785 $as_test_x conftest$ac_exeext; then
11786 eval "$as_ac_var=yes"
11787 else
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11791 eval "$as_ac_var=no"
11794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11795 conftest$ac_exeext conftest.$ac_ext
11797 ac_res=`eval echo '${'$as_ac_var'}'`
11798 { echo "$as_me:$LINENO: result: $ac_res" >&5
11799 echo "${ECHO_T}$ac_res" >&6; }
11800 if test `eval echo '${'$as_ac_var'}'` = yes; then
11801 cat >>confdefs.h <<_ACEOF
11802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11803 _ACEOF
11806 done
11808 LIBS="$ac_wine_check_funcs_save_LIBS"
11810 # Extract the first word of "esd-config", so it can be a program name with args.
11811 set dummy esd-config; ac_word=$2
11812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11814 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11816 else
11817 case $ESDCONFIG in
11818 [\\/]* | ?:[\\/]*)
11819 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11823 for as_dir in $PATH
11825 IFS=$as_save_IFS
11826 test -z "$as_dir" && as_dir=.
11827 for ac_exec_ext in '' $ac_executable_extensions; do
11828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11829 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11831 break 2
11833 done
11834 done
11835 IFS=$as_save_IFS
11838 esac
11840 ESDCONFIG=$ac_cv_path_ESDCONFIG
11841 if test -n "$ESDCONFIG"; then
11842 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11843 echo "${ECHO_T}$ESDCONFIG" >&6; }
11844 else
11845 { echo "$as_me:$LINENO: result: no" >&5
11846 echo "${ECHO_T}no" >&6; }
11850 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11851 then
11852 ESD_CFLAGS=""
11853 for i in `$ESDCONFIG --cflags`
11855 case "$i" in
11856 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11857 esac
11858 done
11859 ESD_LIBS=`$ESDCONFIG --libs`
11860 save_CFLAGS="$CFLAGS"
11861 CFLAGS="$CFLAGS $ESD_CFLAGS"
11862 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11863 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11864 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11865 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 else
11867 ac_check_lib_save_LIBS=$LIBS
11868 LIBS="-lesd $LIBS"
11869 cat >conftest.$ac_ext <<_ACEOF
11870 /* confdefs.h. */
11871 _ACEOF
11872 cat confdefs.h >>conftest.$ac_ext
11873 cat >>conftest.$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11879 #ifdef __cplusplus
11880 extern "C"
11881 #endif
11882 char esd_open_sound ();
11884 main ()
11886 return esd_open_sound ();
11888 return 0;
11890 _ACEOF
11891 rm -f conftest.$ac_objext conftest$ac_exeext
11892 if { (ac_try="$ac_link"
11893 case "(($ac_try" in
11894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11895 *) ac_try_echo=$ac_try;;
11896 esac
11897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11898 (eval "$ac_link") 2>conftest.er1
11899 ac_status=$?
11900 grep -v '^ *+' conftest.er1 >conftest.err
11901 rm -f conftest.er1
11902 cat conftest.err >&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } && {
11905 test -z "$ac_c_werror_flag" ||
11906 test ! -s conftest.err
11907 } && test -s conftest$ac_exeext &&
11908 $as_test_x conftest$ac_exeext; then
11909 ac_cv_lib_esd_esd_open_sound=yes
11910 else
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11914 ac_cv_lib_esd_esd_open_sound=no
11917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11918 conftest$ac_exeext conftest.$ac_ext
11919 LIBS=$ac_check_lib_save_LIBS
11921 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11922 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11923 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11924 ESDLIBS=$ESD_LIBS
11926 ESDINCL=$ESD_CFLAGS
11929 cat >>confdefs.h <<\_ACEOF
11930 #define HAVE_ESD 1
11931 _ACEOF
11935 CFLAGS="$save_CFLAGS"
11938 ALSALIBS=""
11940 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11941 then
11942 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11943 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11944 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 else
11947 ac_check_lib_save_LIBS=$LIBS
11948 LIBS="-lasound $LIBS"
11949 cat >conftest.$ac_ext <<_ACEOF
11950 /* confdefs.h. */
11951 _ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11959 #ifdef __cplusplus
11960 extern "C"
11961 #endif
11962 char snd_pcm_hw_params_get_access ();
11964 main ()
11966 return snd_pcm_hw_params_get_access ();
11968 return 0;
11970 _ACEOF
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (ac_try="$ac_link"
11973 case "(($ac_try" in
11974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11975 *) ac_try_echo=$ac_try;;
11976 esac
11977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11978 (eval "$ac_link") 2>conftest.er1
11979 ac_status=$?
11980 grep -v '^ *+' conftest.er1 >conftest.err
11981 rm -f conftest.er1
11982 cat conftest.err >&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } && {
11985 test -z "$ac_c_werror_flag" ||
11986 test ! -s conftest.err
11987 } && test -s conftest$ac_exeext &&
11988 $as_test_x conftest$ac_exeext; then
11989 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11990 else
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.$ac_ext >&5
11994 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_lib_save_LIBS
12001 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12002 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12003 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12004 cat >conftest.$ac_ext <<_ACEOF
12005 /* confdefs.h. */
12006 _ACEOF
12007 cat confdefs.h >>conftest.$ac_ext
12008 cat >>conftest.$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12010 #ifdef HAVE_ALSA_ASOUNDLIB_H
12011 #include <alsa/asoundlib.h>
12012 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12013 #include <sys/asoundlib.h>
12014 #endif
12016 main ()
12018 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12020 return 0;
12022 _ACEOF
12023 rm -f conftest.$ac_objext
12024 if { (ac_try="$ac_compile"
12025 case "(($ac_try" in
12026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12027 *) ac_try_echo=$ac_try;;
12028 esac
12029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12030 (eval "$ac_compile") 2>conftest.er1
12031 ac_status=$?
12032 grep -v '^ *+' conftest.er1 >conftest.err
12033 rm -f conftest.er1
12034 cat conftest.err >&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } && {
12037 test -z "$ac_c_werror_flag" ||
12038 test ! -s conftest.err
12039 } && test -s conftest.$ac_objext; then
12041 cat >>confdefs.h <<\_ACEOF
12042 #define HAVE_ALSA 1
12043 _ACEOF
12045 ALSALIBS="-lasound"
12046 else
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12059 AUDIOIOLIBS=""
12061 if test "$ac_cv_header_libaudioio_h" = "yes"
12062 then
12063 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12064 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12065 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-laudioio $LIBS"
12070 cat >conftest.$ac_ext <<_ACEOF
12071 /* confdefs.h. */
12072 _ACEOF
12073 cat confdefs.h >>conftest.$ac_ext
12074 cat >>conftest.$ac_ext <<_ACEOF
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char AudioIOGetVersion ();
12085 main ()
12087 return AudioIOGetVersion ();
12089 return 0;
12091 _ACEOF
12092 rm -f conftest.$ac_objext conftest$ac_exeext
12093 if { (ac_try="$ac_link"
12094 case "(($ac_try" in
12095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12096 *) ac_try_echo=$ac_try;;
12097 esac
12098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12099 (eval "$ac_link") 2>conftest.er1
12100 ac_status=$?
12101 grep -v '^ *+' conftest.er1 >conftest.err
12102 rm -f conftest.er1
12103 cat conftest.err >&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && {
12106 test -z "$ac_c_werror_flag" ||
12107 test ! -s conftest.err
12108 } && test -s conftest$ac_exeext &&
12109 $as_test_x conftest$ac_exeext; then
12110 ac_cv_lib_audioio_AudioIOGetVersion=yes
12111 else
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.$ac_ext >&5
12115 ac_cv_lib_audioio_AudioIOGetVersion=no
12118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_lib_save_LIBS
12122 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12123 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12124 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12125 AUDIOIOLIBS="-laudioio"
12127 cat >>confdefs.h <<\_ACEOF
12128 #define HAVE_LIBAUDIOIO 1
12129 _ACEOF
12136 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12137 then
12138 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12139 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12140 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 else
12143 ac_check_lib_save_LIBS=$LIBS
12144 LIBS="-lcapi20 $LIBS"
12145 cat >conftest.$ac_ext <<_ACEOF
12146 /* confdefs.h. */
12147 _ACEOF
12148 cat confdefs.h >>conftest.$ac_ext
12149 cat >>conftest.$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char capi20_register ();
12160 main ()
12162 return capi20_register ();
12164 return 0;
12166 _ACEOF
12167 rm -f conftest.$ac_objext conftest$ac_exeext
12168 if { (ac_try="$ac_link"
12169 case "(($ac_try" in
12170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12171 *) ac_try_echo=$ac_try;;
12172 esac
12173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12174 (eval "$ac_link") 2>conftest.er1
12175 ac_status=$?
12176 grep -v '^ *+' conftest.er1 >conftest.err
12177 rm -f conftest.er1
12178 cat conftest.err >&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } && {
12181 test -z "$ac_c_werror_flag" ||
12182 test ! -s conftest.err
12183 } && test -s conftest$ac_exeext &&
12184 $as_test_x conftest$ac_exeext; then
12185 ac_cv_lib_capi20_capi20_register=yes
12186 else
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12190 ac_cv_lib_capi20_capi20_register=no
12193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12198 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12199 if test $ac_cv_lib_capi20_capi20_register = yes; then
12201 cat >>confdefs.h <<\_ACEOF
12202 #define HAVE_CAPI4LINUX 1
12203 _ACEOF
12210 EXTRACFLAGS=""
12212 if test "x${GCC}" = "xyes"
12213 then
12214 EXTRACFLAGS="-Wall -pipe"
12216 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12217 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12218 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 else
12221 if test "$cross_compiling" = yes; then
12222 ac_cv_c_gcc_strength_bug="yes"
12223 else
12224 cat >conftest.$ac_ext <<_ACEOF
12225 /* confdefs.h. */
12226 _ACEOF
12227 cat confdefs.h >>conftest.$ac_ext
12228 cat >>conftest.$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12230 int L[4] = {0,1,2,3};
12232 main ()
12234 static int Array[3];
12235 unsigned int B = 3;
12236 int i;
12237 for(i=0; i<B; i++) Array[i] = i - 3;
12238 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12239 L[i] = 4;
12240 exit( Array[1] != -2 || L[2] != 3)
12242 return 0;
12244 _ACEOF
12245 rm -f conftest$ac_exeext
12246 if { (ac_try="$ac_link"
12247 case "(($ac_try" in
12248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12249 *) ac_try_echo=$ac_try;;
12250 esac
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_link") 2>&5
12253 ac_status=$?
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12256 { (case "(($ac_try" in
12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12259 esac
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_try") 2>&5
12262 ac_status=$?
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; }; then
12265 ac_cv_c_gcc_strength_bug="no"
12266 else
12267 echo "$as_me: program exited with status $ac_status" >&5
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12271 ( exit $ac_status )
12272 ac_cv_c_gcc_strength_bug="yes"
12274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12279 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12280 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12281 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12282 then
12283 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12287 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12288 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12289 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12290 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 else
12292 ac_wine_try_cflags_saved=$CFLAGS
12293 CFLAGS="$CFLAGS -fshort-wchar"
12294 cat >conftest.$ac_ext <<_ACEOF
12295 /* confdefs.h. */
12296 _ACEOF
12297 cat confdefs.h >>conftest.$ac_ext
12298 cat >>conftest.$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12302 main ()
12306 return 0;
12308 _ACEOF
12309 rm -f conftest.$ac_objext conftest$ac_exeext
12310 if { (ac_try="$ac_link"
12311 case "(($ac_try" in
12312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12313 *) ac_try_echo=$ac_try;;
12314 esac
12315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12316 (eval "$ac_link") 2>conftest.er1
12317 ac_status=$?
12318 grep -v '^ *+' conftest.er1 >conftest.err
12319 rm -f conftest.er1
12320 cat conftest.err >&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } && {
12323 test -z "$ac_c_werror_flag" ||
12324 test ! -s conftest.err
12325 } && test -s conftest$ac_exeext &&
12326 $as_test_x conftest$ac_exeext; then
12327 ac_cv_cflags__fshort_wchar=yes
12328 else
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.$ac_ext >&5
12332 ac_cv_cflags__fshort_wchar=no
12335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12336 conftest$ac_exeext conftest.$ac_ext
12337 CFLAGS=$ac_wine_try_cflags_saved
12339 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12340 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12341 if test $ac_cv_cflags__fshort_wchar = yes; then
12343 cat >>confdefs.h <<\_ACEOF
12344 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12345 _ACEOF
12349 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12350 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12351 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12353 else
12354 ac_wine_try_cflags_saved=$CFLAGS
12355 CFLAGS="$CFLAGS -fno-strict-aliasing"
12356 cat >conftest.$ac_ext <<_ACEOF
12357 /* confdefs.h. */
12358 _ACEOF
12359 cat confdefs.h >>conftest.$ac_ext
12360 cat >>conftest.$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12364 main ()
12368 return 0;
12370 _ACEOF
12371 rm -f conftest.$ac_objext conftest$ac_exeext
12372 if { (ac_try="$ac_link"
12373 case "(($ac_try" in
12374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12376 esac
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_link") 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } && {
12385 test -z "$ac_c_werror_flag" ||
12386 test ! -s conftest.err
12387 } && test -s conftest$ac_exeext &&
12388 $as_test_x conftest$ac_exeext; then
12389 ac_cv_cflags__fno_strict_aliasing=yes
12390 else
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12394 ac_cv_cflags__fno_strict_aliasing=no
12397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12398 conftest$ac_exeext conftest.$ac_ext
12399 CFLAGS=$ac_wine_try_cflags_saved
12401 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12402 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12403 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12404 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12407 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12408 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12409 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 else
12412 ac_wine_try_cflags_saved=$CFLAGS
12413 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12414 cat >conftest.$ac_ext <<_ACEOF
12415 /* confdefs.h. */
12416 _ACEOF
12417 cat confdefs.h >>conftest.$ac_ext
12418 cat >>conftest.$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12422 main ()
12426 return 0;
12428 _ACEOF
12429 rm -f conftest.$ac_objext conftest$ac_exeext
12430 if { (ac_try="$ac_link"
12431 case "(($ac_try" in
12432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12433 *) ac_try_echo=$ac_try;;
12434 esac
12435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12436 (eval "$ac_link") 2>conftest.er1
12437 ac_status=$?
12438 grep -v '^ *+' conftest.er1 >conftest.err
12439 rm -f conftest.er1
12440 cat conftest.err >&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } && {
12443 test -z "$ac_c_werror_flag" ||
12444 test ! -s conftest.err
12445 } && test -s conftest$ac_exeext &&
12446 $as_test_x conftest$ac_exeext; then
12447 ac_cv_cflags__Wdeclaration_after_statement=yes
12448 else
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.$ac_ext >&5
12452 ac_cv_cflags__Wdeclaration_after_statement=no
12455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12456 conftest$ac_exeext conftest.$ac_ext
12457 CFLAGS=$ac_wine_try_cflags_saved
12459 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12460 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12461 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12462 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12465 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12466 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12467 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12469 else
12470 ac_wine_try_cflags_saved=$CFLAGS
12471 CFLAGS="$CFLAGS -Wwrite-strings"
12472 cat >conftest.$ac_ext <<_ACEOF
12473 /* confdefs.h. */
12474 _ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12480 main ()
12484 return 0;
12486 _ACEOF
12487 rm -f conftest.$ac_objext conftest$ac_exeext
12488 if { (ac_try="$ac_link"
12489 case "(($ac_try" in
12490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12491 *) ac_try_echo=$ac_try;;
12492 esac
12493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12494 (eval "$ac_link") 2>conftest.er1
12495 ac_status=$?
12496 grep -v '^ *+' conftest.er1 >conftest.err
12497 rm -f conftest.er1
12498 cat conftest.err >&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } && {
12501 test -z "$ac_c_werror_flag" ||
12502 test ! -s conftest.err
12503 } && test -s conftest$ac_exeext &&
12504 $as_test_x conftest$ac_exeext; then
12505 ac_cv_cflags__Wwrite_strings=yes
12506 else
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12510 ac_cv_cflags__Wwrite_strings=no
12513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12514 conftest$ac_exeext conftest.$ac_ext
12515 CFLAGS=$ac_wine_try_cflags_saved
12517 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12518 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12519 if test $ac_cv_cflags__Wwrite_strings = yes; then
12520 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12524 saved_CFLAGS="$CFLAGS"
12525 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12526 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12527 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12528 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 else
12531 cat >conftest.$ac_ext <<_ACEOF
12532 /* confdefs.h. */
12533 _ACEOF
12534 cat confdefs.h >>conftest.$ac_ext
12535 cat >>conftest.$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 #include <string.h>
12539 main ()
12543 return 0;
12545 _ACEOF
12546 rm -f conftest.$ac_objext
12547 if { (ac_try="$ac_compile"
12548 case "(($ac_try" in
12549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12550 *) ac_try_echo=$ac_try;;
12551 esac
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_compile") 2>conftest.er1
12554 ac_status=$?
12555 grep -v '^ *+' conftest.er1 >conftest.err
12556 rm -f conftest.er1
12557 cat conftest.err >&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } && {
12560 test -z "$ac_c_werror_flag" ||
12561 test ! -s conftest.err
12562 } && test -s conftest.$ac_objext; then
12563 ac_cv_c_string_h_warnings=no
12564 else
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.$ac_ext >&5
12568 ac_cv_c_string_h_warnings=yes
12571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12573 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12574 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12575 CFLAGS="$saved_CFLAGS"
12576 if test "$ac_cv_c_string_h_warnings" = "no"
12577 then
12578 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12581 BUILTINFLAG=""
12583 saved_CFLAGS="$CFLAGS"
12584 CFLAGS="$CFLAGS -Werror"
12585 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12586 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12587 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12590 cat >conftest.$ac_ext <<_ACEOF
12591 /* confdefs.h. */
12592 _ACEOF
12593 cat confdefs.h >>conftest.$ac_ext
12594 cat >>conftest.$ac_ext <<_ACEOF
12595 /* end confdefs.h. */
12598 main ()
12600 int iswlower(unsigned short);
12602 return 0;
12604 _ACEOF
12605 rm -f conftest.$ac_objext
12606 if { (ac_try="$ac_compile"
12607 case "(($ac_try" in
12608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12609 *) ac_try_echo=$ac_try;;
12610 esac
12611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12612 (eval "$ac_compile") 2>conftest.er1
12613 ac_status=$?
12614 grep -v '^ *+' conftest.er1 >conftest.err
12615 rm -f conftest.er1
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } && {
12619 test -z "$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12621 } && test -s conftest.$ac_objext; then
12622 ac_cv_c_builtin_wchar_ctype=no
12623 else
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ac_cv_c_builtin_wchar_ctype=yes
12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12632 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12633 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12634 CFLAGS="$saved_CFLAGS"
12635 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12636 then
12637 BUILTINFLAG="-fno-builtin"
12642 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12643 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12644 if test "${ac_cv_asm_func_def+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 else
12647 cat >conftest.$ac_ext <<_ACEOF
12648 /* confdefs.h. */
12649 _ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12655 main ()
12657 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12659 return 0;
12661 _ACEOF
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12667 esac
12668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 (eval "$ac_link") 2>conftest.er1
12670 ac_status=$?
12671 grep -v '^ *+' conftest.er1 >conftest.err
12672 rm -f conftest.er1
12673 cat conftest.err >&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && {
12676 test -z "$ac_c_werror_flag" ||
12677 test ! -s conftest.err
12678 } && test -s conftest$ac_exeext &&
12679 $as_test_x conftest$ac_exeext; then
12680 ac_cv_asm_func_def=".def"
12681 else
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.$ac_ext >&5
12685 cat >conftest.$ac_ext <<_ACEOF
12686 /* confdefs.h. */
12687 _ACEOF
12688 cat confdefs.h >>conftest.$ac_ext
12689 cat >>conftest.$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12693 main ()
12695 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12697 return 0;
12699 _ACEOF
12700 rm -f conftest.$ac_objext conftest$ac_exeext
12701 if { (ac_try="$ac_link"
12702 case "(($ac_try" in
12703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12704 *) ac_try_echo=$ac_try;;
12705 esac
12706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 (eval "$ac_link") 2>conftest.er1
12708 ac_status=$?
12709 grep -v '^ *+' conftest.er1 >conftest.err
12710 rm -f conftest.er1
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } && {
12714 test -z "$ac_c_werror_flag" ||
12715 test ! -s conftest.err
12716 } && test -s conftest$ac_exeext &&
12717 $as_test_x conftest$ac_exeext; then
12718 ac_cv_asm_func_def=".type @function"
12719 else
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.$ac_ext >&5
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12731 main ()
12733 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12735 return 0;
12737 _ACEOF
12738 rm -f conftest.$ac_objext conftest$ac_exeext
12739 if { (ac_try="$ac_link"
12740 case "(($ac_try" in
12741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12742 *) ac_try_echo=$ac_try;;
12743 esac
12744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12745 (eval "$ac_link") 2>conftest.er1
12746 ac_status=$?
12747 grep -v '^ *+' conftest.er1 >conftest.err
12748 rm -f conftest.er1
12749 cat conftest.err >&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } && {
12752 test -z "$ac_c_werror_flag" ||
12753 test ! -s conftest.err
12754 } && test -s conftest$ac_exeext &&
12755 $as_test_x conftest$ac_exeext; then
12756 ac_cv_asm_func_def=".type 2"
12757 else
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.$ac_ext >&5
12761 ac_cv_asm_func_def="unknown"
12764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12765 conftest$ac_exeext conftest.$ac_ext
12768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12769 conftest$ac_exeext conftest.$ac_ext
12772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12773 conftest$ac_exeext conftest.$ac_ext
12775 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12776 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12780 case "$ac_cv_asm_func_def" in
12781 ".def")
12782 cat >>confdefs.h <<\_ACEOF
12783 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12784 _ACEOF
12786 ".type @function")
12787 cat >>confdefs.h <<\_ACEOF
12788 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12789 _ACEOF
12791 ".type 2")
12792 cat >>confdefs.h <<\_ACEOF
12793 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12794 _ACEOF
12797 cat >>confdefs.h <<\_ACEOF
12798 #define __ASM_FUNC(name) ""
12799 _ACEOF
12801 esac
12804 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12805 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12806 if test "${ac_cv_c_extern_prefix+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 else
12809 cat >conftest.$ac_ext <<_ACEOF
12810 /* confdefs.h. */
12811 _ACEOF
12812 cat confdefs.h >>conftest.$ac_ext
12813 cat >>conftest.$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 extern int ac_test;
12817 main ()
12819 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12821 return 0;
12823 _ACEOF
12824 rm -f conftest.$ac_objext conftest$ac_exeext
12825 if { (ac_try="$ac_link"
12826 case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12829 esac
12830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_link") 2>conftest.er1
12832 ac_status=$?
12833 grep -v '^ *+' conftest.er1 >conftest.err
12834 rm -f conftest.er1
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } && {
12838 test -z "$ac_c_werror_flag" ||
12839 test ! -s conftest.err
12840 } && test -s conftest$ac_exeext &&
12841 $as_test_x conftest$ac_exeext; then
12842 ac_cv_c_extern_prefix="yes"
12843 else
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12847 ac_cv_c_extern_prefix="no"
12850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12851 conftest$ac_exeext conftest.$ac_ext
12853 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12854 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12858 if test "$ac_cv_c_extern_prefix" = "yes"
12859 then
12860 cat >>confdefs.h <<\_ACEOF
12861 #define __ASM_NAME(name) "_" name
12862 _ACEOF
12864 else
12865 cat >>confdefs.h <<\_ACEOF
12866 #define __ASM_NAME(name) name
12867 _ACEOF
12872 DLLEXT=""
12874 DLLFLAGS="-D_REENTRANT"
12876 LDSHARED=""
12878 LDDLLFLAGS=""
12880 LIBEXT="so"
12882 IMPLIBEXT="def"
12884 LDRPATH_INSTALL=""
12886 LDRPATH_LOCAL=""
12889 case $host_os in
12890 cygwin*|mingw32*)
12891 if test -n "$ac_tool_prefix"; then
12892 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12893 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12896 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 if test -n "$DLLTOOL"; then
12900 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12901 else
12902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12903 for as_dir in $PATH
12905 IFS=$as_save_IFS
12906 test -z "$as_dir" && as_dir=.
12907 for ac_exec_ext in '' $ac_executable_extensions; do
12908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12909 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12911 break 2
12913 done
12914 done
12915 IFS=$as_save_IFS
12919 DLLTOOL=$ac_cv_prog_DLLTOOL
12920 if test -n "$DLLTOOL"; then
12921 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12922 echo "${ECHO_T}$DLLTOOL" >&6; }
12923 else
12924 { echo "$as_me:$LINENO: result: no" >&5
12925 echo "${ECHO_T}no" >&6; }
12930 if test -z "$ac_cv_prog_DLLTOOL"; then
12931 ac_ct_DLLTOOL=$DLLTOOL
12932 # Extract the first word of "dlltool", so it can be a program name with args.
12933 set dummy dlltool; ac_word=$2
12934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12936 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 else
12939 if test -n "$ac_ct_DLLTOOL"; then
12940 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12941 else
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12945 IFS=$as_save_IFS
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12949 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12951 break 2
12953 done
12954 done
12955 IFS=$as_save_IFS
12959 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12960 if test -n "$ac_ct_DLLTOOL"; then
12961 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12962 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12963 else
12964 { echo "$as_me:$LINENO: result: no" >&5
12965 echo "${ECHO_T}no" >&6; }
12968 if test "x$ac_ct_DLLTOOL" = x; then
12969 DLLTOOL="false"
12970 else
12971 case $cross_compiling:$ac_tool_warned in
12972 yes:)
12973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12974 whose name does not start with the host triplet. If you think this
12975 configuration is useful to you, please write to autoconf@gnu.org." >&5
12976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12977 whose name does not start with the host triplet. If you think this
12978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12979 ac_tool_warned=yes ;;
12980 esac
12981 DLLTOOL=$ac_ct_DLLTOOL
12983 else
12984 DLLTOOL="$ac_cv_prog_DLLTOOL"
12987 if test -n "$ac_tool_prefix"; then
12988 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12989 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12992 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 else
12995 if test -n "$DLLWRAP"; then
12996 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12997 else
12998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12999 for as_dir in $PATH
13001 IFS=$as_save_IFS
13002 test -z "$as_dir" && as_dir=.
13003 for ac_exec_ext in '' $ac_executable_extensions; do
13004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13005 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13007 break 2
13009 done
13010 done
13011 IFS=$as_save_IFS
13015 DLLWRAP=$ac_cv_prog_DLLWRAP
13016 if test -n "$DLLWRAP"; then
13017 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13018 echo "${ECHO_T}$DLLWRAP" >&6; }
13019 else
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13026 if test -z "$ac_cv_prog_DLLWRAP"; then
13027 ac_ct_DLLWRAP=$DLLWRAP
13028 # Extract the first word of "dllwrap", so it can be a program name with args.
13029 set dummy dllwrap; ac_word=$2
13030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13032 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 else
13035 if test -n "$ac_ct_DLLWRAP"; then
13036 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13037 else
13038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13041 IFS=$as_save_IFS
13042 test -z "$as_dir" && as_dir=.
13043 for ac_exec_ext in '' $ac_executable_extensions; do
13044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13045 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13047 break 2
13049 done
13050 done
13051 IFS=$as_save_IFS
13055 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13056 if test -n "$ac_ct_DLLWRAP"; then
13057 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13058 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13059 else
13060 { echo "$as_me:$LINENO: result: no" >&5
13061 echo "${ECHO_T}no" >&6; }
13064 if test "x$ac_ct_DLLWRAP" = x; then
13065 DLLWRAP="false"
13066 else
13067 case $cross_compiling:$ac_tool_warned in
13068 yes:)
13069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13070 whose name does not start with the host triplet. If you think this
13071 configuration is useful to you, please write to autoconf@gnu.org." >&5
13072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13073 whose name does not start with the host triplet. If you think this
13074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13075 ac_tool_warned=yes ;;
13076 esac
13077 DLLWRAP=$ac_ct_DLLWRAP
13079 else
13080 DLLWRAP="$ac_cv_prog_DLLWRAP"
13083 if test -n "$ac_tool_prefix"; then
13084 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13085 set dummy ${ac_tool_prefix}ar; ac_word=$2
13086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13088 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 else
13091 if test -n "$MINGWAR"; then
13092 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13093 else
13094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13095 for as_dir in $PATH
13097 IFS=$as_save_IFS
13098 test -z "$as_dir" && as_dir=.
13099 for ac_exec_ext in '' $ac_executable_extensions; do
13100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13101 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13103 break 2
13105 done
13106 done
13107 IFS=$as_save_IFS
13111 MINGWAR=$ac_cv_prog_MINGWAR
13112 if test -n "$MINGWAR"; then
13113 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13114 echo "${ECHO_T}$MINGWAR" >&6; }
13115 else
13116 { echo "$as_me:$LINENO: result: no" >&5
13117 echo "${ECHO_T}no" >&6; }
13122 if test -z "$ac_cv_prog_MINGWAR"; then
13123 ac_ct_MINGWAR=$MINGWAR
13124 # Extract the first word of "ar", so it can be a program name with args.
13125 set dummy ar; ac_word=$2
13126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13128 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 else
13131 if test -n "$ac_ct_MINGWAR"; then
13132 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13133 else
13134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13135 for as_dir in $PATH
13137 IFS=$as_save_IFS
13138 test -z "$as_dir" && as_dir=.
13139 for ac_exec_ext in '' $ac_executable_extensions; do
13140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13141 ac_cv_prog_ac_ct_MINGWAR="ar"
13142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13143 break 2
13145 done
13146 done
13147 IFS=$as_save_IFS
13151 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13152 if test -n "$ac_ct_MINGWAR"; then
13153 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13154 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13155 else
13156 { echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6; }
13160 if test "x$ac_ct_MINGWAR" = x; then
13161 MINGWAR="false"
13162 else
13163 case $cross_compiling:$ac_tool_warned in
13164 yes:)
13165 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13166 whose name does not start with the host triplet. If you think this
13167 configuration is useful to you, please write to autoconf@gnu.org." >&5
13168 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13169 whose name does not start with the host triplet. If you think this
13170 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13171 ac_tool_warned=yes ;;
13172 esac
13173 MINGWAR=$ac_ct_MINGWAR
13175 else
13176 MINGWAR="$ac_cv_prog_MINGWAR"
13179 if test "$DLLWRAP" = "false"; then
13180 LIBEXT="a"
13181 else
13182 LIBEXT="dll"
13184 IMPLIBEXT="a"
13185 WIN16_FILES=""
13186 WIN16_INSTALL=""
13188 darwin*|macosx*)
13189 DLLEXT=".so"
13190 LIBEXT="dylib"
13191 DLLFLAGS="$DLLFLAGS -fPIC"
13192 LDDLLFLAGS="-bundle -multiply_defined suppress"
13193 LIBWINE_LDFLAGS="-multiply_defined suppress"
13194 LDSHARED="\$(CC) -dynamiclib"
13195 STRIP="$STRIP -u -r"
13196 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
13197 COREFOUNDATIONLIB="-framework CoreFoundation"
13199 IOKITLIB="-framework IOKit -framework CoreFoundation"
13201 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13203 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13204 then
13205 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13208 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13209 then
13210 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13213 case $host_cpu in
13214 *powerpc*)
13215 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13216 esac
13217 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13218 then
13219 CARBONLIB="-framework Carbon"
13221 QUARTZFILES='$(QUARTZFILES)'
13225 DLLFLAGS="$DLLFLAGS -fPIC"
13226 DLLEXT=".so"
13227 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13228 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13229 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13230 echo $ECHO_N "(cached) $ECHO_C" >&6
13231 else
13232 ac_wine_try_cflags_saved=$CFLAGS
13233 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13234 cat >conftest.$ac_ext <<_ACEOF
13235 void myfunc() {}
13236 _ACEOF
13237 rm -f conftest.$ac_objext conftest$ac_exeext
13238 if { (ac_try="$ac_link"
13239 case "(($ac_try" in
13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241 *) ac_try_echo=$ac_try;;
13242 esac
13243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13244 (eval "$ac_link") 2>conftest.er1
13245 ac_status=$?
13246 grep -v '^ *+' conftest.er1 >conftest.err
13247 rm -f conftest.er1
13248 cat conftest.err >&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); } && {
13251 test -z "$ac_c_werror_flag" ||
13252 test ! -s conftest.err
13253 } && test -s conftest$ac_exeext &&
13254 $as_test_x conftest$ac_exeext; then
13255 ac_cv_c_dll_gnuelf="yes"
13256 else
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 ac_cv_c_dll_gnuelf="no"
13263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13264 conftest$ac_exeext conftest.$ac_ext
13265 CFLAGS=$ac_wine_try_cflags_saved
13267 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13268 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13269 if test "$ac_cv_c_dll_gnuelf" = "yes"
13270 then
13271 LDSHARED="\$(CC) -shared"
13272 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13273 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13274 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13275 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13276 echo $ECHO_N "(cached) $ECHO_C" >&6
13277 else
13278 ac_wine_try_cflags_saved=$CFLAGS
13279 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13280 cat >conftest.$ac_ext <<_ACEOF
13281 /* confdefs.h. */
13282 _ACEOF
13283 cat confdefs.h >>conftest.$ac_ext
13284 cat >>conftest.$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13288 main ()
13292 return 0;
13294 _ACEOF
13295 rm -f conftest.$ac_objext conftest$ac_exeext
13296 if { (ac_try="$ac_link"
13297 case "(($ac_try" in
13298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13300 esac
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_link") 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } && {
13309 test -z "$ac_c_werror_flag" ||
13310 test ! -s conftest.err
13311 } && test -s conftest$ac_exeext &&
13312 $as_test_x conftest$ac_exeext; then
13313 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13314 else
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13322 conftest$ac_exeext conftest.$ac_ext
13323 CFLAGS=$ac_wine_try_cflags_saved
13325 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13326 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13327 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13328 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13329 else
13330 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13331 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13332 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 else
13335 ac_wine_try_cflags_saved=$CFLAGS
13336 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13337 cat >conftest.$ac_ext <<_ACEOF
13338 /* confdefs.h. */
13339 _ACEOF
13340 cat confdefs.h >>conftest.$ac_ext
13341 cat >>conftest.$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13345 main ()
13349 return 0;
13351 _ACEOF
13352 rm -f conftest.$ac_objext conftest$ac_exeext
13353 if { (ac_try="$ac_link"
13354 case "(($ac_try" in
13355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13356 *) ac_try_echo=$ac_try;;
13357 esac
13358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13359 (eval "$ac_link") 2>conftest.er1
13360 ac_status=$?
13361 grep -v '^ *+' conftest.er1 >conftest.err
13362 rm -f conftest.er1
13363 cat conftest.err >&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } && {
13366 test -z "$ac_c_werror_flag" ||
13367 test ! -s conftest.err
13368 } && test -s conftest$ac_exeext &&
13369 $as_test_x conftest$ac_exeext; then
13370 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13371 else
13372 echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.$ac_ext >&5
13375 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13379 conftest$ac_exeext conftest.$ac_ext
13380 CFLAGS=$ac_wine_try_cflags_saved
13382 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13383 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13384 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13385 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13391 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13392 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13393 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 else
13396 ac_wine_try_cflags_saved=$CFLAGS
13397 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13398 cat >conftest.$ac_ext <<_ACEOF
13399 /* confdefs.h. */
13400 _ACEOF
13401 cat confdefs.h >>conftest.$ac_ext
13402 cat >>conftest.$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13406 main ()
13410 return 0;
13412 _ACEOF
13413 rm -f conftest.$ac_objext conftest$ac_exeext
13414 if { (ac_try="$ac_link"
13415 case "(($ac_try" in
13416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13417 *) ac_try_echo=$ac_try;;
13418 esac
13419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13420 (eval "$ac_link") 2>conftest.er1
13421 ac_status=$?
13422 grep -v '^ *+' conftest.er1 >conftest.err
13423 rm -f conftest.er1
13424 cat conftest.err >&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } && {
13427 test -z "$ac_c_werror_flag" ||
13428 test ! -s conftest.err
13429 } && test -s conftest$ac_exeext &&
13430 $as_test_x conftest$ac_exeext; then
13431 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13432 else
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13436 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13440 conftest$ac_exeext conftest.$ac_ext
13441 CFLAGS=$ac_wine_try_cflags_saved
13443 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13444 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13445 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13446 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13450 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13451 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13452 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13454 else
13455 ac_wine_try_cflags_saved=$CFLAGS
13456 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13457 cat >conftest.$ac_ext <<_ACEOF
13458 /* confdefs.h. */
13459 _ACEOF
13460 cat confdefs.h >>conftest.$ac_ext
13461 cat >>conftest.$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13465 main ()
13469 return 0;
13471 _ACEOF
13472 rm -f conftest.$ac_objext conftest$ac_exeext
13473 if { (ac_try="$ac_link"
13474 case "(($ac_try" in
13475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13476 *) ac_try_echo=$ac_try;;
13477 esac
13478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13479 (eval "$ac_link") 2>conftest.er1
13480 ac_status=$?
13481 grep -v '^ *+' conftest.er1 >conftest.err
13482 rm -f conftest.er1
13483 cat conftest.err >&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } && {
13486 test -z "$ac_c_werror_flag" ||
13487 test ! -s conftest.err
13488 } && test -s conftest$ac_exeext &&
13489 $as_test_x conftest$ac_exeext; then
13490 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13491 else
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.$ac_ext >&5
13495 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13499 conftest$ac_exeext conftest.$ac_ext
13500 CFLAGS=$ac_wine_try_cflags_saved
13502 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13503 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13504 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13505 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13509 echo '{ global: *; };' >conftest.map
13510 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13511 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13512 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13513 echo $ECHO_N "(cached) $ECHO_C" >&6
13514 else
13515 ac_wine_try_cflags_saved=$CFLAGS
13516 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13517 cat >conftest.$ac_ext <<_ACEOF
13518 /* confdefs.h. */
13519 _ACEOF
13520 cat confdefs.h >>conftest.$ac_ext
13521 cat >>conftest.$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13525 main ()
13529 return 0;
13531 _ACEOF
13532 rm -f conftest.$ac_objext conftest$ac_exeext
13533 if { (ac_try="$ac_link"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13537 esac
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_link") 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest$ac_exeext &&
13549 $as_test_x conftest$ac_exeext; then
13550 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13551 else
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13555 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13559 conftest$ac_exeext conftest.$ac_ext
13560 CFLAGS=$ac_wine_try_cflags_saved
13562 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13563 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13564 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13565 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13568 rm -f conftest.map
13570 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13571 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13572 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13573 echo $ECHO_N "(cached) $ECHO_C" >&6
13574 else
13575 ac_wine_try_cflags_saved=$CFLAGS
13576 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13577 cat >conftest.$ac_ext <<_ACEOF
13578 /* confdefs.h. */
13579 _ACEOF
13580 cat confdefs.h >>conftest.$ac_ext
13581 cat >>conftest.$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13585 main ()
13589 return 0;
13591 _ACEOF
13592 rm -f conftest.$ac_objext conftest$ac_exeext
13593 if { (ac_try="$ac_link"
13594 case "(($ac_try" in
13595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13596 *) ac_try_echo=$ac_try;;
13597 esac
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_link") 2>conftest.er1
13600 ac_status=$?
13601 grep -v '^ *+' conftest.er1 >conftest.err
13602 rm -f conftest.er1
13603 cat conftest.err >&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); } && {
13606 test -z "$ac_c_werror_flag" ||
13607 test ! -s conftest.err
13608 } && test -s conftest$ac_exeext &&
13609 $as_test_x conftest$ac_exeext; then
13610 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13611 else
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13615 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13619 conftest$ac_exeext conftest.$ac_ext
13620 CFLAGS=$ac_wine_try_cflags_saved
13622 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13623 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13624 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13625 LDEXECFLAGS="-Wl,--export-dynamic"
13630 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13631 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13632 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 else
13636 ac_wine_try_cflags_saved=$CFLAGS
13637 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13646 main ()
13650 return 0;
13652 _ACEOF
13653 rm -f conftest.$ac_objext conftest$ac_exeext
13654 if { (ac_try="$ac_link"
13655 case "(($ac_try" in
13656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13657 *) ac_try_echo=$ac_try;;
13658 esac
13659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13660 (eval "$ac_link") 2>conftest.er1
13661 ac_status=$?
13662 grep -v '^ *+' conftest.er1 >conftest.err
13663 rm -f conftest.er1
13664 cat conftest.err >&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } && {
13667 test -z "$ac_c_werror_flag" ||
13668 test ! -s conftest.err
13669 } && test -s conftest$ac_exeext &&
13670 $as_test_x conftest$ac_exeext; then
13671 eval "$as_ac_var=yes"
13672 else
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.$ac_ext >&5
13676 eval "$as_ac_var=no"
13679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13680 conftest$ac_exeext conftest.$ac_ext
13681 CFLAGS=$ac_wine_try_cflags_saved
13683 ac_res=`eval echo '${'$as_ac_var'}'`
13684 { echo "$as_me:$LINENO: result: $ac_res" >&5
13685 echo "${ECHO_T}$ac_res" >&6; }
13686 if test `eval echo '${'$as_ac_var'}'` = yes; then
13687 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13688 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13689 else
13690 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
13691 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13692 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 ac_wine_try_cflags_saved=$CFLAGS
13697 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13698 cat >conftest.$ac_ext <<_ACEOF
13699 /* confdefs.h. */
13700 _ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13706 main ()
13710 return 0;
13712 _ACEOF
13713 rm -f conftest.$ac_objext conftest$ac_exeext
13714 if { (ac_try="$ac_link"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13718 esac
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_link") 2>conftest.er1
13721 ac_status=$?
13722 grep -v '^ *+' conftest.er1 >conftest.err
13723 rm -f conftest.er1
13724 cat conftest.err >&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } && {
13727 test -z "$ac_c_werror_flag" ||
13728 test ! -s conftest.err
13729 } && test -s conftest$ac_exeext &&
13730 $as_test_x conftest$ac_exeext; then
13731 eval "$as_ac_var=yes"
13732 else
13733 echo "$as_me: failed program was:" >&5
13734 sed 's/^/| /' conftest.$ac_ext >&5
13736 eval "$as_ac_var=no"
13739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13740 conftest$ac_exeext conftest.$ac_ext
13741 CFLAGS=$ac_wine_try_cflags_saved
13743 ac_res=`eval echo '${'$as_ac_var'}'`
13744 { echo "$as_me:$LINENO: result: $ac_res" >&5
13745 echo "${ECHO_T}$ac_res" >&6; }
13746 if test `eval echo '${'$as_ac_var'}'` = yes; then
13747 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13748 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13754 case $host_cpu in
13755 *i[3456789]86* | x86_64)
13756 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13757 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13758 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13759 echo $ECHO_N "(cached) $ECHO_C" >&6
13760 else
13761 ac_wine_try_cflags_saved=$CFLAGS
13762 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13763 cat >conftest.$ac_ext <<_ACEOF
13764 /* confdefs.h. */
13765 _ACEOF
13766 cat confdefs.h >>conftest.$ac_ext
13767 cat >>conftest.$ac_ext <<_ACEOF
13768 /* end confdefs.h. */
13771 main ()
13775 return 0;
13777 _ACEOF
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (ac_try="$ac_link"
13780 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13783 esac
13784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 (eval "$ac_link") 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } && {
13792 test -z "$ac_c_werror_flag" ||
13793 test ! -s conftest.err
13794 } && test -s conftest$ac_exeext &&
13795 $as_test_x conftest$ac_exeext; then
13796 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13797 else
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13809 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13810 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13811 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13815 esac
13817 else
13818 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13819 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13820 if test "${ac_cv_c_dll_unixware+set}" = set; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13822 else
13823 ac_wine_try_cflags_saved=$CFLAGS
13824 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13825 cat >conftest.$ac_ext <<_ACEOF
13826 void myfunc() {}
13827 _ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (ac_try="$ac_link"
13830 case "(($ac_try" in
13831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13832 *) ac_try_echo=$ac_try;;
13833 esac
13834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13835 (eval "$ac_link") 2>conftest.er1
13836 ac_status=$?
13837 grep -v '^ *+' conftest.er1 >conftest.err
13838 rm -f conftest.er1
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } && {
13842 test -z "$ac_c_werror_flag" ||
13843 test ! -s conftest.err
13844 } && test -s conftest$ac_exeext &&
13845 $as_test_x conftest$ac_exeext; then
13846 ac_cv_c_dll_unixware="yes"
13847 else
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13851 ac_cv_c_dll_unixware="no"
13854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13855 conftest$ac_exeext conftest.$ac_ext
13856 CFLAGS=$ac_wine_try_cflags_saved
13858 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13859 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13860 if test "$ac_cv_c_dll_unixware" = "yes"
13861 then
13862 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13863 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13865 else
13866 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13867 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13868 if test "${ac_cv_c_dll_hpux+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 else
13871 ac_wine_try_cflags_saved=$CFLAGS
13872 CFLAGS="$CFLAGS -shared"
13873 cat >conftest.$ac_ext <<_ACEOF
13874 void myfunc() {}
13875 _ACEOF
13876 rm -f conftest.$ac_objext conftest$ac_exeext
13877 if { (ac_try="$ac_link"
13878 case "(($ac_try" in
13879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13880 *) ac_try_echo=$ac_try;;
13881 esac
13882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13883 (eval "$ac_link") 2>conftest.er1
13884 ac_status=$?
13885 grep -v '^ *+' conftest.er1 >conftest.err
13886 rm -f conftest.er1
13887 cat conftest.err >&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } && {
13890 test -z "$ac_c_werror_flag" ||
13891 test ! -s conftest.err
13892 } && test -s conftest$ac_exeext &&
13893 $as_test_x conftest$ac_exeext; then
13894 ac_cv_c_dll_hpux="yes"
13895 else
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.$ac_ext >&5
13899 ac_cv_c_dll_hpux="no"
13902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13907 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13908 if test "$ac_cv_c_dll_hpux" = "yes"
13909 then
13910 LIBEXT="sl"
13911 DLLEXT=".sl"
13912 LDDLLFLAGS="-shared -fPIC"
13913 LDSHARED="\$(CC) -shared"
13918 CROSSTEST=""
13920 if test "$cross_compiling" = "no"
13921 then
13922 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13924 # Extract the first word of "$ac_prog", so it can be a program name with args.
13925 set dummy $ac_prog; ac_word=$2
13926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13928 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 else
13931 if test -n "$CROSSCC"; then
13932 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13933 else
13934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13937 IFS=$as_save_IFS
13938 test -z "$as_dir" && as_dir=.
13939 for ac_exec_ext in '' $ac_executable_extensions; do
13940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941 ac_cv_prog_CROSSCC="$ac_prog"
13942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13943 break 2
13945 done
13946 done
13947 IFS=$as_save_IFS
13951 CROSSCC=$ac_cv_prog_CROSSCC
13952 if test -n "$CROSSCC"; then
13953 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13954 echo "${ECHO_T}$CROSSCC" >&6; }
13955 else
13956 { echo "$as_me:$LINENO: result: no" >&5
13957 echo "${ECHO_T}no" >&6; }
13961 test -n "$CROSSCC" && break
13962 done
13963 test -n "$CROSSCC" || CROSSCC="false"
13965 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13967 # Extract the first word of "$ac_prog", so it can be a program name with args.
13968 set dummy $ac_prog; ac_word=$2
13969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13971 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 else
13974 if test -n "$DLLTOOL"; then
13975 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13976 else
13977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 for as_dir in $PATH
13980 IFS=$as_save_IFS
13981 test -z "$as_dir" && as_dir=.
13982 for ac_exec_ext in '' $ac_executable_extensions; do
13983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13984 ac_cv_prog_DLLTOOL="$ac_prog"
13985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13986 break 2
13988 done
13989 done
13990 IFS=$as_save_IFS
13994 DLLTOOL=$ac_cv_prog_DLLTOOL
13995 if test -n "$DLLTOOL"; then
13996 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13997 echo "${ECHO_T}$DLLTOOL" >&6; }
13998 else
13999 { echo "$as_me:$LINENO: result: no" >&5
14000 echo "${ECHO_T}no" >&6; }
14004 test -n "$DLLTOOL" && break
14005 done
14006 test -n "$DLLTOOL" || DLLTOOL="false"
14008 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14010 # Extract the first word of "$ac_prog", so it can be a program name with args.
14011 set dummy $ac_prog; ac_word=$2
14012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14014 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14015 echo $ECHO_N "(cached) $ECHO_C" >&6
14016 else
14017 if test -n "$CROSSWINDRES"; then
14018 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14019 else
14020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14021 for as_dir in $PATH
14023 IFS=$as_save_IFS
14024 test -z "$as_dir" && as_dir=.
14025 for ac_exec_ext in '' $ac_executable_extensions; do
14026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14027 ac_cv_prog_CROSSWINDRES="$ac_prog"
14028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14029 break 2
14031 done
14032 done
14033 IFS=$as_save_IFS
14037 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14038 if test -n "$CROSSWINDRES"; then
14039 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14040 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14041 else
14042 { echo "$as_me:$LINENO: result: no" >&5
14043 echo "${ECHO_T}no" >&6; }
14047 test -n "$CROSSWINDRES" && break
14048 done
14049 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14051 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14053 # Extract the first word of "$ac_prog", so it can be a program name with args.
14054 set dummy $ac_prog; 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_MINGWAR+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 else
14060 if test -n "$MINGWAR"; then
14061 ac_cv_prog_MINGWAR="$MINGWAR" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog_MINGWAR="$ac_prog"
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 MINGWAR=$ac_cv_prog_MINGWAR
14081 if test -n "$MINGWAR"; then
14082 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14083 echo "${ECHO_T}$MINGWAR" >&6; }
14084 else
14085 { echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6; }
14090 test -n "$MINGWAR" && break
14091 done
14092 test -n "$MINGWAR" || MINGWAR="false"
14094 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14097 esac
14099 if test "$LIBEXT" = "a"; then
14100 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14101 It is currently not possible to build Wine without shared library
14102 (.so) support to allow transparent switch between .so and .dll files.
14103 If you are using Linux, you will need a newer binutils.
14104 " >&5
14105 echo "$as_me: error: could not find a way to build shared libraries.
14106 It is currently not possible to build Wine without shared library
14107 (.so) support to allow transparent switch between .so and .dll files.
14108 If you are using Linux, you will need a newer binutils.
14109 " >&2;}
14110 { (exit 1); exit 1; }; }
14113 case $build_os in
14114 cygwin*|mingw32*)
14115 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14117 darwin*|macosx*)
14118 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14121 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14123 esac
14125 case $host_os in
14126 mingw32*)
14127 CRTLIBS="-lmsvcrt"
14129 SOCKETLIBS="-lws2_32"
14132 esac
14134 MAIN_BINARY="wine-pthread"
14135 case $host_cpu in
14136 *i[3456789]86*)
14137 case $host_os in
14138 linux* | k*bsd*-gnu)
14139 MAIN_BINARY="wine-glibc"
14141 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14143 esac
14145 esac
14148 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14149 then
14150 # Extract the first word of "ldd", so it can be a program name with args.
14151 set dummy ldd; ac_word=$2
14152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14154 if test "${ac_cv_path_LDD+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 else
14157 case $LDD in
14158 [\\/]* | ?:[\\/]*)
14159 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14163 as_dummy="/sbin:/usr/sbin:$PATH"
14164 for as_dir in $as_dummy
14166 IFS=$as_save_IFS
14167 test -z "$as_dir" && as_dir=.
14168 for ac_exec_ext in '' $ac_executable_extensions; do
14169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14170 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14172 break 2
14174 done
14175 done
14176 IFS=$as_save_IFS
14178 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14180 esac
14182 LDD=$ac_cv_path_LDD
14183 if test -n "$LDD"; then
14184 { echo "$as_me:$LINENO: result: $LDD" >&5
14185 echo "${ECHO_T}$LDD" >&6; }
14186 else
14187 { echo "$as_me:$LINENO: result: no" >&5
14188 echo "${ECHO_T}no" >&6; }
14192 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14193 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14194 if test "${ac_cv_lib_soname_X11+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 else
14197 ac_get_soname_save_LIBS=$LIBS
14198 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14199 cat >conftest.$ac_ext <<_ACEOF
14200 /* confdefs.h. */
14201 _ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 #ifdef __cplusplus
14210 extern "C"
14211 #endif
14212 char XCreateWindow ();
14214 main ()
14216 return XCreateWindow ();
14218 return 0;
14220 _ACEOF
14221 rm -f conftest.$ac_objext conftest$ac_exeext
14222 if { (ac_try="$ac_link"
14223 case "(($ac_try" in
14224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14225 *) ac_try_echo=$ac_try;;
14226 esac
14227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14228 (eval "$ac_link") 2>conftest.er1
14229 ac_status=$?
14230 grep -v '^ *+' conftest.er1 >conftest.err
14231 rm -f conftest.er1
14232 cat conftest.err >&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } && {
14235 test -z "$ac_c_werror_flag" ||
14236 test ! -s conftest.err
14237 } && test -s conftest$ac_exeext &&
14238 $as_test_x conftest$ac_exeext; then
14239 case "$LIBEXT" in
14240 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep libX11\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14241 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14242 esac
14243 if test "x$ac_cv_lib_soname_X11" = "x"
14244 then
14245 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14247 else
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14251 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_get_soname_save_LIBS
14258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14259 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14260 if test "${ac_cv_lib_soname_X11+set}" = set; then
14262 cat >>confdefs.h <<_ACEOF
14263 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14264 _ACEOF
14268 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14269 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14270 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 ac_get_soname_save_LIBS=$LIBS
14274 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14285 #ifdef __cplusplus
14286 extern "C"
14287 #endif
14288 char XextCreateExtension ();
14290 main ()
14292 return XextCreateExtension ();
14294 return 0;
14296 _ACEOF
14297 rm -f conftest.$ac_objext conftest$ac_exeext
14298 if { (ac_try="$ac_link"
14299 case "(($ac_try" in
14300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14302 esac
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_link") 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && {
14311 test -z "$ac_c_werror_flag" ||
14312 test ! -s conftest.err
14313 } && test -s conftest$ac_exeext &&
14314 $as_test_x conftest$ac_exeext; then
14315 case "$LIBEXT" in
14316 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep libXext\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14317 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14318 esac
14319 if test "x$ac_cv_lib_soname_Xext" = "x"
14320 then
14321 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_get_soname_save_LIBS
14334 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14335 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14336 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14338 cat >>confdefs.h <<_ACEOF
14339 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14340 _ACEOF
14344 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14345 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14346 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 else
14349 ac_get_soname_save_LIBS=$LIBS
14350 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14351 cat >conftest.$ac_ext <<_ACEOF
14352 /* confdefs.h. */
14353 _ACEOF
14354 cat confdefs.h >>conftest.$ac_ext
14355 cat >>conftest.$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14361 #ifdef __cplusplus
14362 extern "C"
14363 #endif
14364 char XOpenDevice ();
14366 main ()
14368 return XOpenDevice ();
14370 return 0;
14372 _ACEOF
14373 rm -f conftest.$ac_objext conftest$ac_exeext
14374 if { (ac_try="$ac_link"
14375 case "(($ac_try" in
14376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14378 esac
14379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14380 (eval "$ac_link") 2>conftest.er1
14381 ac_status=$?
14382 grep -v '^ *+' conftest.er1 >conftest.err
14383 rm -f conftest.er1
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && {
14387 test -z "$ac_c_werror_flag" ||
14388 test ! -s conftest.err
14389 } && test -s conftest$ac_exeext &&
14390 $as_test_x conftest$ac_exeext; then
14391 case "$LIBEXT" in
14392 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep libXi\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14393 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14394 esac
14395 if test "x$ac_cv_lib_soname_Xi" = "x"
14396 then
14397 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14399 else
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14403 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_get_soname_save_LIBS
14410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14411 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14412 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14414 cat >>confdefs.h <<_ACEOF
14415 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14416 _ACEOF
14420 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14421 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14422 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 else
14425 ac_get_soname_save_LIBS=$LIBS
14426 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14427 cat >conftest.$ac_ext <<_ACEOF
14428 /* confdefs.h. */
14429 _ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14437 #ifdef __cplusplus
14438 extern "C"
14439 #endif
14440 char XineramaQueryScreens ();
14442 main ()
14444 return XineramaQueryScreens ();
14446 return 0;
14448 _ACEOF
14449 rm -f conftest.$ac_objext conftest$ac_exeext
14450 if { (ac_try="$ac_link"
14451 case "(($ac_try" in
14452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14453 *) ac_try_echo=$ac_try;;
14454 esac
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14456 (eval "$ac_link") 2>conftest.er1
14457 ac_status=$?
14458 grep -v '^ *+' conftest.er1 >conftest.err
14459 rm -f conftest.er1
14460 cat conftest.err >&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } && {
14463 test -z "$ac_c_werror_flag" ||
14464 test ! -s conftest.err
14465 } && test -s conftest$ac_exeext &&
14466 $as_test_x conftest$ac_exeext; then
14467 case "$LIBEXT" in
14468 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep libXinerama\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14469 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14470 esac
14471 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14472 then
14473 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14475 else
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.$ac_ext >&5
14479 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14483 conftest$ac_exeext conftest.$ac_ext
14484 LIBS=$ac_get_soname_save_LIBS
14486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14487 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14488 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14490 cat >>confdefs.h <<_ACEOF
14491 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14492 _ACEOF
14496 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14497 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14498 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 else
14501 ac_get_soname_save_LIBS=$LIBS
14502 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14503 cat >conftest.$ac_ext <<_ACEOF
14504 /* confdefs.h. */
14505 _ACEOF
14506 cat confdefs.h >>conftest.$ac_ext
14507 cat >>conftest.$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14510 /* Override any GCC internal prototype to avoid an error.
14511 Use char because int might match the return type of a GCC
14512 builtin and then its argument prototype would still apply. */
14513 #ifdef __cplusplus
14514 extern "C"
14515 #endif
14516 char XRenderQueryExtension ();
14518 main ()
14520 return XRenderQueryExtension ();
14522 return 0;
14524 _ACEOF
14525 rm -f conftest.$ac_objext conftest$ac_exeext
14526 if { (ac_try="$ac_link"
14527 case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14530 esac
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_link") 2>conftest.er1
14533 ac_status=$?
14534 grep -v '^ *+' conftest.er1 >conftest.err
14535 rm -f conftest.er1
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } && {
14539 test -z "$ac_c_werror_flag" ||
14540 test ! -s conftest.err
14541 } && test -s conftest$ac_exeext &&
14542 $as_test_x conftest$ac_exeext; then
14543 case "$LIBEXT" in
14544 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep libXrender\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14545 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14546 esac
14547 if test "x$ac_cv_lib_soname_Xrender" = "x"
14548 then
14549 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14551 else
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.$ac_ext >&5
14555 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_get_soname_save_LIBS
14562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14563 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14564 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14566 cat >>confdefs.h <<_ACEOF
14567 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14568 _ACEOF
14572 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14573 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14574 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14577 ac_get_soname_save_LIBS=$LIBS
14578 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14579 cat >conftest.$ac_ext <<_ACEOF
14580 /* confdefs.h. */
14581 _ACEOF
14582 cat confdefs.h >>conftest.$ac_ext
14583 cat >>conftest.$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14586 /* Override any GCC internal prototype to avoid an error.
14587 Use char because int might match the return type of a GCC
14588 builtin and then its argument prototype would still apply. */
14589 #ifdef __cplusplus
14590 extern "C"
14591 #endif
14592 char XRRQueryExtension ();
14594 main ()
14596 return XRRQueryExtension ();
14598 return 0;
14600 _ACEOF
14601 rm -f conftest.$ac_objext conftest$ac_exeext
14602 if { (ac_try="$ac_link"
14603 case "(($ac_try" in
14604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14605 *) ac_try_echo=$ac_try;;
14606 esac
14607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14608 (eval "$ac_link") 2>conftest.er1
14609 ac_status=$?
14610 grep -v '^ *+' conftest.er1 >conftest.err
14611 rm -f conftest.er1
14612 cat conftest.err >&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } && {
14615 test -z "$ac_c_werror_flag" ||
14616 test ! -s conftest.err
14617 } && test -s conftest$ac_exeext &&
14618 $as_test_x conftest$ac_exeext; then
14619 case "$LIBEXT" in
14620 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep libXrandr\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14621 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14622 esac
14623 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14624 then
14625 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14627 else
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14631 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14635 conftest$ac_exeext conftest.$ac_ext
14636 LIBS=$ac_get_soname_save_LIBS
14638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14639 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14640 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14642 cat >>confdefs.h <<_ACEOF
14643 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14644 _ACEOF
14648 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14649 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14650 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 else
14653 ac_get_soname_save_LIBS=$LIBS
14654 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
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. */
14662 /* Override any GCC internal prototype to avoid an error.
14663 Use char because int might match the return type of a GCC
14664 builtin and then its argument prototype would still apply. */
14665 #ifdef __cplusplus
14666 extern "C"
14667 #endif
14668 char XcursorImageLoadCursor ();
14670 main ()
14672 return XcursorImageLoadCursor ();
14674 return 0;
14676 _ACEOF
14677 rm -f conftest.$ac_objext conftest$ac_exeext
14678 if { (ac_try="$ac_link"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_link") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest$ac_exeext &&
14694 $as_test_x conftest$ac_exeext; then
14695 case "$LIBEXT" in
14696 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep libXcursor\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14697 so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14698 esac
14699 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14700 then
14701 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14707 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LIBS=$ac_get_soname_save_LIBS
14714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14715 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14716 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14718 cat >>confdefs.h <<_ACEOF
14719 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14720 _ACEOF
14724 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14725 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14726 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14727 echo $ECHO_N "(cached) $ECHO_C" >&6
14728 else
14729 ac_get_soname_save_LIBS=$LIBS
14730 LIBS="-lfreetype $X_LIBS $LIBS"
14731 cat >conftest.$ac_ext <<_ACEOF
14732 /* confdefs.h. */
14733 _ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 #ifdef __cplusplus
14742 extern "C"
14743 #endif
14744 char FT_Init_FreeType ();
14746 main ()
14748 return FT_Init_FreeType ();
14750 return 0;
14752 _ACEOF
14753 rm -f conftest.$ac_objext conftest$ac_exeext
14754 if { (ac_try="$ac_link"
14755 case "(($ac_try" in
14756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14757 *) ac_try_echo=$ac_try;;
14758 esac
14759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14760 (eval "$ac_link") 2>conftest.er1
14761 ac_status=$?
14762 grep -v '^ *+' conftest.er1 >conftest.err
14763 rm -f conftest.er1
14764 cat conftest.err >&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } && {
14767 test -z "$ac_c_werror_flag" ||
14768 test ! -s conftest.err
14769 } && test -s conftest$ac_exeext &&
14770 $as_test_x conftest$ac_exeext; then
14771 case "$LIBEXT" in
14772 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep libfreetype\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14773 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14774 esac
14775 if test "x$ac_cv_lib_soname_freetype" = "x"
14776 then
14777 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14779 else
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5
14783 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_get_soname_save_LIBS
14790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14792 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14794 cat >>confdefs.h <<_ACEOF
14795 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14796 _ACEOF
14800 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14801 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14802 if test "${ac_cv_lib_soname_GL+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 else
14805 ac_get_soname_save_LIBS=$LIBS
14806 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14807 cat >conftest.$ac_ext <<_ACEOF
14808 /* confdefs.h. */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char glXQueryExtension ();
14822 main ()
14824 return glXQueryExtension ();
14826 return 0;
14828 _ACEOF
14829 rm -f conftest.$ac_objext conftest$ac_exeext
14830 if { (ac_try="$ac_link"
14831 case "(($ac_try" in
14832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14834 esac
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_link") 2>conftest.er1
14837 ac_status=$?
14838 grep -v '^ *+' conftest.er1 >conftest.err
14839 rm -f conftest.er1
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } && {
14843 test -z "$ac_c_werror_flag" ||
14844 test ! -s conftest.err
14845 } && test -s conftest$ac_exeext &&
14846 $as_test_x conftest$ac_exeext; then
14847 case "$LIBEXT" in
14848 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep libGL\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14849 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14850 esac
14851 if test "x$ac_cv_lib_soname_GL" = "x"
14852 then
14853 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14855 else
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_get_soname_save_LIBS
14866 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14867 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14868 if test "${ac_cv_lib_soname_GL+set}" = set; then
14870 cat >>confdefs.h <<_ACEOF
14871 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14872 _ACEOF
14876 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14877 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14878 if test "${ac_cv_lib_soname_hal+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 else
14881 ac_get_soname_save_LIBS=$LIBS
14882 LIBS="-lhal $LIBS"
14883 cat >conftest.$ac_ext <<_ACEOF
14884 /* confdefs.h. */
14885 _ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14893 #ifdef __cplusplus
14894 extern "C"
14895 #endif
14896 char libhal_ctx_new ();
14898 main ()
14900 return libhal_ctx_new ();
14902 return 0;
14904 _ACEOF
14905 rm -f conftest.$ac_objext conftest$ac_exeext
14906 if { (ac_try="$ac_link"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14910 esac
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_link") 2>conftest.er1
14913 ac_status=$?
14914 grep -v '^ *+' conftest.er1 >conftest.err
14915 rm -f conftest.er1
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest$ac_exeext &&
14922 $as_test_x conftest$ac_exeext; then
14923 case "$LIBEXT" in
14924 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep libhal\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14925 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14926 esac
14927 if test "x$ac_cv_lib_soname_hal" = "x"
14928 then
14929 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14931 else
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14935 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14939 conftest$ac_exeext conftest.$ac_ext
14940 LIBS=$ac_get_soname_save_LIBS
14942 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14943 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14944 if test "${ac_cv_lib_soname_hal+set}" = set; then
14946 cat >>confdefs.h <<_ACEOF
14947 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14948 _ACEOF
14952 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14953 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14954 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14956 else
14957 ac_get_soname_save_LIBS=$LIBS
14958 LIBS="-ltxc_dxtn $LIBS"
14959 cat >conftest.$ac_ext <<_ACEOF
14960 /* confdefs.h. */
14961 _ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 char fetch_2d_texel_rgba_dxt1 ();
14974 main ()
14976 return fetch_2d_texel_rgba_dxt1 ();
14978 return 0;
14980 _ACEOF
14981 rm -f conftest.$ac_objext conftest$ac_exeext
14982 if { (ac_try="$ac_link"
14983 case "(($ac_try" in
14984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14985 *) ac_try_echo=$ac_try;;
14986 esac
14987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14988 (eval "$ac_link") 2>conftest.er1
14989 ac_status=$?
14990 grep -v '^ *+' conftest.er1 >conftest.err
14991 rm -f conftest.er1
14992 cat conftest.err >&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } && {
14995 test -z "$ac_c_werror_flag" ||
14996 test ! -s conftest.err
14997 } && test -s conftest$ac_exeext &&
14998 $as_test_x conftest$ac_exeext; then
14999 case "$LIBEXT" in
15000 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15001 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15002 esac
15003 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15004 then
15005 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_get_soname_save_LIBS
15018 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15019 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15020 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15022 cat >>confdefs.h <<_ACEOF
15023 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15024 _ACEOF
15028 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15029 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15030 if test "${ac_cv_lib_soname_cups+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 else
15033 ac_get_soname_save_LIBS=$LIBS
15034 LIBS="-lcups $LIBS"
15035 cat >conftest.$ac_ext <<_ACEOF
15036 /* confdefs.h. */
15037 _ACEOF
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15042 /* Override any GCC internal prototype to avoid an error.
15043 Use char because int might match the return type of a GCC
15044 builtin and then its argument prototype would still apply. */
15045 #ifdef __cplusplus
15046 extern "C"
15047 #endif
15048 char cupsGetDefault ();
15050 main ()
15052 return cupsGetDefault ();
15054 return 0;
15056 _ACEOF
15057 rm -f conftest.$ac_objext conftest$ac_exeext
15058 if { (ac_try="$ac_link"
15059 case "(($ac_try" in
15060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15062 esac
15063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_link") 2>conftest.er1
15065 ac_status=$?
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest$ac_exeext &&
15074 $as_test_x conftest$ac_exeext; then
15075 case "$LIBEXT" in
15076 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep libcups\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15077 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15078 esac
15079 if test "x$ac_cv_lib_soname_cups" = "x"
15080 then
15081 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15087 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15091 conftest$ac_exeext conftest.$ac_ext
15092 LIBS=$ac_get_soname_save_LIBS
15094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15095 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15096 if test "${ac_cv_lib_soname_cups+set}" = set; then
15098 cat >>confdefs.h <<_ACEOF
15099 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15100 _ACEOF
15104 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15105 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15106 if test "${ac_cv_lib_soname_jack+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 else
15109 ac_get_soname_save_LIBS=$LIBS
15110 LIBS="-ljack $LIBS"
15111 cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h. */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 #ifdef __cplusplus
15122 extern "C"
15123 #endif
15124 char jack_client_new ();
15126 main ()
15128 return jack_client_new ();
15130 return 0;
15132 _ACEOF
15133 rm -f conftest.$ac_objext conftest$ac_exeext
15134 if { (ac_try="$ac_link"
15135 case "(($ac_try" in
15136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15137 *) ac_try_echo=$ac_try;;
15138 esac
15139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15140 (eval "$ac_link") 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } && {
15147 test -z "$ac_c_werror_flag" ||
15148 test ! -s conftest.err
15149 } && test -s conftest$ac_exeext &&
15150 $as_test_x conftest$ac_exeext; then
15151 case "$LIBEXT" in
15152 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep libjack\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15153 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15154 esac
15155 if test "x$ac_cv_lib_soname_jack" = "x"
15156 then
15157 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15159 else
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15163 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_get_soname_save_LIBS
15170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15171 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15172 if test "${ac_cv_lib_soname_jack+set}" = set; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15176 _ACEOF
15180 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15181 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15182 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185 ac_get_soname_save_LIBS=$LIBS
15186 LIBS="-lfontconfig $LIBS"
15187 cat >conftest.$ac_ext <<_ACEOF
15188 /* confdefs.h. */
15189 _ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 #ifdef __cplusplus
15198 extern "C"
15199 #endif
15200 char FcInit ();
15202 main ()
15204 return FcInit ();
15206 return 0;
15208 _ACEOF
15209 rm -f conftest.$ac_objext conftest$ac_exeext
15210 if { (ac_try="$ac_link"
15211 case "(($ac_try" in
15212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15213 *) ac_try_echo=$ac_try;;
15214 esac
15215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15216 (eval "$ac_link") 2>conftest.er1
15217 ac_status=$?
15218 grep -v '^ *+' conftest.er1 >conftest.err
15219 rm -f conftest.er1
15220 cat conftest.err >&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } && {
15223 test -z "$ac_c_werror_flag" ||
15224 test ! -s conftest.err
15225 } && test -s conftest$ac_exeext &&
15226 $as_test_x conftest$ac_exeext; then
15227 case "$LIBEXT" in
15228 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep libfontconfig\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15229 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15230 esac
15231 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15232 then
15233 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15235 else
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15239 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_get_soname_save_LIBS
15246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15247 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15248 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15250 cat >>confdefs.h <<_ACEOF
15251 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15252 _ACEOF
15256 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15257 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15258 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15261 ac_get_soname_save_LIBS=$LIBS
15262 LIBS="-lssl $LIBS"
15263 cat >conftest.$ac_ext <<_ACEOF
15264 /* confdefs.h. */
15265 _ACEOF
15266 cat confdefs.h >>conftest.$ac_ext
15267 cat >>conftest.$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15273 #ifdef __cplusplus
15274 extern "C"
15275 #endif
15276 char SSL_library_init ();
15278 main ()
15280 return SSL_library_init ();
15282 return 0;
15284 _ACEOF
15285 rm -f conftest.$ac_objext conftest$ac_exeext
15286 if { (ac_try="$ac_link"
15287 case "(($ac_try" in
15288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15289 *) ac_try_echo=$ac_try;;
15290 esac
15291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15292 (eval "$ac_link") 2>conftest.er1
15293 ac_status=$?
15294 grep -v '^ *+' conftest.er1 >conftest.err
15295 rm -f conftest.er1
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } && {
15299 test -z "$ac_c_werror_flag" ||
15300 test ! -s conftest.err
15301 } && test -s conftest$ac_exeext &&
15302 $as_test_x conftest$ac_exeext; then
15303 case "$LIBEXT" in
15304 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep libssl\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15305 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15306 esac
15307 if test "x$ac_cv_lib_soname_ssl" = "x"
15308 then
15309 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15319 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_get_soname_save_LIBS
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15324 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15326 cat >>confdefs.h <<_ACEOF
15327 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15328 _ACEOF
15332 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15333 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15334 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 else
15337 ac_get_soname_save_LIBS=$LIBS
15338 LIBS="-lcrypto $LIBS"
15339 cat >conftest.$ac_ext <<_ACEOF
15340 /* confdefs.h. */
15341 _ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15346 /* Override any GCC internal prototype to avoid an error.
15347 Use char because int might match the return type of a GCC
15348 builtin and then its argument prototype would still apply. */
15349 #ifdef __cplusplus
15350 extern "C"
15351 #endif
15352 char BIO_new_socket ();
15354 main ()
15356 return BIO_new_socket ();
15358 return 0;
15360 _ACEOF
15361 rm -f conftest.$ac_objext conftest$ac_exeext
15362 if { (ac_try="$ac_link"
15363 case "(($ac_try" in
15364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15365 *) ac_try_echo=$ac_try;;
15366 esac
15367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15368 (eval "$ac_link") 2>conftest.er1
15369 ac_status=$?
15370 grep -v '^ *+' conftest.er1 >conftest.err
15371 rm -f conftest.er1
15372 cat conftest.err >&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } && {
15375 test -z "$ac_c_werror_flag" ||
15376 test ! -s conftest.err
15377 } && test -s conftest$ac_exeext &&
15378 $as_test_x conftest$ac_exeext; then
15379 case "$LIBEXT" in
15380 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep libcrypto\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15381 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15382 esac
15383 if test "x$ac_cv_lib_soname_crypto" = "x"
15384 then
15385 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15387 else
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15395 conftest$ac_exeext conftest.$ac_ext
15396 LIBS=$ac_get_soname_save_LIBS
15398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15399 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15400 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15402 cat >>confdefs.h <<_ACEOF
15403 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15404 _ACEOF
15408 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15409 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15410 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 else
15413 ac_get_soname_save_LIBS=$LIBS
15414 LIBS="-lncurses $LIBS"
15415 cat >conftest.$ac_ext <<_ACEOF
15416 /* confdefs.h. */
15417 _ACEOF
15418 cat confdefs.h >>conftest.$ac_ext
15419 cat >>conftest.$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15425 #ifdef __cplusplus
15426 extern "C"
15427 #endif
15428 char waddch ();
15430 main ()
15432 return waddch ();
15434 return 0;
15436 _ACEOF
15437 rm -f conftest.$ac_objext conftest$ac_exeext
15438 if { (ac_try="$ac_link"
15439 case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15442 esac
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_link") 2>conftest.er1
15445 ac_status=$?
15446 grep -v '^ *+' conftest.er1 >conftest.err
15447 rm -f conftest.er1
15448 cat conftest.err >&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } && {
15451 test -z "$ac_c_werror_flag" ||
15452 test ! -s conftest.err
15453 } && test -s conftest$ac_exeext &&
15454 $as_test_x conftest$ac_exeext; then
15455 case "$LIBEXT" in
15456 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep libncurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15457 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15458 esac
15459 if test "x$ac_cv_lib_soname_ncurses" = "x"
15460 then
15461 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15463 else
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15467 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15471 conftest$ac_exeext conftest.$ac_ext
15472 LIBS=$ac_get_soname_save_LIBS
15474 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15475 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15476 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15478 cat >>confdefs.h <<_ACEOF
15479 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15480 _ACEOF
15484 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15485 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15486 if test "${ac_cv_lib_soname_curses+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 ac_get_soname_save_LIBS=$LIBS
15490 LIBS="-lcurses $LIBS"
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h. */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15498 /* Override any GCC internal prototype to avoid an error.
15499 Use char because int might match the return type of a GCC
15500 builtin and then its argument prototype would still apply. */
15501 #ifdef __cplusplus
15502 extern "C"
15503 #endif
15504 char waddch ();
15506 main ()
15508 return waddch ();
15510 return 0;
15512 _ACEOF
15513 rm -f conftest.$ac_objext conftest$ac_exeext
15514 if { (ac_try="$ac_link"
15515 case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518 esac
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_link") 2>conftest.er1
15521 ac_status=$?
15522 grep -v '^ *+' conftest.er1 >conftest.err
15523 rm -f conftest.er1
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest$ac_exeext &&
15530 $as_test_x conftest$ac_exeext; then
15531 case "$LIBEXT" in
15532 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep libcurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15533 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15534 esac
15535 if test "x$ac_cv_lib_soname_curses" = "x"
15536 then
15537 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15547 conftest$ac_exeext conftest.$ac_ext
15548 LIBS=$ac_get_soname_save_LIBS
15550 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15551 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15552 if test "${ac_cv_lib_soname_curses+set}" = set; then
15554 cat >>confdefs.h <<_ACEOF
15555 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15556 _ACEOF
15560 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15561 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15562 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15564 else
15565 ac_get_soname_save_LIBS=$LIBS
15566 LIBS="-ljpeg $LIBS"
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15574 /* Override any GCC internal prototype to avoid an error.
15575 Use char because int might match the return type of a GCC
15576 builtin and then its argument prototype would still apply. */
15577 #ifdef __cplusplus
15578 extern "C"
15579 #endif
15580 char jpeg_start_decompress ();
15582 main ()
15584 return jpeg_start_decompress ();
15586 return 0;
15588 _ACEOF
15589 rm -f conftest.$ac_objext conftest$ac_exeext
15590 if { (ac_try="$ac_link"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15594 esac
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_link") 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest$ac_exeext &&
15606 $as_test_x conftest$ac_exeext; then
15607 case "$LIBEXT" in
15608 dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep libjpeg\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15609 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15610 esac
15611 if test "x$ac_cv_lib_soname_jpeg" = "x"
15612 then
15613 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15615 else
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15619 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_get_soname_save_LIBS
15626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15628 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15630 cat >>confdefs.h <<_ACEOF
15631 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15632 _ACEOF
15636 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15637 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15638 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 else
15641 ac_get_soname_save_LIBS=$LIBS
15642 LIBS="-lcapi20 $LIBS"
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15653 #ifdef __cplusplus
15654 extern "C"
15655 #endif
15656 char capi20_isinstalled ();
15658 main ()
15660 return capi20_isinstalled ();
15662 return 0;
15664 _ACEOF
15665 rm -f conftest.$ac_objext conftest$ac_exeext
15666 if { (ac_try="$ac_link"
15667 case "(($ac_try" in
15668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15669 *) ac_try_echo=$ac_try;;
15670 esac
15671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15672 (eval "$ac_link") 2>conftest.er1
15673 ac_status=$?
15674 grep -v '^ *+' conftest.er1 >conftest.err
15675 rm -f conftest.er1
15676 cat conftest.err >&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } && {
15679 test -z "$ac_c_werror_flag" ||
15680 test ! -s conftest.err
15681 } && test -s conftest$ac_exeext &&
15682 $as_test_x conftest$ac_exeext; then
15683 case "$LIBEXT" in
15684 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep libcapi20\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15685 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15686 esac
15687 if test "x$ac_cv_lib_soname_capi20" = "x"
15688 then
15689 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15691 else
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15695 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15699 conftest$ac_exeext conftest.$ac_ext
15700 LIBS=$ac_get_soname_save_LIBS
15702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15703 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15704 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15706 cat >>confdefs.h <<_ACEOF
15707 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15708 _ACEOF
15712 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15713 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15714 if test "${ac_cv_lib_soname_sane+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717 ac_get_soname_save_LIBS=$LIBS
15718 LIBS="-lsane $LIBS"
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 #ifdef __cplusplus
15730 extern "C"
15731 #endif
15732 char sane_init ();
15734 main ()
15736 return sane_init ();
15738 return 0;
15740 _ACEOF
15741 rm -f conftest.$ac_objext conftest$ac_exeext
15742 if { (ac_try="$ac_link"
15743 case "(($ac_try" in
15744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;;
15746 esac
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15749 ac_status=$?
15750 grep -v '^ *+' conftest.er1 >conftest.err
15751 rm -f conftest.er1
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest$ac_exeext &&
15758 $as_test_x conftest$ac_exeext; then
15759 case "$LIBEXT" in
15760 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep libsane\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15761 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15762 esac
15763 if test "x$ac_cv_lib_soname_sane" = "x"
15764 then
15765 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15767 else
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15771 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15775 conftest$ac_exeext conftest.$ac_ext
15776 LIBS=$ac_get_soname_save_LIBS
15778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15779 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15780 if test "${ac_cv_lib_soname_sane+set}" = set; then
15782 cat >>confdefs.h <<_ACEOF
15783 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15784 _ACEOF
15852 for ac_func in \
15853 _pclose \
15854 _popen \
15855 _snprintf \
15856 _spawnvp \
15857 _stricmp \
15858 _strnicmp \
15859 _vsnprintf \
15860 asctime_r \
15861 chsize \
15862 clone \
15863 dlopen \
15864 epoll_create \
15865 ffs \
15866 finite \
15867 fork \
15868 fpclass \
15869 fstatfs \
15870 fstatvfs \
15871 ftruncate \
15872 futimes \
15873 futimesat \
15874 getdirentries \
15875 getopt_long \
15876 getpagesize \
15877 getpwuid \
15878 gettid \
15879 gettimeofday \
15880 getuid \
15881 kqueue \
15882 lstat \
15883 memmove \
15884 mmap \
15885 pclose \
15886 poll \
15887 popen \
15888 prctl \
15889 pread \
15890 pwrite \
15891 readlink \
15892 rfork \
15893 sched_yield \
15894 select \
15895 setrlimit \
15896 settimeofday \
15897 sigaltstack \
15898 sigprocmask \
15899 snprintf \
15900 spawnvp \
15901 statfs \
15902 statvfs \
15903 strcasecmp \
15904 strerror \
15905 strncasecmp \
15906 strtold \
15907 tcgetattr \
15908 timegm \
15909 usleep \
15910 vsnprintf \
15911 wait4 \
15912 waitpid \
15915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 cat >conftest.$ac_ext <<_ACEOF
15922 /* confdefs.h. */
15923 _ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15929 #define $ac_func innocuous_$ac_func
15931 /* System header to define __stub macros and hopefully few prototypes,
15932 which can conflict with char $ac_func (); below.
15933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15934 <limits.h> exists even on freestanding compilers. */
15936 #ifdef __STDC__
15937 # include <limits.h>
15938 #else
15939 # include <assert.h>
15940 #endif
15942 #undef $ac_func
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15947 #ifdef __cplusplus
15948 extern "C"
15949 #endif
15950 char $ac_func ();
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined __stub_$ac_func || defined __stub___$ac_func
15955 choke me
15956 #endif
15959 main ()
15961 return $ac_func ();
15963 return 0;
15965 _ACEOF
15966 rm -f conftest.$ac_objext conftest$ac_exeext
15967 if { (ac_try="$ac_link"
15968 case "(($ac_try" in
15969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15970 *) ac_try_echo=$ac_try;;
15971 esac
15972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15973 (eval "$ac_link") 2>conftest.er1
15974 ac_status=$?
15975 grep -v '^ *+' conftest.er1 >conftest.err
15976 rm -f conftest.er1
15977 cat conftest.err >&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); } && {
15980 test -z "$ac_c_werror_flag" ||
15981 test ! -s conftest.err
15982 } && test -s conftest$ac_exeext &&
15983 $as_test_x conftest$ac_exeext; then
15984 eval "$as_ac_var=yes"
15985 else
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15989 eval "$as_ac_var=no"
15992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15993 conftest$ac_exeext conftest.$ac_ext
15995 ac_res=`eval echo '${'$as_ac_var'}'`
15996 { echo "$as_me:$LINENO: result: $ac_res" >&5
15997 echo "${ECHO_T}$ac_res" >&6; }
15998 if test `eval echo '${'$as_ac_var'}'` = yes; then
15999 cat >>confdefs.h <<_ACEOF
16000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16001 _ACEOF
16004 done
16007 if test "$ac_cv_func_dlopen" = no
16008 then
16009 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16010 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16011 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 else
16014 ac_check_lib_save_LIBS=$LIBS
16015 LIBS="-ldl $LIBS"
16016 cat >conftest.$ac_ext <<_ACEOF
16017 /* confdefs.h. */
16018 _ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char dlopen ();
16031 main ()
16033 return dlopen ();
16035 return 0;
16037 _ACEOF
16038 rm -f conftest.$ac_objext conftest$ac_exeext
16039 if { (ac_try="$ac_link"
16040 case "(($ac_try" in
16041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042 *) ac_try_echo=$ac_try;;
16043 esac
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_link") 2>conftest.er1
16046 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && {
16052 test -z "$ac_c_werror_flag" ||
16053 test ! -s conftest.err
16054 } && test -s conftest$ac_exeext &&
16055 $as_test_x conftest$ac_exeext; then
16056 ac_cv_lib_dl_dlopen=yes
16057 else
16058 echo "$as_me: failed program was:" >&5
16059 sed 's/^/| /' conftest.$ac_ext >&5
16061 ac_cv_lib_dl_dlopen=no
16064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16065 conftest$ac_exeext conftest.$ac_ext
16066 LIBS=$ac_check_lib_save_LIBS
16068 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16069 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16070 if test $ac_cv_lib_dl_dlopen = yes; then
16071 cat >>confdefs.h <<\_ACEOF
16072 #define HAVE_DLOPEN 1
16073 _ACEOF
16074 LIBDL="-ldl"
16079 ac_wine_check_funcs_save_LIBS="$LIBS"
16080 LIBS="$LIBS $LIBDL"
16082 for ac_func in dladdr
16084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 else
16090 cat >conftest.$ac_ext <<_ACEOF
16091 /* confdefs.h. */
16092 _ACEOF
16093 cat confdefs.h >>conftest.$ac_ext
16094 cat >>conftest.$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16098 #define $ac_func innocuous_$ac_func
16100 /* System header to define __stub macros and hopefully few prototypes,
16101 which can conflict with char $ac_func (); below.
16102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16103 <limits.h> exists even on freestanding compilers. */
16105 #ifdef __STDC__
16106 # include <limits.h>
16107 #else
16108 # include <assert.h>
16109 #endif
16111 #undef $ac_func
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 #ifdef __cplusplus
16117 extern "C"
16118 #endif
16119 char $ac_func ();
16120 /* The GNU C library defines this for functions which it implements
16121 to always fail with ENOSYS. Some functions are actually named
16122 something starting with __ and the normal name is an alias. */
16123 #if defined __stub_$ac_func || defined __stub___$ac_func
16124 choke me
16125 #endif
16128 main ()
16130 return $ac_func ();
16132 return 0;
16134 _ACEOF
16135 rm -f conftest.$ac_objext conftest$ac_exeext
16136 if { (ac_try="$ac_link"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16140 esac
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_link") 2>conftest.er1
16143 ac_status=$?
16144 grep -v '^ *+' conftest.er1 >conftest.err
16145 rm -f conftest.er1
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest$ac_exeext &&
16152 $as_test_x conftest$ac_exeext; then
16153 eval "$as_ac_var=yes"
16154 else
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16158 eval "$as_ac_var=no"
16161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16162 conftest$ac_exeext conftest.$ac_ext
16164 ac_res=`eval echo '${'$as_ac_var'}'`
16165 { echo "$as_me:$LINENO: result: $ac_res" >&5
16166 echo "${ECHO_T}$ac_res" >&6; }
16167 if test `eval echo '${'$as_ac_var'}'` = yes; then
16168 cat >>confdefs.h <<_ACEOF
16169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16170 _ACEOF
16173 done
16175 LIBS="$ac_wine_check_funcs_save_LIBS"
16177 if test "$ac_cv_func_poll" = no
16178 then
16179 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16180 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16181 if test "${ac_cv_lib_poll_poll+set}" = set; then
16182 echo $ECHO_N "(cached) $ECHO_C" >&6
16183 else
16184 ac_check_lib_save_LIBS=$LIBS
16185 LIBS="-lpoll $LIBS"
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16193 /* Override any GCC internal prototype to avoid an error.
16194 Use char because int might match the return type of a GCC
16195 builtin and then its argument prototype would still apply. */
16196 #ifdef __cplusplus
16197 extern "C"
16198 #endif
16199 char poll ();
16201 main ()
16203 return poll ();
16205 return 0;
16207 _ACEOF
16208 rm -f conftest.$ac_objext conftest$ac_exeext
16209 if { (ac_try="$ac_link"
16210 case "(($ac_try" in
16211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16213 esac
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_link") 2>conftest.er1
16216 ac_status=$?
16217 grep -v '^ *+' conftest.er1 >conftest.err
16218 rm -f conftest.er1
16219 cat conftest.err >&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } && {
16222 test -z "$ac_c_werror_flag" ||
16223 test ! -s conftest.err
16224 } && test -s conftest$ac_exeext &&
16225 $as_test_x conftest$ac_exeext; then
16226 ac_cv_lib_poll_poll=yes
16227 else
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16231 ac_cv_lib_poll_poll=no
16234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16235 conftest$ac_exeext conftest.$ac_ext
16236 LIBS=$ac_check_lib_save_LIBS
16238 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16239 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16240 if test $ac_cv_lib_poll_poll = yes; then
16241 cat >>confdefs.h <<\_ACEOF
16242 #define HAVE_POLL 1
16243 _ACEOF
16244 LIBPOLL="-lpoll"
16250 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16251 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16252 if test "${ac_cv_search_gethostbyname+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 else
16255 ac_func_search_save_LIBS=$LIBS
16256 cat >conftest.$ac_ext <<_ACEOF
16257 /* confdefs.h. */
16258 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16263 /* Override any GCC internal prototype to avoid an error.
16264 Use char because int might match the return type of a GCC
16265 builtin and then its argument prototype would still apply. */
16266 #ifdef __cplusplus
16267 extern "C"
16268 #endif
16269 char gethostbyname ();
16271 main ()
16273 return gethostbyname ();
16275 return 0;
16277 _ACEOF
16278 for ac_lib in '' nsl; do
16279 if test -z "$ac_lib"; then
16280 ac_res="none required"
16281 else
16282 ac_res=-l$ac_lib
16283 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16285 rm -f conftest.$ac_objext conftest$ac_exeext
16286 if { (ac_try="$ac_link"
16287 case "(($ac_try" in
16288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16289 *) ac_try_echo=$ac_try;;
16290 esac
16291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16292 (eval "$ac_link") 2>conftest.er1
16293 ac_status=$?
16294 grep -v '^ *+' conftest.er1 >conftest.err
16295 rm -f conftest.er1
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && {
16299 test -z "$ac_c_werror_flag" ||
16300 test ! -s conftest.err
16301 } && test -s conftest$ac_exeext &&
16302 $as_test_x conftest$ac_exeext; then
16303 ac_cv_search_gethostbyname=$ac_res
16304 else
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16312 conftest$ac_exeext
16313 if test "${ac_cv_search_gethostbyname+set}" = set; then
16314 break
16316 done
16317 if test "${ac_cv_search_gethostbyname+set}" = set; then
16319 else
16320 ac_cv_search_gethostbyname=no
16322 rm conftest.$ac_ext
16323 LIBS=$ac_func_search_save_LIBS
16325 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16326 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16327 ac_res=$ac_cv_search_gethostbyname
16328 if test "$ac_res" != no; then
16329 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16334 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16335 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16336 if test "${ac_cv_search_connect+set}" = set; then
16337 echo $ECHO_N "(cached) $ECHO_C" >&6
16338 else
16339 ac_func_search_save_LIBS=$LIBS
16340 cat >conftest.$ac_ext <<_ACEOF
16341 /* confdefs.h. */
16342 _ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16347 /* Override any GCC internal prototype to avoid an error.
16348 Use char because int might match the return type of a GCC
16349 builtin and then its argument prototype would still apply. */
16350 #ifdef __cplusplus
16351 extern "C"
16352 #endif
16353 char connect ();
16355 main ()
16357 return connect ();
16359 return 0;
16361 _ACEOF
16362 for ac_lib in '' socket; do
16363 if test -z "$ac_lib"; then
16364 ac_res="none required"
16365 else
16366 ac_res=-l$ac_lib
16367 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (ac_try="$ac_link"
16371 case "(($ac_try" in
16372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16374 esac
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_link") 2>conftest.er1
16377 ac_status=$?
16378 grep -v '^ *+' conftest.er1 >conftest.err
16379 rm -f conftest.er1
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } && {
16383 test -z "$ac_c_werror_flag" ||
16384 test ! -s conftest.err
16385 } && test -s conftest$ac_exeext &&
16386 $as_test_x conftest$ac_exeext; then
16387 ac_cv_search_connect=$ac_res
16388 else
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16396 conftest$ac_exeext
16397 if test "${ac_cv_search_connect+set}" = set; then
16398 break
16400 done
16401 if test "${ac_cv_search_connect+set}" = set; then
16403 else
16404 ac_cv_search_connect=no
16406 rm conftest.$ac_ext
16407 LIBS=$ac_func_search_save_LIBS
16409 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16410 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16411 ac_res=$ac_cv_search_connect
16412 if test "$ac_res" != no; then
16413 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16418 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16419 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16420 if test "${ac_cv_search_inet_aton+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 else
16423 ac_func_search_save_LIBS=$LIBS
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16431 /* Override any GCC internal prototype to avoid an error.
16432 Use char because int might match the return type of a GCC
16433 builtin and then its argument prototype would still apply. */
16434 #ifdef __cplusplus
16435 extern "C"
16436 #endif
16437 char inet_aton ();
16439 main ()
16441 return inet_aton ();
16443 return 0;
16445 _ACEOF
16446 for ac_lib in '' resolv; do
16447 if test -z "$ac_lib"; then
16448 ac_res="none required"
16449 else
16450 ac_res=-l$ac_lib
16451 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16453 rm -f conftest.$ac_objext conftest$ac_exeext
16454 if { (ac_try="$ac_link"
16455 case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16458 esac
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_link") 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest$ac_exeext &&
16470 $as_test_x conftest$ac_exeext; then
16471 ac_cv_search_inet_aton=$ac_res
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16480 conftest$ac_exeext
16481 if test "${ac_cv_search_inet_aton+set}" = set; then
16482 break
16484 done
16485 if test "${ac_cv_search_inet_aton+set}" = set; then
16487 else
16488 ac_cv_search_inet_aton=no
16490 rm conftest.$ac_ext
16491 LIBS=$ac_func_search_save_LIBS
16493 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16494 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16495 ac_res=$ac_cv_search_inet_aton
16496 if test "$ac_res" != no; then
16497 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16510 for ac_func in \
16511 getaddrinfo \
16512 getnameinfo \
16513 getnetbyname \
16514 getprotobyname \
16515 getprotobynumber \
16516 getservbyport \
16517 inet_network \
16518 sendmsg \
16521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 else
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. */
16533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16535 #define $ac_func innocuous_$ac_func
16537 /* System header to define __stub macros and hopefully few prototypes,
16538 which can conflict with char $ac_func (); below.
16539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16540 <limits.h> exists even on freestanding compilers. */
16542 #ifdef __STDC__
16543 # include <limits.h>
16544 #else
16545 # include <assert.h>
16546 #endif
16548 #undef $ac_func
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16553 #ifdef __cplusplus
16554 extern "C"
16555 #endif
16556 char $ac_func ();
16557 /* The GNU C library defines this for functions which it implements
16558 to always fail with ENOSYS. Some functions are actually named
16559 something starting with __ and the normal name is an alias. */
16560 #if defined __stub_$ac_func || defined __stub___$ac_func
16561 choke me
16562 #endif
16565 main ()
16567 return $ac_func ();
16569 return 0;
16571 _ACEOF
16572 rm -f conftest.$ac_objext conftest$ac_exeext
16573 if { (ac_try="$ac_link"
16574 case "(($ac_try" in
16575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16576 *) ac_try_echo=$ac_try;;
16577 esac
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_link") 2>conftest.er1
16580 ac_status=$?
16581 grep -v '^ *+' conftest.er1 >conftest.err
16582 rm -f conftest.er1
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest$ac_exeext &&
16589 $as_test_x conftest$ac_exeext; then
16590 eval "$as_ac_var=yes"
16591 else
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16595 eval "$as_ac_var=no"
16598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16599 conftest$ac_exeext conftest.$ac_ext
16601 ac_res=`eval echo '${'$as_ac_var'}'`
16602 { echo "$as_me:$LINENO: result: $ac_res" >&5
16603 echo "${ECHO_T}$ac_res" >&6; }
16604 if test `eval echo '${'$as_ac_var'}'` = yes; then
16605 cat >>confdefs.h <<_ACEOF
16606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16607 _ACEOF
16610 done
16614 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16615 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16616 if test "${ac_cv_c_const+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16618 else
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16627 main ()
16629 /* FIXME: Include the comments suggested by Paul. */
16630 #ifndef __cplusplus
16631 /* Ultrix mips cc rejects this. */
16632 typedef int charset[2];
16633 const charset cs;
16634 /* SunOS 4.1.1 cc rejects this. */
16635 char const *const *pcpcc;
16636 char **ppc;
16637 /* NEC SVR4.0.2 mips cc rejects this. */
16638 struct point {int x, y;};
16639 static struct point const zero = {0,0};
16640 /* AIX XL C 1.02.0.0 rejects this.
16641 It does not let you subtract one const X* pointer from another in
16642 an arm of an if-expression whose if-part is not a constant
16643 expression */
16644 const char *g = "string";
16645 pcpcc = &g + (g ? g-g : 0);
16646 /* HPUX 7.0 cc rejects these. */
16647 ++pcpcc;
16648 ppc = (char**) pcpcc;
16649 pcpcc = (char const *const *) ppc;
16650 { /* SCO 3.2v4 cc rejects this. */
16651 char *t;
16652 char const *s = 0 ? (char *) 0 : (char const *) 0;
16654 *t++ = 0;
16655 if (s) return 0;
16657 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16658 int x[] = {25, 17};
16659 const int *foo = &x[0];
16660 ++foo;
16662 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16663 typedef const int *iptr;
16664 iptr p = 0;
16665 ++p;
16667 { /* AIX XL C 1.02.0.0 rejects this saying
16668 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16669 struct s { int j; const int *ap[3]; };
16670 struct s *b; b->j = 5;
16672 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16673 const int foo = 10;
16674 if (!foo) return 0;
16676 return !cs[0] && !zero.x;
16677 #endif
16680 return 0;
16682 _ACEOF
16683 rm -f conftest.$ac_objext
16684 if { (ac_try="$ac_compile"
16685 case "(($ac_try" in
16686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16688 esac
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_compile") 2>conftest.er1
16691 ac_status=$?
16692 grep -v '^ *+' conftest.er1 >conftest.err
16693 rm -f conftest.er1
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && {
16697 test -z "$ac_c_werror_flag" ||
16698 test ! -s conftest.err
16699 } && test -s conftest.$ac_objext; then
16700 ac_cv_c_const=yes
16701 else
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16705 ac_cv_c_const=no
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16710 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16711 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16712 if test $ac_cv_c_const = no; then
16714 cat >>confdefs.h <<\_ACEOF
16715 #define const
16716 _ACEOF
16720 { echo "$as_me:$LINENO: checking for inline" >&5
16721 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16722 if test "${ac_cv_c_inline+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725 ac_cv_c_inline=no
16726 for ac_kw in inline __inline__ __inline; do
16727 cat >conftest.$ac_ext <<_ACEOF
16728 /* confdefs.h. */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 #ifndef __cplusplus
16734 typedef int foo_t;
16735 static $ac_kw foo_t static_foo () {return 0; }
16736 $ac_kw foo_t foo () {return 0; }
16737 #endif
16739 _ACEOF
16740 rm -f conftest.$ac_objext
16741 if { (ac_try="$ac_compile"
16742 case "(($ac_try" in
16743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16744 *) ac_try_echo=$ac_try;;
16745 esac
16746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16747 (eval "$ac_compile") 2>conftest.er1
16748 ac_status=$?
16749 grep -v '^ *+' conftest.er1 >conftest.err
16750 rm -f conftest.er1
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } && {
16754 test -z "$ac_c_werror_flag" ||
16755 test ! -s conftest.err
16756 } && test -s conftest.$ac_objext; then
16757 ac_cv_c_inline=$ac_kw
16758 else
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16766 test "$ac_cv_c_inline" != no && break
16767 done
16770 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16771 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16774 case $ac_cv_c_inline in
16775 inline | yes) ;;
16777 case $ac_cv_c_inline in
16778 no) ac_val=;;
16779 *) ac_val=$ac_cv_c_inline;;
16780 esac
16781 cat >>confdefs.h <<_ACEOF
16782 #ifndef __cplusplus
16783 #define inline $ac_val
16784 #endif
16785 _ACEOF
16787 esac
16789 { echo "$as_me:$LINENO: checking for mode_t" >&5
16790 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16791 if test "${ac_cv_type_mode_t+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 cat >conftest.$ac_ext <<_ACEOF
16795 /* confdefs.h. */
16796 _ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 $ac_includes_default
16801 typedef mode_t ac__type_new_;
16803 main ()
16805 if ((ac__type_new_ *) 0)
16806 return 0;
16807 if (sizeof (ac__type_new_))
16808 return 0;
16810 return 0;
16812 _ACEOF
16813 rm -f conftest.$ac_objext
16814 if { (ac_try="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16818 esac
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 ac_cv_type_mode_t=yes
16831 else
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16835 ac_cv_type_mode_t=no
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16841 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16842 if test $ac_cv_type_mode_t = yes; then
16844 cat >>confdefs.h <<_ACEOF
16845 #define HAVE_MODE_T 1
16846 _ACEOF
16850 { echo "$as_me:$LINENO: checking for off_t" >&5
16851 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16852 if test "${ac_cv_type_off_t+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 else
16855 cat >conftest.$ac_ext <<_ACEOF
16856 /* confdefs.h. */
16857 _ACEOF
16858 cat confdefs.h >>conftest.$ac_ext
16859 cat >>conftest.$ac_ext <<_ACEOF
16860 /* end confdefs.h. */
16861 $ac_includes_default
16862 typedef off_t ac__type_new_;
16864 main ()
16866 if ((ac__type_new_ *) 0)
16867 return 0;
16868 if (sizeof (ac__type_new_))
16869 return 0;
16871 return 0;
16873 _ACEOF
16874 rm -f conftest.$ac_objext
16875 if { (ac_try="$ac_compile"
16876 case "(($ac_try" in
16877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16878 *) ac_try_echo=$ac_try;;
16879 esac
16880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16881 (eval "$ac_compile") 2>conftest.er1
16882 ac_status=$?
16883 grep -v '^ *+' conftest.er1 >conftest.err
16884 rm -f conftest.er1
16885 cat conftest.err >&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } && {
16888 test -z "$ac_c_werror_flag" ||
16889 test ! -s conftest.err
16890 } && test -s conftest.$ac_objext; then
16891 ac_cv_type_off_t=yes
16892 else
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.$ac_ext >&5
16896 ac_cv_type_off_t=no
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16902 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16903 if test $ac_cv_type_off_t = yes; then
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_OFF_T 1
16907 _ACEOF
16911 { echo "$as_me:$LINENO: checking for pid_t" >&5
16912 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16913 if test "${ac_cv_type_pid_t+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 else
16916 cat >conftest.$ac_ext <<_ACEOF
16917 /* confdefs.h. */
16918 _ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 $ac_includes_default
16923 typedef pid_t ac__type_new_;
16925 main ()
16927 if ((ac__type_new_ *) 0)
16928 return 0;
16929 if (sizeof (ac__type_new_))
16930 return 0;
16932 return 0;
16934 _ACEOF
16935 rm -f conftest.$ac_objext
16936 if { (ac_try="$ac_compile"
16937 case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16940 esac
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compile") 2>conftest.er1
16943 ac_status=$?
16944 grep -v '^ *+' conftest.er1 >conftest.err
16945 rm -f conftest.er1
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && {
16949 test -z "$ac_c_werror_flag" ||
16950 test ! -s conftest.err
16951 } && test -s conftest.$ac_objext; then
16952 ac_cv_type_pid_t=yes
16953 else
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16957 ac_cv_type_pid_t=no
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16963 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16964 if test $ac_cv_type_pid_t = yes; then
16966 cat >>confdefs.h <<_ACEOF
16967 #define HAVE_PID_T 1
16968 _ACEOF
16972 { echo "$as_me:$LINENO: checking for size_t" >&5
16973 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16974 if test "${ac_cv_type_size_t+set}" = set; then
16975 echo $ECHO_N "(cached) $ECHO_C" >&6
16976 else
16977 cat >conftest.$ac_ext <<_ACEOF
16978 /* confdefs.h. */
16979 _ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h. */
16983 $ac_includes_default
16984 typedef size_t ac__type_new_;
16986 main ()
16988 if ((ac__type_new_ *) 0)
16989 return 0;
16990 if (sizeof (ac__type_new_))
16991 return 0;
16993 return 0;
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (ac_try="$ac_compile"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17001 esac
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_compile") 2>conftest.er1
17004 ac_status=$?
17005 grep -v '^ *+' conftest.er1 >conftest.err
17006 rm -f conftest.er1
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } && {
17010 test -z "$ac_c_werror_flag" ||
17011 test ! -s conftest.err
17012 } && test -s conftest.$ac_objext; then
17013 ac_cv_type_size_t=yes
17014 else
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.$ac_ext >&5
17018 ac_cv_type_size_t=no
17021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17023 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17024 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17025 if test $ac_cv_type_size_t = yes; then
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_SIZE_T 1
17029 _ACEOF
17033 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17034 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17035 if test "${ac_cv_type_ssize_t+set}" = set; then
17036 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 else
17038 cat >conftest.$ac_ext <<_ACEOF
17039 /* confdefs.h. */
17040 _ACEOF
17041 cat confdefs.h >>conftest.$ac_ext
17042 cat >>conftest.$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 $ac_includes_default
17045 typedef ssize_t ac__type_new_;
17047 main ()
17049 if ((ac__type_new_ *) 0)
17050 return 0;
17051 if (sizeof (ac__type_new_))
17052 return 0;
17054 return 0;
17056 _ACEOF
17057 rm -f conftest.$ac_objext
17058 if { (ac_try="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17062 esac
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 ac_cv_type_ssize_t=yes
17075 else
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 ac_cv_type_ssize_t=no
17082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17085 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17086 if test $ac_cv_type_ssize_t = yes; then
17088 cat >>confdefs.h <<_ACEOF
17089 #define HAVE_SSIZE_T 1
17090 _ACEOF
17094 { echo "$as_me:$LINENO: checking for long long" >&5
17095 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17096 if test "${ac_cv_type_long_long+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 else
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h. */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 $ac_includes_default
17106 typedef long long ac__type_new_;
17108 main ()
17110 if ((ac__type_new_ *) 0)
17111 return 0;
17112 if (sizeof (ac__type_new_))
17113 return 0;
17115 return 0;
17117 _ACEOF
17118 rm -f conftest.$ac_objext
17119 if { (ac_try="$ac_compile"
17120 case "(($ac_try" in
17121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17122 *) ac_try_echo=$ac_try;;
17123 esac
17124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17125 (eval "$ac_compile") 2>conftest.er1
17126 ac_status=$?
17127 grep -v '^ *+' conftest.er1 >conftest.err
17128 rm -f conftest.er1
17129 cat conftest.err >&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } && {
17132 test -z "$ac_c_werror_flag" ||
17133 test ! -s conftest.err
17134 } && test -s conftest.$ac_objext; then
17135 ac_cv_type_long_long=yes
17136 else
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17140 ac_cv_type_long_long=no
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17146 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17147 if test $ac_cv_type_long_long = yes; then
17149 cat >>confdefs.h <<_ACEOF
17150 #define HAVE_LONG_LONG 1
17151 _ACEOF
17155 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17156 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17157 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 else
17160 cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h. */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17167 typedef fsblkcnt_t ac__type_new_;
17169 main ()
17171 if ((ac__type_new_ *) 0)
17172 return 0;
17173 if (sizeof (ac__type_new_))
17174 return 0;
17176 return 0;
17178 _ACEOF
17179 rm -f conftest.$ac_objext
17180 if { (ac_try="$ac_compile"
17181 case "(($ac_try" in
17182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17183 *) ac_try_echo=$ac_try;;
17184 esac
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_compile") 2>conftest.er1
17187 ac_status=$?
17188 grep -v '^ *+' conftest.er1 >conftest.err
17189 rm -f conftest.er1
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } && {
17193 test -z "$ac_c_werror_flag" ||
17194 test ! -s conftest.err
17195 } && test -s conftest.$ac_objext; then
17196 ac_cv_type_fsblkcnt_t=yes
17197 else
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17201 ac_cv_type_fsblkcnt_t=no
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17207 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17208 if test $ac_cv_type_fsblkcnt_t = yes; then
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_FSBLKCNT_T 1
17212 _ACEOF
17216 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17217 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17218 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17219 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 else
17221 cat >conftest.$ac_ext <<_ACEOF
17222 /* confdefs.h. */
17223 _ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 $ac_includes_default
17228 typedef fsfilcnt_t ac__type_new_;
17230 main ()
17232 if ((ac__type_new_ *) 0)
17233 return 0;
17234 if (sizeof (ac__type_new_))
17235 return 0;
17237 return 0;
17239 _ACEOF
17240 rm -f conftest.$ac_objext
17241 if { (ac_try="$ac_compile"
17242 case "(($ac_try" in
17243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17244 *) ac_try_echo=$ac_try;;
17245 esac
17246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17247 (eval "$ac_compile") 2>conftest.er1
17248 ac_status=$?
17249 grep -v '^ *+' conftest.er1 >conftest.err
17250 rm -f conftest.er1
17251 cat conftest.err >&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } && {
17254 test -z "$ac_c_werror_flag" ||
17255 test ! -s conftest.err
17256 } && test -s conftest.$ac_objext; then
17257 ac_cv_type_fsfilcnt_t=yes
17258 else
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.$ac_ext >&5
17262 ac_cv_type_fsfilcnt_t=no
17265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17267 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17268 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17269 if test $ac_cv_type_fsfilcnt_t = yes; then
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_FSFILCNT_T 1
17273 _ACEOF
17278 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17279 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17280 if test "${ac_cv_type_sigset_t+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283 cat >conftest.$ac_ext <<_ACEOF
17284 /* confdefs.h. */
17285 _ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289 #include <signal.h>
17291 typedef sigset_t ac__type_new_;
17293 main ()
17295 if ((ac__type_new_ *) 0)
17296 return 0;
17297 if (sizeof (ac__type_new_))
17298 return 0;
17300 return 0;
17302 _ACEOF
17303 rm -f conftest.$ac_objext
17304 if { (ac_try="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17308 esac
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 ac_cv_type_sigset_t=yes
17321 else
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17325 ac_cv_type_sigset_t=no
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17331 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17332 if test $ac_cv_type_sigset_t = yes; then
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_SIGSET_T 1
17336 _ACEOF
17341 { echo "$as_me:$LINENO: checking for request_sense" >&5
17342 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17343 if test "${ac_cv_type_request_sense+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 else
17346 cat >conftest.$ac_ext <<_ACEOF
17347 /* confdefs.h. */
17348 _ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 #include <linux/cdrom.h>
17354 typedef request_sense ac__type_new_;
17356 main ()
17358 if ((ac__type_new_ *) 0)
17359 return 0;
17360 if (sizeof (ac__type_new_))
17361 return 0;
17363 return 0;
17365 _ACEOF
17366 rm -f conftest.$ac_objext
17367 if { (ac_try="$ac_compile"
17368 case "(($ac_try" in
17369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17370 *) ac_try_echo=$ac_try;;
17371 esac
17372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17373 (eval "$ac_compile") 2>conftest.er1
17374 ac_status=$?
17375 grep -v '^ *+' conftest.er1 >conftest.err
17376 rm -f conftest.er1
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } && {
17380 test -z "$ac_c_werror_flag" ||
17381 test ! -s conftest.err
17382 } && test -s conftest.$ac_objext; then
17383 ac_cv_type_request_sense=yes
17384 else
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17388 ac_cv_type_request_sense=no
17391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17394 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17395 if test $ac_cv_type_request_sense = yes; then
17397 cat >>confdefs.h <<_ACEOF
17398 #define HAVE_REQUEST_SENSE 1
17399 _ACEOF
17405 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17406 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17407 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 else
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 #ifdef HAVE_LINUX_INPUT_H
17417 #include <linux/input.h>
17418 #endif
17421 main ()
17423 static struct ff_effect ac_aggr;
17424 if (ac_aggr.direction)
17425 return 0;
17427 return 0;
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (ac_try="$ac_compile"
17432 case "(($ac_try" in
17433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17435 esac
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_compile") 2>conftest.er1
17438 ac_status=$?
17439 grep -v '^ *+' conftest.er1 >conftest.err
17440 rm -f conftest.er1
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } && {
17444 test -z "$ac_c_werror_flag" ||
17445 test ! -s conftest.err
17446 } && test -s conftest.$ac_objext; then
17447 ac_cv_member_struct_ff_effect_direction=yes
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h. */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 #ifdef HAVE_LINUX_INPUT_H
17459 #include <linux/input.h>
17460 #endif
17463 main ()
17465 static struct ff_effect ac_aggr;
17466 if (sizeof ac_aggr.direction)
17467 return 0;
17469 return 0;
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17477 esac
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_c_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 ac_cv_member_struct_ff_effect_direction=yes
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17494 ac_cv_member_struct_ff_effect_direction=no
17497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17503 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17504 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17506 cat >>confdefs.h <<_ACEOF
17507 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17508 _ACEOF
17514 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17515 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17516 if test "${wine_cv_have_sigaddset+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 else
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 #include <signal.h>
17527 main ()
17529 sigset_t set; sigaddset(&set,SIGTERM);
17531 return 0;
17533 _ACEOF
17534 rm -f conftest.$ac_objext conftest$ac_exeext
17535 if { (ac_try="$ac_link"
17536 case "(($ac_try" in
17537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17539 esac
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_link") 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_c_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest$ac_exeext &&
17551 $as_test_x conftest$ac_exeext; then
17552 wine_cv_have_sigaddset=yes
17553 else
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17557 wine_cv_have_sigaddset=no
17560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17561 conftest$ac_exeext conftest.$ac_ext
17563 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17564 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17565 if test "$wine_cv_have_sigaddset" = "yes"
17566 then
17568 cat >>confdefs.h <<\_ACEOF
17569 #define HAVE_SIGADDSET 1
17570 _ACEOF
17575 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17576 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17577 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 else
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 #include <netdb.h>
17588 main ()
17591 char *name=NULL;
17592 struct hostent he;
17593 struct hostent *result;
17594 char *buf=NULL;
17595 int bufsize=0;
17596 int res,errnr;
17597 char *addr=NULL;
17598 int addrlen=0;
17599 int addrtype=0;
17600 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17601 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17604 return 0;
17606 _ACEOF
17607 rm -f conftest.$ac_objext conftest$ac_exeext
17608 if { (ac_try="$ac_link"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17612 esac
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_link") 2>conftest.er1
17615 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest$ac_exeext &&
17624 $as_test_x conftest$ac_exeext; then
17625 wine_cv_linux_gethostbyname_r_6=yes
17626 else
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.$ac_ext >&5
17630 wine_cv_linux_gethostbyname_r_6=no
17634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17635 conftest$ac_exeext conftest.$ac_ext
17638 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17639 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17640 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17641 then
17643 cat >>confdefs.h <<\_ACEOF
17644 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17645 _ACEOF
17649 if test "$ac_cv_header_linux_joystick_h" = "yes"
17650 then
17651 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17652 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17653 if test "${wine_cv_linux_joystick_22_api+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. */
17663 #include <sys/ioctl.h>
17664 #include <sys/types.h>
17665 #include <linux/joystick.h>
17667 struct js_event blub;
17668 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17669 #error "no 2.2 header"
17670 #endif
17673 main ()
17675 /*empty*/
17677 return 0;
17679 _ACEOF
17680 rm -f conftest.$ac_objext
17681 if { (ac_try="$ac_compile"
17682 case "(($ac_try" in
17683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17684 *) ac_try_echo=$ac_try;;
17685 esac
17686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17687 (eval "$ac_compile") 2>conftest.er1
17688 ac_status=$?
17689 grep -v '^ *+' conftest.er1 >conftest.err
17690 rm -f conftest.er1
17691 cat conftest.err >&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } && {
17694 test -z "$ac_c_werror_flag" ||
17695 test ! -s conftest.err
17696 } && test -s conftest.$ac_objext; then
17697 wine_cv_linux_joystick_22_api=yes
17698 else
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17702 wine_cv_linux_joystick_22_api=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17709 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17710 if test "$wine_cv_linux_joystick_22_api" = "yes"
17711 then
17713 cat >>confdefs.h <<\_ACEOF
17714 #define HAVE_LINUX_22_JOYSTICK_API 1
17715 _ACEOF
17721 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17722 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17723 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726 cat >conftest.$ac_ext <<_ACEOF
17727 /* confdefs.h. */
17728 _ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <sys/types.h>
17733 #ifdef HAVE_SYS_PARAM_H
17734 # include <sys/param.h>
17735 #endif
17736 #ifdef HAVE_SYS_MOUNT_H
17737 # include <sys/mount.h>
17738 #endif
17739 #ifdef HAVE_SYS_VFS_H
17740 # include <sys/vfs.h>
17741 #endif
17742 #ifdef HAVE_SYS_STATFS_H
17743 # include <sys/statfs.h>
17744 #endif
17747 main ()
17749 static struct statfs ac_aggr;
17750 if (ac_aggr.f_bfree)
17751 return 0;
17753 return 0;
17755 _ACEOF
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17764 ac_status=$?
17765 grep -v '^ *+' conftest.er1 >conftest.err
17766 rm -f conftest.er1
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_c_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.$ac_objext; then
17773 ac_cv_member_struct_statfs_f_bfree=yes
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 #include <sys/types.h>
17785 #ifdef HAVE_SYS_PARAM_H
17786 # include <sys/param.h>
17787 #endif
17788 #ifdef HAVE_SYS_MOUNT_H
17789 # include <sys/mount.h>
17790 #endif
17791 #ifdef HAVE_SYS_VFS_H
17792 # include <sys/vfs.h>
17793 #endif
17794 #ifdef HAVE_SYS_STATFS_H
17795 # include <sys/statfs.h>
17796 #endif
17799 main ()
17801 static struct statfs ac_aggr;
17802 if (sizeof ac_aggr.f_bfree)
17803 return 0;
17805 return 0;
17807 _ACEOF
17808 rm -f conftest.$ac_objext
17809 if { (ac_try="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17813 esac
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17816 ac_status=$?
17817 grep -v '^ *+' conftest.er1 >conftest.err
17818 rm -f conftest.er1
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_c_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 ac_cv_member_struct_statfs_f_bfree=yes
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 ac_cv_member_struct_statfs_f_bfree=no
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17839 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17840 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17842 cat >>confdefs.h <<_ACEOF
17843 #define HAVE_STRUCT_STATFS_F_BFREE 1
17844 _ACEOF
17848 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17849 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17850 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 else
17853 cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h. */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <sys/types.h>
17860 #ifdef HAVE_SYS_PARAM_H
17861 # include <sys/param.h>
17862 #endif
17863 #ifdef HAVE_SYS_MOUNT_H
17864 # include <sys/mount.h>
17865 #endif
17866 #ifdef HAVE_SYS_VFS_H
17867 # include <sys/vfs.h>
17868 #endif
17869 #ifdef HAVE_SYS_STATFS_H
17870 # include <sys/statfs.h>
17871 #endif
17874 main ()
17876 static struct statfs ac_aggr;
17877 if (ac_aggr.f_bavail)
17878 return 0;
17880 return 0;
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17887 *) ac_try_echo=$ac_try;;
17888 esac
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17891 ac_status=$?
17892 grep -v '^ *+' conftest.er1 >conftest.err
17893 rm -f conftest.er1
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.$ac_objext; then
17900 ac_cv_member_struct_statfs_f_bavail=yes
17901 else
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <sys/types.h>
17912 #ifdef HAVE_SYS_PARAM_H
17913 # include <sys/param.h>
17914 #endif
17915 #ifdef HAVE_SYS_MOUNT_H
17916 # include <sys/mount.h>
17917 #endif
17918 #ifdef HAVE_SYS_VFS_H
17919 # include <sys/vfs.h>
17920 #endif
17921 #ifdef HAVE_SYS_STATFS_H
17922 # include <sys/statfs.h>
17923 #endif
17926 main ()
17928 static struct statfs ac_aggr;
17929 if (sizeof ac_aggr.f_bavail)
17930 return 0;
17932 return 0;
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (ac_try="$ac_compile"
17937 case "(($ac_try" in
17938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17939 *) ac_try_echo=$ac_try;;
17940 esac
17941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17942 (eval "$ac_compile") 2>conftest.er1
17943 ac_status=$?
17944 grep -v '^ *+' conftest.er1 >conftest.err
17945 rm -f conftest.er1
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } && {
17949 test -z "$ac_c_werror_flag" ||
17950 test ! -s conftest.err
17951 } && test -s conftest.$ac_objext; then
17952 ac_cv_member_struct_statfs_f_bavail=yes
17953 else
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 ac_cv_member_struct_statfs_f_bavail=no
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17966 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17967 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17971 _ACEOF
17975 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17976 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17977 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 else
17980 cat >conftest.$ac_ext <<_ACEOF
17981 /* confdefs.h. */
17982 _ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <sys/types.h>
17987 #ifdef HAVE_SYS_PARAM_H
17988 # include <sys/param.h>
17989 #endif
17990 #ifdef HAVE_SYS_MOUNT_H
17991 # include <sys/mount.h>
17992 #endif
17993 #ifdef HAVE_SYS_VFS_H
17994 # include <sys/vfs.h>
17995 #endif
17996 #ifdef HAVE_SYS_STATFS_H
17997 # include <sys/statfs.h>
17998 #endif
18001 main ()
18003 static struct statfs ac_aggr;
18004 if (ac_aggr.f_frsize)
18005 return 0;
18007 return 0;
18009 _ACEOF
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18015 esac
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18018 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_member_struct_statfs_f_frsize=yes
18028 else
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 #include <sys/types.h>
18039 #ifdef HAVE_SYS_PARAM_H
18040 # include <sys/param.h>
18041 #endif
18042 #ifdef HAVE_SYS_MOUNT_H
18043 # include <sys/mount.h>
18044 #endif
18045 #ifdef HAVE_SYS_VFS_H
18046 # include <sys/vfs.h>
18047 #endif
18048 #ifdef HAVE_SYS_STATFS_H
18049 # include <sys/statfs.h>
18050 #endif
18053 main ()
18055 static struct statfs ac_aggr;
18056 if (sizeof ac_aggr.f_frsize)
18057 return 0;
18059 return 0;
18061 _ACEOF
18062 rm -f conftest.$ac_objext
18063 if { (ac_try="$ac_compile"
18064 case "(($ac_try" in
18065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18066 *) ac_try_echo=$ac_try;;
18067 esac
18068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18069 (eval "$ac_compile") 2>conftest.er1
18070 ac_status=$?
18071 grep -v '^ *+' conftest.er1 >conftest.err
18072 rm -f conftest.er1
18073 cat conftest.err >&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } && {
18076 test -z "$ac_c_werror_flag" ||
18077 test ! -s conftest.err
18078 } && test -s conftest.$ac_objext; then
18079 ac_cv_member_struct_statfs_f_frsize=yes
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_cv_member_struct_statfs_f_frsize=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18093 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18094 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18098 _ACEOF
18102 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18103 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18104 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 else
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18116 #endif
18117 #ifdef HAVE_SYS_MOUNT_H
18118 # include <sys/mount.h>
18119 #endif
18120 #ifdef HAVE_SYS_VFS_H
18121 # include <sys/vfs.h>
18122 #endif
18123 #ifdef HAVE_SYS_STATFS_H
18124 # include <sys/statfs.h>
18125 #endif
18128 main ()
18130 static struct statfs ac_aggr;
18131 if (ac_aggr.f_ffree)
18132 return 0;
18134 return 0;
18136 _ACEOF
18137 rm -f conftest.$ac_objext
18138 if { (ac_try="$ac_compile"
18139 case "(($ac_try" in
18140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18141 *) ac_try_echo=$ac_try;;
18142 esac
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_compile") 2>conftest.er1
18145 ac_status=$?
18146 grep -v '^ *+' conftest.er1 >conftest.err
18147 rm -f conftest.er1
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && {
18151 test -z "$ac_c_werror_flag" ||
18152 test ! -s conftest.err
18153 } && test -s conftest.$ac_objext; then
18154 ac_cv_member_struct_statfs_f_ffree=yes
18155 else
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.$ac_ext >&5
18159 cat >conftest.$ac_ext <<_ACEOF
18160 /* confdefs.h. */
18161 _ACEOF
18162 cat confdefs.h >>conftest.$ac_ext
18163 cat >>conftest.$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #include <sys/types.h>
18166 #ifdef HAVE_SYS_PARAM_H
18167 # include <sys/param.h>
18168 #endif
18169 #ifdef HAVE_SYS_MOUNT_H
18170 # include <sys/mount.h>
18171 #endif
18172 #ifdef HAVE_SYS_VFS_H
18173 # include <sys/vfs.h>
18174 #endif
18175 #ifdef HAVE_SYS_STATFS_H
18176 # include <sys/statfs.h>
18177 #endif
18180 main ()
18182 static struct statfs ac_aggr;
18183 if (sizeof ac_aggr.f_ffree)
18184 return 0;
18186 return 0;
18188 _ACEOF
18189 rm -f conftest.$ac_objext
18190 if { (ac_try="$ac_compile"
18191 case "(($ac_try" in
18192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18193 *) ac_try_echo=$ac_try;;
18194 esac
18195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18196 (eval "$ac_compile") 2>conftest.er1
18197 ac_status=$?
18198 grep -v '^ *+' conftest.er1 >conftest.err
18199 rm -f conftest.er1
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } && {
18203 test -z "$ac_c_werror_flag" ||
18204 test ! -s conftest.err
18205 } && test -s conftest.$ac_objext; then
18206 ac_cv_member_struct_statfs_f_ffree=yes
18207 else
18208 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.$ac_ext >&5
18211 ac_cv_member_struct_statfs_f_ffree=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18220 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18221 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_STRUCT_STATFS_F_FFREE 1
18225 _ACEOF
18229 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18230 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18231 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_PARAM_H
18242 # include <sys/param.h>
18243 #endif
18244 #ifdef HAVE_SYS_MOUNT_H
18245 # include <sys/mount.h>
18246 #endif
18247 #ifdef HAVE_SYS_VFS_H
18248 # include <sys/vfs.h>
18249 #endif
18250 #ifdef HAVE_SYS_STATFS_H
18251 # include <sys/statfs.h>
18252 #endif
18255 main ()
18257 static struct statfs ac_aggr;
18258 if (ac_aggr.f_favail)
18259 return 0;
18261 return 0;
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18269 esac
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.$ac_objext; then
18281 ac_cv_member_struct_statfs_f_favail=yes
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 #include <sys/types.h>
18293 #ifdef HAVE_SYS_PARAM_H
18294 # include <sys/param.h>
18295 #endif
18296 #ifdef HAVE_SYS_MOUNT_H
18297 # include <sys/mount.h>
18298 #endif
18299 #ifdef HAVE_SYS_VFS_H
18300 # include <sys/vfs.h>
18301 #endif
18302 #ifdef HAVE_SYS_STATFS_H
18303 # include <sys/statfs.h>
18304 #endif
18307 main ()
18309 static struct statfs ac_aggr;
18310 if (sizeof ac_aggr.f_favail)
18311 return 0;
18313 return 0;
18315 _ACEOF
18316 rm -f conftest.$ac_objext
18317 if { (ac_try="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_member_struct_statfs_f_favail=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_member_struct_statfs_f_favail=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18347 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18348 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18352 _ACEOF
18356 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18357 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #include <sys/types.h>
18368 #ifdef HAVE_SYS_PARAM_H
18369 # include <sys/param.h>
18370 #endif
18371 #ifdef HAVE_SYS_MOUNT_H
18372 # include <sys/mount.h>
18373 #endif
18374 #ifdef HAVE_SYS_VFS_H
18375 # include <sys/vfs.h>
18376 #endif
18377 #ifdef HAVE_SYS_STATFS_H
18378 # include <sys/statfs.h>
18379 #endif
18382 main ()
18384 static struct statfs ac_aggr;
18385 if (ac_aggr.f_namelen)
18386 return 0;
18388 return 0;
18390 _ACEOF
18391 rm -f conftest.$ac_objext
18392 if { (ac_try="$ac_compile"
18393 case "(($ac_try" in
18394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18395 *) ac_try_echo=$ac_try;;
18396 esac
18397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18398 (eval "$ac_compile") 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } && {
18405 test -z "$ac_c_werror_flag" ||
18406 test ! -s conftest.err
18407 } && test -s conftest.$ac_objext; then
18408 ac_cv_member_struct_statfs_f_namelen=yes
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 #include <sys/types.h>
18420 #ifdef HAVE_SYS_PARAM_H
18421 # include <sys/param.h>
18422 #endif
18423 #ifdef HAVE_SYS_MOUNT_H
18424 # include <sys/mount.h>
18425 #endif
18426 #ifdef HAVE_SYS_VFS_H
18427 # include <sys/vfs.h>
18428 #endif
18429 #ifdef HAVE_SYS_STATFS_H
18430 # include <sys/statfs.h>
18431 #endif
18434 main ()
18436 static struct statfs ac_aggr;
18437 if (sizeof ac_aggr.f_namelen)
18438 return 0;
18440 return 0;
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_member_struct_statfs_f_namelen=yes
18461 else
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 ac_cv_member_struct_statfs_f_namelen=no
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18474 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18475 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18479 _ACEOF
18485 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18486 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18487 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18488 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 else
18490 cat >conftest.$ac_ext <<_ACEOF
18491 /* confdefs.h. */
18492 _ACEOF
18493 cat confdefs.h >>conftest.$ac_ext
18494 cat >>conftest.$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 #ifdef HAVE_SYS_STATVFS_H
18497 #include <sys/statvfs.h>
18498 #endif
18501 main ()
18503 static struct statvfs ac_aggr;
18504 if (ac_aggr.f_blocks)
18505 return 0;
18507 return 0;
18509 _ACEOF
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 ac_cv_member_struct_statvfs_f_blocks=yes
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 cat >conftest.$ac_ext <<_ACEOF
18533 /* confdefs.h. */
18534 _ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #ifdef HAVE_SYS_STATVFS_H
18539 #include <sys/statvfs.h>
18540 #endif
18543 main ()
18545 static struct statvfs ac_aggr;
18546 if (sizeof ac_aggr.f_blocks)
18547 return 0;
18549 return 0;
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (ac_try="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18557 esac
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 ac_cv_member_struct_statvfs_f_blocks=yes
18570 else
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_statvfs_f_blocks=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18583 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18584 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18586 cat >>confdefs.h <<_ACEOF
18587 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18588 _ACEOF
18594 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18595 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18596 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599 cat >conftest.$ac_ext <<_ACEOF
18600 /* confdefs.h. */
18601 _ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #include <sys/types.h>
18606 #ifdef HAVE_SYS_SOCKET_H
18607 # include <sys/socket.h>
18608 #endif
18609 #ifdef HAVE_SYS_UN_H
18610 # include <sys/un.h>
18611 #endif
18614 main ()
18616 static struct msghdr ac_aggr;
18617 if (ac_aggr.msg_accrights)
18618 return 0;
18620 return 0;
18622 _ACEOF
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18628 esac
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18631 ac_status=$?
18632 grep -v '^ *+' conftest.er1 >conftest.err
18633 rm -f conftest.er1
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_c_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.$ac_objext; then
18640 ac_cv_member_struct_msghdr_msg_accrights=yes
18641 else
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18645 cat >conftest.$ac_ext <<_ACEOF
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <sys/types.h>
18652 #ifdef HAVE_SYS_SOCKET_H
18653 # include <sys/socket.h>
18654 #endif
18655 #ifdef HAVE_SYS_UN_H
18656 # include <sys/un.h>
18657 #endif
18660 main ()
18662 static struct msghdr ac_aggr;
18663 if (sizeof ac_aggr.msg_accrights)
18664 return 0;
18666 return 0;
18668 _ACEOF
18669 rm -f conftest.$ac_objext
18670 if { (ac_try="$ac_compile"
18671 case "(($ac_try" in
18672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673 *) ac_try_echo=$ac_try;;
18674 esac
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_compile") 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } && {
18683 test -z "$ac_c_werror_flag" ||
18684 test ! -s conftest.err
18685 } && test -s conftest.$ac_objext; then
18686 ac_cv_member_struct_msghdr_msg_accrights=yes
18687 else
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.$ac_ext >&5
18691 ac_cv_member_struct_msghdr_msg_accrights=no
18694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18700 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18701 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18705 _ACEOF
18709 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18710 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18711 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 cat >conftest.$ac_ext <<_ACEOF
18715 /* confdefs.h. */
18716 _ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 #include <sys/types.h>
18721 #ifdef HAVE_SYS_SOCKET_H
18722 # include <sys/socket.h>
18723 #endif
18724 #ifdef HAVE_SYS_UN_H
18725 # include <sys/un.h>
18726 #endif
18729 main ()
18731 static struct sockaddr ac_aggr;
18732 if (ac_aggr.sa_len)
18733 return 0;
18735 return 0;
18737 _ACEOF
18738 rm -f conftest.$ac_objext
18739 if { (ac_try="$ac_compile"
18740 case "(($ac_try" in
18741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18743 esac
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 test -z "$ac_c_werror_flag" ||
18753 test ! -s conftest.err
18754 } && test -s conftest.$ac_objext; then
18755 ac_cv_member_struct_sockaddr_sa_len=yes
18756 else
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.$ac_ext >&5
18760 cat >conftest.$ac_ext <<_ACEOF
18761 /* confdefs.h. */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 #include <sys/types.h>
18767 #ifdef HAVE_SYS_SOCKET_H
18768 # include <sys/socket.h>
18769 #endif
18770 #ifdef HAVE_SYS_UN_H
18771 # include <sys/un.h>
18772 #endif
18775 main ()
18777 static struct sockaddr ac_aggr;
18778 if (sizeof ac_aggr.sa_len)
18779 return 0;
18781 return 0;
18783 _ACEOF
18784 rm -f conftest.$ac_objext
18785 if { (ac_try="$ac_compile"
18786 case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18789 esac
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_compile") 2>conftest.er1
18792 ac_status=$?
18793 grep -v '^ *+' conftest.er1 >conftest.err
18794 rm -f conftest.er1
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } && {
18798 test -z "$ac_c_werror_flag" ||
18799 test ! -s conftest.err
18800 } && test -s conftest.$ac_objext; then
18801 ac_cv_member_struct_sockaddr_sa_len=yes
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18806 ac_cv_member_struct_sockaddr_sa_len=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18816 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18820 _ACEOF
18824 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18825 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18826 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829 cat >conftest.$ac_ext <<_ACEOF
18830 /* confdefs.h. */
18831 _ACEOF
18832 cat confdefs.h >>conftest.$ac_ext
18833 cat >>conftest.$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18835 #include <sys/types.h>
18836 #ifdef HAVE_SYS_SOCKET_H
18837 # include <sys/socket.h>
18838 #endif
18839 #ifdef HAVE_SYS_UN_H
18840 # include <sys/un.h>
18841 #endif
18844 main ()
18846 static struct sockaddr_un ac_aggr;
18847 if (ac_aggr.sun_len)
18848 return 0;
18850 return 0;
18852 _ACEOF
18853 rm -f conftest.$ac_objext
18854 if { (ac_try="$ac_compile"
18855 case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18858 esac
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_compile") 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_c_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest.$ac_objext; then
18870 ac_cv_member_struct_sockaddr_un_sun_len=yes
18871 else
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <sys/types.h>
18882 #ifdef HAVE_SYS_SOCKET_H
18883 # include <sys/socket.h>
18884 #endif
18885 #ifdef HAVE_SYS_UN_H
18886 # include <sys/un.h>
18887 #endif
18890 main ()
18892 static struct sockaddr_un ac_aggr;
18893 if (sizeof ac_aggr.sun_len)
18894 return 0;
18896 return 0;
18898 _ACEOF
18899 rm -f conftest.$ac_objext
18900 if { (ac_try="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18904 esac
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18907 ac_status=$?
18908 grep -v '^ *+' conftest.er1 >conftest.err
18909 rm -f conftest.er1
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18916 ac_cv_member_struct_sockaddr_un_sun_len=yes
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 ac_cv_member_struct_sockaddr_un_sun_len=no
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18930 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18931 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18935 _ACEOF
18941 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18942 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18943 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 else
18946 cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 #include <sys/types.h>
18953 #ifdef HAVE_SCSI_SG_H
18954 #include <scsi/sg.h>
18955 #endif
18958 main ()
18960 static scsireq_t ac_aggr;
18961 if (ac_aggr.cmd)
18962 return 0;
18964 return 0;
18966 _ACEOF
18967 rm -f conftest.$ac_objext
18968 if { (ac_try="$ac_compile"
18969 case "(($ac_try" in
18970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18971 *) ac_try_echo=$ac_try;;
18972 esac
18973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18974 (eval "$ac_compile") 2>conftest.er1
18975 ac_status=$?
18976 grep -v '^ *+' conftest.er1 >conftest.err
18977 rm -f conftest.er1
18978 cat conftest.err >&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } && {
18981 test -z "$ac_c_werror_flag" ||
18982 test ! -s conftest.err
18983 } && test -s conftest.$ac_objext; then
18984 ac_cv_member_scsireq_t_cmd=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 #include <sys/types.h>
18996 #ifdef HAVE_SCSI_SG_H
18997 #include <scsi/sg.h>
18998 #endif
19001 main ()
19003 static scsireq_t ac_aggr;
19004 if (sizeof ac_aggr.cmd)
19005 return 0;
19007 return 0;
19009 _ACEOF
19010 rm -f conftest.$ac_objext
19011 if { (ac_try="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19015 esac
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19018 ac_status=$?
19019 grep -v '^ *+' conftest.er1 >conftest.err
19020 rm -f conftest.er1
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } && {
19024 test -z "$ac_c_werror_flag" ||
19025 test ! -s conftest.err
19026 } && test -s conftest.$ac_objext; then
19027 ac_cv_member_scsireq_t_cmd=yes
19028 else
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 ac_cv_member_scsireq_t_cmd=no
19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19041 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19042 if test $ac_cv_member_scsireq_t_cmd = yes; then
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SCSIREQ_T_CMD 1
19046 _ACEOF
19050 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19051 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19052 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 cat >conftest.$ac_ext <<_ACEOF
19056 /* confdefs.h. */
19057 _ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <sys/types.h>
19062 #ifdef HAVE_SCSI_SG_H
19063 #include <scsi/sg.h>
19064 #endif
19067 main ()
19069 static sg_io_hdr_t ac_aggr;
19070 if (ac_aggr.interface_id)
19071 return 0;
19073 return 0;
19075 _ACEOF
19076 rm -f conftest.$ac_objext
19077 if { (ac_try="$ac_compile"
19078 case "(($ac_try" in
19079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19080 *) ac_try_echo=$ac_try;;
19081 esac
19082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19083 (eval "$ac_compile") 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } && {
19090 test -z "$ac_c_werror_flag" ||
19091 test ! -s conftest.err
19092 } && test -s conftest.$ac_objext; then
19093 ac_cv_member_sg_io_hdr_t_interface_id=yes
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19098 cat >conftest.$ac_ext <<_ACEOF
19099 /* confdefs.h. */
19100 _ACEOF
19101 cat confdefs.h >>conftest.$ac_ext
19102 cat >>conftest.$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SCSI_SG_H
19106 #include <scsi/sg.h>
19107 #endif
19110 main ()
19112 static sg_io_hdr_t ac_aggr;
19113 if (sizeof ac_aggr.interface_id)
19114 return 0;
19116 return 0;
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (ac_try="$ac_compile"
19121 case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19124 esac
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compile") 2>conftest.er1
19127 ac_status=$?
19128 grep -v '^ *+' conftest.er1 >conftest.err
19129 rm -f conftest.er1
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } && {
19133 test -z "$ac_c_werror_flag" ||
19134 test ! -s conftest.err
19135 } && test -s conftest.$ac_objext; then
19136 ac_cv_member_sg_io_hdr_t_interface_id=yes
19137 else
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19141 ac_cv_member_sg_io_hdr_t_interface_id=no
19144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19150 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19151 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19155 _ACEOF
19161 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19162 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19163 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19165 else
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <signal.h>
19175 main ()
19177 static siginfo_t ac_aggr;
19178 if (ac_aggr.si_fd)
19179 return 0;
19181 return 0;
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 ac_cv_member_siginfo_t_si_fd=yes
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 cat >conftest.$ac_ext <<_ACEOF
19207 /* confdefs.h. */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 #include <signal.h>
19215 main ()
19217 static siginfo_t ac_aggr;
19218 if (sizeof ac_aggr.si_fd)
19219 return 0;
19221 return 0;
19223 _ACEOF
19224 rm -f conftest.$ac_objext
19225 if { (ac_try="$ac_compile"
19226 case "(($ac_try" in
19227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19228 *) ac_try_echo=$ac_try;;
19229 esac
19230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19231 (eval "$ac_compile") 2>conftest.er1
19232 ac_status=$?
19233 grep -v '^ *+' conftest.er1 >conftest.err
19234 rm -f conftest.er1
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } && {
19238 test -z "$ac_c_werror_flag" ||
19239 test ! -s conftest.err
19240 } && test -s conftest.$ac_objext; then
19241 ac_cv_member_siginfo_t_si_fd=yes
19242 else
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19246 ac_cv_member_siginfo_t_si_fd=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19255 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19256 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_SIGINFO_T_SI_FD 1
19260 _ACEOF
19266 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19267 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19268 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19269 echo $ECHO_N "(cached) $ECHO_C" >&6
19270 else
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 #include <sys/types.h>
19278 #ifdef HAVE_SYS_MTIO_H
19279 #include <sys/mtio.h>
19280 #endif
19283 main ()
19285 static struct mtget ac_aggr;
19286 if (ac_aggr.mt_blksiz)
19287 return 0;
19289 return 0;
19291 _ACEOF
19292 rm -f conftest.$ac_objext
19293 if { (ac_try="$ac_compile"
19294 case "(($ac_try" in
19295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19296 *) ac_try_echo=$ac_try;;
19297 esac
19298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19299 (eval "$ac_compile") 2>conftest.er1
19300 ac_status=$?
19301 grep -v '^ *+' conftest.er1 >conftest.err
19302 rm -f conftest.er1
19303 cat conftest.err >&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } && {
19306 test -z "$ac_c_werror_flag" ||
19307 test ! -s conftest.err
19308 } && test -s conftest.$ac_objext; then
19309 ac_cv_member_struct_mtget_mt_blksiz=yes
19310 else
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.$ac_ext >&5
19314 cat >conftest.$ac_ext <<_ACEOF
19315 /* confdefs.h. */
19316 _ACEOF
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19320 #include <sys/types.h>
19321 #ifdef HAVE_SYS_MTIO_H
19322 #include <sys/mtio.h>
19323 #endif
19326 main ()
19328 static struct mtget ac_aggr;
19329 if (sizeof ac_aggr.mt_blksiz)
19330 return 0;
19332 return 0;
19334 _ACEOF
19335 rm -f conftest.$ac_objext
19336 if { (ac_try="$ac_compile"
19337 case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_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 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest.$ac_objext; then
19352 ac_cv_member_struct_mtget_mt_blksiz=yes
19353 else
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.$ac_ext >&5
19357 ac_cv_member_struct_mtget_mt_blksiz=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19365 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19366 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19367 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19371 _ACEOF
19375 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19376 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19377 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 else
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 #include <sys/types.h>
19387 #ifdef HAVE_SYS_MTIO_H
19388 #include <sys/mtio.h>
19389 #endif
19392 main ()
19394 static struct mtget ac_aggr;
19395 if (ac_aggr.mt_gstat)
19396 return 0;
19398 return 0;
19400 _ACEOF
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19409 ac_status=$?
19410 grep -v '^ *+' conftest.er1 >conftest.err
19411 rm -f conftest.er1
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_member_struct_mtget_mt_gstat=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 cat >conftest.$ac_ext <<_ACEOF
19424 /* confdefs.h. */
19425 _ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <sys/types.h>
19430 #ifdef HAVE_SYS_MTIO_H
19431 #include <sys/mtio.h>
19432 #endif
19435 main ()
19437 static struct mtget ac_aggr;
19438 if (sizeof ac_aggr.mt_gstat)
19439 return 0;
19441 return 0;
19443 _ACEOF
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19449 esac
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_mtget_mt_gstat=yes
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 ac_cv_member_struct_mtget_mt_gstat=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19475 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19476 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19480 _ACEOF
19484 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19485 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19486 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 else
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_MTIO_H
19497 #include <sys/mtio.h>
19498 #endif
19501 main ()
19503 static struct mtget ac_aggr;
19504 if (ac_aggr.mt_blkno)
19505 return 0;
19507 return 0;
19509 _ACEOF
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.$ac_objext; then
19527 ac_cv_member_struct_mtget_mt_blkno=yes
19528 else
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 cat >conftest.$ac_ext <<_ACEOF
19533 /* confdefs.h. */
19534 _ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <sys/types.h>
19539 #ifdef HAVE_SYS_MTIO_H
19540 #include <sys/mtio.h>
19541 #endif
19544 main ()
19546 static struct mtget ac_aggr;
19547 if (sizeof ac_aggr.mt_blkno)
19548 return 0;
19550 return 0;
19552 _ACEOF
19553 rm -f conftest.$ac_objext
19554 if { (ac_try="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19558 esac
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19561 ac_status=$?
19562 grep -v '^ *+' conftest.er1 >conftest.err
19563 rm -f conftest.er1
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 ac_cv_member_struct_mtget_mt_blkno=yes
19571 else
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 ac_cv_member_struct_mtget_mt_blkno=no
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19584 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19585 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19587 cat >>confdefs.h <<_ACEOF
19588 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19589 _ACEOF
19595 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19596 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19597 if test "${ac_cv_member_struct_option_name+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 else
19600 cat >conftest.$ac_ext <<_ACEOF
19601 /* confdefs.h. */
19602 _ACEOF
19603 cat confdefs.h >>conftest.$ac_ext
19604 cat >>conftest.$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19606 #ifdef HAVE_GETOPT_H
19607 #include <getopt.h>
19608 #endif
19611 main ()
19613 static struct option ac_aggr;
19614 if (ac_aggr.name)
19615 return 0;
19617 return 0;
19619 _ACEOF
19620 rm -f conftest.$ac_objext
19621 if { (ac_try="$ac_compile"
19622 case "(($ac_try" in
19623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19624 *) ac_try_echo=$ac_try;;
19625 esac
19626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19627 (eval "$ac_compile") 2>conftest.er1
19628 ac_status=$?
19629 grep -v '^ *+' conftest.er1 >conftest.err
19630 rm -f conftest.er1
19631 cat conftest.err >&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } && {
19634 test -z "$ac_c_werror_flag" ||
19635 test ! -s conftest.err
19636 } && test -s conftest.$ac_objext; then
19637 ac_cv_member_struct_option_name=yes
19638 else
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.$ac_ext >&5
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 #ifdef HAVE_GETOPT_H
19649 #include <getopt.h>
19650 #endif
19653 main ()
19655 static struct option ac_aggr;
19656 if (sizeof ac_aggr.name)
19657 return 0;
19659 return 0;
19661 _ACEOF
19662 rm -f conftest.$ac_objext
19663 if { (ac_try="$ac_compile"
19664 case "(($ac_try" in
19665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19667 esac
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_compile") 2>conftest.er1
19670 ac_status=$?
19671 grep -v '^ *+' conftest.er1 >conftest.err
19672 rm -f conftest.er1
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && {
19676 test -z "$ac_c_werror_flag" ||
19677 test ! -s conftest.err
19678 } && test -s conftest.$ac_objext; then
19679 ac_cv_member_struct_option_name=yes
19680 else
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 ac_cv_member_struct_option_name=no
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19693 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19694 if test $ac_cv_member_struct_option_name = yes; then
19696 cat >>confdefs.h <<_ACEOF
19697 #define HAVE_STRUCT_OPTION_NAME 1
19698 _ACEOF
19704 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19705 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19706 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19708 else
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h. */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 $ac_includes_default
19717 main ()
19719 static struct stat ac_aggr;
19720 if (ac_aggr.st_blocks)
19721 return 0;
19723 return 0;
19725 _ACEOF
19726 rm -f conftest.$ac_objext
19727 if { (ac_try="$ac_compile"
19728 case "(($ac_try" in
19729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19730 *) ac_try_echo=$ac_try;;
19731 esac
19732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19733 (eval "$ac_compile") 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && {
19740 test -z "$ac_c_werror_flag" ||
19741 test ! -s conftest.err
19742 } && test -s conftest.$ac_objext; then
19743 ac_cv_member_struct_stat_st_blocks=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19756 main ()
19758 static struct stat ac_aggr;
19759 if (sizeof ac_aggr.st_blocks)
19760 return 0;
19762 return 0;
19764 _ACEOF
19765 rm -f conftest.$ac_objext
19766 if { (ac_try="$ac_compile"
19767 case "(($ac_try" in
19768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19770 esac
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_compile") 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } && {
19779 test -z "$ac_c_werror_flag" ||
19780 test ! -s conftest.err
19781 } && test -s conftest.$ac_objext; then
19782 ac_cv_member_struct_stat_st_blocks=yes
19783 else
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_member_struct_stat_st_blocks=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19796 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19797 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19799 cat >>confdefs.h <<_ACEOF
19800 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19801 _ACEOF
19807 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19808 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19809 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19810 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 else
19812 cat >conftest.$ac_ext <<_ACEOF
19813 /* confdefs.h. */
19814 _ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19817 /* end confdefs.h. */
19818 #ifdef HAVE_SYS_TYPES_H
19819 #include <sys/types.h>
19820 #endif
19821 #ifdef HAVE_NETINET_IN_H
19822 #include <netinet/in.h>
19823 #endif
19826 main ()
19828 static struct sockaddr_in6 ac_aggr;
19829 if (ac_aggr.sin6_scope_id)
19830 return 0;
19832 return 0;
19834 _ACEOF
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19840 esac
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19843 ac_status=$?
19844 grep -v '^ *+' conftest.er1 >conftest.err
19845 rm -f conftest.er1
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.$ac_objext; then
19852 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19853 else
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19857 cat >conftest.$ac_ext <<_ACEOF
19858 /* confdefs.h. */
19859 _ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 #ifdef HAVE_SYS_TYPES_H
19864 #include <sys/types.h>
19865 #endif
19866 #ifdef HAVE_NETINET_IN_H
19867 #include <netinet/in.h>
19868 #endif
19871 main ()
19873 static struct sockaddr_in6 ac_aggr;
19874 if (sizeof ac_aggr.sin6_scope_id)
19875 return 0;
19877 return 0;
19879 _ACEOF
19880 rm -f conftest.$ac_objext
19881 if { (ac_try="$ac_compile"
19882 case "(($ac_try" in
19883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19884 *) ac_try_echo=$ac_try;;
19885 esac
19886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19887 (eval "$ac_compile") 2>conftest.er1
19888 ac_status=$?
19889 grep -v '^ *+' conftest.er1 >conftest.err
19890 rm -f conftest.er1
19891 cat conftest.err >&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } && {
19894 test -z "$ac_c_werror_flag" ||
19895 test ! -s conftest.err
19896 } && test -s conftest.$ac_objext; then
19897 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19898 else
19899 echo "$as_me: failed program was:" >&5
19900 sed 's/^/| /' conftest.$ac_ext >&5
19902 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19910 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19911 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19912 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19914 cat >>confdefs.h <<_ACEOF
19915 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19916 _ACEOF
19922 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19923 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19924 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 else
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 #ifdef HAVE_SYS_TYPES_H
19934 #include <sys/types.h>
19935 #endif
19936 #ifdef HAVE_NETINET_IN_H
19937 # include <netinet/in.h>
19938 #endif
19939 #ifdef HAVE_ARPA_NAMESER_H
19940 # include <arpa/nameser.h>
19941 #endif
19944 main ()
19946 static ns_msg ac_aggr;
19947 if (ac_aggr._msg_ptr)
19948 return 0;
19950 return 0;
19952 _ACEOF
19953 rm -f conftest.$ac_objext
19954 if { (ac_try="$ac_compile"
19955 case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;;
19958 esac
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_compile") 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } && {
19967 test -z "$ac_c_werror_flag" ||
19968 test ! -s conftest.err
19969 } && test -s conftest.$ac_objext; then
19970 ac_cv_member_ns_msg__msg_ptr=yes
19971 else
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.$ac_ext >&5
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 #ifdef HAVE_SYS_TYPES_H
19982 #include <sys/types.h>
19983 #endif
19984 #ifdef HAVE_NETINET_IN_H
19985 # include <netinet/in.h>
19986 #endif
19987 #ifdef HAVE_ARPA_NAMESER_H
19988 # include <arpa/nameser.h>
19989 #endif
19992 main ()
19994 static ns_msg ac_aggr;
19995 if (sizeof ac_aggr._msg_ptr)
19996 return 0;
19998 return 0;
20000 _ACEOF
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20006 esac
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_cv_member_ns_msg__msg_ptr=yes
20019 else
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20023 ac_cv_member_ns_msg__msg_ptr=no
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20032 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20033 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20035 cat >>confdefs.h <<_ACEOF
20036 #define HAVE_NS_MSG__MSG_PTR 1
20037 _ACEOF
20043 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20044 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20045 if test "${ac_cv_have_timezone+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 else
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 #include <time.h>
20056 main ()
20058 timezone = 1
20060 return 0;
20062 _ACEOF
20063 rm -f conftest.$ac_objext conftest$ac_exeext
20064 if { (ac_try="$ac_link"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20068 esac
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_link") 2>conftest.er1
20071 ac_status=$?
20072 grep -v '^ *+' conftest.er1 >conftest.err
20073 rm -f conftest.er1
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest$ac_exeext &&
20080 $as_test_x conftest$ac_exeext; then
20081 ac_cv_have_timezone="yes"
20082 else
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 ac_cv_have_timezone="no"
20089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20090 conftest$ac_exeext conftest.$ac_ext
20092 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20093 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20094 if test "$ac_cv_have_timezone" = "yes"
20095 then
20097 cat >>confdefs.h <<\_ACEOF
20098 #define HAVE_TIMEZONE 1
20099 _ACEOF
20102 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20103 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20104 if test "${ac_cv_have_daylight+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 else
20107 cat >conftest.$ac_ext <<_ACEOF
20108 /* confdefs.h. */
20109 _ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 #include <time.h>
20115 main ()
20117 daylight = 1
20119 return 0;
20121 _ACEOF
20122 rm -f conftest.$ac_objext conftest$ac_exeext
20123 if { (ac_try="$ac_link"
20124 case "(($ac_try" in
20125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20127 esac
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_link") 2>conftest.er1
20130 ac_status=$?
20131 grep -v '^ *+' conftest.er1 >conftest.err
20132 rm -f conftest.er1
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest$ac_exeext &&
20139 $as_test_x conftest$ac_exeext; then
20140 ac_cv_have_daylight="yes"
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20145 ac_cv_have_daylight="no"
20148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20149 conftest$ac_exeext conftest.$ac_ext
20151 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20152 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20153 if test "$ac_cv_have_daylight" = "yes"
20154 then
20156 cat >>confdefs.h <<\_ACEOF
20157 #define HAVE_DAYLIGHT 1
20158 _ACEOF
20163 case $host_cpu in
20164 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20165 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20166 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 else
20169 cat >conftest.$ac_ext <<_ACEOF
20170 /* confdefs.h. */
20171 _ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #ifndef __i386__
20177 #endif
20178 _ACEOF
20179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20180 $EGREP "yes" >/dev/null 2>&1; then
20181 ac_cv_cpp_def___i386__=yes
20182 else
20183 ac_cv_cpp_def___i386__=no
20185 rm -f conftest*
20188 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20189 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20190 if test $ac_cv_cpp_def___i386__ = yes; then
20191 CFLAGS="$CFLAGS -D__i386__"
20192 LINTFLAGS="$LINTFLAGS -D__i386__"
20195 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20196 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20197 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 else
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 #ifndef __x86_64__
20208 #endif
20209 _ACEOF
20210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20211 $EGREP "yes" >/dev/null 2>&1; then
20212 ac_cv_cpp_def___x86_64__=yes
20213 else
20214 ac_cv_cpp_def___x86_64__=no
20216 rm -f conftest*
20219 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20220 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20221 if test $ac_cv_cpp_def___x86_64__ = yes; then
20222 CFLAGS="$CFLAGS -D__x86_64__"
20223 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20226 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20227 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20228 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20229 echo $ECHO_N "(cached) $ECHO_C" >&6
20230 else
20231 cat >conftest.$ac_ext <<_ACEOF
20232 /* confdefs.h. */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 #ifndef __ALPHA__
20239 #endif
20240 _ACEOF
20241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20242 $EGREP "yes" >/dev/null 2>&1; then
20243 ac_cv_cpp_def___ALPHA__=yes
20244 else
20245 ac_cv_cpp_def___ALPHA__=no
20247 rm -f conftest*
20250 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20251 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20252 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20253 CFLAGS="$CFLAGS -D__ALPHA__"
20254 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20257 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20258 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20259 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 else
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 #ifndef __sparc__
20270 #endif
20271 _ACEOF
20272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20273 $EGREP "yes" >/dev/null 2>&1; then
20274 ac_cv_cpp_def___sparc__=yes
20275 else
20276 ac_cv_cpp_def___sparc__=no
20278 rm -f conftest*
20281 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20282 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20283 if test $ac_cv_cpp_def___sparc__ = yes; then
20284 CFLAGS="$CFLAGS -D__sparc__"
20285 LINTFLAGS="$LINTFLAGS -D__sparc__"
20288 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20289 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20290 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20292 else
20293 cat >conftest.$ac_ext <<_ACEOF
20294 /* confdefs.h. */
20295 _ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #ifndef __powerpc__
20301 #endif
20302 _ACEOF
20303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20304 $EGREP "yes" >/dev/null 2>&1; then
20305 ac_cv_cpp_def___powerpc__=yes
20306 else
20307 ac_cv_cpp_def___powerpc__=no
20309 rm -f conftest*
20312 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20313 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20314 if test $ac_cv_cpp_def___powerpc__ = yes; then
20315 CFLAGS="$CFLAGS -D__powerpc__"
20316 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20319 esac
20321 case $host_vendor in
20322 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20323 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20324 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20325 echo $ECHO_N "(cached) $ECHO_C" >&6
20326 else
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 #ifndef __sun__
20335 #endif
20336 _ACEOF
20337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20338 $EGREP "yes" >/dev/null 2>&1; then
20339 ac_cv_cpp_def___sun__=yes
20340 else
20341 ac_cv_cpp_def___sun__=no
20343 rm -f conftest*
20346 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20347 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20348 if test $ac_cv_cpp_def___sun__ = yes; then
20349 CFLAGS="$CFLAGS -D__sun__"
20350 LINTFLAGS="$LINTFLAGS -D__sun__"
20353 esac
20356 DEPENDENCIES="### Dependencies:
20358 .INIT: Makefile
20359 .BEGIN: Makefile
20360 Makefile: dummy
20361 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20363 \$(OBJS): \$(IDL_GEN_HEADERS)
20364 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20365 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20366 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20372 ac_config_commands="$ac_config_commands include/stamp-h"
20375 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20377 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20379 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20381 ac_config_commands="$ac_config_commands dlls/user32/resources"
20383 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20385 ac_config_commands="$ac_config_commands include/wine"
20388 MAKE_RULES=Make.rules
20391 MAKE_DLL_RULES=dlls/Makedll.rules
20394 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20397 MAKE_TEST_RULES=dlls/Maketest.rules
20400 MAKE_PROG_RULES=programs/Makeprog.rules
20403 ac_config_files="$ac_config_files Make.rules"
20405 ac_config_files="$ac_config_files dlls/Makedll.rules"
20407 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20409 ac_config_files="$ac_config_files dlls/Maketest.rules"
20411 ac_config_files="$ac_config_files programs/Makeprog.rules"
20413 ac_config_files="$ac_config_files Makefile"
20415 ac_config_files="$ac_config_files dlls/Makefile"
20417 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20419 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20421 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20423 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20427 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20431 ac_config_files="$ac_config_files dlls/atl/Makefile"
20433 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20435 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20437 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20439 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20441 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20443 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20445 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20447 ac_config_files="$ac_config_files dlls/cards/Makefile"
20449 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20451 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20453 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20455 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20457 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20459 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20463 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20467 ac_config_files="$ac_config_files dlls/credui/Makefile"
20469 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20471 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20473 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20477 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20479 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20481 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20483 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20487 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20491 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20493 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20497 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20499 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20501 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20503 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20505 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20509 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20511 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20513 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20515 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20517 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20519 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20521 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20523 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20525 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20527 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20529 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20531 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20533 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20535 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20537 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20539 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20541 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20543 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20547 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20549 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20551 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20553 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20555 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20557 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20559 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20561 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20563 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20565 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20567 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20569 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20573 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20577 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20579 ac_config_files="$ac_config_files dlls/hal/Makefile"
20581 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20583 ac_config_files="$ac_config_files dlls/hid/Makefile"
20585 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20587 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20591 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20593 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20595 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20597 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20599 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20601 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20603 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20605 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20609 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20611 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/itss/Makefile"
20615 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20619 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20621 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20623 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20625 ac_config_files="$ac_config_files dlls/localui/Makefile"
20627 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20631 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20635 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20637 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20639 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20641 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20643 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20645 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20647 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20649 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20653 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20655 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20657 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20659 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20661 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20663 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20667 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20669 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20673 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20675 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20677 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20679 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20681 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/msi/Makefile"
20685 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20689 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20691 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20693 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20695 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20697 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20701 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20703 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20705 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20707 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20709 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20711 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20713 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20715 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20717 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20719 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20721 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20723 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20725 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20727 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20729 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20731 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20733 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20735 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20737 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20739 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20741 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20743 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20747 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20751 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20753 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20757 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20759 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20761 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20763 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20765 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20767 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20769 ac_config_files="$ac_config_files dlls/printui/Makefile"
20771 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20773 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20775 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20777 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20779 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20781 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20783 ac_config_files="$ac_config_files dlls/query/Makefile"
20785 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20787 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20789 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20791 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20793 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20795 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20797 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20799 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20801 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20803 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20805 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20807 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20809 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20811 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20815 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/security/Makefile"
20819 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20821 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20823 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20825 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20827 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20831 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20833 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20835 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20837 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20839 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20841 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20843 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20845 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20847 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20849 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20851 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20853 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20855 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20857 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20859 ac_config_files="$ac_config_files dlls/sti/Makefile"
20861 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20863 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20865 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20867 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20869 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20871 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20873 ac_config_files="$ac_config_files dlls/url/Makefile"
20875 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20877 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20879 ac_config_files="$ac_config_files dlls/user32/Makefile"
20881 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20883 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20885 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20887 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20889 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20891 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20893 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20895 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20897 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20899 ac_config_files="$ac_config_files dlls/version/Makefile"
20901 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20903 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20905 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20907 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20909 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20911 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20913 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20915 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20917 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20919 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20921 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20923 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20925 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20927 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20929 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20931 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20933 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20935 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20937 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20939 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20941 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20943 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20945 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20947 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20949 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20951 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20953 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20955 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20957 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20959 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20961 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20963 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20965 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20967 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20969 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20971 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20973 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20975 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20977 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20979 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20981 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20983 ac_config_files="$ac_config_files documentation/Makefile"
20985 ac_config_files="$ac_config_files fonts/Makefile"
20987 ac_config_files="$ac_config_files include/Makefile"
20989 ac_config_files="$ac_config_files libs/Makefile"
20991 ac_config_files="$ac_config_files libs/port/Makefile"
20993 ac_config_files="$ac_config_files libs/wine/Makefile"
20995 ac_config_files="$ac_config_files libs/wpp/Makefile"
20997 ac_config_files="$ac_config_files loader/Makefile"
20999 ac_config_files="$ac_config_files programs/Makefile"
21001 ac_config_files="$ac_config_files programs/clock/Makefile"
21003 ac_config_files="$ac_config_files programs/cmd/Makefile"
21005 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21007 ac_config_files="$ac_config_files programs/control/Makefile"
21009 ac_config_files="$ac_config_files programs/eject/Makefile"
21011 ac_config_files="$ac_config_files programs/expand/Makefile"
21013 ac_config_files="$ac_config_files programs/explorer/Makefile"
21015 ac_config_files="$ac_config_files programs/hh/Makefile"
21017 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21019 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21021 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21023 ac_config_files="$ac_config_files programs/net/Makefile"
21025 ac_config_files="$ac_config_files programs/notepad/Makefile"
21027 ac_config_files="$ac_config_files programs/oleview/Makefile"
21029 ac_config_files="$ac_config_files programs/progman/Makefile"
21031 ac_config_files="$ac_config_files programs/regedit/Makefile"
21033 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21035 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21037 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21039 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21041 ac_config_files="$ac_config_files programs/start/Makefile"
21043 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21045 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21047 ac_config_files="$ac_config_files programs/view/Makefile"
21049 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21051 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21053 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21055 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21057 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21059 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21061 ac_config_files="$ac_config_files programs/winefile/Makefile"
21063 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21065 ac_config_files="$ac_config_files programs/winemine/Makefile"
21067 ac_config_files="$ac_config_files programs/winepath/Makefile"
21069 ac_config_files="$ac_config_files programs/winetest/Makefile"
21071 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21073 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21075 ac_config_files="$ac_config_files programs/winver/Makefile"
21077 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21079 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21081 ac_config_files="$ac_config_files server/Makefile"
21083 ac_config_files="$ac_config_files tools/Makefile"
21085 ac_config_files="$ac_config_files tools/widl/Makefile"
21087 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21089 ac_config_files="$ac_config_files tools/winedump/Makefile"
21091 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21093 ac_config_files="$ac_config_files tools/wmc/Makefile"
21095 ac_config_files="$ac_config_files tools/wrc/Makefile"
21098 cat >confcache <<\_ACEOF
21099 # This file is a shell script that caches the results of configure
21100 # tests run on this system so they can be shared between configure
21101 # scripts and configure runs, see configure's option --config-cache.
21102 # It is not useful on other systems. If it contains results you don't
21103 # want to keep, you may remove or edit it.
21105 # config.status only pays attention to the cache file if you give it
21106 # the --recheck option to rerun configure.
21108 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21110 # following values.
21112 _ACEOF
21114 # The following way of writing the cache mishandles newlines in values,
21115 # but we know of no workaround that is simple, portable, and efficient.
21116 # So, we kill variables containing newlines.
21117 # Ultrix sh set writes to stderr and can't be redirected directly,
21118 # and sets the high bit in the cache file unless we assign to the vars.
21120 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21121 eval ac_val=\$$ac_var
21122 case $ac_val in #(
21123 *${as_nl}*)
21124 case $ac_var in #(
21125 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21126 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21127 esac
21128 case $ac_var in #(
21129 _ | IFS | as_nl) ;; #(
21130 *) $as_unset $ac_var ;;
21131 esac ;;
21132 esac
21133 done
21135 (set) 2>&1 |
21136 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21137 *${as_nl}ac_space=\ *)
21138 # `set' does not quote correctly, so add quotes (double-quote
21139 # substitution turns \\\\ into \\, and sed turns \\ into \).
21140 sed -n \
21141 "s/'/'\\\\''/g;
21142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21143 ;; #(
21145 # `set' quotes correctly as required by POSIX, so do not add quotes.
21146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21148 esac |
21149 sort
21151 sed '
21152 /^ac_cv_env_/b end
21153 t clear
21154 :clear
21155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21156 t end
21157 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21158 :end' >>confcache
21159 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21160 if test -w "$cache_file"; then
21161 test "x$cache_file" != "x/dev/null" &&
21162 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21163 echo "$as_me: updating cache $cache_file" >&6;}
21164 cat confcache >$cache_file
21165 else
21166 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21167 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21170 rm -f confcache
21172 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21173 # Let make expand exec_prefix.
21174 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21176 DEFS=-DHAVE_CONFIG_H
21178 ac_libobjs=
21179 ac_ltlibobjs=
21180 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21181 # 1. Remove the extension, and $U if already installed.
21182 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21183 ac_i=`echo "$ac_i" | sed "$ac_script"`
21184 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21185 # will be set to the directory where LIBOBJS objects are built.
21186 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21187 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21188 done
21189 LIBOBJS=$ac_libobjs
21191 LTLIBOBJS=$ac_ltlibobjs
21195 : ${CONFIG_STATUS=./config.status}
21196 ac_clean_files_save=$ac_clean_files
21197 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21198 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21199 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21200 cat >$CONFIG_STATUS <<_ACEOF
21201 #! $SHELL
21202 # Generated by $as_me.
21203 # Run this file to recreate the current configuration.
21204 # Compiler output produced by configure, useful for debugging
21205 # configure, is in config.log if it exists.
21207 debug=false
21208 ac_cs_recheck=false
21209 ac_cs_silent=false
21210 SHELL=\${CONFIG_SHELL-$SHELL}
21211 _ACEOF
21213 cat >>$CONFIG_STATUS <<\_ACEOF
21214 ## --------------------- ##
21215 ## M4sh Initialization. ##
21216 ## --------------------- ##
21218 # Be more Bourne compatible
21219 DUALCASE=1; export DUALCASE # for MKS sh
21220 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21221 emulate sh
21222 NULLCMD=:
21223 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21224 # is contrary to our usage. Disable this feature.
21225 alias -g '${1+"$@"}'='"$@"'
21226 setopt NO_GLOB_SUBST
21227 else
21228 case `(set -o) 2>/dev/null` in
21229 *posix*) set -o posix ;;
21230 esac
21237 # PATH needs CR
21238 # Avoid depending upon Character Ranges.
21239 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21240 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21241 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21242 as_cr_digits='0123456789'
21243 as_cr_alnum=$as_cr_Letters$as_cr_digits
21245 # The user is always right.
21246 if test "${PATH_SEPARATOR+set}" != set; then
21247 echo "#! /bin/sh" >conf$$.sh
21248 echo "exit 0" >>conf$$.sh
21249 chmod +x conf$$.sh
21250 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21251 PATH_SEPARATOR=';'
21252 else
21253 PATH_SEPARATOR=:
21255 rm -f conf$$.sh
21258 # Support unset when possible.
21259 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21260 as_unset=unset
21261 else
21262 as_unset=false
21266 # IFS
21267 # We need space, tab and new line, in precisely that order. Quoting is
21268 # there to prevent editors from complaining about space-tab.
21269 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21270 # splitting by setting IFS to empty value.)
21271 as_nl='
21273 IFS=" "" $as_nl"
21275 # Find who we are. Look in the path if we contain no directory separator.
21276 case $0 in
21277 *[\\/]* ) as_myself=$0 ;;
21278 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21279 for as_dir in $PATH
21281 IFS=$as_save_IFS
21282 test -z "$as_dir" && as_dir=.
21283 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21284 done
21285 IFS=$as_save_IFS
21288 esac
21289 # We did not find ourselves, most probably we were run as `sh COMMAND'
21290 # in which case we are not to be found in the path.
21291 if test "x$as_myself" = x; then
21292 as_myself=$0
21294 if test ! -f "$as_myself"; then
21295 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21296 { (exit 1); exit 1; }
21299 # Work around bugs in pre-3.0 UWIN ksh.
21300 for as_var in ENV MAIL MAILPATH
21301 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21302 done
21303 PS1='$ '
21304 PS2='> '
21305 PS4='+ '
21307 # NLS nuisances.
21308 for as_var in \
21309 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21310 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21311 LC_TELEPHONE LC_TIME
21313 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21314 eval $as_var=C; export $as_var
21315 else
21316 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21318 done
21320 # Required to use basename.
21321 if expr a : '\(a\)' >/dev/null 2>&1 &&
21322 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21323 as_expr=expr
21324 else
21325 as_expr=false
21328 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21329 as_basename=basename
21330 else
21331 as_basename=false
21335 # Name of the executable.
21336 as_me=`$as_basename -- "$0" ||
21337 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21338 X"$0" : 'X\(//\)$' \| \
21339 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21340 echo X/"$0" |
21341 sed '/^.*\/\([^/][^/]*\)\/*$/{
21342 s//\1/
21345 /^X\/\(\/\/\)$/{
21346 s//\1/
21349 /^X\/\(\/\).*/{
21350 s//\1/
21353 s/.*/./; q'`
21355 # CDPATH.
21356 $as_unset CDPATH
21360 as_lineno_1=$LINENO
21361 as_lineno_2=$LINENO
21362 test "x$as_lineno_1" != "x$as_lineno_2" &&
21363 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21365 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21366 # uniformly replaced by the line number. The first 'sed' inserts a
21367 # line-number line after each line using $LINENO; the second 'sed'
21368 # does the real work. The second script uses 'N' to pair each
21369 # line-number line with the line containing $LINENO, and appends
21370 # trailing '-' during substitution so that $LINENO is not a special
21371 # case at line end.
21372 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21373 # scripts with optimization help from Paolo Bonzini. Blame Lee
21374 # E. McMahon (1931-1989) for sed's syntax. :-)
21375 sed -n '
21377 /[$]LINENO/=
21378 ' <$as_myself |
21379 sed '
21380 s/[$]LINENO.*/&-/
21381 t lineno
21383 :lineno
21385 :loop
21386 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21387 t loop
21388 s/-\n.*//
21389 ' >$as_me.lineno &&
21390 chmod +x "$as_me.lineno" ||
21391 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21392 { (exit 1); exit 1; }; }
21394 # Don't try to exec as it changes $[0], causing all sort of problems
21395 # (the dirname of $[0] is not the place where we might find the
21396 # original and so on. Autoconf is especially sensitive to this).
21397 . "./$as_me.lineno"
21398 # Exit status is that of the last command.
21399 exit
21403 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21404 as_dirname=dirname
21405 else
21406 as_dirname=false
21409 ECHO_C= ECHO_N= ECHO_T=
21410 case `echo -n x` in
21411 -n*)
21412 case `echo 'x\c'` in
21413 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21414 *) ECHO_C='\c';;
21415 esac;;
21417 ECHO_N='-n';;
21418 esac
21420 if expr a : '\(a\)' >/dev/null 2>&1 &&
21421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21422 as_expr=expr
21423 else
21424 as_expr=false
21427 rm -f conf$$ conf$$.exe conf$$.file
21428 if test -d conf$$.dir; then
21429 rm -f conf$$.dir/conf$$.file
21430 else
21431 rm -f conf$$.dir
21432 mkdir conf$$.dir
21434 echo >conf$$.file
21435 if ln -s conf$$.file conf$$ 2>/dev/null; then
21436 as_ln_s='ln -s'
21437 # ... but there are two gotchas:
21438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21440 # In both cases, we have to default to `cp -p'.
21441 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21442 as_ln_s='cp -p'
21443 elif ln conf$$.file conf$$ 2>/dev/null; then
21444 as_ln_s=ln
21445 else
21446 as_ln_s='cp -p'
21448 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21449 rmdir conf$$.dir 2>/dev/null
21451 if mkdir -p . 2>/dev/null; then
21452 as_mkdir_p=:
21453 else
21454 test -d ./-p && rmdir ./-p
21455 as_mkdir_p=false
21458 if test -x / >/dev/null 2>&1; then
21459 as_test_x='test -x'
21460 else
21461 if ls -dL / >/dev/null 2>&1; then
21462 as_ls_L_option=L
21463 else
21464 as_ls_L_option=
21466 as_test_x='
21467 eval sh -c '\''
21468 if test -d "$1"; then
21469 test -d "$1/.";
21470 else
21471 case $1 in
21472 -*)set "./$1";;
21473 esac;
21474 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21475 ???[sx]*):;;*)false;;esac;fi
21476 '\'' sh
21479 as_executable_p=$as_test_x
21481 # Sed expression to map a string onto a valid CPP name.
21482 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21484 # Sed expression to map a string onto a valid variable name.
21485 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21488 exec 6>&1
21490 # Save the log message, to keep $[0] and so on meaningful, and to
21491 # report actual input values of CONFIG_FILES etc. instead of their
21492 # values after options handling.
21493 ac_log="
21494 This file was extended by Wine $as_me 0.9.39, which was
21495 generated by GNU Autoconf 2.61. Invocation command line was
21497 CONFIG_FILES = $CONFIG_FILES
21498 CONFIG_HEADERS = $CONFIG_HEADERS
21499 CONFIG_LINKS = $CONFIG_LINKS
21500 CONFIG_COMMANDS = $CONFIG_COMMANDS
21501 $ $0 $@
21503 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21506 _ACEOF
21508 cat >>$CONFIG_STATUS <<_ACEOF
21509 # Files that config.status was made for.
21510 config_files="$ac_config_files"
21511 config_headers="$ac_config_headers"
21512 config_commands="$ac_config_commands"
21514 _ACEOF
21516 cat >>$CONFIG_STATUS <<\_ACEOF
21517 ac_cs_usage="\
21518 \`$as_me' instantiates files from templates according to the
21519 current configuration.
21521 Usage: $0 [OPTIONS] [FILE]...
21523 -h, --help print this help, then exit
21524 -V, --version print version number and configuration settings, then exit
21525 -q, --quiet do not print progress messages
21526 -d, --debug don't remove temporary files
21527 --recheck update $as_me by reconfiguring in the same conditions
21528 --file=FILE[:TEMPLATE]
21529 instantiate the configuration file FILE
21530 --header=FILE[:TEMPLATE]
21531 instantiate the configuration header FILE
21533 Configuration files:
21534 $config_files
21536 Configuration headers:
21537 $config_headers
21539 Configuration commands:
21540 $config_commands
21542 Report bugs to <bug-autoconf@gnu.org>."
21544 _ACEOF
21545 cat >>$CONFIG_STATUS <<_ACEOF
21546 ac_cs_version="\\
21547 Wine config.status 0.9.39
21548 configured by $0, generated by GNU Autoconf 2.61,
21549 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21551 Copyright (C) 2006 Free Software Foundation, Inc.
21552 This config.status script is free software; the Free Software Foundation
21553 gives unlimited permission to copy, distribute and modify it."
21555 ac_pwd='$ac_pwd'
21556 srcdir='$srcdir'
21557 INSTALL='$INSTALL'
21558 _ACEOF
21560 cat >>$CONFIG_STATUS <<\_ACEOF
21561 # If no file are specified by the user, then we need to provide default
21562 # value. By we need to know if files were specified by the user.
21563 ac_need_defaults=:
21564 while test $# != 0
21566 case $1 in
21567 --*=*)
21568 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21569 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21570 ac_shift=:
21573 ac_option=$1
21574 ac_optarg=$2
21575 ac_shift=shift
21577 esac
21579 case $ac_option in
21580 # Handling of the options.
21581 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21582 ac_cs_recheck=: ;;
21583 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21584 echo "$ac_cs_version"; exit ;;
21585 --debug | --debu | --deb | --de | --d | -d )
21586 debug=: ;;
21587 --file | --fil | --fi | --f )
21588 $ac_shift
21589 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21590 ac_need_defaults=false;;
21591 --header | --heade | --head | --hea )
21592 $ac_shift
21593 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21594 ac_need_defaults=false;;
21595 --he | --h)
21596 # Conflict between --help and --header
21597 { echo "$as_me: error: ambiguous option: $1
21598 Try \`$0 --help' for more information." >&2
21599 { (exit 1); exit 1; }; };;
21600 --help | --hel | -h )
21601 echo "$ac_cs_usage"; exit ;;
21602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21603 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21604 ac_cs_silent=: ;;
21606 # This is an error.
21607 -*) { echo "$as_me: error: unrecognized option: $1
21608 Try \`$0 --help' for more information." >&2
21609 { (exit 1); exit 1; }; } ;;
21611 *) ac_config_targets="$ac_config_targets $1"
21612 ac_need_defaults=false ;;
21614 esac
21615 shift
21616 done
21618 ac_configure_extra_args=
21620 if $ac_cs_silent; then
21621 exec 6>/dev/null
21622 ac_configure_extra_args="$ac_configure_extra_args --silent"
21625 _ACEOF
21626 cat >>$CONFIG_STATUS <<_ACEOF
21627 if \$ac_cs_recheck; then
21628 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21629 CONFIG_SHELL=$SHELL
21630 export CONFIG_SHELL
21631 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21634 _ACEOF
21635 cat >>$CONFIG_STATUS <<\_ACEOF
21636 exec 5>>config.log
21638 echo
21639 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21640 ## Running $as_me. ##
21641 _ASBOX
21642 echo "$ac_log"
21643 } >&5
21645 _ACEOF
21646 cat >>$CONFIG_STATUS <<_ACEOF
21647 _ACEOF
21649 cat >>$CONFIG_STATUS <<\_ACEOF
21651 # Handling of arguments.
21652 for ac_config_target in $ac_config_targets
21654 case $ac_config_target in
21655 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21656 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21657 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21658 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21659 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21660 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21661 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21662 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21663 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21664 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21665 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21666 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21667 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21668 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21669 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21670 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21671 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21672 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21673 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21674 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21675 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21676 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21677 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21678 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21679 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21680 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21681 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21682 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21683 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21684 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21685 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21686 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21687 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21688 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21689 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21690 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21691 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21692 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21693 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21694 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21695 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21696 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21697 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21698 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21699 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21700 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21701 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21702 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21703 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21704 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21705 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21706 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21707 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21708 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21709 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21710 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21711 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21712 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21713 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21714 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21715 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21716 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21717 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21718 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21719 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21720 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21721 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21722 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21723 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21724 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21725 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21726 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21727 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21728 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21729 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21730 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21731 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21732 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21733 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21734 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21735 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21736 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21737 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21738 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21739 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21740 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21741 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21742 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21743 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21744 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21745 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21746 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21747 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21748 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21749 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21750 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21751 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21752 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21753 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21754 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21755 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21756 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21757 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21758 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21759 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21760 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21761 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21762 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21763 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21764 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21765 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21766 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21767 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21768 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21769 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21770 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21771 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21772 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21773 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21774 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21775 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21776 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21777 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21778 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21779 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21780 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21781 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21782 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21783 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21784 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21785 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21786 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21787 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21788 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21789 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21790 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21791 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21792 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21793 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21794 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21795 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21796 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21797 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21798 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21799 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21800 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21801 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21802 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21803 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21804 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21805 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21806 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21807 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21808 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21809 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21810 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21811 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21812 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21813 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21814 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21815 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21816 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21817 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21818 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21819 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21820 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21821 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21822 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21823 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21824 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21825 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21826 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21827 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21828 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21829 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21830 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21831 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21832 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21833 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21834 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21835 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21836 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21837 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21838 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21839 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21840 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21841 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21842 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21843 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21844 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21845 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21846 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21847 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21848 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21849 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21850 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21851 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21852 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21853 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21854 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21855 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21856 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21857 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21858 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21859 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21860 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21861 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21862 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21863 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21864 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21865 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21866 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21867 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21868 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21869 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21870 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21871 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21872 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21873 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21874 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21875 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21876 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21877 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21878 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21879 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21880 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21881 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21882 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21883 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21884 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21885 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21886 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21887 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21888 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21889 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21890 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21891 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21892 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21893 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21894 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21895 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21896 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21897 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21898 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21899 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21900 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21901 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21902 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21903 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21904 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21905 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21906 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21907 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21908 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21909 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21910 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21911 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21912 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21913 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21914 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21915 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21916 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21917 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21918 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21919 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21920 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21921 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21922 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21923 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21924 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21925 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21926 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21927 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21928 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21929 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21930 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21931 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21932 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21933 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21934 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21935 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21936 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21937 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21938 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21939 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21940 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21941 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21942 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21943 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21944 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21945 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21946 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21947 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21948 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21949 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21950 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21951 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21952 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21953 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21954 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21955 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21956 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21957 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21958 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21959 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21960 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21961 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21962 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21963 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21964 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21965 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21966 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21967 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21968 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21969 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21970 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21971 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21972 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21973 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21974 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21975 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21976 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21977 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21978 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21979 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21980 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21981 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21982 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21983 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21984 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21985 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21986 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21987 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21988 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21989 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21990 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21991 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21992 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21993 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21994 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21995 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21996 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21997 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21998 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21999 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22000 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22001 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22002 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22003 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22004 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22005 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22006 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22007 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22008 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22009 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22011 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22012 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22013 { (exit 1); exit 1; }; };;
22014 esac
22015 done
22018 # If the user did not use the arguments to specify the items to instantiate,
22019 # then the envvar interface is used. Set only those that are not.
22020 # We use the long form for the default assignment because of an extremely
22021 # bizarre bug on SunOS 4.1.3.
22022 if $ac_need_defaults; then
22023 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22024 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22025 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22028 # Have a temporary directory for convenience. Make it in the build tree
22029 # simply because there is no reason against having it here, and in addition,
22030 # creating and moving files from /tmp can sometimes cause problems.
22031 # Hook for its removal unless debugging.
22032 # Note that there is a small window in which the directory will not be cleaned:
22033 # after its creation but before its name has been assigned to `$tmp'.
22034 $debug ||
22036 tmp=
22037 trap 'exit_status=$?
22038 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22040 trap '{ (exit 1); exit 1; }' 1 2 13 15
22042 # Create a (secure) tmp directory for tmp files.
22045 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22046 test -n "$tmp" && test -d "$tmp"
22047 } ||
22049 tmp=./conf$$-$RANDOM
22050 (umask 077 && mkdir "$tmp")
22051 } ||
22053 echo "$me: cannot create a temporary directory in ." >&2
22054 { (exit 1); exit 1; }
22058 # Set up the sed scripts for CONFIG_FILES section.
22061 # No need to generate the scripts if there are no CONFIG_FILES.
22062 # This happens for instance when ./config.status config.h
22063 if test -n "$CONFIG_FILES"; then
22065 _ACEOF
22067 # Create sed commands to just substitute file output variables.
22069 # Remaining file output variables are in a fragment that also has non-file
22070 # output varibles.
22074 ac_delim='%!_!# '
22075 for ac_last_try in false false false false false :; do
22076 cat >conf$$subs.sed <<_ACEOF
22077 SHELL!$SHELL$ac_delim
22078 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22079 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22080 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22081 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22082 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22083 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22084 exec_prefix!$exec_prefix$ac_delim
22085 prefix!$prefix$ac_delim
22086 program_transform_name!$program_transform_name$ac_delim
22087 bindir!$bindir$ac_delim
22088 sbindir!$sbindir$ac_delim
22089 libexecdir!$libexecdir$ac_delim
22090 datarootdir!$datarootdir$ac_delim
22091 datadir!$datadir$ac_delim
22092 sysconfdir!$sysconfdir$ac_delim
22093 sharedstatedir!$sharedstatedir$ac_delim
22094 localstatedir!$localstatedir$ac_delim
22095 includedir!$includedir$ac_delim
22096 oldincludedir!$oldincludedir$ac_delim
22097 docdir!$docdir$ac_delim
22098 infodir!$infodir$ac_delim
22099 htmldir!$htmldir$ac_delim
22100 dvidir!$dvidir$ac_delim
22101 pdfdir!$pdfdir$ac_delim
22102 psdir!$psdir$ac_delim
22103 libdir!$libdir$ac_delim
22104 localedir!$localedir$ac_delim
22105 mandir!$mandir$ac_delim
22106 DEFS!$DEFS$ac_delim
22107 ECHO_C!$ECHO_C$ac_delim
22108 ECHO_N!$ECHO_N$ac_delim
22109 ECHO_T!$ECHO_T$ac_delim
22110 LIBS!$LIBS$ac_delim
22111 build_alias!$build_alias$ac_delim
22112 host_alias!$host_alias$ac_delim
22113 target_alias!$target_alias$ac_delim
22114 build!$build$ac_delim
22115 build_cpu!$build_cpu$ac_delim
22116 build_vendor!$build_vendor$ac_delim
22117 build_os!$build_os$ac_delim
22118 host!$host$ac_delim
22119 host_cpu!$host_cpu$ac_delim
22120 host_vendor!$host_vendor$ac_delim
22121 host_os!$host_os$ac_delim
22122 WIN16_FILES!$WIN16_FILES$ac_delim
22123 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22124 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22125 WINETEST!$WINETEST$ac_delim
22126 SET_MAKE!$SET_MAKE$ac_delim
22127 CC!$CC$ac_delim
22128 CFLAGS!$CFLAGS$ac_delim
22129 LDFLAGS!$LDFLAGS$ac_delim
22130 CPPFLAGS!$CPPFLAGS$ac_delim
22131 ac_ct_CC!$ac_ct_CC$ac_delim
22132 EXEEXT!$EXEEXT$ac_delim
22133 OBJEXT!$OBJEXT$ac_delim
22134 CXX!$CXX$ac_delim
22135 CXXFLAGS!$CXXFLAGS$ac_delim
22136 ac_ct_CXX!$ac_ct_CXX$ac_delim
22137 CPPBIN!$CPPBIN$ac_delim
22138 TOOLSDIR!$TOOLSDIR$ac_delim
22139 XMKMF!$XMKMF$ac_delim
22140 CPP!$CPP$ac_delim
22141 X_CFLAGS!$X_CFLAGS$ac_delim
22142 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22143 X_LIBS!$X_LIBS$ac_delim
22144 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22145 FLEX!$FLEX$ac_delim
22146 BISON!$BISON$ac_delim
22147 AS!$AS$ac_delim
22148 ac_ct_AS!$ac_ct_AS$ac_delim
22149 LD!$LD$ac_delim
22150 AR!$AR$ac_delim
22151 RANLIB!$RANLIB$ac_delim
22152 STRIP!$STRIP$ac_delim
22153 WINDRES!$WINDRES$ac_delim
22154 LN_S!$LN_S$ac_delim
22155 LN!$LN$ac_delim
22156 GREP!$GREP$ac_delim
22157 EGREP!$EGREP$ac_delim
22158 LDCONFIG!$LDCONFIG$ac_delim
22159 _ACEOF
22161 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22162 break
22163 elif $ac_last_try; then
22164 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22165 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22166 { (exit 1); exit 1; }; }
22167 else
22168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22170 done
22172 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22173 if test -n "$ac_eof"; then
22174 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22175 ac_eof=`expr $ac_eof + 1`
22178 cat >>$CONFIG_STATUS <<_ACEOF
22179 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22181 /^[ ]*@MAKE_RULES@[ ]*$/{
22182 r $MAKE_RULES
22185 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22186 r $MAKE_DLL_RULES
22189 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22190 r $MAKE_IMPLIB_RULES
22193 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22194 r $MAKE_TEST_RULES
22197 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22198 r $MAKE_PROG_RULES
22201 _ACEOF
22202 sed '
22203 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22204 s/^/s,@/; s/!/@,|#_!!_#|/
22207 s/'"$ac_delim"'$/,g/; t
22208 s/$/\\/; p
22209 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22210 ' >>$CONFIG_STATUS <conf$$subs.sed
22211 rm -f conf$$subs.sed
22212 cat >>$CONFIG_STATUS <<_ACEOF
22213 CEOF$ac_eof
22214 _ACEOF
22217 ac_delim='%!_!# '
22218 for ac_last_try in false false false false false :; do
22219 cat >conf$$subs.sed <<_ACEOF
22220 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22221 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22222 INSTALL_DATA!$INSTALL_DATA$ac_delim
22223 LINT!$LINT$ac_delim
22224 LINTFLAGS!$LINTFLAGS$ac_delim
22225 FONTFORGE!$FONTFORGE$ac_delim
22226 PKG_CONFIG!$PKG_CONFIG$ac_delim
22227 PRELINK!$PRELINK$ac_delim
22228 LIBPTHREAD!$LIBPTHREAD$ac_delim
22229 XLIB!$XLIB$ac_delim
22230 XFILES!$XFILES$ac_delim
22231 OPENGLFILES!$OPENGLFILES$ac_delim
22232 GLU32FILES!$GLU32FILES$ac_delim
22233 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22234 QUARTZFILES!$QUARTZFILES$ac_delim
22235 NASLIBS!$NASLIBS$ac_delim
22236 XML2LIBS!$XML2LIBS$ac_delim
22237 XML2INCL!$XML2INCL$ac_delim
22238 XSLTLIBS!$XSLTLIBS$ac_delim
22239 XSLTINCL!$XSLTINCL$ac_delim
22240 HALINCL!$HALINCL$ac_delim
22241 sane_devel!$sane_devel$ac_delim
22242 SANEINCL!$SANEINCL$ac_delim
22243 gphoto2_devel!$gphoto2_devel$ac_delim
22244 gphoto2port_devel!$gphoto2port_devel$ac_delim
22245 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22246 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22247 ICULIBS!$ICULIBS$ac_delim
22248 RESOLVLIBS!$RESOLVLIBS$ac_delim
22249 LCMSLIBS!$LCMSLIBS$ac_delim
22250 LDAPLIBS!$LDAPLIBS$ac_delim
22251 FREETYPELIBS!$FREETYPELIBS$ac_delim
22252 FREETYPEINCL!$FREETYPEINCL$ac_delim
22253 ft_devel!$ft_devel$ac_delim
22254 ft_devel2!$ft_devel2$ac_delim
22255 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22256 ESDCONFIG!$ESDCONFIG$ac_delim
22257 ESDLIBS!$ESDLIBS$ac_delim
22258 ESDINCL!$ESDINCL$ac_delim
22259 ALSALIBS!$ALSALIBS$ac_delim
22260 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22261 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22262 BUILTINFLAG!$BUILTINFLAG$ac_delim
22263 DLLEXT!$DLLEXT$ac_delim
22264 DLLFLAGS!$DLLFLAGS$ac_delim
22265 LDSHARED!$LDSHARED$ac_delim
22266 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22267 LIBEXT!$LIBEXT$ac_delim
22268 IMPLIBEXT!$IMPLIBEXT$ac_delim
22269 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22270 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22271 DLLTOOL!$DLLTOOL$ac_delim
22272 DLLWRAP!$DLLWRAP$ac_delim
22273 MINGWAR!$MINGWAR$ac_delim
22274 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22275 IOKITLIB!$IOKITLIB$ac_delim
22276 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22277 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22278 COREAUDIO!$COREAUDIO$ac_delim
22279 CARBONLIB!$CARBONLIB$ac_delim
22280 CROSSTEST!$CROSSTEST$ac_delim
22281 CROSSCC!$CROSSCC$ac_delim
22282 CROSSWINDRES!$CROSSWINDRES$ac_delim
22283 LDPATH!$LDPATH$ac_delim
22284 CRTLIBS!$CRTLIBS$ac_delim
22285 SOCKETLIBS!$SOCKETLIBS$ac_delim
22286 MAIN_BINARY!$MAIN_BINARY$ac_delim
22287 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22288 LDD!$LDD$ac_delim
22289 LIBDL!$LIBDL$ac_delim
22290 LIBPOLL!$LIBPOLL$ac_delim
22291 DEPENDENCIES!$DEPENDENCIES$ac_delim
22292 LIBOBJS!$LIBOBJS$ac_delim
22293 LTLIBOBJS!$LTLIBOBJS$ac_delim
22294 _ACEOF
22296 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22297 break
22298 elif $ac_last_try; then
22299 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22300 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22301 { (exit 1); exit 1; }; }
22302 else
22303 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22305 done
22307 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22308 if test -n "$ac_eof"; then
22309 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22310 ac_eof=`expr $ac_eof + 1`
22313 cat >>$CONFIG_STATUS <<_ACEOF
22314 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22315 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22316 _ACEOF
22317 sed '
22318 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22319 s/^/s,@/; s/!/@,|#_!!_#|/
22322 s/'"$ac_delim"'$/,g/; t
22323 s/$/\\/; p
22324 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22325 ' >>$CONFIG_STATUS <conf$$subs.sed
22326 rm -f conf$$subs.sed
22327 cat >>$CONFIG_STATUS <<_ACEOF
22328 :end
22329 s/|#_!!_#|//g
22330 CEOF$ac_eof
22331 _ACEOF
22334 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22335 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22336 # trailing colons and then remove the whole line if VPATH becomes empty
22337 # (actually we leave an empty line to preserve line numbers).
22338 if test "x$srcdir" = x.; then
22339 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22340 s/:*\$(srcdir):*/:/
22341 s/:*\${srcdir}:*/:/
22342 s/:*@srcdir@:*/:/
22343 s/^\([^=]*=[ ]*\):*/\1/
22344 s/:*$//
22345 s/^[^=]*=[ ]*$//
22349 cat >>$CONFIG_STATUS <<\_ACEOF
22350 fi # test -n "$CONFIG_FILES"
22353 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22355 case $ac_tag in
22356 :[FHLC]) ac_mode=$ac_tag; continue;;
22357 esac
22358 case $ac_mode$ac_tag in
22359 :[FHL]*:*);;
22360 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22361 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22362 { (exit 1); exit 1; }; };;
22363 :[FH]-) ac_tag=-:-;;
22364 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22365 esac
22366 ac_save_IFS=$IFS
22367 IFS=:
22368 set x $ac_tag
22369 IFS=$ac_save_IFS
22370 shift
22371 ac_file=$1
22372 shift
22374 case $ac_mode in
22375 :L) ac_source=$1;;
22376 :[FH])
22377 ac_file_inputs=
22378 for ac_f
22380 case $ac_f in
22381 -) ac_f="$tmp/stdin";;
22382 *) # Look for the file first in the build tree, then in the source tree
22383 # (if the path is not absolute). The absolute path cannot be DOS-style,
22384 # because $ac_f cannot contain `:'.
22385 test -f "$ac_f" ||
22386 case $ac_f in
22387 [\\/$]*) false;;
22388 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22389 esac ||
22390 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22391 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22392 { (exit 1); exit 1; }; };;
22393 esac
22394 ac_file_inputs="$ac_file_inputs $ac_f"
22395 done
22397 # Let's still pretend it is `configure' which instantiates (i.e., don't
22398 # use $as_me), people would be surprised to read:
22399 # /* config.h. Generated by config.status. */
22400 configure_input="Generated from "`IFS=:
22401 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22402 if test x"$ac_file" != x-; then
22403 configure_input="$ac_file. $configure_input"
22404 { echo "$as_me:$LINENO: creating $ac_file" >&5
22405 echo "$as_me: creating $ac_file" >&6;}
22408 case $ac_tag in
22409 *:-:* | *:-) cat >"$tmp/stdin";;
22410 esac
22412 esac
22414 ac_dir=`$as_dirname -- "$ac_file" ||
22415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22416 X"$ac_file" : 'X\(//\)[^/]' \| \
22417 X"$ac_file" : 'X\(//\)$' \| \
22418 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22419 echo X"$ac_file" |
22420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22421 s//\1/
22424 /^X\(\/\/\)[^/].*/{
22425 s//\1/
22428 /^X\(\/\/\)$/{
22429 s//\1/
22432 /^X\(\/\).*/{
22433 s//\1/
22436 s/.*/./; q'`
22437 { as_dir="$ac_dir"
22438 case $as_dir in #(
22439 -*) as_dir=./$as_dir;;
22440 esac
22441 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22442 as_dirs=
22443 while :; do
22444 case $as_dir in #(
22445 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22446 *) as_qdir=$as_dir;;
22447 esac
22448 as_dirs="'$as_qdir' $as_dirs"
22449 as_dir=`$as_dirname -- "$as_dir" ||
22450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22451 X"$as_dir" : 'X\(//\)[^/]' \| \
22452 X"$as_dir" : 'X\(//\)$' \| \
22453 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22454 echo X"$as_dir" |
22455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22456 s//\1/
22459 /^X\(\/\/\)[^/].*/{
22460 s//\1/
22463 /^X\(\/\/\)$/{
22464 s//\1/
22467 /^X\(\/\).*/{
22468 s//\1/
22471 s/.*/./; q'`
22472 test -d "$as_dir" && break
22473 done
22474 test -z "$as_dirs" || eval "mkdir $as_dirs"
22475 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22476 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22477 { (exit 1); exit 1; }; }; }
22478 ac_builddir=.
22480 case "$ac_dir" in
22481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22483 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22484 # A ".." for each directory in $ac_dir_suffix.
22485 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22486 case $ac_top_builddir_sub in
22487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22489 esac ;;
22490 esac
22491 ac_abs_top_builddir=$ac_pwd
22492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22493 # for backward compatibility:
22494 ac_top_builddir=$ac_top_build_prefix
22496 case $srcdir in
22497 .) # We are building in place.
22498 ac_srcdir=.
22499 ac_top_srcdir=$ac_top_builddir_sub
22500 ac_abs_top_srcdir=$ac_pwd ;;
22501 [\\/]* | ?:[\\/]* ) # Absolute name.
22502 ac_srcdir=$srcdir$ac_dir_suffix;
22503 ac_top_srcdir=$srcdir
22504 ac_abs_top_srcdir=$srcdir ;;
22505 *) # Relative name.
22506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22507 ac_top_srcdir=$ac_top_build_prefix$srcdir
22508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22509 esac
22510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22513 case $ac_mode in
22516 # CONFIG_FILE
22519 case $INSTALL in
22520 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22521 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22522 esac
22523 _ACEOF
22525 cat >>$CONFIG_STATUS <<\_ACEOF
22526 # If the template does not know about datarootdir, expand it.
22527 # FIXME: This hack should be removed a few years after 2.60.
22528 ac_datarootdir_hack=; ac_datarootdir_seen=
22530 case `sed -n '/datarootdir/ {
22534 /@datadir@/p
22535 /@docdir@/p
22536 /@infodir@/p
22537 /@localedir@/p
22538 /@mandir@/p
22539 ' $ac_file_inputs` in
22540 *datarootdir*) ac_datarootdir_seen=yes;;
22541 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22542 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22543 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22544 _ACEOF
22545 cat >>$CONFIG_STATUS <<_ACEOF
22546 ac_datarootdir_hack='
22547 s&@datadir@&$datadir&g
22548 s&@docdir@&$docdir&g
22549 s&@infodir@&$infodir&g
22550 s&@localedir@&$localedir&g
22551 s&@mandir@&$mandir&g
22552 s&\\\${datarootdir}&$datarootdir&g' ;;
22553 esac
22554 _ACEOF
22556 # Neutralize VPATH when `$srcdir' = `.'.
22557 # Shell code in configure.ac might set extrasub.
22558 # FIXME: do we really want to maintain this feature?
22559 cat >>$CONFIG_STATUS <<_ACEOF
22560 sed "$ac_vpsub
22561 $extrasub
22562 _ACEOF
22563 cat >>$CONFIG_STATUS <<\_ACEOF
22565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22566 s&@configure_input@&$configure_input&;t t
22567 s&@top_builddir@&$ac_top_builddir_sub&;t t
22568 s&@srcdir@&$ac_srcdir&;t t
22569 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22570 s&@top_srcdir@&$ac_top_srcdir&;t t
22571 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22572 s&@builddir@&$ac_builddir&;t t
22573 s&@abs_builddir@&$ac_abs_builddir&;t t
22574 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22575 s&@INSTALL@&$ac_INSTALL&;t t
22576 $ac_datarootdir_hack
22577 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22579 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22580 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22581 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22582 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22583 which seems to be undefined. Please make sure it is defined." >&5
22584 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22585 which seems to be undefined. Please make sure it is defined." >&2;}
22587 rm -f "$tmp/stdin"
22588 case $ac_file in
22589 -) cat "$tmp/out"; rm -f "$tmp/out";;
22590 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22591 esac
22595 # CONFIG_HEADER
22597 _ACEOF
22599 # Transform confdefs.h into a sed script `conftest.defines', that
22600 # substitutes the proper values into config.h.in to produce config.h.
22601 rm -f conftest.defines conftest.tail
22602 # First, append a space to every undef/define line, to ease matching.
22603 echo 's/$/ /' >conftest.defines
22604 # Then, protect against being on the right side of a sed subst, or in
22605 # an unquoted here document, in config.status. If some macros were
22606 # called several times there might be several #defines for the same
22607 # symbol, which is useless. But do not sort them, since the last
22608 # AC_DEFINE must be honored.
22609 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22610 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22611 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22612 # PARAMS is the parameter list in the macro definition--in most cases, it's
22613 # just an empty string.
22614 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22615 ac_dB='\\)[ (].*,\\1define\\2'
22616 ac_dC=' '
22617 ac_dD=' ,'
22619 uniq confdefs.h |
22620 sed -n '
22621 t rset
22622 :rset
22623 s/^[ ]*#[ ]*define[ ][ ]*//
22624 t ok
22627 s/[\\&,]/\\&/g
22628 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22629 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22630 ' >>conftest.defines
22632 # Remove the space that was appended to ease matching.
22633 # Then replace #undef with comments. This is necessary, for
22634 # example, in the case of _POSIX_SOURCE, which is predefined and required
22635 # on some systems where configure will not decide to define it.
22636 # (The regexp can be short, since the line contains either #define or #undef.)
22637 echo 's/ $//
22638 s,^[ #]*u.*,/* & */,' >>conftest.defines
22640 # Break up conftest.defines:
22641 ac_max_sed_lines=50
22643 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22644 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22645 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22646 # et cetera.
22647 ac_in='$ac_file_inputs'
22648 ac_out='"$tmp/out1"'
22649 ac_nxt='"$tmp/out2"'
22651 while :
22653 # Write a here document:
22654 cat >>$CONFIG_STATUS <<_ACEOF
22655 # First, check the format of the line:
22656 cat >"\$tmp/defines.sed" <<\\CEOF
22657 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22658 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22660 :def
22661 _ACEOF
22662 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22663 echo 'CEOF
22664 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22665 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22666 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22667 grep . conftest.tail >/dev/null || break
22668 rm -f conftest.defines
22669 mv conftest.tail conftest.defines
22670 done
22671 rm -f conftest.defines conftest.tail
22673 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22674 cat >>$CONFIG_STATUS <<\_ACEOF
22675 if test x"$ac_file" != x-; then
22676 echo "/* $configure_input */" >"$tmp/config.h"
22677 cat "$ac_result" >>"$tmp/config.h"
22678 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22679 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22680 echo "$as_me: $ac_file is unchanged" >&6;}
22681 else
22682 rm -f $ac_file
22683 mv "$tmp/config.h" $ac_file
22685 else
22686 echo "/* $configure_input */"
22687 cat "$ac_result"
22689 rm -f "$tmp/out12"
22692 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22693 echo "$as_me: executing $ac_file commands" >&6;}
22695 esac
22698 case $ac_file$ac_mode in
22699 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22700 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22701 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22702 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22703 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22704 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22705 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22706 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22707 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22708 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22709 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22710 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22711 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22713 esac
22714 done # for ac_tag
22717 { (exit 0); exit 0; }
22718 _ACEOF
22719 chmod +x $CONFIG_STATUS
22720 ac_clean_files=$ac_clean_files_save
22723 # configure is writing to config.log, and then calls config.status.
22724 # config.status does its own redirection, appending to config.log.
22725 # Unfortunately, on DOS this fails, as config.log is still kept open
22726 # by configure, so config.status won't be able to write to it; its
22727 # output is simply discarded. So we exec the FD to /dev/null,
22728 # effectively closing config.log, so it can be properly (re)opened and
22729 # appended to by config.status. When coming back to configure, we
22730 # need to make the FD available again.
22731 if test "$no_create" != yes; then
22732 ac_cs_success=:
22733 ac_config_status_args=
22734 test "$silent" = yes &&
22735 ac_config_status_args="$ac_config_status_args --quiet"
22736 exec 5>/dev/null
22737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22738 exec 5>>config.log
22739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22740 # would make configure fail if this is the last instruction.
22741 $ac_cs_success || { (exit 1); exit 1; }
22746 if test "$no_create" = "yes"
22747 then
22748 exit 0
22751 if test "$verbose" = "yes"
22752 then
22753 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22754 then
22755 echo >&2
22756 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22757 echo "$as_me: libcapi20 development files not found." >&6;}
22758 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22759 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22762 if test "$ac_cv_header_cups_cups_h" != "yes"
22763 then
22764 echo >&2
22765 { echo "$as_me:$LINENO: libcups development files not found." >&5
22766 echo "$as_me: libcups development files not found." >&6;}
22767 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22768 echo "$as_me: Wine will be built without CUPS support." >&6;}
22772 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22773 then
22774 echo >&2
22775 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22776 echo "$as_me: libgphoto2 development files not found." >&6;}
22777 if test "$ac_cv_header_sane_sane_h" = "yes"
22778 then
22779 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22780 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22781 else
22782 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22783 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22787 if test "$ac_cv_header_hal_libhal_h" != "yes"
22788 then
22789 echo >&2
22790 { echo "$as_me:$LINENO: libhal development files not found." >&5
22791 echo "$as_me: libhal development files not found." >&6;}
22792 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22793 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22796 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22797 then
22798 echo >&2
22799 { echo "$as_me:$LINENO: libicu development files not found." >&5
22800 echo "$as_me: libicu development files not found." >&6;}
22801 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22802 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22805 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22806 then
22807 echo >&2
22808 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22809 echo "$as_me: liblcms development files not found." >&6;}
22810 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22811 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22814 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22815 then
22816 echo >&2
22817 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22818 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22819 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22820 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22823 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22824 then
22825 echo >&2
22826 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22827 echo "$as_me: lib(n)curses development files not found." >&6;}
22828 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22829 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22832 if test "$ac_cv_header_sane_sane_h" != "yes"
22833 then
22834 echo >&2
22835 { echo "$as_me:$LINENO: libsane development files not found." >&5
22836 echo "$as_me: libsane development files not found." >&6;}
22837 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22838 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22841 if test "$have_x" = "yes"
22842 then
22843 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22844 then
22845 echo >&2
22846 { echo "$as_me:$LINENO: libxext development files not found." >&5
22847 echo "$as_me: libxext development files not found." >&6;}
22848 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22849 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22852 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22853 then
22854 echo >&2
22855 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22856 echo "$as_me: libXrandr development files not found." >&6;}
22857 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22858 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22861 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22862 then
22863 echo >&2
22864 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22865 echo "$as_me: libXrender development files not found." >&6;}
22866 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22867 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22870 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22871 then
22872 echo >&2
22873 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22874 echo "$as_me: libXxf86vm development files not found." >&6;}
22875 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22876 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22880 if test "$ac_cv_header_libxml_parser_h" != "yes"
22881 then
22882 echo >&2
22883 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22884 echo "$as_me: libxml2 development files not found." >&6;}
22885 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22886 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22889 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22890 then
22891 echo >&2
22892 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22893 echo "$as_me: libxslt development files not found." >&6;}
22894 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22895 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22900 if test "$have_x" = "no"
22901 then
22902 echo >&2
22903 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22904 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22905 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22906 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22907 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22908 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22909 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22910 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22913 if test -z "$OPENGLFILES"
22914 then
22915 echo >&2
22916 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22917 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22918 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22919 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22920 if test "$wine_cv_opengl_headers_found" = "no"
22921 then
22922 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22923 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22925 if test "$wine_cv_opengl_header_version_OK" = "no"
22926 then
22927 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22928 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22929 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22930 then
22931 if test -f /usr/X11R6/lib/libGL.a
22932 then
22933 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22934 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22935 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22936 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22937 else
22938 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22939 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22944 if test "$wine_cv_msg_freetype" = "yes"
22945 then
22946 echo >&2
22947 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22948 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22949 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22950 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22951 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22952 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22953 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22954 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22957 if test -z "$FONTSSUBDIRS"
22958 then
22959 echo >&2
22960 if test "$FONTFORGE" = "false"
22961 then
22962 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22963 echo "$as_me: WARNING: FontForge is missing." >&2;}
22964 else
22965 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22966 echo "$as_me: WARNING: FreeType is missing." >&2;}
22968 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22969 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22972 if test -z "$ALSALIBS" -a \
22973 -z "$AUDIOIOLIBS" -a \
22974 -z "$NASLIBS" -a \
22975 -z "$ESD_LIBS" -a \
22976 -z "$ac_cv_lib_soname_jack" -a \
22977 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22978 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22979 "$ac_cv_header_soundcard_h" != "yes"
22980 then
22981 echo >&2
22982 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22983 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22984 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22985 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22986 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22987 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22990 echo
22991 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22992 echo